def METHOD_NAME(self):
    def generator(dut):
        # check init value
        self.assertEqual(hex((yield from csr32_read(dut, 5))), hex(0x12345678))
        # check writes
        yield from csr32_write(dut, 1, 0x5a5a5a5a)
        self.assertEqual(hex((yield from csr32_read(dut, 1))), hex(0x5a5a5a5a))
        yield from csr32_write(dut, 1, 0xa5a5a5a5)
        self.assertEqual(hex((yield from csr32_read(dut, 1))), hex(0xa5a5a5a5))
        # check update from dev
        yield from dut.csr.write(0, 1)
        self.assertEqual(hex((yield from csr32_read(dut, 1))), hex(0xdeadbeef))
    dut = CSRDUT()
    run_simulation(dut, generator(dut))