mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Improve MISTRAL_FF specify rules
Co-authored-by: Eddie Hung <eddie@fpgeh.com>
This commit is contained in:
		
							parent
							
								
									52fbaeca07
								
							
						
					
					
						commit
						c6765443fd
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -13,7 +13,8 @@ cd fsm # Constrain all select calls below inside the top module
 | 
			
		|||
 | 
			
		||||
select -assert-count 6 t:MISTRAL_FF
 | 
			
		||||
select -assert-max 2 t:MISTRAL_ALUT2 # Clang returns 2, GCC returns 1
 | 
			
		||||
select -assert-count 1 t:MISTRAL_ALUT3
 | 
			
		||||
select -assert-max 1 t:MISTRAL_ALUT4 # Clang returns 0, GCC returns 1
 | 
			
		||||
select -assert-max 5 t:MISTRAL_ALUT5 # Clang returns 5, GCC returns 4
 | 
			
		||||
select -assert-max 2 t:MISTRAL_ALUT6 # Clang returns 1, GCC returns 2
 | 
			
		||||
select -assert-none t:MISTRAL_FF t:MISTRAL_ALUT2 t:MISTRAL_ALUT4 t:MISTRAL_ALUT5 t:MISTRAL_ALUT6 %% t:* %D
 | 
			
		||||
select -assert-none t:MISTRAL_FF t:MISTRAL_ALUT2 t:MISTRAL_ALUT3 t:MISTRAL_ALUT4 t:MISTRAL_ALUT5 t:MISTRAL_ALUT6 %% t:* %D
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue