mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	box_derive: Tune the test
This commit is contained in:
		
							parent
							
								
									b230c95cc4
								
							
						
					
					
						commit
						97fedff383
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -35,6 +35,11 @@ endmodule
 | 
			
		|||
EOF
 | 
			
		||||
 | 
			
		||||
box_derive -naming_attr final_name top
 | 
			
		||||
 | 
			
		||||
select -assert-mod-count 1 =aa1
 | 
			
		||||
select -assert-mod-count 1 =aa2
 | 
			
		||||
select -assert-mod-count 0 =aa3
 | 
			
		||||
 | 
			
		||||
select -assert-mod-count 1 =bb1
 | 
			
		||||
select -assert-mod-count 0 =bb2
 | 
			
		||||
select -assert-mod-count 1 =bb3
 | 
			
		||||
| 
						 | 
				
			
			@ -43,5 +48,6 @@ select -assert-mod-count 1 =cc1
 | 
			
		|||
select -assert-mod-count 0 =cc2
 | 
			
		||||
select -assert-mod-count 0 =cc3
 | 
			
		||||
 | 
			
		||||
# the original aa, bb, cc, and 5 specializations
 | 
			
		||||
# we are expecting the original aa, bb, cc modules
 | 
			
		||||
# and 5 specializations generated by box_derive
 | 
			
		||||
select -assert-mod-count 8 =A:whitebox
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue