def __init__(self): self.submodules.hdd0 = HDD(n=0, link_debug = False, link_random_level = 0, transport_debug = False, transport_loopback = False, hdd_debug = True) self.submodules.core0 = LiteSATACore(self.hdd0.phy) self.submodules.hdd1 = HDD(n=1, link_debug = False, link_random_level = 0, transport_debug = False, transport_loopback = False, hdd_debug = True) self.submodules.core1 = LiteSATACore(self.hdd1.phy) self.submodules.mirroring = LiteSATAMirroring([self.core0, self.core1]) self.submodules.crossbar0 = LiteSATACrossbar(self.mirroring.ports[0]) self.submodules.generator0 = LiteSATABISTGenerator(self.crossbar0.get_port()) self.submodules.checker0 = LiteSATABISTChecker(self.crossbar0.get_port()) self.submodules.crossbar1 = LiteSATACrossbar(self.mirroring.ports[1]) self.submodules.generator1 = LiteSATABISTGenerator(self.crossbar1.get_port()) self.submodules.checker1 = LiteSATABISTChecker(self.crossbar1.get_port())
def __init__(self, dw=32): self.submodules.hdd = HDD( link_debug=False, link_random_level=0, transport_debug=False, transport_loopback=False, hdd_debug=True) self.submodules.core = LiteSATACore(self.hdd.phy) self.submodules.crossbar = LiteSATACrossbar(self.core) self.submodules.generator = LiteSATABISTGenerator(self.crossbar.get_port(dw)) self.submodules.checker = LiteSATABISTChecker(self.crossbar.get_port(dw))
def __init__(self): self.submodules.hdd0 = HDD(n=0, link_debug = False, link_random_level = 0, transport_debug = False, transport_loopback = False, hdd_debug = True) self.submodules.core0 = LiteSATACore(self.hdd0.phy) self.submodules.hdd1 = HDD(n=1, link_debug = False, link_random_level = 0, transport_debug = False, transport_loopback = False, hdd_debug = True) self.submodules.core1 = LiteSATACore(self.hdd1.phy) self.submodules.striping = LiteSATAStriping([self.core0, self.core1]) self.submodules.crossbar = LiteSATACrossbar(self.striping) self.submodules.generator = LiteSATABISTGenerator(self.crossbar.get_port()) self.submodules.checker = LiteSATABISTChecker(self.crossbar.get_port())