diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-08-30 11:39:11 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-08-30 11:39:11 +0200 |
commit | 85303334396904edfa0d77852b77c64870468f79 (patch) | |
tree | 97cfa6102f45951053642c358d7fb390bbb70123 /kernel/rtlil.h | |
parent | 393b18e8e17432349797a1f228a7ddc7e2f7a16c (diff) | |
download | yosys-85303334396904edfa0d77852b77c64870468f79.tar.gz yosys-85303334396904edfa0d77852b77c64870468f79.tar.bz2 yosys-85303334396904edfa0d77852b77c64870468f79.zip |
Add {get,set}_src_attribute() methods on RTLIL::AttrObject
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index be558932f..31f7f9d31 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -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 |