aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-08-09 18:39:10 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-08-09 18:39:10 +0200
commit93a0d2456086b2c0e4a50d6ecc43ab028895bcad (patch)
tree962c150e9ca95837260bd99801e4e35309d3bdb9 /ecp5
parent8b04a646291bec7fb65b3580a08c266268acf010 (diff)
downloadnextpnr-93a0d2456086b2c0e4a50d6ecc43ab028895bcad.tar.gz
nextpnr-93a0d2456086b2c0e4a50d6ecc43ab028895bcad.tar.bz2
nextpnr-93a0d2456086b2c0e4a50d6ecc43ab028895bcad.zip
Use settings for placer1 and router1
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index 4358fdaf..047f5518 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -383,13 +383,9 @@ bool Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay
// -----------------------------------------------------------------------
-bool Arch::place() { return placer1(getCtx(), Placer1Cfg()); }
+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())); }
// -----------------------------------------------------------------------