diff --git a/src/BASE_ISA.cpp b/src/BASE_ISA.cpp index 14b96f0..0e3db5b 100644 --- a/src/BASE_ISA.cpp +++ b/src/BASE_ISA.cpp @@ -8,7 +8,7 @@ #include "BASE_ISA.h" -typedef enum { +enum { LUI = 0b0110111, AUIPC = 0b0010111, JAL = 0b1101111, diff --git a/src/CPU.cpp b/src/CPU.cpp index 89e2259..8931a75 100644 --- a/src/CPU.cpp +++ b/src/CPU.cpp @@ -196,7 +196,7 @@ void CPU::CPU_thread(void) { m_qk->sync(); } #else - sc_core::wait(10, sc_core::SC_NS); + sc_core::wait(default_time); #endif } // while(1) } // CPU_thread