3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

machxo2: Add initial value for Q in FACADE_FF.

This commit is contained in:
William D. Jones 2020-11-21 18:44:42 -05:00 committed by Marcelina Kościelnicka
parent 0364ded385
commit 03cbf1327d

View file

@ -46,6 +46,8 @@ module FACADE_FF #(
wire muxclk = (CLKMUX == "INV") ? ~CLK : CLK;
wire srval = (REGSET == "SET") ? 1'b1 : 1'b0;
initial Q = srval;
generate
if (REGMODE == "FF") begin
if (SRMODE == "ASYNC") begin