cpu/vexriscv: use 32-bit signal for externalResetVector
This commit is contained in:
parent
f2a1673f46
commit
862e784eae
|
@ -238,7 +238,7 @@ class VexRiscv(CPU, AutoCSR):
|
||||||
def set_reset_address(self, reset_address):
|
def set_reset_address(self, reset_address):
|
||||||
assert not hasattr(self, "reset_address")
|
assert not hasattr(self, "reset_address")
|
||||||
self.reset_address = reset_address
|
self.reset_address = reset_address
|
||||||
self.cpu_params.update(i_externalResetVector=reset_address)
|
self.cpu_params.update(i_externalResetVector=Signal(32, reset=reset_address))
|
||||||
|
|
||||||
def add_timer(self):
|
def add_timer(self):
|
||||||
self.submodules.timer = VexRiscvTimer()
|
self.submodules.timer = VexRiscvTimer()
|
||||||
|
|
Loading…
Reference in New Issue