soc_core: set csr to 0x00000000 when there is no wishbone
This commit is contained in:
parent
ad8830d977
commit
06d0806494
|
@ -205,6 +205,9 @@ class SoCCore(Module):
|
||||||
if cpu_type == "None":
|
if cpu_type == "None":
|
||||||
cpu_type = None
|
cpu_type = None
|
||||||
|
|
||||||
|
if not with_wishbone:
|
||||||
|
self.soc_mem_map["csr"] = 0x00000000
|
||||||
|
|
||||||
self.cpu_type = cpu_type
|
self.cpu_type = cpu_type
|
||||||
self.cpu_variant = cpu.check_format_cpu_variant(cpu_variant)
|
self.cpu_variant = cpu.check_format_cpu_variant(cpu_variant)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue