projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4011e
)
FDCE_1 does not have IS_CLR_INVERTED
author
Eddie Hung
<eddie@fpgeh.com>
Sun, 29 Sep 2019 18:25:34 +0000
(11:25 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Sun, 29 Sep 2019 18:25:34 +0000
(11:25 -0700)
techlibs/xilinx/cells_sim.v
patch
|
blob
|
history
diff --git
a/techlibs/xilinx/cells_sim.v
b/techlibs/xilinx/cells_sim.v
index ee9d486840d4bf071703705c4494fffe253b170d..cf39bd45b06556de204307aa3b5091ddd1c197fc 100644
(file)
--- a/
techlibs/xilinx/cells_sim.v
+++ b/
techlibs/xilinx/cells_sim.v
@@
-408,7
+408,7
@@
module FDCE_1 (
always @* Q = \$nextQ ;
`else
assign \$currQ = Q;
- always @(negedge C, posedge CLR) if (CLR
== !IS_CLR_INVERTED
) Q <= 1'b0; else Q <= \$nextQ ;
+ always @(negedge C, posedge CLR) if (CLR) Q <= 1'b0; else Q <= \$nextQ ;
`endif
endmodule