mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 14:23:41 +00:00
Add {get,set}_src_attribute() methods on RTLIL::AttrObject
This commit is contained in:
parent
393b18e8e1
commit
8530333439
2 changed files with 20 additions and 0 deletions
|
@ -505,9 +505,13 @@ struct RTLIL::AttrObject
|
|||
|
||||
void set_bool_attribute(RTLIL::IdString id);
|
||||
bool get_bool_attribute(RTLIL::IdString id) const;
|
||||
|
||||
void set_strpool_attribute(RTLIL::IdString id, const pool<string> &data);
|
||||
void add_strpool_attribute(RTLIL::IdString id, const pool<string> &data);
|
||||
pool<string> get_strpool_attribute(RTLIL::IdString id) const;
|
||||
|
||||
void set_src_attribute(const std::string &src);
|
||||
std::string get_src_attribute() const;
|
||||
};
|
||||
|
||||
struct RTLIL::SigChunk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue