removed typedef, use default_time instead of fixed time
This commit is contained in:
parent
6286c640d9
commit
db682f6055
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue