uint64_t get_data() { return reg; }
uint8_t get_width() { return elwidth; }
- //operator uint32_t() { return (uint32_t)get_data(); }
- operator uint64_t() { return (uint64_t)get_data(); }
- //operator int64_t() { return (int64_t)get_data(); }
+ operator uint64_t() { return reg; }
operator sv_sreg_t();
};
int64_t get_data() { return reg; }
uint8_t get_width() { return elwidth; }
- operator int64_t() { return (int64_t)get_data(); }
+ operator int64_t() { return reg; }
operator sv_reg_t() { return sv_reg_t((uint64_t)reg, elwidth); }
};