removed typedef, use default_time instead of fixed time

This commit is contained in:
mariusmonton 2021-02-02 19:53:18 +01:00
parent 6286c640d9
commit db682f6055
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
#include "BASE_ISA.h" #include "BASE_ISA.h"
typedef enum { enum {
LUI = 0b0110111, LUI = 0b0110111,
AUIPC = 0b0010111, AUIPC = 0b0010111,
JAL = 0b1101111, JAL = 0b1101111,

View File

@ -196,7 +196,7 @@ void CPU::CPU_thread(void) {
m_qk->sync(); m_qk->sync();
} }
#else #else
sc_core::wait(10, sc_core::SC_NS); sc_core::wait(default_time);
#endif #endif
} // while(1) } // while(1)
} // CPU_thread } // CPU_thread