3
0
Fork 0
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:
Clifford Wolf 2016-03-23 08:12:54 +01:00
parent 4f2ea221dc
commit 456c10f16e
2 changed files with 4 additions and 0 deletions

View file

@ -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;