mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Merge pull request #3984 from YosysHQ/module_hdlname
verific: save original module name
This commit is contained in:
		
						commit
						a54e6f2d1f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1275,6 +1275,7 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::ma | ||||||
| 		log("Importing module %s.\n", RTLIL::id2cstr(module->name)); | 		log("Importing module %s.\n", RTLIL::id2cstr(module->name)); | ||||||
| 	} | 	} | ||||||
| 	import_attributes(module->attributes, nl, nl); | 	import_attributes(module->attributes, nl, nl); | ||||||
|  | 	module->set_string_attribute(ID::hdlname, nl->CellBaseName()); | ||||||
| 	const char *param_name ; | 	const char *param_name ; | ||||||
| 	const char *param_value ; | 	const char *param_value ; | ||||||
| 	MapIter mi; | 	MapIter mi; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue