ecp5: Add constids for new timing cell types

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2019-10-26 20:50:50 +01:00
parent 475fcd4425
commit bac8335222
2 changed files with 10 additions and 0 deletions

View File

@ -1294,3 +1294,11 @@ X(P)
X(ECLKBRIDGECS)
X(SEL)
X(ECSOUT)
X(IOLOGIC_MODE_IDDRX1F)
X(IOLOGIC_MODE_IDDRX2F)
X(IOLOGIC_MODE_IREG)
X(IOLOGIC_MODE_ODDRX1F)
X(IOLOGIC_MODE_ODDRX2F)
X(IOLOGIC_MODE_OREG)
X(IOLOGIC_MODE_TSREG)

View File

@ -186,6 +186,8 @@ def process_timing_data():
max_delay = min(entry["rising"][2], entry["falling"][2])
delays.append((constids[from_pin], constids[to_pin], min_delay, max_delay))
elif entry["type"] == "SetupHold":
if type(entry["pin"]) is list:
continue
pin = constids[entry["pin"]]
clock = constids[entry["clock"][1]]
min_setup = entry["setup"][0]