mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Refactoring: Renamed RTLIL::Design::modules to modules_
This commit is contained in:
		
							parent
							
								
									d088854b47
								
							
						
					
					
						commit
						10e5791c5e
					
				
					 73 changed files with 223 additions and 223 deletions
				
			
		|  | @ -89,9 +89,9 @@ struct BlifDumper | |||
| 	{ | ||||
| 		if (!config->gates_mode) | ||||
| 			return "subckt"; | ||||
| 		if (!design->modules.count(RTLIL::escape_id(cell_type))) | ||||
| 		if (!design->modules_.count(RTLIL::escape_id(cell_type))) | ||||
| 			return "gate"; | ||||
| 		if (design->modules.at(RTLIL::escape_id(cell_type))->get_bool_attribute("\\blackbox")) | ||||
| 		if (design->modules_.at(RTLIL::escape_id(cell_type))->get_bool_attribute("\\blackbox")) | ||||
| 			return "gate"; | ||||
| 		return "subckt"; | ||||
| 	} | ||||
|  | @ -362,7 +362,7 @@ struct BlifBackend : public Backend { | |||
| 		extra_args(f, filename, args, argidx); | ||||
| 
 | ||||
| 		if (top_module_name.empty()) | ||||
| 			for (auto & mod_it:design->modules) | ||||
| 			for (auto & mod_it:design->modules_) | ||||
| 				if (mod_it.second->get_bool_attribute("\\top")) | ||||
| 					top_module_name = mod_it.first; | ||||
| 
 | ||||
|  | @ -370,7 +370,7 @@ struct BlifBackend : public Backend { | |||
| 
 | ||||
| 		std::vector<RTLIL::Module*> mod_list; | ||||
| 
 | ||||
| 		for (auto module_it : design->modules) | ||||
| 		for (auto module_it : design->modules_) | ||||
| 		{ | ||||
| 			RTLIL::Module *module = module_it.second; | ||||
| 			if (module->get_bool_attribute("\\blackbox")) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue