test/common: set rdata_valid_rand_level default value to 0

This commit is contained in:
Florent Kermarrec 2019-01-21 16:54:23 +01:00
parent 9ddb3e2113
commit 429d3a89de
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class DRAMMemory:
print("0x{:08x}: 0x{:08x}".format(addr, self.mem[addr])) print("0x{:08x}: 0x{:08x}".format(addr, self.mem[addr]))
@passive @passive
def read_handler(self, dram_port, rdata_valid_rand_level): def read_handler(self, dram_port, rdata_valid_rand_level=0):
address = 0 address = 0
pending = 0 pending = 0
prng = random.Random(42) prng = random.Random(42)