Fix parsing of .cname BLIF statements
authorClifford Wolf <clifford@clifford.at>
Wed, 16 Oct 2019 07:06:57 +0000 (09:06 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 16 Oct 2019 07:06:57 +0000 (09:06 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/blif/blifparse.cc

index bfcfad78ad5dfec9a9a267fa4dbca799cf012f7e..cab210605e32124f1a9ee6b398c31f95f388acdc 100644 (file)
@@ -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;
                        }