aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-02-03 13:46:05 +0000
committerDavid Shah <dave@ds0.me>2020-02-03 13:46:05 +0000
commit2248e07b662bb99bbe053e485c5c4d8d10cf234b (patch)
tree359baf119f5882341709a3d2f2b568f6c1873f99 /ecp5
parenta8206ed170589dee3ae83cc6af0a8d936d7639b7 (diff)
downloadnextpnr-2248e07b662bb99bbe053e485c5c4d8d10cf234b.tar.gz
nextpnr-2248e07b662bb99bbe053e485c5c4d8d10cf234b.tar.bz2
nextpnr-2248e07b662bb99bbe053e485c5c4d8d10cf234b.zip
router2: Improve flow and log output
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index b8abec64..0a44e020 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -633,7 +633,7 @@ bool Arch::route()
result = router1(getCtx(), Router1Cfg(getCtx()));
} else if (router == "router2") {
router2(getCtx(), Router2Cfg(getCtx()));
- result = router1(getCtx(), Router1Cfg(getCtx()));
+ result = true;
} else {
log_error("ECP5 architecture does not support router '%s'\n", router.c_str());
}