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: 600ce55f914c
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: fef08e8c7045
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Apr 11, 2014

  1. Copy the full SHA
    82e4980 View commit details
  2. Copy the full SHA
    fef08e8 View commit details
Showing with 3 additions and 0 deletions.
  1. +2 −0 mibuild/altera_quartus.py
  2. +1 −0 mibuild/xilinx_ise.py
2 changes: 2 additions & 0 deletions mibuild/altera_quartus.py
Original file line number Diff line number Diff line change
@@ -45,6 +45,7 @@ def _build_qsf(named_sc, named_pc):
r += _format_qsf(sig, pins[0], others, resname)
if named_pc:
r += "\n" + "\n\n".join(named_pc)
r += "set_global_assignment -name top_level_entity top\n"
return r

def _build_files(device, sources, vincpaths, named_sc, named_pc, build_name):
@@ -76,6 +77,7 @@ def _run_quartus(build_name, quartus_path):
raise OSError("Subprocess failed")

class AlteraQuartusPlatform(GenericPlatform):
bitstream_ext = ".sof"
def build(self, fragment, build_dir="build", build_name="top",
quartus_path="/opt/Altera", run=True):
tools.mkdir_noerror(build_dir)
1 change: 1 addition & 0 deletions mibuild/xilinx_ise.py
Original file line number Diff line number Diff line change
@@ -184,6 +184,7 @@ def lower(dr):
return XilinxMultiRegImpl(dr.i, dr.o, dr.odomain, dr.n)

class XilinxISEPlatform(GenericPlatform):
bitstream_ext = ".bit"
xst_opt = """-ifmt MIXED
-opt_mode SPEED
-reduce_control_sets auto