Added A_2C2P_RB_X1 because the encoder needs it

This commit is contained in:
Michele 2022-03-04 19:02:12 +01:00
parent 9b3bdc3f6c
commit 250f5bcc58
1 changed files with 14 additions and 0 deletions

View File

@ -536,6 +536,20 @@ namespace tmpl {
prs{
[keeper=0] ~a -> y+
}
}
def A_2C2P_RB_X1(bool! y;bool? c1,c2,p1,p2,reset_B,vdd,vss){
bool _y;
prs{
(~p1 & ~p2 & ~c1 & ~c2)|~reset_B -> _y+
(c1 & c2 & reset_B) -> _y-
_y => y-
}
sizing {leak_adjust <- 1;
p_n_mode <- 1;
y {-1}; _y{-1} }
}
}}