mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Blackbox all whiteboxes after synthesis
This prevents issues like processes in whiteboxes triggering an error in the JSON backend. Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
		
							parent
							
								
									c8b45a4a82
								
							
						
					
					
						commit
						cae905f551
					
				
					 16 changed files with 24 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -406,6 +406,7 @@ struct SynthNexusPass : public ScriptPass
 | 
			
		|||
			run("hierarchy -check");
 | 
			
		||||
			run("stat");
 | 
			
		||||
			run("check -noinit");
 | 
			
		||||
			run("blackbox =A:whitebox");
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (check_label("json"))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue