mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	tests: rework Kogge-Stone test consistently with Han-Carlson
This commit is contained in:
		
							parent
							
								
									1a562f9605
								
							
						
					
					
						commit
						3f078d9afa
					
				
					 4 changed files with 16 additions and 3 deletions
				
			
		| 
						 | 
					@ -8,7 +8,7 @@ for {set i 1} {$i <= 16} {incr i} {
 | 
				
			||||||
    design -load init
 | 
					    design -load init
 | 
				
			||||||
    chparam -set WIDTH $i
 | 
					    chparam -set WIDTH $i
 | 
				
			||||||
    yosys proc
 | 
					    yosys proc
 | 
				
			||||||
    equiv_make -blacklist han-carlson.nomatch lcu _85_lcu_han_carlson equiv
 | 
					    equiv_make -blacklist ppa.nomatch lcu _85_lcu_han_carlson equiv
 | 
				
			||||||
    equiv_simple equiv
 | 
					    equiv_simple equiv
 | 
				
			||||||
    equiv_status -assert equiv
 | 
					    equiv_status -assert equiv
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										14
									
								
								tests/techmap/kogge-stone.tcl
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/techmap/kogge-stone.tcl
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,14 @@
 | 
				
			||||||
 | 
					yosys -import
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					read_verilog +/choices/kogge-stone.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 ppa.nomatch lcu _80_lcu_kogge_stone equiv
 | 
				
			||||||
 | 
					    equiv_simple equiv
 | 
				
			||||||
 | 
					    equiv_status -assert equiv
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
test_cell -s 1711533949 -n 10 -map +/techmap.v -map +/choices/kogge-stone.v $lcu
 | 
					 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue