diff options
author | rafaeltp <rafael.tp@gmail.com> | 2018-10-20 17:01:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 17:01:09 -0700 |
commit | f25d0de6f80233b0af02067bea839bff19f62a3c (patch) | |
tree | ac816776d2a0e78f9de10eb03d7e76e78d6b5b36 /techlibs/ecp5/latches_map.v | |
parent | c7770d9eeaf9fba0c9d07e7cce020fe89ec71600 (diff) | |
parent | 23b69ca32b2ef93fc4b3f724099bfecdee0af869 (diff) | |
download | yosys-f25d0de6f80233b0af02067bea839bff19f62a3c.tar.gz yosys-f25d0de6f80233b0af02067bea839bff19f62a3c.tar.bz2 yosys-f25d0de6f80233b0af02067bea839bff19f62a3c.zip |
Merge pull request #1 from YosysHQ/master
updating
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 |