diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-10-19 17:32:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-19 17:32:42 +0200 |
commit | 11c8a9eb960fdb0a412fabcfbe787cbf5cc3a67d (patch) | |
tree | d8bb66247d227233d235e3fccba0cb6648264600 /techlibs/ecp5/latches_map.v | |
parent | 6514443a5c6bc3361b3229a0603a7d1b805e1aa3 (diff) | |
parent | d29b517fef05973dda3c556a95fbfb478d6e7e50 (diff) | |
download | yosys-11c8a9eb960fdb0a412fabcfbe787cbf5cc3a67d.tar.gz yosys-11c8a9eb960fdb0a412fabcfbe787cbf5cc3a67d.tar.bz2 yosys-11c8a9eb960fdb0a412fabcfbe787cbf5cc3a67d.zip |
Merge pull request #673 from daveshah1/ecp5_improve
Small ECP5 improvements
Diffstat (limited to 'techlibs/ecp5/latches_map.v')
-rw-r--r-- | techlibs/ecp5/latches_map.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/techlibs/ecp5/latches_map.v b/techlibs/ecp5/latches_map.v new file mode 100644 index 000000000..c28f88cf7 --- /dev/null +++ b/techlibs/ecp5/latches_map.v @@ -0,0 +1,11 @@ +module \$_DLATCH_N_ (E, D, Q); + wire [1023:0] _TECHMAP_DO_ = "simplemap; opt"; + input E, D; + output Q = !E ? D : Q; +endmodule + +module \$_DLATCH_P_ (E, D, Q); + wire [1023:0] _TECHMAP_DO_ = "simplemap; opt"; + input E, D; + output Q = E ? D : Q; +endmodule |