tests: fix bug where base_addr was not passed but not used
This commit is contained in:
parent
528cb07673
commit
e6de09ff1e
|
|
@ -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