mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Added Yosys::{dict,nodict,vector} container types
This commit is contained in:
		
							parent
							
								
									e8c12e5f0c
								
							
						
					
					
						commit
						a6c96b986b
					
				
					 21 changed files with 495 additions and 331 deletions
				
			
		| 
						 | 
				
			
			@ -1018,7 +1018,7 @@ AstModule::~AstModule()
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
// create a new parametric module (when needed) and return the name of the generated module
 | 
			
		||||
RTLIL::IdString AstModule::derive(RTLIL::Design *design, std::map<RTLIL::IdString, RTLIL::Const> parameters)
 | 
			
		||||
RTLIL::IdString AstModule::derive(RTLIL::Design *design, dict<RTLIL::IdString, RTLIL::Const> parameters)
 | 
			
		||||
{
 | 
			
		||||
	std::string stripped_name = name.str();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -268,7 +268,7 @@ namespace AST
 | 
			
		|||
		AstNode *ast;
 | 
			
		||||
		bool nolatches, nomem2reg, mem2reg, lib, noopt, icells, autowire;
 | 
			
		||||
		virtual ~AstModule();
 | 
			
		||||
		virtual RTLIL::IdString derive(RTLIL::Design *design, std::map<RTLIL::IdString, RTLIL::Const> parameters);
 | 
			
		||||
		virtual RTLIL::IdString derive(RTLIL::Design *design, dict<RTLIL::IdString, RTLIL::Const> parameters);
 | 
			
		||||
		virtual RTLIL::Module *clone() const;
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue