diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-01-14 12:57:56 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-01-14 12:57:56 -0800 |
commit | 915e7dde734094e21803f83e37f8827b8ff2fe32 (patch) | |
tree | f6d0a2fb338c92f865e6c6c1f2e43716d90716c8 /kernel | |
parent | f9aae90e7a9d238f5063d980e2b1e85a94cff4c7 (diff) | |
parent | 654247abe9078566f93960a135ce08b0cfc96442 (diff) | |
download | yosys-915e7dde734094e21803f83e37f8827b8ff2fe32.tar.gz yosys-915e7dde734094e21803f83e37f8827b8ff2fe32.tar.bz2 yosys-915e7dde734094e21803f83e37f8827b8ff2fe32.zip |
Merge remote-tracking branch 'origin/eddie/abc9_refactor' into eddie/abc9_required
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rtlil.cc | 1 | ||||
-rw-r--r-- | kernel/rtlil.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index ab4f4f377..f286d139f 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -46,6 +46,7 @@ IdString RTLIL::ID::Y; IdString RTLIL::ID::keep; IdString RTLIL::ID::whitebox; IdString RTLIL::ID::blackbox; +dict<std::string, std::string> RTLIL::constpad; RTLIL::Const::Const() { diff --git a/kernel/rtlil.h b/kernel/rtlil.h index e5b24cc02..6251d265d 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -377,6 +377,8 @@ namespace RTLIL extern IdString blackbox; }; + extern dict<std::string, std::string> constpad; + static inline std::string escape_id(std::string str) { if (str.size() > 0 && str[0] != '\\' && str[0] != '$') return "\\" + str; |