diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-02-07 11:40:19 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-02-07 11:40:19 +0100 |
commit | dce1fae777bcc9791c2f49be4b53f1de53df7502 (patch) | |
tree | cec59c5048b001b230a041bd021b60b0141df22a /kernel/rtlil.h | |
parent | d5e30978e97f6e23eacad91766d862a7b8ea8879 (diff) |
Added cell->known(), cell->input(portname), cell->output(portname)
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index c17ede3d..985bffe5 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -1140,6 +1140,11 @@ public: const RTLIL::SigSpec &getPort(RTLIL::IdString portname) const; const dict<RTLIL::IdString, RTLIL::SigSpec> &connections() const; + // information about cell ports + bool known() const; + bool input(RTLIL::IdString portname) const; + bool output(RTLIL::IdString portname) const; + // access cell parameters bool hasParam(RTLIL::IdString paramname) const; void unsetParam(RTLIL::IdString paramname); |