mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #240 from danielkucera/patch-1
more understandable error when missing a memory
This commit is contained in:
commit
383c05e239
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ class SoCCore(Module):
|
|||
if self.cpu_type is not None:
|
||||
for mem in "rom", "sram":
|
||||
if mem not in registered_mems:
|
||||
raise FinalizeError("CPU needs a {} to be registered with SoC.register_mem()".format(mem))
|
||||
raise FinalizeError("CPU needs \"{}\" to be registered with SoC.register_mem()".format(mem))
|
||||
|
||||
# Add the Wishbone Masters/Slaves interconnect
|
||||
if len(self._wb_masters):
|
||||
|
|
Loading…
Reference in a new issue