Change log level for word operations on AXI RAM

This commit is contained in:
Alex Forencich
2020-11-15 02:33:36 -08:00
parent 4abe02086a
commit 67c6093152

View File

@@ -126,7 +126,7 @@ class AxiRamWrite(object):
data = data.to_bytes(self.byte_width, 'little') data = data.to_bytes(self.byte_width, 'little')
self.log.info(f"Write word awid: {awid:#x} addr: {cur_addr:#010x} wstrb: {strb:#04x} data: {' '.join((f'{c:02x}' for c in data))}") self.log.debug(f"Write word awid: {awid:#x} addr: {cur_addr:#010x} wstrb: {strb:#04x} data: {' '.join((f'{c:02x}' for c in data))}")
for i in range(self.byte_width): for i in range(self.byte_width):
if strb & (1 << i): if strb & (1 << i):
@@ -241,7 +241,7 @@ class AxiRamRead(object):
self.r_channel.send(r) self.r_channel.send(r)
self.log.info(f"Read word arid: {arid:#x} addr: {cur_addr:#010x} data: {' '.join((f'{c:02x}' for c in data))}") self.log.debug(f"Read word arid: {arid:#x} addr: {cur_addr:#010x} data: {' '.join((f'{c:02x}' for c in data))}")
if burst != AxiBurstType.FIXED: if burst != AxiBurstType.FIXED:
cur_addr += num_bytes cur_addr += num_bytes