machxo2: Add initial value for Q in FACADE_FF.
authorWilliam D. Jones <thor0505@comcast.net>
Sat, 21 Nov 2020 23:44:42 +0000 (18:44 -0500)
committerMarcelina Koƛcielnicka <mwk@0x04.net>
Tue, 23 Feb 2021 16:39:58 +0000 (17:39 +0100)
techlibs/machxo2/cells_sim.v

index f09837c13e11e26e95d6d36b1e6b284f16812df1..ef40f023159942c98bacce322b09c982ad767667 100644 (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