efinix: check SLEWRATE property when adding a 'normal' GPIO
This commit is contained in:
parent
df20ea5aa8
commit
ca67ed8c13
|
@ -115,6 +115,10 @@ def _format_constraint(c, signame, fmt_r, fragment, platform):
|
|||
prop = "DRIVE_STRENGTH"
|
||||
val = c.misc.split("=")[1]
|
||||
|
||||
if "SLEWRATE" in c.misc:
|
||||
prop = "SLEW_RATE"
|
||||
val = "1"
|
||||
|
||||
if prop == "":
|
||||
# Print error, warning ??
|
||||
return ""
|
||||
|
|
Loading…
Reference in New Issue