From: Miodrag Milanovic Date: Fri, 4 Oct 2019 11:27:10 +0000 (+0200) Subject: FF should be initialized to 0 X-Git-Tag: working-ls180~987^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44c3472b9f92e2db855056bff9c0e9549e4cbf3c;p=yosys.git FF should be initialized to 0 --- diff --git a/techlibs/efinix/cells_sim.v b/techlibs/efinix/cells_sim.v index 2fc2034a6..a74d1c571 100644 --- a/techlibs/efinix/cells_sim.v +++ b/techlibs/efinix/cells_sim.v @@ -59,7 +59,9 @@ module EFX_FF( assign ce = CE_POLARITY ? CE : ~CE; assign sr = SR_POLARITY ? SR : ~SR; assign d = D_POLARITY ? D : ~D; - + + initial Q = 1'b0; + generate if (SR_SYNC == 1) begin