diff options
| author | Julian Blake Kongslie | 2022-07-02 13:45:09 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-07-02 13:45:09 -0700 |
| commit | c72951a36d6cb9775dc1ecd9bc26bc13e796f10c (patch) | |
| tree | 5a8fe196beba5c7c674d1b3d627c9a0beac849f5 /uarch/types.h | |
| parent | Trivial code reorg. (diff) | |
| download | issim-c72951a36d6cb9775dc1ecd9bc26bc13e796f10c.tar.xz | |
Dropping the async interface, and adding some real uarch.
Diffstat (limited to '')
| -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 | } | ||
