aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2/facade_import.py
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2023-03-17 19:00:05 +0100
committermyrtle <gatecat@ds0.me>2023-03-20 09:53:35 +0100
commit0ce72e1a3103d52d036f822b98e511d9c4f1e71b (patch)
treedf69b12dc5ec296cdce6e7e7279234c476f2d811 /machxo2/facade_import.py
parentad5f6fccaa4484eb02d3fa6d420ff39517b524e6 (diff)
downloadnextpnr-0ce72e1a3103d52d036f822b98e511d9c4f1e71b.tar.gz
nextpnr-0ce72e1a3103d52d036f822b98e511d9c4f1e71b.tar.bz2
nextpnr-0ce72e1a3103d52d036f822b98e511d9c4f1e71b.zip
Use TRELLIS primitives
Diffstat (limited to 'machxo2/facade_import.py')
-rw-r--r--machxo2/facade_import.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/machxo2/facade_import.py b/machxo2/facade_import.py
index 327d3418..93e07775 100644
--- a/machxo2/facade_import.py
+++ b/machxo2/facade_import.py
@@ -469,11 +469,11 @@ def main():
constids[line[1]] = idx
const_id_count += 1
- constids["SLICE"] = constids["FACADE_SLICE"]
- constids["PIO"] = constids["FACADE_IO"]
+ constids["SLICE"] = constids["TRELLIS_SLICE"]
+ constids["PIO"] = constids["TRELLIS_IO"]
chip = pytrellis.Chip(dev_names[args.device])
- rg = pytrellis.make_optimized_chipdb(chip)
+ rg = pytrellis.make_optimized_chipdb(chip, split_slice_mode=False)
max_row = chip.get_max_row()
max_col = chip.get_max_col()
process_pio_db(rg, args.device)