Builds deterministic C++ accessor fragments for generated Verilator wrappers.
This module owns the conversion from SvPortSim.SignalSpec metadata to:
- normalized signal metadata
- JSON metadata embedded in the wrapper source
poke_signal/3dispatch casespeek_signal/2dispatch cases- clock dispatch cases for
tickandcycle
The generated fragments intentionally support only direct native C++ field
access for top-level Verilated fields whose names are valid C++ identifiers
and whose widths fit in a std::uint64_t value.
Summary
Functions
Builds wrapper accessor generation context from signal specifications.
Types
Functions
Builds wrapper accessor generation context from signal specifications.
signal_specs are normalized and validated through SvPortSim.SignalSpec.
Validation failures are wrapped with {:invalid_signal_specs, reason} so the
caller can surface the same error shape as SvPortSim.Verilator.Wrapper.