mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 14:23:41 +00:00
Add RTLIL::constpad, init by yosys_setup(); use for abc9
This commit is contained in:
parent
823a08e0d8
commit
a63e2508fc
5 changed files with 39 additions and 32 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue