aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/nexus/latches_map.v
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/nexus/latches_map.v')
-rw-r--r--techlibs/nexus/latches_map.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/techlibs/nexus/latches_map.v b/techlibs/nexus/latches_map.v
new file mode 100644
index 000000000..c28f88cf7
--- /dev/null
+++ b/techlibs/nexus/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