mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-29 18:52:30 +00:00 
			
		
		
		
	Error if $currQ not found
This commit is contained in:
		
							parent
							
								
									a2ef93f03a
								
							
						
					
					
						commit
						3c6e5d82a6
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -485,7 +485,11 @@ struct XAigerWriter | |||
| 				if (box_module->get_bool_attribute("\\abc9_flop")) { | ||||
| 					IdString port_name = "\\$currQ"; | ||||
| 					Wire *w = box_module->wire(port_name); | ||||
| 					if (!w) | ||||
| 						log_error("'$currQ' is not a wire present in module '%s'.\n", log_id(box_module)); | ||||
| 					SigSpec rhs = module->wire(stringf("%s.$currQ", cell->name.c_str())); | ||||
| 					if (rhs.empty()) | ||||
| 						log_error("'%s.$currQ' is not a wire present in module '%s'.\n", log_id(cell), log_id(module)); | ||||
| 					log_assert(GetSize(w) == GetSize(rhs)); | ||||
| 
 | ||||
| 					int offset = 0; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue