projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
872e133
)
Escape '<' and '>' some more
author
eddiehung
<e.hung@imperial.ac.uk>
Sun, 3 May 2015 09:37:20 +0000
(10:37 +0100)
committer
eddiehung
<e.hung@imperial.ac.uk>
Sun, 3 May 2015 09:37:20 +0000
(10:37 +0100)
backends/blif/blif.cc
patch
|
blob
|
history
diff --git
a/backends/blif/blif.cc
b/backends/blif/blif.cc
index 4a5121977424dfc1b2dafcf5dbdb19afc9a8a07a..3a4618a901cfac28f033dfebb352f814f5349d10 100644
(file)
--- a/
backends/blif/blif.cc
+++ b/
backends/blif/blif.cc
@@
-82,7
+82,7
@@
struct BlifDumper
std::string str = RTLIL::unescape_id(sig.wire->name);
for (size_t i = 0; i < str.size(); i++)
- if (str[i] == '#' || str[i] == '=')
+ if (str[i] == '#' || str[i] == '='
|| str[i] == '<' || str[i] == '>'
)
str[i] = '?';
if (sig.wire->width != 1)