Expand description
Cycle-accurate simulation over FrozenHir (AD-5, AD-15, AD-17).
Structs§
- Axi4
Lite Slave Functional - Handwritten
Axi4LiteSlaveFL (FR168) — write+read handshake ≡ tick onaxi4_lite_slave_dual_stimulus. Not GeneratedFunctional; not FR163 alone. - Coverage
- Toggle + Mux branch + FSM state-visit coverage over named signals / labels.
- Cycle
Accurate Sim - Thin FrozenHir →
Sim::tickwrapper (cycle-accurate product surface). - Formal
Equiv Product - Product entry for FR100 automatic compare + bounded formal equivalence.
- Generated
Functional - In-process functional model derived from FrozenHir (FR47 / FR112 / FR159).
- Gpio
Functional - Handwritten
GpioFL (FR126) — beyond FR103 SyncFifo / GeneratedFunctional UART–AXI. - I2cMaster
Functional - Handwritten
I2cMasterFL (FR168) — write+ACK path ≡ tick oni2c_master_dual_stimulus. Not GeneratedFunctional; not FR163 alone. - IpDual
Model Matrix - FR103 product entry: co-verify functional + cycle models for the NFR14 IP set.
- Port
Mismatch - One named port that differed between two views.
- Shared
Stimulus Scoreboard - Shared stimulus / scoreboard fixture for multi-view co-check (FR92).
- Sim
- Simulator state for one FrozenHir circuit.
- SpiMaster
Functional - Handwritten
SpiMasterFL (FR168) — Mode-0 single-byte path ≡ tick onspi_master_dual_stimulus. Not GeneratedFunctional; not FR163 UartRx alone. - Sync
Fifo Functional - Depth-4 SyncFifo functional model (architectural PortValues).
- Systemc
Toolchain - Resolved SystemC toolchain (pkg-config).
- Uart
RxFunctional - Handwritten
UartRxFL (FR163) — beyond FR135UartTx/ FR126 Gpio / GeneratedFunctional. - Uart
TxFunctional - Handwritten
UartTxFL (FR135) — beyond FR126 Gpio / FR103 SyncFifo / GeneratedFunctional. - Values
- Port-level values shared by tick and functional models (AD-17).
Enums§
- Equiv
Status - Result of a bounded functional ↔ tick equivalence run.
- FstError
- Tick
Engine - Select how
Sim::tickevaluates FrozenHir.
Constants§
- SYSTEMC_
PIN_ VERSION - Pinned Accellera SystemC line documented for FR101 MVP (Debian/pkg-config).
Traits§
- Abstraction
View - A handwritten abstraction/bridge cycle (FR29). Compared only via
PortValues.
Functions§
- axi4_
lite_ slave_ dual_ stimulus - Documented Axi4LiteSlave dual-model stimulus (reset + write + read) — FR168.
- build_
and_ run_ tlm_ at_ smoke - Build and run the emitted AT smoke (
make runinout_dir). - build_
and_ run_ tlm_ lt_ smoke - Build and run the emitted LT smoke (
make runinout_dir). - check_
functional_ equiv - Drive the same stimulus on FrozenHir
tickand a functional view (handwritten or generatedAbstractionView). Consistent PortValues →Pass; first divergence →Fail. - check_
functional_ equiv_ generated - FR30 on the generated path (P3 acceptance):
GeneratedFunctionalvstick. - check_
generated_ bridge - Bridge/compare: generated functional model vs cycle-accurate
tick(FR47 leg 2). - check_
generated_ bridge_ with - Same bridge entry with an arbitrary functional view (for deliberate-mismatch tests).
- check_
mixed_ both - Tick RTL and one handwritten view; fail when documented ports disagree.
- compare_
port_ values - Compare
PortValueson the intersection of keys (FR29: PortValues only, no TLM). - emit_
cycle_ accurate_ crate - Alias for product naming symmetry with
emit_functional_crate. - emit_
functional_ crate - Alias required by Story 21.2→21.3 product surface naming.
- emit_
systemc_ tlm_ at - Emit a SystemC TLM-2.0 AT-subset fixture under
out_dirfromFrozenHir. - emit_
systemc_ tlm_ lt - Emit a SystemC TLM-2.0 LT-only fixture under
out_dirfromFrozenHir. - generate_
cycle_ accurate_ sim - Write a cycle-accurate tick-wrapper crate (FrozenHir rebuild +
Sim::tick). - generate_
functional_ sim - Write a standalone Rust functional-sim crate under
out_dir. - generate_
functional_ sim_ with_ bin - Convenience alias (same as
generate_functional_sim). - generate_
systemc_ tlm_ at - Alias for product naming symmetry.
- generate_
systemc_ tlm_ lt - Alias for product naming symmetry with
emit_functional_crate. - gpio_
dual_ stimulus - Documented Gpio dual-model stimulus (reset, masked write, pad read) — FR126.
- i2c_
master_ dual_ stimulus - Documented I2cMaster dual-model stimulus (reset + write with ACK) — FR168.
- parse_
branch_ report - Parse FR105
branch_hit/branch_misslines. - parse_
report - Parse FR34-compatible toggle
hit/misslines (ignoresbranch_*/state_*). - parse_
state_ report - Parse FR109
state_hit/state_misslines. - reset_
then_ run - Reset-high one cycle, then
ncycles withrst=0. - resolve_
systemc - Resolve SystemC via
pkg-config. Missing install → readableErr(never silent OK). - resolve_
vcd2fst - How to obtain FST: never a homegrown writer (AD-24).
- spi_
master_ dual_ stimulus - Documented SpiMaster dual-model stimulus (reset + Mode-0 single-byte RX) — FR168.
- sync_
fifo_ dual_ stimulus - Documented SyncFifo dual-model stimulus (reset, push, pop) — FR103 fixture.
- uart_
rx_ dual_ stimulus - Documented UartRx dual-model stimulus (reset, 8N1 RX frame, baud_div hold) — FR163.
- uart_
tx_ dual_ stimulus - Documented UartTx dual-model stimulus (reset, 8N1 frame, baud_div hold) — FR135.
- write_
coverage_ artifacts - Write
coverage.lcov+coverage.htmlfor FR114. Fails if coverage is empty.