mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
efinix: check SLEWRATE property when adding a 'normal' GPIO
This commit is contained in:
parent
df20ea5aa8
commit
ca67ed8c13
1 changed files with 4 additions and 0 deletions
|
@ -115,6 +115,10 @@ def _format_constraint(c, signame, fmt_r, fragment, platform):
|
||||||
prop = "DRIVE_STRENGTH"
|
prop = "DRIVE_STRENGTH"
|
||||||
val = c.misc.split("=")[1]
|
val = c.misc.split("=")[1]
|
||||||
|
|
||||||
|
if "SLEWRATE" in c.misc:
|
||||||
|
prop = "SLEW_RATE"
|
||||||
|
val = "1"
|
||||||
|
|
||||||
if prop == "":
|
if prop == "":
|
||||||
# Print error, warning ??
|
# Print error, warning ??
|
||||||
return ""
|
return ""
|
||||||
|
|
Loading…
Reference in a new issue