From e15f0db4084cce19a77d813b2a9d6b665bd4217a Mon Sep 17 00:00:00 2001 From: gatecat Date: Tue, 24 Aug 2021 12:48:08 +0100 Subject: [PATCH] clangformat Signed-off-by: gatecat --- ecp5/pack.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ecp5/pack.cc b/ecp5/pack.cc index 11d2f0ef..3bc2dbb3 100644 --- a/ecp5/pack.cc +++ b/ecp5/pack.cc @@ -1771,19 +1771,19 @@ class Ecp5Packer if (ci->attrs.count(ctx->id("LOC"))) { std::string loc = ci->attrs.at(ctx->id("LOC")).as_string(); if (loc == "EXTREF0" && - (ctx->args.type == ArchArgs::LFE5UM_25F || ctx->args.type == ArchArgs::LFE5UM5G_25F)) + (ctx->args.type == ArchArgs::LFE5UM_25F || ctx->args.type == ArchArgs::LFE5UM5G_25F)) loc_bel = std::string("X42/Y50/EXTREF"); else if (loc == "EXTREF0" && - (ctx->args.type == ArchArgs::LFE5UM_45F || ctx->args.type == ArchArgs::LFE5UM5G_45F)) + (ctx->args.type == ArchArgs::LFE5UM_45F || ctx->args.type == ArchArgs::LFE5UM5G_45F)) loc_bel = std::string("X42/Y71/EXTREF"); else if (loc == "EXTREF1" && - (ctx->args.type == ArchArgs::LFE5UM_45F || ctx->args.type == ArchArgs::LFE5UM5G_45F)) + (ctx->args.type == ArchArgs::LFE5UM_45F || ctx->args.type == ArchArgs::LFE5UM5G_45F)) loc_bel = std::string("X69/Y71/EXTREF"); else if (loc == "EXTREF0" && - (ctx->args.type == ArchArgs::LFE5UM_85F || ctx->args.type == ArchArgs::LFE5UM5G_85F)) + (ctx->args.type == ArchArgs::LFE5UM_85F || ctx->args.type == ArchArgs::LFE5UM5G_85F)) loc_bel = std::string("X46/Y95/EXTREF"); else if (loc == "EXTREF1" && - (ctx->args.type == ArchArgs::LFE5UM_85F || ctx->args.type == ArchArgs::LFE5UM5G_85F)) + (ctx->args.type == ArchArgs::LFE5UM_85F || ctx->args.type == ArchArgs::LFE5UM5G_85F)) loc_bel = std::string("X71/Y95/EXTREF"); } if (refo == nullptr)