soc.config.test package

Submodules

soc.config.test.test_fetch module

soc.config.test.test_fetch.read_from_addr(dut, addr)
soc.config.test.test_fetch.tst_lsmemtype(ifacetype, sram_depth=32)

soc.config.test.test_loadstore module

soc.config.test.test_loadstore.read_byte(dut, addr)
soc.config.test.test_loadstore.read_from_addr(dut, addr)
soc.config.test.test_loadstore.tst_lsmemtype(ifacetype)
soc.config.test.test_loadstore.write_byte(dut, addr, val)
soc.config.test.test_loadstore.write_to_addr(dut, addr, value)

soc.config.test.test_pi2ls module

class soc.config.test.test_pi2ls.TestPIMem(methodName='runTest')

Bases: unittest.case.TestCase

test_pi2ls()
test_pi2ls_bare_wb()
test_pi_mem()
soc.config.test.test_pi2ls.pi_ld(port1, addr, datalen)
soc.config.test.test_pi2ls.pi_ldst(arg, dut)
soc.config.test.test_pi2ls.pi_st(port1, addr, data, datalen)
soc.config.test.test_pi2ls.tst_config_pi(testcls, ifacetype)

set up a configureable memory test of type ifacetype

soc.config.test.test_pi2ls.wait_addr(port)
soc.config.test.test_pi2ls.wait_busy(port, no=False)
soc.config.test.test_pi2ls.wait_ldok(port)

Module contents