mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-31 07:14:55 +00:00
Added GP_DFF INIT parameter
This commit is contained in:
parent
4f2ea221dc
commit
456c10f16e
2 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
module GP_DFF(input D, CLK, nRSTZ, nSETZ, output reg Q);
|
||||
parameter [0:0] INIT = 1'bx;
|
||||
initial Q = INIT;
|
||||
always @(posedge CLK, negedge nRSTZ, negedge nSETZ) begin
|
||||
if (!nRSTZ)
|
||||
Q <= 1'b0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue