Added Flip Flop to std.act (still need to try it)

This commit is contained in:
Michele 2022-03-04 11:43:33 +01:00
parent 15d3fd1b9b
commit 397c832b7b
1 changed files with 10 additions and 0 deletions

View File

@ -373,6 +373,16 @@ namespace tmpl {
}
sizing { _en{-2}; y{-2,2} }
}
export defcell DFQ_R_X1 (bool! Q,Q_B; bool? d,clk,vdd,vss,reset_B)
{
prs {
reset_B -> Q-
~Q => Q_B
reset_B & ~d & clk -> Q+
reset_B & d & clk -> Q-
}
}
}
}