Merge pull request #1187 from fjullien/efinix_fix

efinix: fix pull up/down constraint
This commit is contained in:
enjoy-digital 2022-01-27 20:08:12 +01:00 committed by GitHub
commit ccd3ab17be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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]