1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

Add missing asserts

This commit is contained in:
Alex Forencich 2019-09-29 12:55:53 -07:00
parent e97e4ad423
commit 836246ec4d
4 changed files with 8 additions and 0 deletions

View File

@ -511,6 +511,8 @@ def bench():
print(status)
assert status.data[0][0] == cur_tag
data = axi_ram_inst.read_mem(axi_addr, 32)
for i in range(0, len(data), 16):
print(" ".join(("{:02x}".format(c) for c in bytearray(data[i:i+16]))))

View File

@ -475,6 +475,8 @@ def bench():
print(status)
assert status.data[0][0] == cur_tag
data = axi_ram_inst.read_mem(axi_addr&0xfffff0, 64)
for i in range(0, len(data), 16):
print(" ".join(("{:02x}".format(c) for c in bytearray(data[i:i+16]))))

View File

@ -475,6 +475,8 @@ def bench():
print(status)
assert status.data[0][0] == cur_tag
data = axi_ram_inst.read_mem(axi_addr&0xfffff0, 64)
for i in range(0, len(data), 16):
print(" ".join(("{:02x}".format(c) for c in bytearray(data[i:i+16]))))

View File

@ -475,6 +475,8 @@ def bench():
print(status)
assert status.data[0][0] == cur_tag
data = axi_ram_inst.read_mem(axi_addr&0xfffff0, 64)
for i in range(0, len(data), 16):
print(" ".join(("{:02x}".format(c) for c in bytearray(data[i:i+16]))))