efinix: fix pull up/down constraint

This commit is contained in:
Franck Jullien 2022-01-27 17:11:38 +01:00
parent e8be391504
commit b134fcc9c0
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ class EfinixPlatform(GenericPlatform):
if o.misc in ["WEAK_PULLUP", "WEAK_PULLDOWN"]:
prop = "PULL_OPTION"
val = o.misc
ret.append((prop, val))
if "DRIVE_STRENGTH" in o.misc:
prop = "DRIVE_STRENGTH"
val = o.misc.split("=")[1]