mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Merge pull request #2456 from Zottel/master
Return correct modname when found in cache.
This commit is contained in:
		
						commit
						90724ea9e7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1511,6 +1511,7 @@ RTLIL::IdString AstModule::derive(RTLIL::Design *design, const dict<RTLIL::IdStr | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 	} else { | 	} else { | ||||||
|  | 		modname = new_modname; | ||||||
| 		log("Found cached RTLIL representation for module `%s'.\n", modname.c_str()); | 		log("Found cached RTLIL representation for module `%s'.\n", modname.c_str()); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue