aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-10-16 09:06:57 +0200
committerClifford Wolf <clifford@clifford.at>2019-10-16 09:06:57 +0200
commit71936209cf194c06dc59d5e17bf3c153a000892f (patch)
tree057774ea624e79741d0de6932c1e757b1ded6012 /frontends
parent935d3e19e2ddc315d06b4a7fe649f06578eeeb81 (diff)
downloadyosys-71936209cf194c06dc59d5e17bf3c153a000892f.tar.gz
yosys-71936209cf194c06dc59d5e17bf3c153a000892f.tar.bz2
yosys-71936209cf194c06dc59d5e17bf3c153a000892f.zip
Fix parsing of .cname BLIF statements
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontends')
-rw-r--r--frontends/blif/blifparse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/blif/blifparse.cc b/frontends/blif/blifparse.cc
index bfcfad78a..cab210605 100644
--- a/frontends/blif/blifparse.cc
+++ b/frontends/blif/blifparse.cc
@@ -286,7 +286,7 @@ void parse_blif(RTLIL::Design *design, std::istream &f, IdString dff_name, bool
goto error_with_reason;
}
- module->rename(lastcell, p);
+ module->rename(lastcell, RTLIL::escape_id(p));
continue;
}