added pullup down as wrappers on teh A cells

This commit is contained in:
alexmadison 2022-03-31 18:10:08 +02:00
parent e05196bb7e
commit 82537e07de
1 changed files with 18 additions and 0 deletions

View File

@ -588,6 +588,24 @@ namespace tmpl {
} }
} }
export
defproc A_2P_U_X4(bool? a, b; bool! y; bool? vdd, vss)
{
prs{
[keeper=0] ~a & ~b -> y+
}
}
export
defproc PULLDOWN_X4(bool? a; bool! y; bool? vdd, vss) {
A_1N_U_X4 cell(.a = a, .y = y, .vdd = vdd, .vss = vss);
}
export
defproc PULLUP_X4(bool? a; bool! y; bool? vdd, vss) {
A_1P_U_X4 cell(.a = a, .y = y, .vdd = vdd, .vss = vss);
}
defproc A_2C2P_RB_X1(bool! y;bool? c1,c2,p1,p2,reset_B,vdd,vss){ defproc A_2C2P_RB_X1(bool! y;bool? c1,c2,p1,p2,reset_B,vdd,vss){
bool _y; bool _y;
prs{ prs{