soc.bus.test package

Submodules

soc.bus.test.test_minerva module

class soc.bus.test.test_minerva.TestSRAMBareFetchUnit(pspec)

Bases: soc.minerva.units.fetch.BareFetchUnit

elaborate(platform)
class soc.bus.test.test_minerva.TestSRAMBareLoadStoreUnit(pspec)

Bases: soc.minerva.units.loadstore.BareLoadStoreUnit

elaborate(platform)

soc.bus.test.test_sram_wb_downconvert module

soc.bus.test.test_sram_wishbone module

demonstration of nmigen-soc SRAM behind a wishbone bus Bugs: * https://bugs.libre-soc.org/show_bug.cgi?id=382

soc.bus.test.test_sram_wishbone.print_sig(sig, format=None)
soc.bus.test.test_sram_wishbone.process()

soc.bus.test.wb_rw module

Wishbone read/write utility routines

soc.bus.test.wb_rw.wb_read(bus, addr, sel=True)
soc.bus.test.wb_rw.wb_write(bus, addr, data, sel=True)

Module contents