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:
parent
dc9109316f
commit
80bb367941
6 changed files with 139 additions and 0 deletions
11
tests/techmap/abc_new_no_script.ys
Normal file
11
tests/techmap/abc_new_no_script.ys
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue