def __init__(self): self.addr = rand_bit_t(16) self.read_write = rand_enum_t(ubus_read_write_enum) self.size = rand_bit_t(32) # self.data = vsc.randsz_list_t(vsc.uint8_t()) # self.wait_state = vsc.randsz_list_t(vsc.bit_t(4)) self.error_pos = rand_bit_t(32) self.transmit_delay = rand_bit_t(32) self.master = "" self.slave = ""
def __init__(self): super().__init__() self.a = rand_bit_t(8) self.b = rand_bit_t(16) self.c = rand_bit_t(16) self.d = rand_bit_t(16)
def __init__(self): self.a = rand_bit_t(8) self.b = rand_bit_t(8)