projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad1028
)
mibuild/xilinx_vivado.py: add set property to misc constraint
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 24 Jun 2014 15:22:11 +0000
(17:22 +0200)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Sat, 28 Jun 2014 14:15:07 +0000
(16:15 +0200)
mibuild/xilinx_vivado.py
patch
|
blob
|
history
diff --git
a/mibuild/xilinx_vivado.py
b/mibuild/xilinx_vivado.py
index e7421741da3cac57507954ad9487d5fe0ff9298d..7149da5edbe87eeb7e6affe20f5de5330a42ba63 100644
(file)
--- a/
mibuild/xilinx_vivado.py
+++ b/
mibuild/xilinx_vivado.py
@@
-15,9
+15,9
@@
def _format_constraint(c):
elif isinstance(c, IOStandard):
return "set_property IOSTANDARD " + c.name
elif isinstance(c, Drive):
- return "set
property DRIVE " + + str(c.strength)
+ return "set
_property DRIVE " + str(c.strength)
elif isinstance(c, Misc):
- return c.misc
+ return
"set_property " +
c.misc
def _format_xdc(signame, pin, others, resname):
fmt_c = [_format_constraint(c) for c in ([Pins(pin)] + others)]