#comb += splitter.sst_valid_i.eq()
return m
+
class DataMergerRecord(Record):
"""
{data: 128 bit, byte_enable: 16 bit}
('en', 16))
Record.__init__(self, Layout(layout), name=name)
- self.data.reset_less=True
- self.en.reset_less=True
+ self.data.reset_less = True
+ self.en.reset_less = True
-# TODO: formal verification
+# TODO: formal verification
class DataMerger(Elaboratable):
"""DataMerger
run_simulation(dut, l0_cache_ldst(self, dut),
vcd_name='test_l0_cache_basic.vcd')
+
class TestDataMerger(unittest.TestCase):
def test_data_merger(self):
#run_simulation(dut, data_merger_merge(dut),
# vcd_name='test_dual_port_splitter.vcd')
+
if __name__ == '__main__':
unittest.main(exit=False)