aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-13 09:22:42 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-13 09:22:42 -0800
commit9f3cb981d7c0767f40febf0b32e0a19c28d8e6a0 (patch)
treed0fb208396ca815adfbc6592f2b154caf51cc005 /kernel/rtlil.h
parent295e241c074ae275e832fdde9fae6fd897170ac8 (diff)
parentca2f3db53f3f330d283079bf44b3cef6b7f197be (diff)
downloadyosys-9f3cb981d7c0767f40febf0b32e0a19c28d8e6a0.tar.gz
yosys-9f3cb981d7c0767f40febf0b32e0a19c28d8e6a0.tar.bz2
yosys-9f3cb981d7c0767f40febf0b32e0a19c28d8e6a0.zip
Merge remote-tracking branch 'origin/master' into eddie/abc9_refactor
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h2
1 files changed, 2 insertions, 0 deletions
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;