3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-26 03:46:22 +00:00

More abc_new tests.

This commit is contained in:
nella 2026-05-05 10:51:04 +02:00
parent dc9109316f
commit 80bb367941
6 changed files with 139 additions and 0 deletions

View file

@ -0,0 +1,11 @@
read_verilog <<EOT
module top(input [3:0] a, input [3:0] b, output [3:0] y);
assign y = a & b;
endmodule
EOT
hierarchy -check -top top
proc; opt -fast
logger -expect log "ABC: .*i/o = +8/ +4" 3
logger -expect log "ABC: Warning: The network is combinational\." 1
logger -expect error "Missing mapping \(no 'M' section\)" 1
abc_new -liberty ../../examples/cmos/cmos_cells.lib