simple_abc9 tests to discard whitebox before write for sim
authorEddie Hung <eddie@fpgeh.com>
Fri, 24 Jan 2020 03:55:11 +0000 (19:55 -0800)
committerEddie Hung <eddie@fpgeh.com>
Fri, 24 Jan 2020 06:07:43 +0000 (22:07 -0800)
tests/simple_abc9/abc9.v
tests/simple_abc9/run-test.sh

index ee01ab5dc513995e451eaab7e354beb96b6de294..4dc5ad689ef04fc8938a13774270a7071ec92133 100644 (file)
@@ -213,7 +213,7 @@ module arbiter (clk, rst, request, acknowledge, grant, grant_valid, grant_encode
   input rst;
 endmodule
 
-(* abc9_box_id=1 *)
+(* abc9_box_id=1, whitebox *)
 module MUXF8(input I0, I1, S, output O);
 endmodule
 
index bc921daa9dc3715eb74d8d54102f6282666e39d9..32d7a80ca863d57c746450146aacd419f637067c 100755 (executable)
@@ -28,4 +28,5 @@ exec ${MAKE:-make} -f ../tools/autotest.mk $seed *.v *.sv EXTRA_FLAGS="-n 300 -p
     abc9 -lut 4 -box ../abc.box; \
     clean; \
     check -assert; \
-    select -assert-none t:${DOLLAR}_NOT_ t:${DOLLAR}_AND_ %%'"
+    select -assert-none t:${DOLLAR}_NOT_ t:${DOLLAR}_AND_ %%; \
+    setattr -mod -unset whitebox'"