diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-10-20 09:34:02 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-10-20 09:41:48 +0200 |
commit | e69bb4c077a7df3fd6d9ff2325f845a926760415 (patch) | |
tree | 5a7c1fcca8c718c1982c3e3c7626937577fddfae /ecp5/trellis_import.py | |
parent | 3b01d2fbcefdd334028a447343c90912deea8366 (diff) | |
download | nextpnr-e69bb4c077a7df3fd6d9ff2325f845a926760415.tar.gz nextpnr-e69bb4c077a7df3fd6d9ff2325f845a926760415.tar.bz2 nextpnr-e69bb4c077a7df3fd6d9ff2325f845a926760415.zip |
Simplify layout of elements
Diffstat (limited to 'ecp5/trellis_import.py')
-rwxr-xr-x | ecp5/trellis_import.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ecp5/trellis_import.py b/ecp5/trellis_import.py index ebdc45f7..821a8a10 100755 --- a/ecp5/trellis_import.py +++ b/ecp5/trellis_import.py @@ -56,6 +56,12 @@ def wire_type(name): if name[0].startswith("H01"): return "WIRE_TYPE_H01" + if name[0].startswith("HFI"): + return "WIRE_TYPE_H01" + + if name[0].startswith("HL7"): + return "WIRE_TYPE_H01" + if name[0].startswith("H02"): return "WIRE_TYPE_H02" @@ -74,12 +80,6 @@ def wire_type(name): if name[0].startswith("V06"): return "WIRE_TYPE_V06" - if name[0].startswith("HFI"): - return "WIRE_TYPE_HFI" - - if name[0].startswith("HL7"): - return "WIRE_TYPE_HL7" - return "WIRE_TYPE_NONE" def is_global(loc): |