Expand description
Backend-independent executable simulation contracts and utilities.
Modules§
Structs§
- Design
Reflection - Event
Info - Runtime metadata for one event domain.
- Process
Refs - Control slots of one process kernel, resolved to signals of the backend.
- Reflection
Scope - Reflection
Scope Id - Reflection
Signal - Reflection
Signal Id - Runtime
Event Buffer - Schedule
Parts - Scheduling state expressed with the event handles of one backend, so a caller can translate it to and from names.
- Schedule
Record - Scheduling state of a time-based simulation.
- Scheduled
Event - A pending event of a time-based simulation, identified by name.
- Signal
Array Layout - Signal
Ref - Simulation
Snapshot - Scheduling state captured by
SimulationState::snapshot. - Simulation
State - Backend-independent state and execution rules for timed simulation.
- State
File - Contents of a state file.
- State
Object - The saved value of one state object.
- VcdExternal
Signal Desc - Describes a signal whose value is supplied by an external runtime rather than stored in Celox’s flat simulation memory.
- VcdSignal
Desc - Describes a signal for VCD recording.
- VcdStatistics
- VcdWriter
Enums§
- Signal
Direction - Simulator
Error Code - State
Difference - A state object whose saved values differ between two files.
- State
File Error - A state file that could not be read.
- State
Role - How a state object gets its value.
Traits§
- Simulation
Executor - Backend execution hooks needed by the timed simulation engine.
Functions§
- bind_
testbench_ program - comb_
fatal_ code - Generated combinational fatal captures use negative status codes. Positive
statuses belong to loop/runtime errors; zero means success. Keep the range
bounded by the event site’s u32 ID so internal failures such as a panicked
lane (
i64::MIN) cannot be mistaken for an assertion. - comb_
fatal_ site - Decode the site of a generated combinational fatal status.
- format_
state_ value - Format little-endian bytes as a hexadecimal number of
widthbits, with X/Z bits frommaskshown asx.