From: William D. Jones Date: Sat, 21 Nov 2020 23:44:42 +0000 (-0500) Subject: machxo2: Add initial value for Q in FACADE_FF. X-Git-Tag: working-ls180~63 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03cbf1327d01dbb7997d2f2b241340c29ff35e00;p=yosys.git machxo2: Add initial value for Q in FACADE_FF. --- 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