aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/bitstream.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-10-16 14:37:58 +0100
committerDavid Shah <dave@ds0.me>2018-10-16 14:37:58 +0100
commit1cde2080902c25d2a59e8ebb5b0b23a90f693e8e (patch)
tree7f2046f65cafddfc443cb8efc006e1f518a3c5b8 /ecp5/bitstream.cc
parent8aac6db44b0ede432cdf1723b8a53ed827aa649d (diff)
downloadnextpnr-1cde2080902c25d2a59e8ebb5b0b23a90f693e8e.tar.gz
nextpnr-1cde2080902c25d2a59e8ebb5b0b23a90f693e8e.tar.bz2
nextpnr-1cde2080902c25d2a59e8ebb5b0b23a90f693e8e.zip
clangformat
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5/bitstream.cc')
-rw-r--r--ecp5/bitstream.cc8
1 files changed, 5 insertions, 3 deletions
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;