diff options
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/bitstream.cc | 3 | ||||
-rw-r--r-- | ecp5/main.cc | 10 |
2 files changed, 7 insertions, 6 deletions
diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc index 542ee6ca..d6b1c701 100644 --- a/ecp5/bitstream.cc +++ b/ecp5/bitstream.cc @@ -932,7 +932,8 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex else log_error("cannot set DRIVE on differential IO at location %s\n", pio.c_str()); cc.tiles[pio_tile].add_enum(pio + ".DRIVE", str_or_default(ci->attrs, ctx->id("DRIVE"), "12")); - cc.tiles[pio_tile].add_enum(other + ".DRIVE", str_or_default(ci->attrs, ctx->id("DRIVE"), "12")); + cc.tiles[pio_tile].add_enum(other + ".DRIVE", + str_or_default(ci->attrs, ctx->id("DRIVE"), "12")); } } else { if (!drive_3v3_warning_done) 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; |