aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-13 09:04:20 -0800
committerGitHub <noreply@github.com>2020-01-13 09:04:20 -0800
commitca2f3db53f3f330d283079bf44b3cef6b7f197be (patch)
treeb633788b56a0575be8f70644641c352adb1a653e /kernel/rtlil.h
parent0f489c5ea340869206888c6f1feb672b7202b185 (diff)
parent35e49fde4dfa67030a3e80d0bdf700c97258ed45 (diff)
downloadyosys-ca2f3db53f3f330d283079bf44b3cef6b7f197be.tar.gz
yosys-ca2f3db53f3f330d283079bf44b3cef6b7f197be.tar.bz2
yosys-ca2f3db53f3f330d283079bf44b3cef6b7f197be.zip
Merge pull request #1620 from YosysHQ/eddie/abc9_scratchpad
abc9: add some scripts/options into "scratchpad"
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;