projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0364ded
)
machxo2: Add initial value for Q in FACADE_FF.
author
William D. Jones
<thor0505@comcast.net>
Sat, 21 Nov 2020 23:44:42 +0000
(18:44 -0500)
committer
Marcelina KoĆcielnicka
<mwk@0x04.net>
Tue, 23 Feb 2021 16:39:58 +0000
(17:39 +0100)
techlibs/machxo2/cells_sim.v
patch
|
blob
|
history
diff --git
a/techlibs/machxo2/cells_sim.v
b/techlibs/machxo2/cells_sim.v
index f09837c13e11e26e95d6d36b1e6b284f16812df1..ef40f023159942c98bacce322b09c982ad767667 100644
(file)
--- 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