aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2017-08-30 16:40:41 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2017-08-30 16:40:41 -0700
commit06754108fc3cc3d78e7b86d7093da110cc716224 (patch)
tree4493a1e34ce7b44cef1d836c05a40edad0b04f2d /kernel/rtlil.h
parent634f18be961683917ca589bed1a44b8031f06764 (diff)
parentc0034f51e6540ab945e88843bb20035bfa7b333b (diff)
downloadyosys-06754108fc3cc3d78e7b86d7093da110cc716224.tar.gz
yosys-06754108fc3cc3d78e7b86d7093da110cc716224.tar.bz2
yosys-06754108fc3cc3d78e7b86d7093da110cc716224.zip
Merge branch 'master' of https://github.com/cliffordwolf/yosys into counter-extraction
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h4
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