diff options
author | eddiehung <e.hung@imperial.ac.uk> | 2015-04-28 08:56:00 +0100 |
---|---|---|
committer | eddiehung <e.hung@imperial.ac.uk> | 2015-04-28 08:56:00 +0100 |
commit | 872e13321c4c39997d3b14408224ef1c2fcc0821 (patch) | |
tree | d95f3557581dff43664222d88801799829f912e8 /backends/blif/blif.cc | |
parent | 058deb777e72458fa018e21eaf0322ca75b86fd7 (diff) | |
download | yosys-872e13321c4c39997d3b14408224ef1c2fcc0821.tar.gz yosys-872e13321c4c39997d3b14408224ef1c2fcc0821.tar.bz2 yosys-872e13321c4c39997d3b14408224ef1c2fcc0821.zip |
For vtr, escape angle brackets as well
Diffstat (limited to 'backends/blif/blif.cc')
-rw-r--r-- | backends/blif/blif.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc index bbc0614e4..4a5121977 100644 --- a/backends/blif/blif.cc +++ b/backends/blif/blif.cc @@ -66,7 +66,7 @@ struct BlifDumper { std::string str = RTLIL::unescape_id(id); 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] = '?'; cstr_buf.push_back(str); return cstr_buf.back().c_str(); |