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:
parent
e97e4ad423
commit
836246ec4d
@ -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]))))
|
||||
|
@ -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]))))
|
||||
|
@ -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]))))
|
||||
|
@ -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]))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user