Create +/abc9_model.v for $__ABC9_{DELAY,FF_}
authorEddie Hung <eddie@fpgeh.com>
Thu, 13 Feb 2020 17:56:00 +0000 (09:56 -0800)
committerEddie Hung <eddie@fpgeh.com>
Thu, 27 Feb 2020 18:17:29 +0000 (10:17 -0800)
techlibs/common/Makefile.inc
techlibs/common/abc9_model.v [new file with mode: 0644]

index 42f1068adca724ca7f4c5639199d0b76bd0be12d..d5e69a241ed0a1ad5d051cc72c0053e1c523182c 100644 (file)
@@ -29,3 +29,4 @@ $(eval $(call add_share_file,share,techlibs/common/gate2lut.v))
 $(eval $(call add_share_file,share,techlibs/common/cmp2lut.v))
 $(eval $(call add_share_file,share,techlibs/common/cells.lib))
 $(eval $(call add_share_file,share,techlibs/common/mul2dsp.v))
+$(eval $(call add_share_file,share,techlibs/common/abc9_model.v))
diff --git a/techlibs/common/abc9_model.v b/techlibs/common/abc9_model.v
new file mode 100644 (file)
index 0000000..c0c5dc2
--- /dev/null
@@ -0,0 +1,10 @@
+module \$__ABC9_FF_ (input D, output Q);
+endmodule
+
+(* abc9_box *)
+module \$__ABC9_DELAY (input I, output O);
+  parameter DELAY = 0;
+  specify
+    (I => O) = DELAY;
+  endspecify
+endmodule