summaryrefslogtreecommitdiff
path: root/uarch/types.h
blob: 481b8fee655c67884891a70f3972cecc06738491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include <vector>

#include "aisa/aisa.h"
#include "aisa/simple-models.h"
#include "sim/queue.h"

namespace uarch {

    struct Fill {
        aisa::addr_t physical_addr;
        std::vector<aisa::byte_t> bytes;
    };

    struct FillReq {
        sim::Queue<Fill> *fillq;
        aisa::addr_t physical_addr;
        aisa::addr_t size;
    };

    struct Store {
        aisa::addr_t physical_addr;
        std::vector<aisa::byte_t> bytes;
    };

    struct Uop : public aisa::TaskStack, aisa::VectorRF {
    };

}