mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Fix latches.ys test
This commit is contained in:
		
							parent
							
								
									6331fa5b02
								
							
						
					
					
						commit
						489444bcba
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -11,10 +11,9 @@ design -load postopt # load the post-opt design (otherwise equiv_opt loads the p
 | 
			
		|||
design -load read
 | 
			
		||||
 | 
			
		||||
synth_xilinx
 | 
			
		||||
#cd top
 | 
			
		||||
 | 
			
		||||
flatten
 | 
			
		||||
cd top
 | 
			
		||||
select -assert-count 1 t:LUT1
 | 
			
		||||
select -assert-count 2 t:LUT3
 | 
			
		||||
select -assert-count 3 t:$_DLATCH_P_
 | 
			
		||||
#ERROR: Assertion failed: selection is not empty: t:LUT1 t:LUT3 t:$_DLATCH_P_ %% t:* %D
 | 
			
		||||
#select -assert-none t:LUT1 t:LUT3 t:$_DLATCH_P_ %% t:* %D
 | 
			
		||||
select -assert-none t:LUT1 t:LUT3 t:$_DLATCH_P_ %% t:* %D
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue