diff options
Diffstat (limited to 'uarch/types.h')
| -rw-r--r-- | uarch/types.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/uarch/types.h b/uarch/types.h new file mode 100644 index 0000000..481b8fe --- /dev/null +++ b/uarch/types.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <vector> | ||
| 4 | |||
| 5 | #include "aisa/aisa.h" | ||
| 6 | #include "aisa/simple-models.h" | ||
| 7 | #include "sim/queue.h" | ||
| 8 | |||
| 9 | namespace uarch { | ||
| 10 | |||
| 11 | struct Fill { | ||
| 12 | aisa::addr_t physical_addr; | ||
| 13 | std::vector<aisa::byte_t> bytes; | ||
| 14 | }; | ||
| 15 | |||
| 16 | struct FillReq { | ||
| 17 | sim::Queue<Fill> *fillq; | ||
| 18 | aisa::addr_t physical_addr; | ||
| 19 | aisa::addr_t size; | ||
| 20 | }; | ||
| 21 | |||
| 22 | struct Store { | ||
| 23 | aisa::addr_t physical_addr; | ||
| 24 | std::vector<aisa::byte_t> bytes; | ||
| 25 | }; | ||
| 26 | |||
| 27 | struct Uop : public aisa::TaskStack, aisa::VectorRF { | ||
| 28 | }; | ||
| 29 | |||
| 30 | } | ||
