Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/migen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: af9f76f73a86
Choose a base ref
...
head repository: m-labs/migen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 506ac0f78085
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 28, 2014

  1. Copy the full SHA
    f6dfabf View commit details
  2. Copy the full SHA
    506ac0f View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 mibuild/xilinx_vivado.py
4 changes: 2 additions & 2 deletions mibuild/xilinx_vivado.py
Original file line number Diff line number Diff line change
@@ -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)]