opt_clean, simplemap: Add $buf handling
This commit is contained in:
13
tests/techmap/buf.ys
Normal file
13
tests/techmap/buf.ys
Normal file
@@ -0,0 +1,13 @@
|
||||
read_verilog -icells <<EOF
|
||||
module top(input wire [2:0] a, output wire [2:0] y);
|
||||
\$buf #(.WIDTH(3)) b(.A(a), .Y(y));
|
||||
endmodule
|
||||
EOF
|
||||
design -save save
|
||||
|
||||
opt_clean
|
||||
select -assert-none t:$buf
|
||||
|
||||
design -load save
|
||||
techmap
|
||||
select -assert-none t:$buf
|
||||
Reference in New Issue
Block a user