aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-02 15:01:52 +0200
committerGitHub <noreply@github.com>2018-08-02 15:01:52 +0200
commit0208897aa3b5bbe91810e728c825566f87c6fa0c (patch)
tree8ac42adcfbc7020bf83f1e0e45ceb152ebe57fd0 /ecp5
parentfb06fd4653c8d990a0f19e10fc898402a1bae378 (diff)
parent2b0bf3f9f80ba79c677505717d008bc00f1a6124 (diff)
downloadnextpnr-0208897aa3b5bbe91810e728c825566f87c6fa0c.tar.gz
nextpnr-0208897aa3b5bbe91810e728c825566f87c6fa0c.tar.bz2
nextpnr-0208897aa3b5bbe91810e728c825566f87c6fa0c.zip
Merge pull request #16 from YosysHQ/reroute
Add cleanup reroute passes to router1, improve reuse of wires
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index bf05c15d..262f43fe 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -428,7 +428,11 @@ delay_t Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, de
bool Arch::place() { return placer1(getCtx()); }
-bool Arch::route() { return router1(getCtx()); }
+bool Arch::route()
+{
+ Router1Cfg cfg;
+ return router1(getCtx(), cfg);
+}
// -----------------------------------------------------------------------