Skip to content

Commit

Permalink
soc: add memory.name_override to name when adding csrbankarray.srams …
Browse files Browse the repository at this point in the history
…to csr_regions
enjoy-digital committed Apr 3, 2015
1 parent 85b3cce commit c9c11e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misoclib/soc/__init__.py
Original file line number Diff line number Diff line change
@@ -179,7 +179,7 @@ def do_finalize(self):
for name, csrs, mapaddr, rmap in self.csrbankarray.banks:
self.add_csr_region(name, self.mem_map["csr"]+0x80000000+0x800*mapaddr, self.csr_data_width, csrs)
for name, memory, mapaddr, mmap in self.csrbankarray.srams:
self.add_csr_region(name, self.mem_map["csr"]+0x80000000+0x800*mapaddr, self.csr_data_width, memory)
self.add_csr_region(name + "_" + memory.name_override, self.mem_map["csr"]+0x80000000+0x800*mapaddr, self.csr_data_width, memory)

# Interrupts
if hasattr(self.cpu_or_bridge, "interrupt"):

0 comments on commit c9c11e7

Please sign in to comment.