mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			320 B
		
	
	
	
		
			Tcl
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			320 B
		
	
	
	
		
			Tcl
		
	
	
	
	
	
yosys -import
 | 
						|
 | 
						|
read_verilog +/choices/han-carlson.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_han_carlson equiv
 | 
						|
    equiv_simple equiv
 | 
						|
    equiv_status -assert equiv
 | 
						|
}
 |