mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Merge remote-tracking branch 'origin/clifford/whitebox' into xaig
This commit is contained in:
commit
8fe0a961b3
23 changed files with 81 additions and 42 deletions
|
@ -575,6 +575,10 @@ struct RTLIL::AttrObject
|
|||
void set_bool_attribute(RTLIL::IdString id);
|
||||
bool get_bool_attribute(RTLIL::IdString id) const;
|
||||
|
||||
bool get_blackbox_attribute() const {
|
||||
return get_bool_attribute("\\blackbox") || get_bool_attribute("\\whitebox");
|
||||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue