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: 993ca001b4cf
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: e45eaa45297d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 25, 2016

  1. Copy the full SHA
    a8fd434 View commit details
  2. fhdl/simplify/MemoryToArray: remove false we_granularity limitation (…

    …we_granularity is implemented and has been tested)
    enjoy-digital committed Mar 25, 2016
    Copy the full SHA
    e45eaa4 View commit details
Showing with 2 additions and 4 deletions.
  1. +2 −4 migen/fhdl/simplify.py
6 changes: 2 additions & 4 deletions migen/fhdl/simplify.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@

class FullMemoryWE(ModuleTransformer):
def __init__(self):
self.replacments = dict()
self.replacements = dict()

def transform_fragment(self, i, f):
newspecials = set()
@@ -44,7 +44,7 @@ def transform_fragment(self, i, f):
clock_domain=port.clock.cd)
newmem.ports.append(newport)
newspecials.add(newport)
self.replacments[orig] = newmems
self.replacements[orig] = newmems

f.specials = newspecials

@@ -75,8 +75,6 @@ def transform_fragment(self, i, f):
storage.append(mem_storage)

for port in mem.ports:
if port.we_granularity:
raise NotImplementedError
try:
sync = f.sync[port.clock.cd]
except KeyError: