aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-11-20 11:26:59 -0800
committerEddie Hung <eddie@fpgeh.com>2019-11-20 11:26:59 -0800
commitdf63d75ff35e1441360a4b28a12b32b3d00f1190 (patch)
tree628197ceced75b76bb2d92abfee43c8bb86b27be /techlibs/xilinx
parent09ee96e8c22ec692ee3ee31b8c211646eabbcf27 (diff)
downloadyosys-df63d75ff35e1441360a4b28a12b32b3d00f1190.tar.gz
yosys-df63d75ff35e1441360a4b28a12b32b3d00f1190.tar.bz2
yosys-df63d75ff35e1441360a4b28a12b32b3d00f1190.zip
Fix INIT values
Diffstat (limited to 'techlibs/xilinx')
-rw-r--r--techlibs/xilinx/abc9_map.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/techlibs/xilinx/abc9_map.v b/techlibs/xilinx/abc9_map.v
index 95546db37..d2c0abeb6 100644
--- a/techlibs/xilinx/abc9_map.v
+++ b/techlibs/xilinx/abc9_map.v
@@ -96,7 +96,7 @@ module FDRE_1 (output reg Q, input C, CE, D, R);
parameter [0:0] INIT = 1'b0;
wire $nextQ;
FDRE_1 #(
- .INIT(|0),
+ .INIT(INIT),
) _TECHMAP_REPLACE_ (
.D(D), .Q($nextQ), .C(C), .CE(CE), .R(R)
);
@@ -205,7 +205,7 @@ module FDPE_1 (output reg Q, input C, CE, D, PRE);
endmodule
module FDSE (output reg Q, input C, CE, D, S);
- parameter [0:0] INIT = 1'b0;
+ parameter [0:0] INIT = 1'b1;
parameter [0:0] IS_C_INVERTED = 1'b0;
parameter [0:0] IS_D_INVERTED = 1'b0;
parameter [0:0] IS_S_INVERTED = 1'b0;
@@ -226,10 +226,10 @@ module FDSE (output reg Q, input C, CE, D, S);
wire _TECHMAP_REPLACE_.$abc9_currQ = Q;
endmodule
module FDSE_1 (output reg Q, input C, CE, D, S);
- parameter [0:0] INIT = 1'b0;
+ parameter [0:0] INIT = 1'b1;
wire $nextQ;
FDSE_1 #(
- .INIT(|0),
+ .INIT(INIT),
) _TECHMAP_REPLACE_ (
.D(D), .Q($nextQ), .C(C), .CE(CE), .S(S)
);