From 872e13321c4c39997d3b14408224ef1c2fcc0821 Mon Sep 17 00:00:00 2001 From: eddiehung Date: Tue, 28 Apr 2015 08:56:00 +0100 Subject: [PATCH] For vtr, escape angle brackets as well --- backends/blif/blif.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2