Update simple_abc9 tests
authorEddie Hung <eddie@fpgeh.com>
Thu, 13 Feb 2020 20:13:12 +0000 (12:13 -0800)
committerEddie Hung <eddie@fpgeh.com>
Thu, 27 Feb 2020 18:17:29 +0000 (10:17 -0800)
tests/simple_abc9/abc.box [deleted file]
tests/simple_abc9/abc9.v
tests/simple_abc9/run-test.sh

diff --git a/tests/simple_abc9/abc.box b/tests/simple_abc9/abc.box
deleted file mode 100644 (file)
index a8801d8..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-MUXF8 1 0 3 1
-1 1 1
index e5837d4807326ceef4678cd38a1a3c5c42c76704..688b47586daa0b0771f68558421a1e69d021eeb3 100644 (file)
@@ -213,8 +213,13 @@ module arbiter (clk, rst, request, acknowledge, grant, grant_valid, grant_encode
   input rst;
 endmodule
 
-(* abc9_box_id=1, whitebox *)
+(* abc9_box, blackbox *)
 module MUXF8(input I0, I1, S, output O);
+specify
+    (I0 => O) = 0;
+    (I1 => O) = 0;
+    (S => O) = 0;
+endspecify
 endmodule
 
 // Citation: https://github.com/alexforencich/verilog-ethernet
index 32d7a80ca863d57c746450146aacd419f637067c..424d8f4171effcbf2b01987cb8df2f9aa9e0720c 100755 (executable)
@@ -25,8 +25,8 @@ exec ${MAKE:-make} -f ../tools/autotest.mk $seed *.v *.sv EXTRA_FLAGS="-n 300 -p
     synth -run coarse; \
     opt -full; \
     techmap; \
-    abc9 -lut 4 -box ../abc.box; \
+    abc9 -lut 4; \
     clean; \
     check -assert; \
     select -assert-none t:${DOLLAR}_NOT_ t:${DOLLAR}_AND_ %%; \
-    setattr -mod -unset whitebox'"
+    setattr -mod -unset blackbox'"