|
CIRCT 23.0.0git
|
Combined runtime and model state for a hardware model instance. More...
#include <Common.h>

Public Attributes | |
| void * | impl |
| Runtime implementation specific data. Usually points to a custom struct. | |
| uint64_t * | traceBuffer |
| Pointer to the active trace buffer's storage. | |
| uint32_t | traceBufferSize |
| Number of valid elements in the active trace buffer. | |
| uint32_t | magic |
Runtime magic number. Must be set to ARC_RUNTIME_MAGIC. | |
| uint64_t | reserved |
| Padding for alignment and reserved for future use. | |
| uint8_t | modelState [] |
Combined runtime and model state for a hardware model instance.
| void* ArcState::impl |
Runtime implementation specific data. Usually points to a custom struct.
Definition at line 46 of file Common.h.
Referenced by arcRuntimeDeleteInstance(), getModelInstance(), and circt::arc::runtime::impl::ModelInstance::~ModelInstance().
| uint32_t ArcState::magic |
Runtime magic number. Must be set to ARC_RUNTIME_MAGIC.
Definition at line 54 of file Common.h.
Referenced by arcRuntimeGetStateFromModelState().
| uint8_t ArcState::modelState[] |
Definition at line 58 of file Common.h.
Referenced by arcRuntimeIR_allocInstance(), and circt::arc::runtime::impl::VCDTraceEncoder::initialize().
| uint64_t ArcState::reserved |
| uint64_t* ArcState::traceBuffer |
Pointer to the active trace buffer's storage.
May be null iff the model has no trace instrumentation. Otherwise must point to buffer of at least traceBufferCapacity size.
Definition at line 50 of file Common.h.
Referenced by circt::arc::runtime::impl::TraceEncoder::step(), and circt::arc::runtime::impl::TraceEncoder::TraceEncoder().
| uint32_t ArcState::traceBufferSize |
Number of valid elements in the active trace buffer.
Definition at line 52 of file Common.h.
Referenced by circt::arc::runtime::impl::TraceEncoder::finish(), circt::arc::runtime::impl::TraceEncoder::run(), circt::arc::runtime::impl::TraceEncoder::step(), and circt::arc::runtime::impl::ModelInstance::swapTraceBuffer().