Merge pull request #79 from xobs/fix-vexriscv-data-read

vexriscv: debug: fix reading DATA register
This commit is contained in:
enjoy-digital 2018-07-06 13:23:08 +02:00 committed by GitHub
commit b062d4dddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class VexRiscv(Module, AutoCSR):
# A write to the REFRESH register indicates which register # A write to the REFRESH register indicates which register
# (DATA or CORE) we want to update from the CPU. # (DATA or CORE) we want to update from the CPU.
).Elif(debug_refresh.re, ).Elif(debug_refresh.re,
If(~debug_refresh.storage, If(debug_refresh.storage == 0,
refreshing_data.eq(0), refreshing_data.eq(0),
debug_bus_cmd_payload_address.eq(0) debug_bus_cmd_payload_address.eq(0)
).Else( ).Else(