aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-09-06 13:29:52 +0100
committergatecat <gatecat@ds0.me>2021-09-06 13:29:52 +0100
commitd4a14a0d04109f79f0944d6753b30dceba4dd2ab (patch)
treebcdb89785c181b43510c6760c2e7e9cbefc5bfd5 /fpga_interchange
parentd08fb255a29d8c5b51b06a71d866dc86bf0d4551 (diff)
downloadnextpnr-d4a14a0d04109f79f0944d6753b30dceba4dd2ab.tar.gz
nextpnr-d4a14a0d04109f79f0944d6753b30dceba4dd2ab.tar.bz2
nextpnr-d4a14a0d04109f79f0944d6753b30dceba4dd2ab.zip
clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'fpga_interchange')
-rw-r--r--fpga_interchange/site_router.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/fpga_interchange/site_router.cc b/fpga_interchange/site_router.cc
index a4781ed3..08e950e2 100644
--- a/fpga_interchange/site_router.cc
+++ b/fpga_interchange/site_router.cc
@@ -192,7 +192,8 @@ struct SiteExpansionLoop
}
// Expand from wire specified, always downhill.
- bool expand_net(const SiteArch *ctx, SiteRoutingCache *site_routing_cache, const SiteNetInfo *net, bool cache_disabled = false)
+ bool expand_net(const SiteArch *ctx, SiteRoutingCache *site_routing_cache, const SiteNetInfo *net,
+ bool cache_disabled = false)
{
if (net->driver == net_driver && net->users == net_users) {
return expand_result;
@@ -1415,7 +1416,8 @@ void SiteRouter::bindSiteRouting(Context *ctx)
block_lut_outputs(&site_arch, blocked_wires);
block_cluster_wires(&site_arch);
reserve_site_ports(&site_arch);
- NPNR_ASSERT(route_site(&site_arch, &ctx->site_routing_cache, &ctx->node_storage, /*explain=*/false, /*cache_disabled=*/true));
+ NPNR_ASSERT(route_site(&site_arch, &ctx->site_routing_cache, &ctx->node_storage, /*explain=*/false,
+ /*cache_disabled=*/true));
check_routing(site_arch);
apply_routing(ctx, site_arch, lut_thrus);