summaryrefslogtreecommitdiff
path: root/techlibs/ecp5/latches_map.v
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/ecp5/latches_map.v')
-rw-r--r--techlibs/ecp5/latches_map.v11
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 00000000..c28f88cf
--- /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