aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/dedicated_interconnect.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-09-28 09:54:17 +0100
committergatecat <gatecat@ds0.me>2021-09-28 10:11:09 +0100
commit19afb073705ce17dd70adff4215a6f6bf24d2562 (patch)
treef77f69e8aa6a9865275b4161a9471ac2d99fa8ad /fpga_interchange/dedicated_interconnect.cc
parentd89afc2aa648711e22e282bec3d63df5cbdb0c54 (diff)
downloadnextpnr-19afb073705ce17dd70adff4215a6f6bf24d2562.tar.gz
nextpnr-19afb073705ce17dd70adff4215a6f6bf24d2562.tar.bz2
nextpnr-19afb073705ce17dd70adff4215a6f6bf24d2562.zip
interchange: Fix compile warnings
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'fpga_interchange/dedicated_interconnect.cc')
-rw-r--r--fpga_interchange/dedicated_interconnect.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpga_interchange/dedicated_interconnect.cc b/fpga_interchange/dedicated_interconnect.cc
index 56b6b706..e4ce2b95 100644
--- a/fpga_interchange/dedicated_interconnect.cc
+++ b/fpga_interchange/dedicated_interconnect.cc
@@ -23,7 +23,7 @@
#include "util.h"
NEXTPNR_NAMESPACE_BEGIN
-
+namespace {
// All legal routes involved at most 2 sites, the source site and the sink
// site. The source site and sink sites may be the same, but that is not
// dedicated routing, that is intra site routing.
@@ -51,6 +51,7 @@ struct WireNode
WireNodeState state;
int depth;
};
+} // namespace
// Maximum depth that a dedicate interconnect is considered.
//