diff options
author | David Shah <davey1576@gmail.com> | 2018-06-13 17:07:42 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-16 14:44:10 +0200 |
commit | 6b74d326d42063dc1b68f8276c5892bf90099b26 (patch) | |
tree | 6d68eda0eef1fb836c883bebde5620d84a0278ca /ice40/cells.cc | |
parent | 355d33632cdbc1808e2d33ef89ed92052f9bb2ea (diff) | |
download | nextpnr-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.cc | 2 |
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")); } |