Added Flip Flop to std.act (still need to try it)
This commit is contained in:
parent
15d3fd1b9b
commit
397c832b7b
@ -373,6 +373,16 @@ namespace tmpl {
|
|||||||
}
|
}
|
||||||
sizing { _en{-2}; y{-2,2} }
|
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-
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user