mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	sim: Bail if there are blackboxes in simulation
This commit is contained in:
		
							parent
							
								
									51ef942547
								
							
						
					
					
						commit
						f5485b59a9
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -188,6 +188,10 @@ struct SimInstance | |||
| 	{ | ||||
| 		log_assert(module); | ||||
| 
 | ||||
| 		if (module->get_blackbox_attribute(true)) | ||||
| 			log_error("Cannot simulate blackbox module %s (instanced at %s).\n", | ||||
| 					  log_id(module->name), hiername().c_str()); | ||||
| 
 | ||||
| 		if (parent) { | ||||
| 			log_assert(parent->children.count(instance) == 0); | ||||
| 			parent->children[instance] = this; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue