diff options
author | David Shah <davey1576@gmail.com> | 2018-06-17 11:45:41 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-17 11:45:41 +0200 |
commit | 3afce5ff5a6adfa1baccb4f4625005300b9a3862 (patch) | |
tree | 6217511802c19514a1168a4e6412d1268ac07fb3 /ice40 | |
parent | c604426341c75bc34b9d97ad5cd49cc28f9198fb (diff) | |
download | nextpnr-3afce5ff5a6adfa1baccb4f4625005300b9a3862.tar.gz nextpnr-3afce5ff5a6adfa1baccb4f4625005300b9a3862.tar.bz2 nextpnr-3afce5ff5a6adfa1baccb4f4625005300b9a3862.zip |
Improving the placer output
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/arch_place.cc | 3 | ||||
-rw-r--r-- | ice40/main.cc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ice40/arch_place.cc b/ice40/arch_place.cc index 83dd63aa..ceb6f07f 100644 --- a/ice40/arch_place.cc +++ b/ice40/arch_place.cc @@ -80,7 +80,8 @@ static bool logicCellsCompatible(const std::vector<const CellInfo *> &cells) return locals.size() <= 32; } -bool isBelLocationValid(Design *design, BelId bel) { +bool isBelLocationValid(Design *design, BelId bel) +{ const Chip &chip = design->chip; if (chip.getBelType(bel) == TYPE_ICESTORM_LC) { std::vector<const CellInfo *> cells; diff --git a/ice40/main.cc b/ice40/main.cc index 4917574d..3cd97f48 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -35,6 +35,7 @@ #include "pybindings.h" #include "route.h" #include "version.h" +#include "design_utils.h" void svg_dump_el(const GraphicElement &el) { @@ -221,6 +222,7 @@ int main(int argc, char *argv[]) } pack_design(&design); + print_utilisation(&design); if (!vm.count("pack-only")) { place_design_sa(&design); route_design(&design, verbose); |