mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	vector fix for pyosys
This commit is contained in:
		
							parent
							
								
									f8672816b0
								
							
						
					
					
						commit
						7864c6dd34
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		|  | @ -715,7 +715,7 @@ pool<string> RTLIL::AttrObject::get_strpool_attribute(const RTLIL::IdString &id) | |||
| 	return data; | ||||
| } | ||||
| 
 | ||||
| void RTLIL::AttrObject::set_hdlname_attribute(const vector<string> &hierarchy) | ||||
| void RTLIL::AttrObject::set_hdlname_attribute(const std::vector<string> &hierarchy) | ||||
| { | ||||
| 	string attrval; | ||||
| 	for (const auto &ident : hierarchy) { | ||||
|  | @ -731,7 +731,7 @@ vector<string> RTLIL::AttrObject::get_hdlname_attribute() const | |||
| 	return split_tokens(get_string_attribute(ID::hdlname), " "); | ||||
| } | ||||
| 
 | ||||
| void RTLIL::AttrObject::set_intvec_attribute(const RTLIL::IdString& id, const vector<int> &data) | ||||
| void RTLIL::AttrObject::set_intvec_attribute(const RTLIL::IdString& id, const std::vector<int> &data) | ||||
| { | ||||
| 	std::stringstream attrval; | ||||
| 	for (auto &i : data) { | ||||
|  |  | |||
|  | @ -832,11 +832,11 @@ struct RTLIL::AttrObject | |||
| 		return get_string_attribute(ID::src); | ||||
| 	} | ||||
| 
 | ||||
| 	void set_hdlname_attribute(const vector<string> &hierarchy); | ||||
| 	vector<string> get_hdlname_attribute() const; | ||||
| 	void set_hdlname_attribute(const std::vector<string> &hierarchy); | ||||
| 	std::vector<string> get_hdlname_attribute() const; | ||||
| 
 | ||||
| 	void set_intvec_attribute(const RTLIL::IdString& id, const vector<int> &data); | ||||
| 	vector<int> get_intvec_attribute(const RTLIL::IdString &id) const; | ||||
| 	void set_intvec_attribute(const RTLIL::IdString& id, const std::vector<int> &data); | ||||
| 	std::vector<int> get_intvec_attribute(const RTLIL::IdString &id) const; | ||||
| }; | ||||
| 
 | ||||
| struct RTLIL::SigChunk | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue