mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-01 21:18:55 +00:00
Move rename logic to abc_ops_reintegrate
This commit is contained in:
parent
c96d7bc998
commit
091d2a7814
11 changed files with 208 additions and 281 deletions
|
|
@ -1,36 +0,0 @@
|
|||
read_verilog <<EOT
|
||||
module top(input [31:-32] a, input [-65:-128] b, output [128:65] c);
|
||||
assign c = a & b;
|
||||
endmodule
|
||||
EOT
|
||||
select -assert-count 1 i:a
|
||||
select -assert-count 1 i:b
|
||||
select -assert-count 1 o:c
|
||||
select -assert-count 3 x:* s:64 %i
|
||||
design -save read
|
||||
|
||||
!rm -rf neg.out
|
||||
!mkdir neg.out
|
||||
simplemap
|
||||
write_aiger -map neg.out/neg.map neg.out/neg.aig
|
||||
|
||||
design -reset
|
||||
read_aiger -wideports -map neg.out/neg.map neg.out/neg.aig
|
||||
select -assert-count 1 i:a
|
||||
select -assert-count 1 i:b
|
||||
select -assert-count 1 o:c
|
||||
select -assert-count 3 x:* s:64 %i
|
||||
|
||||
|
||||
design -load read
|
||||
!rm -rf neg.out
|
||||
!mkdir neg.out
|
||||
simplemap
|
||||
write_xaiger -map neg.out/neg.map neg.out/neg.aig
|
||||
|
||||
design -reset
|
||||
read_aiger -wideports -map neg.out/neg.map neg.out/neg.aig
|
||||
select -assert-count 1 i:a
|
||||
select -assert-count 1 i:b
|
||||
select -assert-count 1 o:c
|
||||
select -assert-count 3 x:* s:64 %i
|
||||
Loading…
Add table
Add a link
Reference in a new issue