mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Verific: Produce errors for instantiating unknown module
Because if the unknown module is connected to any constants, Verific will actually break all constants in the same module, even if they have nothing to do structurally with that instance of an unknown module. Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									0eaab6cd1d
								
							
						
					
					
						commit
						e275692e84
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1800,6 +1800,9 @@ struct VerificPass : public Pass {
 | 
			
		|||
		RuntimeFlags::SetVar("veri_extract_multiport_rams", 1);
 | 
			
		||||
		RuntimeFlags::SetVar("db_infer_wide_operators", 1);
 | 
			
		||||
 | 
			
		||||
		// WARNING: instantiating unknown module 'XYZ' (VERI-1063)
 | 
			
		||||
		Message::SetMessageType("VERI-1063", VERIFIC_ERROR);
 | 
			
		||||
 | 
			
		||||
		verific_verbose = 0;
 | 
			
		||||
 | 
			
		||||
		const char *release_str = Message::ReleaseString();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue