3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-08 20:21:25 +00:00

abc9: holes module to instantiate cells with NEW_ID (#2992)

* Add testcase

* holes module to instantiate cells with NEW_ID
This commit is contained in:
Eddie Hung 2021-09-09 10:06:20 -07:00 committed by GitHub
parent f03e2c30aa
commit 65316ec926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

14
tests/techmap/bug2759.ys Normal file
View file

@ -0,0 +1,14 @@
read_verilog -specify <<EOT
(* abc9_box, whitebox *)
module box(input [1:0] i, output o);
specify
(i *> o) = 1;
endspecify
assign o = ^i;
endmodule
module top(input [1:0] i, output o);
box i1(i, o);
endmodule
EOT
abc9 -lut 4