def METHOD_NAME(self):
    mem    = Memory(width=8, depth=4)
    rdport = mem.read_port()
    self.assertEqual(rdport.memory, mem)
    self.assertEqual(rdport.domain, "sync")
    self.assertEqual(rdport.transparent, True)
    self.assertEqual(len(rdport.addr), 2)
    self.assertEqual(len(rdport.data), 8)
    self.assertEqual(len(rdport.en), 1)
    self.assertIsInstance(rdport.en, Signal)
    self.assertEqual(rdport.en.reset, 1)