diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-07-11 12:55:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 12:55:14 -0700 |
commit | 931adbaf74a2e489e1adfe202ce583e979384e55 (patch) | |
tree | 57698c2ac5b8347a0bc97662f160f31926123f0c /techlibs/xilinx/cells_sim.v | |
parent | c0abd187997a47282a12c869461f9d23dd397f5e (diff) | |
parent | a9efacd01da0feb85000ce62c2769c35eae43505 (diff) | |
download | yosys-931adbaf74a2e489e1adfe202ce583e979384e55.tar.gz yosys-931adbaf74a2e489e1adfe202ce583e979384e55.tar.bz2 yosys-931adbaf74a2e489e1adfe202ce583e979384e55.zip |
Merge pull request #1185 from koriakin/xc-ff-init-vals
xilinx: Fix the default values for FDPE/FDSE INIT attributes to match ISE/Vivado.
Diffstat (limited to 'techlibs/xilinx/cells_sim.v')
-rw-r--r-- | techlibs/xilinx/cells_sim.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/xilinx/cells_sim.v b/techlibs/xilinx/cells_sim.v index 3937d3536..05e46b4e7 100644 --- a/techlibs/xilinx/cells_sim.v +++ b/techlibs/xilinx/cells_sim.v @@ -226,7 +226,7 @@ module FDRE (output reg Q, input C, CE, D, R); 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; @@ -252,7 +252,7 @@ module FDCE (output reg Q, input C, CE, D, CLR); endmodule module FDPE (output reg Q, input C, CE, D, PRE); - 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_PRE_INVERTED = 1'b0; |