Update Termination Bridge to remove use of data_t #1065

This commit is contained in:
David Biancolin 2022-06-02 20:44:07 -04:00 committed by GitHub
parent 588933b17f
commit 44cafe8680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ const char* termination_t::exit_message() {
int termination_t::cycle_count() {
write(this->mmio_addrs->out_counter_latch, 1);
data_t cycle_l = read(this->mmio_addrs->out_counter_0);
data_t cycle_h = read(this->mmio_addrs->out_counter_1);
uint32_t cycle_l = read(this->mmio_addrs->out_counter_0);
uint32_t cycle_h = read(this->mmio_addrs->out_counter_1);
return (((uint64_t) cycle_h) << 32) | cycle_l;
}