mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 14:23:41 +00:00
techmap: add TCL test for Han-Carlson adder
This commit is contained in:
parent
289673a807
commit
1a562f9605
4 changed files with 37 additions and 1 deletions
14
tests/techmap/han-carlson.tcl
Normal file
14
tests/techmap/han-carlson.tcl
Normal file
|
@ -0,0 +1,14 @@
|
|||
yosys -import
|
||||
|
||||
read_verilog +/choices/han-carlson.v
|
||||
read_verilog lcu_refined.v
|
||||
design -save init
|
||||
|
||||
for {set i 1} {$i <= 16} {incr i} {
|
||||
design -load init
|
||||
chparam -set WIDTH $i
|
||||
yosys proc
|
||||
equiv_make -blacklist han-carlson.nomatch lcu _85_lcu_han_carlson equiv
|
||||
equiv_simple equiv
|
||||
equiv_status -assert equiv
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue