mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Added automatic conversion from RTLIL::SigSpec to std::vector<RTLIL::SigBit>
This commit is contained in:
		
							parent
							
								
									309ae98246
								
							
						
					
					
						commit
						a721f7d768
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -542,6 +542,7 @@ struct RTLIL::SigSpec { | |||
| 	static bool parse(RTLIL::SigSpec &sig, RTLIL::Module *module, std::string str); | ||||
| 	static bool parse_sel(RTLIL::SigSpec &sig, RTLIL::Design *design, RTLIL::Module *module, std::string str); | ||||
| 	static bool parse_rhs(const RTLIL::SigSpec &lhs, RTLIL::SigSpec &sig, RTLIL::Module *module, std::string str); | ||||
| 	operator std::vector<RTLIL::SigBit>() const { return to_sigbit_vector(); } | ||||
| }; | ||||
| 
 | ||||
| inline RTLIL::SigBit::SigBit(const RTLIL::SigSpec &sig) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue