diff options
Diffstat (limited to 'io/model.h')
| -rw-r--r-- | io/model.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/io/model.h b/io/model.h new file mode 100644 index 0000000..86fb086 --- /dev/null +++ b/io/model.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <array> | ||
| 4 | #include <cstdint> | ||
| 5 | |||
| 6 | #include "io/event.h" | ||
| 7 | #include "isa/isa.h" | ||
| 8 | |||
| 9 | struct iomodel { | ||
| 10 | static constexpr unsigned int TT_OUTPUT_DELAY = 100; | ||
| 11 | |||
| 12 | event_log log; | ||
| 13 | std::uint64_t time = 0; | ||
| 14 | bool interact(std::array<unsigned int, NUM_CTLREGS> &ctlregs); | ||
| 15 | }; | ||
