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:
parent
f03e2c30aa
commit
65316ec926
2 changed files with 15 additions and 1 deletions
14
tests/techmap/bug2759.ys
Normal file
14
tests/techmap/bug2759.ys
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue