projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0fa6f3
)
FF should be initialized to 0
author
Miodrag Milanovic
<mmicko@gmail.com>
Fri, 4 Oct 2019 11:27:10 +0000
(13:27 +0200)
committer
Miodrag Milanovic
<mmicko@gmail.com>
Fri, 4 Oct 2019 11:27:10 +0000
(13:27 +0200)
techlibs/efinix/cells_sim.v
patch
|
blob
|
history
diff --git
a/techlibs/efinix/cells_sim.v
b/techlibs/efinix/cells_sim.v
index 2fc2034a6508a5bb411285808266274484ba20c0..a74d1c571b59a49a20acf191a8fd806d1de61eb3 100644
(file)
--- 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