projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
165f5cb
)
Escape IdStrings
author
Eddie Hung
<eddie@fpgeh.com>
Sat, 23 Nov 2019 18:16:56 +0000
(10:16 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Sat, 23 Nov 2019 18:16:56 +0000
(10:16 -0800)
passes/hierarchy/clkpart.cc
patch
|
blob
|
history
diff --git
a/passes/hierarchy/clkpart.cc
b/passes/hierarchy/clkpart.cc
index 4f4291e06f60158e9fcde2aed3a325c950465708..7c3e52178cde0b840be6236c3bbfa73e191182d6 100644
(file)
--- a/
passes/hierarchy/clkpart.cc
+++ b/
passes/hierarchy/clkpart.cc
@@
-74,13
+74,12
@@
struct ClkPartPass : public Pass {
for (argidx = 1; argidx < args.size(); argidx++)
{
if (args[argidx] == "-set_attr" && argidx+2 < args.size()) {
- attr_name =
args[argidx++]
;
+ attr_name =
RTLIL::escape_id(args[argidx++])
;
attr_value = args[argidx++];
continue;
}
if (args[argidx] == "-unpart" && argidx+1 < args.size()) {
- unpart_mode = true;
- attr_name = args[argidx++];
+ attr_name = RTLIL::escape_id(args[argidx++]);
continue;
}
if (args[argidx] == "-enable") {