diff options
author | David Shah <dave@ds0.me> | 2018-10-16 14:37:58 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2018-10-16 14:37:58 +0100 |
commit | 1cde2080902c25d2a59e8ebb5b0b23a90f693e8e (patch) | |
tree | 7f2046f65cafddfc443cb8efc006e1f518a3c5b8 | |
parent | 8aac6db44b0ede432cdf1723b8a53ed827aa649d (diff) | |
download | nextpnr-1cde2080902c25d2a59e8ebb5b0b23a90f693e8e.tar.gz nextpnr-1cde2080902c25d2a59e8ebb5b0b23a90f693e8e.tar.bz2 nextpnr-1cde2080902c25d2a59e8ebb5b0b23a90f693e8e.zip |
clangformat
Signed-off-by: David Shah <dave@ds0.me>
-rw-r--r-- | ecp5/arch.cc | 6 | ||||
-rw-r--r-- | ecp5/bitstream.cc | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index b674e1b7..1be76c07 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -79,9 +79,11 @@ Arch::Arch(ArchArgs args) : args(args) #else if (args.type == ArchArgs::LFE5U_25F || args.type == ArchArgs::LFE5UM_25F || args.type == ArchArgs::LFE5UM5G_25F) { chip_info = get_chip_info(reinterpret_cast<const RelPtr<ChipInfoPOD> *>(chipdb_blob_25k)); - } else if (args.type == ArchArgs::LFE5U_45F || args.type == ArchArgs::LFE5UM_45F || args.type == ArchArgs::LFE5UM5G_45F) { + } else if (args.type == ArchArgs::LFE5U_45F || args.type == ArchArgs::LFE5UM_45F || + args.type == ArchArgs::LFE5UM5G_45F) { chip_info = get_chip_info(reinterpret_cast<const RelPtr<ChipInfoPOD> *>(chipdb_blob_45k)); - } else if (args.type == ArchArgs::LFE5U_85F || args.type == ArchArgs::LFE5UM_85F || args.type == ArchArgs::LFE5UM5G_85F) { + } else if (args.type == ArchArgs::LFE5U_85F || args.type == ArchArgs::LFE5UM_85F || + args.type == ArchArgs::LFE5UM5G_85F) { chip_info = get_chip_info(reinterpret_cast<const RelPtr<ChipInfoPOD> *>(chipdb_blob_85k)); } else { log_error("Unsupported ECP5 chip type.\n"); diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc index 7f4e8052..29b12c86 100644 --- a/ecp5/bitstream.cc +++ b/ecp5/bitstream.cc @@ -279,10 +279,12 @@ std::vector<std::string> get_bram_tiles(Context *ctx, BelId bel) return tiles; } -void fix_tile_names(Context *ctx, ChipConfig &cc) { +void fix_tile_names(Context *ctx, ChipConfig &cc) +{ // Remove the V prefix/suffix on certain tiles if device is a SERDES variant - if (ctx->args.type == ArchArgs::LFE5UM_25F || ctx->args.type == ArchArgs::LFE5UM_45F || ctx->args.type == ArchArgs::LFE5UM_85F || - ctx->args.type == ArchArgs::LFE5UM5G_25F || ctx->args.type == ArchArgs::LFE5UM5G_45F || ctx->args.type == ArchArgs::LFE5UM5G_85F) { + if (ctx->args.type == ArchArgs::LFE5UM_25F || ctx->args.type == ArchArgs::LFE5UM_45F || + ctx->args.type == ArchArgs::LFE5UM_85F || ctx->args.type == ArchArgs::LFE5UM5G_25F || + ctx->args.type == ArchArgs::LFE5UM5G_45F || ctx->args.type == ArchArgs::LFE5UM5G_85F) { std::map<std::string, std::string> tiletype_xform; for (const auto &tile : cc.tiles) { std::string newname = tile.first; |