soc.minerva.test package

Submodules

soc.minerva.test.test_cache module

class soc.minerva.test.test_cache.L1CacheSpec(cache)

Bases: nmigen.hdl.ir.Elaboratable

A cache read at a given address must either: - miss and start a cache refill; - hit and return the last refilled value for that address.

elaborate(platform)
class soc.minerva.test.test_cache.L1CacheTestCase(methodName='runTest')

Bases: nmutil.formaltest.FHDLTestCase

check(cache)
test_2_ways()
test_direct_mapped()

Module contents