mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Escape '<' and '>' some more
This commit is contained in:
parent
872e13321c
commit
079c1205fe
|
@ -82,7 +82,7 @@ struct BlifDumper
|
||||||
|
|
||||||
std::string str = RTLIL::unescape_id(sig.wire->name);
|
std::string str = RTLIL::unescape_id(sig.wire->name);
|
||||||
for (size_t i = 0; i < str.size(); i++)
|
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] = '?';
|
str[i] = '?';
|
||||||
|
|
||||||
if (sig.wire->width != 1)
|
if (sig.wire->width != 1)
|
||||||
|
|
Loading…
Reference in a new issue