From 03cbf1327d01dbb7997d2f2b241340c29ff35e00 Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Sat, 21 Nov 2020 18:44:42 -0500 Subject: [PATCH] machxo2: Add initial value for Q in FACADE_FF. --- techlibs/machxo2/cells_sim.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/techlibs/machxo2/cells_sim.v b/techlibs/machxo2/cells_sim.v index f09837c13..ef40f0231 100644 --- a/techlibs/machxo2/cells_sim.v +++ b/techlibs/machxo2/cells_sim.v @@ -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 -- 2.30.2