tests: fix bug where base_addr was not passed but not used
This commit is contained in:
parent
1b6127eb70
commit
1e7d4e92e7
|
|
@ -270,7 +270,7 @@ cases = [
|
||||||
@pytest.mark.parametrize("mode, width, depth, base_addr", cases)
|
@pytest.mark.parametrize("mode, width, depth, base_addr", cases)
|
||||||
def test_mem_core(mode, width, depth, base_addr):
|
def test_mem_core(mode, width, depth, base_addr):
|
||||||
mem_core = MemoryCore(mode, width, depth)
|
mem_core = MemoryCore(mode, width, depth)
|
||||||
mem_core.base_addr = 0
|
mem_core.base_addr = base_addr
|
||||||
|
|
||||||
tests = MemoryCoreTests(mem_core)
|
tests = MemoryCoreTests(mem_core)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue