abc9: test to use box file instead of auto

This commit is contained in:
Eddie Hung 2020-04-16 10:49:33 -07:00
parent c50601e35e
commit 5ad3a85288
3 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,3 @@
MUXF8 1 0 3 1
#I0 I1 S
0 0 0 # O

View File

@ -213,7 +213,7 @@ module arbiter (clk, rst, request, acknowledge, grant, grant_valid, grant_encode
input rst;
endmodule
(* abc9_box, blackbox *)
(* abc9_box_id=1, blackbox *)
module MUXF8(input I0, I1, S, output O);
specify
(I0 => O) = 0;

View File

@ -25,7 +25,7 @@ exec ${MAKE:-make} -f ../tools/autotest.mk $seed *.v *.sv EXTRA_FLAGS="-n 300 -p
synth -run coarse; \
opt -full; \
techmap; \
abc9 -lut 4; \
abc9 -lut 4 -box ../abc9.box; \
clean; \
check -assert; \
select -assert-none t:${DOLLAR}_NOT_ t:${DOLLAR}_AND_ %%; \