diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-04-04 19:00:15 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-04-04 19:00:15 +0200 |
commit | c52a4cdeede6904f9b0d91a61a3fbeaade71a46a (patch) | |
tree | 4f99ae1b20ea35994ce7d092dbdbd4b8aab4c409 /kernel | |
parent | b0c0ede879341c0beeae4a9a5e8578da12f3b3f1 (diff) |
Added "dffinit", Support for initialized Xilinx DFF
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rtlil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 1d0008f9..702addd7 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -474,6 +474,7 @@ struct RTLIL::Const std::string decode_string() const; inline int size() const { return bits.size(); } + inline RTLIL::State operator[](int index) { return bits.at(index); } inline unsigned int hash() const { unsigned int h = mkhash_init; |