aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/cells.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-13 17:07:42 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-16 14:44:10 +0200
commit6b74d326d42063dc1b68f8276c5892bf90099b26 (patch)
tree6d68eda0eef1fb836c883bebde5620d84a0278ca /ice40/cells.cc
parent355d33632cdbc1808e2d33ef89ed92052f9bb2ea (diff)
downloadnextpnr-6b74d326d42063dc1b68f8276c5892bf90099b26.tar.gz
nextpnr-6b74d326d42063dc1b68f8276c5892bf90099b26.tar.bz2
nextpnr-6b74d326d42063dc1b68f8276c5892bf90099b26.zip
experiment: Simple heuristic-based placer
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/cells.cc')
-rw-r--r--ice40/cells.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/cells.cc b/ice40/cells.cc
index b7a02790..61b24ce3 100644
--- a/ice40/cells.cc
+++ b/ice40/cells.cc
@@ -190,7 +190,7 @@ void nxio_to_sb(CellInfo *nxio, CellInfo *sbio)
}
}
-bool is_global_net(NetInfo *net)
+bool is_global_net(const NetInfo *net)
{
return bool(net_driven_by(net, is_gbuf, "GLOBAL_BUFFER_OUTPUT"));
}