summaryrefslogtreecommitdiff
path: root/io/model.h
blob: 86fb086b9048c06a3df71fae0065d1ade27cbf12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <array>
#include <cstdint>

#include "io/event.h"
#include "isa/isa.h"

struct iomodel {
    static constexpr unsigned int TT_OUTPUT_DELAY = 100;

    event_log log;
    std::uint64_t time = 0;
    bool interact(std::array<unsigned int, NUM_CTLREGS> &ctlregs);
};