techmap: fix error message
authorEddie Hung <eddie@fpgeh.com>
Thu, 9 Apr 2020 21:31:59 +0000 (14:31 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 14 Apr 2020 15:17:02 +0000 (08:17 -0700)
passes/techmap/techmap.cc

index 518afa1a736255b0f8d06540e46f8e5692fe96cf..a554be25764c9bed88fd504ba0f96694b930191a 100644 (file)
@@ -1282,7 +1282,7 @@ struct TechmapPass : public Pass {
                                if (fn.compare(0, 1, "%") == 0) {
                                        if (!saved_designs.count(fn.substr(1))) {
                                                delete map;
-                                               log_cmd_error("Can't saved design `%s'.\n", fn.c_str()+1);
+                                               log_cmd_error("Can't open saved design `%s'.\n", fn.c_str()+1);
                                        }
                                        for (auto mod : saved_designs.at(fn.substr(1))->modules())
                                                if (!map->has(mod->name))