mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-13 10:44:45 +00:00
Use ordered set for src attrs when flattening
This commit is contained in:
parent
1b1855353d
commit
3a67468860
3 changed files with 11 additions and 9 deletions
|
@ -855,9 +855,9 @@ struct RTLIL::AttrObject
|
|||
void set_string_attribute(const RTLIL::IdString& id, string value);
|
||||
string get_string_attribute(const RTLIL::IdString &id) const;
|
||||
|
||||
void set_strpool_attribute(const RTLIL::IdString& id, const pool<string> &data);
|
||||
void add_strpool_attribute(const RTLIL::IdString& id, const pool<string> &data);
|
||||
pool<string> get_strpool_attribute(const RTLIL::IdString &id) const;
|
||||
void set_strpool_attribute(const RTLIL::IdString& id, const std::set<string> &data);
|
||||
void add_strpool_attribute(const RTLIL::IdString& id, const std::set<string> &data);
|
||||
std::set<string> get_strpool_attribute(const RTLIL::IdString &id) const;
|
||||
|
||||
void set_src_attribute(const std::string &src) {
|
||||
set_string_attribute(ID::src, src);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue