mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Added "wreduce" to some of the standard test benches
This commit is contained in:
		
							parent
							
								
									027376515a
								
							
						
					
					
						commit
						358bf70a21
					
				
					 3 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -66,6 +66,7 @@ for idx in range(100):
 | 
				
			||||||
        print('rename uut_%05d gate' % idx)
 | 
					        print('rename uut_%05d gate' % idx)
 | 
				
			||||||
        print('tee -a temp/all_share_log.txt log')
 | 
					        print('tee -a temp/all_share_log.txt log')
 | 
				
			||||||
        print('tee -a temp/all_share_log.txt log #job# uut_%05d' % idx)
 | 
					        print('tee -a temp/all_share_log.txt log #job# uut_%05d' % idx)
 | 
				
			||||||
 | 
					        print('tee -a temp/all_share_log.txt wreduce')
 | 
				
			||||||
        print('tee -a temp/all_share_log.txt share -aggressive gate')
 | 
					        print('tee -a temp/all_share_log.txt share -aggressive gate')
 | 
				
			||||||
        print('miter -equiv -flatten -ignore_gold_x -make_outputs -make_outcmp gold gate miter')
 | 
					        print('miter -equiv -flatten -ignore_gold_x -make_outputs -make_outcmp gold gate miter')
 | 
				
			||||||
        print('sat -set-def-inputs -verify -prove trigger 0 -show-inputs -show-outputs miter')
 | 
					        print('sat -set-def-inputs -verify -prove trigger 0 -show-inputs -show-outputs miter')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -140,7 +140,7 @@ do
 | 
				
			||||||
		elif [ "$frontend" = "verific_gates" ]; then
 | 
							elif [ "$frontend" = "verific_gates" ]; then
 | 
				
			||||||
			test_passes -p "verific -vlog2k $fn; verific -import -gates -all; opt; memory;;"
 | 
								test_passes -p "verific -vlog2k $fn; verific -import -gates -all; opt; memory;;"
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			test_passes -f "$frontend" -p "hierarchy; proc; opt; memory -nomap; opt; fsm; opt" $fn
 | 
								test_passes -f "$frontend" -p "hierarchy; proc; opt_const; opt_share;; wreduce;; share;; opt; memory -nomap;; fsm; opt" $fn
 | 
				
			||||||
			test_passes -f "$frontend" -p "hierarchy; proc; opt; memory; opt; fsm; opt -fine; techmap; opt; abc -dff; opt" $fn
 | 
								test_passes -f "$frontend" -p "hierarchy; proc; opt; memory; opt; fsm; opt -fine; techmap; opt; abc -dff; opt" $fn
 | 
				
			||||||
		fi
 | 
							fi
 | 
				
			||||||
		touch ../${bn}.log
 | 
							touch ../${bn}.log
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,6 +6,6 @@ source common.sh
 | 
				
			||||||
f=$1
 | 
					f=$1
 | 
				
			||||||
n=$(basename ${f%.v})
 | 
					n=$(basename ${f%.v})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test_equiv share "share -aggressive" "-ignore_div_by_zero" $n $f
 | 
					test_equiv share "wreduce; share -aggressive" "-ignore_div_by_zero" $n $f
 | 
				
			||||||
 | 
					
 | 
				
			||||||
exit 0
 | 
					exit 0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue