mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Macro defines don't pass or succeed the same way
This commit is contained in:
		
							parent
							
								
									0f1f6506b4
								
							
						
					
					
						commit
						667c3375e8
					
				
					 1 changed files with 2 additions and 8 deletions
				
			
		|  | @ -3437,17 +3437,11 @@ struct VerificPass : public Pass { | |||
| 						log("AUTO-DISCOVER: registered -v file %s\n", file_name); | ||||
| 					} | ||||
| 					FOREACH_MAP_ITEM(veri_file::AllMacroDefs(), mi, &key, &value) { | ||||
| 						if (!hdl_file_sort::DefineMacro(key, value, veri_file::MacroArgs(key))) { | ||||
| 							verific_error_msg.clear(); | ||||
| 							log_cmd_error("Could not define macro %s with value %s.\n", key, value); | ||||
| 						} | ||||
| 						hdl_file_sort::DefineMacro(key, value, veri_file::MacroArgs(key)); | ||||
| 						log("AUTO-DISCOVER: registered definition of macro %s with value %s\n", key, value); | ||||
| 					} | ||||
| 					FOREACH_MAP_ITEM(veri_file::AllCmdLineMacros(), mi, &key, &value) { | ||||
| 						if (!hdl_file_sort::DefineCmdLineMacro(key, value)) { | ||||
| 							verific_error_msg.clear(); | ||||
| 							log_cmd_error("Could not define command line macro %s with value %s.\n", key, value); | ||||
| 						} | ||||
| 						hdl_file_sort::DefineCmdLineMacro(key, value); | ||||
| 						log("AUTO-DISCOVER: registered definition of command line macro %s with value %s\n", key, value); | ||||
| 					} | ||||
| 					// FOREACH_SET_ITEM(veri_file::GetAllLOptions(), si, key) {
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue