diff options
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/main.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc index a24011db..f1cb9760 100644 --- a/ecp5/main.cc +++ b/ecp5/main.cc @@ -174,12 +174,12 @@ std::unique_ptr<Context> ECP5CommandHandler::createContext(std::unordered_map<st if (values.find("arch.name") != values.end()) { std::string arch_name = values["arch.name"].as_string(); if (arch_name != "ecp5") - log_error("Unsuported architecture '%s'.\n", arch_name.c_str()); + log_error("Unsupported architecture '%s'.\n", arch_name.c_str()); } if (values.find("arch.type") != values.end()) { std::string arch_type = values["arch.type"].as_string(); if (chipArgs.type != ArchArgs::NONE) - log_error("Overriding architecture is unsuported.\n"); + log_error("Overriding architecture is unsupported.\n"); if (arch_type == "lfe5u_12f") chipArgs.type = ArchArgs::LFE5U_12F; @@ -203,11 +203,11 @@ std::unique_ptr<Context> ECP5CommandHandler::createContext(std::unordered_map<st chipArgs.type = ArchArgs::LFE5UM5G_85F; if (chipArgs.type == ArchArgs::NONE) - log_error("Unsuported FPGA type '%s'.\n", arch_type.c_str()); + log_error("Unsupported FPGA type '%s'.\n", arch_type.c_str()); } if (values.find("arch.package") != values.end()) { if (vm.count("package")) - log_error("Overriding architecture is unsuported.\n"); + log_error("Overriding architecture is unsupported.\n"); chipArgs.package = values["arch.package"].as_string(); } if (values.find("arch.speed") != values.end()) { @@ -219,7 +219,7 @@ std::unique_ptr<Context> ECP5CommandHandler::createContext(std::unordered_map<st else if (arch_speed == "8") chipArgs.speed = ArchArgs::SPEED_8; else - log_error("Unsuported speed '%s'.\n", arch_speed.c_str()); + log_error("Unsupported speed '%s'.\n", arch_speed.c_str()); } if (chipArgs.type == ArchArgs::NONE) chipArgs.type = ArchArgs::LFE5U_45F; |