diff options
Diffstat (limited to '')
| -rw-r--r-- | isa/checker.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/isa/checker.h b/isa/checker.h index d70997f..332c483 100644 --- a/isa/checker.h +++ b/isa/checker.h | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | #include <array> | 3 | #include <array> |
| 4 | #include <map> | 4 | #include <map> |
| 5 | 5 | ||
| 6 | #include "io/model.h" | ||
| 6 | #include "isa/isa.h" | 7 | #include "isa/isa.h" |
| 7 | 8 | ||
| 8 | struct funcmem { | 9 | struct funcmem { |
| @@ -41,10 +42,11 @@ struct checker { | |||
| 41 | unsigned int mq = 0; | 42 | unsigned int mq = 0; |
| 42 | unsigned int pc = 00200; | 43 | unsigned int pc = 00200; |
| 43 | std::array<unsigned int, NUM_CTLREGS> ctlregs; | 44 | std::array<unsigned int, NUM_CTLREGS> ctlregs; |
| 45 | iomodel &system; | ||
| 44 | instruction_context inst; | 46 | instruction_context inst; |
| 45 | bool halted = false; | ||
| 46 | funcmem mem; | 47 | funcmem mem; |
| 47 | checker() | 48 | checker(iomodel &system) |
| 49 | : system(system) | ||
| 48 | { | 50 | { |
| 49 | ctlregs.fill(0); | 51 | ctlregs.fill(0); |
| 50 | } | 52 | } |
