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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
"""green-eye native RV64IMAC simulator (M1).
Pure-Python, deterministic, stdlib-only. :class:`sim.machine.Machine` executes
RV64IMAC from a 256 MiB RAM region with an NS16550A UART; the debugger-facing
adapter lives in ``greeneye.sim_backend``. A machine can be given a
``greeneye.device_map.DeviceMap`` and ``unknown_mmio="lenient"`` to serve
unmodelled MMIO accesses from harvested first-touch data instead of faulting.
"""
from .decode import decode16, decode32 # noqa: F401
from .machine import ( # noqa: F401
R_BP,
R_BUDGET,
R_EBREAK,
R_ECALL,
R_FAULT,
R_STEP,
R_WATCH,
UNKNOWN_MMIO_MODES,
Fault,
Machine,
SimMachine,
Uart16550,
)
from .trace import Trace, make_trace # noqa: F401
__all__ = [
"Machine",
"SimMachine",
"Uart16550",
"Fault",
"decode16",
"decode32",
"Trace",
"make_trace",
"R_BUDGET",
"R_BP",
"R_WATCH",
"R_EBREAK",
"R_FAULT",
"R_STEP",
"R_ECALL",
"UNKNOWN_MMIO_MODES",
]
|