aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc6
-rwxr-xr-xecp5/trellis_import.py2
2 files changed, 6 insertions, 2 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);
+}
// -----------------------------------------------------------------------
diff --git a/ecp5/trellis_import.py b/ecp5/trellis_import.py
index d60ab6f4..99e9078f 100755
--- a/ecp5/trellis_import.py
+++ b/ecp5/trellis_import.py
@@ -275,7 +275,7 @@ def write_database(dev_name, chip, ddrg, endianness):
bba.l("tiletype_names", "RelPtr<char>")
- for tt in tiletype_names:
+ for tt, idx in sorted(tiletype_names.items(), key=lambda x: x[1]):
bba.s(tt, "name")
bba.l("chip_info")