efinix add SCHMITT_TRIGGER support
This commit is contained in:
parent
cb6e28aaa2
commit
d4003b8cfa
|
@ -164,6 +164,10 @@ class EfinityToolchain(GenericToolchain):
|
|||
prop = "PULL_OPTION"
|
||||
val = c.misc
|
||||
|
||||
if c.misc == "SCHMITT_TRIGGER":
|
||||
prop = "SCHMITT_TRIGGER"
|
||||
val = "1"
|
||||
|
||||
if "DRIVE_STRENGTH" in c.misc:
|
||||
prop = "DRIVE_STRENGTH"
|
||||
val = c.misc.split("=")[1]
|
||||
|
|
|
@ -109,6 +109,10 @@ class EfinixPlatform(GenericPlatform):
|
|||
prop = "PULL_OPTION"
|
||||
val = o.misc
|
||||
ret.append((prop, val))
|
||||
if o.misc == "SCHMITT_TRIGGER":
|
||||
prop = "SCHMITT_TRIGGER"
|
||||
val = "1"
|
||||
ret.append((prop, val))
|
||||
if "DRIVE_STRENGTH" in o.misc:
|
||||
prop = "DRIVE_STRENGTH"
|
||||
val = o.misc.split("=")[1]
|
||||
|
|
Loading…
Reference in New Issue