mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
techmap: add a Sklansky option for $lcu
mapping
This commit is contained in:
parent
f04b899721
commit
fe64a714a9
3 changed files with 53 additions and 0 deletions
15
tests/techmap/sklansky.tcl
Normal file
15
tests/techmap/sklansky.tcl
Normal file
|
@ -0,0 +1,15 @@
|
|||
yosys -import
|
||||
|
||||
read_verilog +/choices/sklansky.v
|
||||
read_verilog -icells lcu_refined.v
|
||||
design -save init
|
||||
|
||||
for {set i 1} {$i <= 16} {incr i} {
|
||||
design -load init
|
||||
chparam -set WIDTH $i
|
||||
yosys proc
|
||||
opt_clean
|
||||
equiv_make lcu _80_lcu_sklansky equiv
|
||||
equiv_simple equiv
|
||||
equiv_status -assert equiv
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue