diff options
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/arch.cc | 13 | ||||
-rw-r--r-- | ice40/arch.h | 2 |
2 files changed, 2 insertions, 13 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index 7e2dd7f7..357b3018 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -565,18 +565,9 @@ bool Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay // ----------------------------------------------------------------------- -bool Arch::place() -{ - Placer1Cfg cfg; - cfg.constraintWeight = placer_constraintWeight; - return placer1(getCtx(), cfg); -} +bool Arch::place() { return placer1(getCtx(), Placer1Cfg(getCtx())); } -bool Arch::route() -{ - Router1Cfg cfg; - return router1(getCtx(), cfg); -} +bool Arch::route() { return router1(getCtx(), Router1Cfg(getCtx())); } // ----------------------------------------------------------------------- diff --git a/ice40/arch.h b/ice40/arch.h index 4c093ef9..2f2a0f30 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -832,8 +832,6 @@ struct Arch : BaseCtx } NPNR_ASSERT_FALSE("Expected PLL pin to share an output with an SB_IO D_IN_{0,1}"); } - - float placer_constraintWeight = 10; }; void ice40DelayFuzzerMain(Context *ctx); |