Technology
A Technical Deep Dive into Multi-Tier Inference Triage and Telemetry-Aware Hardware Control
The Problem: Thermodynamic Blindness
Many AI-serving systems are optimized to produce an answer, but not to decide how much physical computation that answer actually deserves. A trivial, repeated, or locally resolvable request can still be sent through an expensive model-execution path, consuming compute, memory bandwidth, power, and thermal headroom that may not have been necessary.
The system may know what a query says, but it often has limited visibility into what the query costs to execute, or what the device can safely afford at that moment. It may not combine query complexity, reuse eligibility, local resource availability, temperature, power conditions, memory pressure, and routing policy before committing to a higher-cost path.
SoulFire calls this gap between a query’s actual requirements and the physical resources consumed to resolve it thermodynamic blindness.
The Solution: Hardware-Aware Triage
SoulFire introduces a telemetry-aware decision boundary at query ingress. Before full-model execution begins, the Adaptive Routing Controller (ARC) evaluates query complexity, semantic reuse potential, and available system resources. It selects an execution path based on query complexity, reuse eligibility, available resources, and configured safety and policy constraints.
Routing Before the Model Runs
The ARC Boundary
Conventional AI serving systems often make routing decisions only after a model has been selected, loaded, or partially activated. By that point, memory resources may already be committed and energy may already have been consumed, even when the request could have been resolved through a lower-cost path.
SoulFire introduces the Adaptive Routing Controller, or ARC, as an ingress decision boundary that operates before full-model execution begins. The ARC is implemented in software for edge coordination and represented in synthesizable SystemVerilog for hardware realization.
The ARC evaluates query characteristics, semantic reuse potential, and available system telemetry before selecting the system’s higher-cost inference path. When an eligible query is resolved through a deterministic template or validated cached result, the architecture can avoid invoking the higher-cost overlay or remote inference path.
Using signals such as query entropy, dependency depth, cache eligibility, memory availability, thermal state, and power conditions, the ARC selects an appropriate execution path and precision policy for the request.
Evidence at a Glance
The Four Execution Tiers
The broader architecture defines four tiers. The synthesized RTL controller selects among the three local paths—Cold, Snapshot, and Overlay. Remote escalation is handled separately at the software-orchestration layer.
Tier 1: The Cold Path Bypass
No Foundation-Model Invocation
For eligible deterministic requests, the system bypasses foundation-model and transformer-path execution, matching the query against a static, deterministic template registry.
Triggered near a Shannon entropy score of 0.30 or below (H ≤ 0.30), the system bypasses foundation-model and neural-network evaluation entirely, matching the query against a static, deterministic template registry to resolve eligible trivial or recurring requests without model-level inference compute.
Tier 2: The Snapshot Cache Manager
Semantic Edge Reuse
The Snapshot Cache Manager, or SCM, can return a stored response when the query meets the configured similarity threshold and the cache entry remains valid. A cosine-similarity score of 0.85 is an illustrative software threshold. Reuse counts and time-to-live (TTL) are updated according to the configured cache policy; a hit does not automatically refresh TTL.
Tier 3: Modular Reasoning Architecture
Dynamic Local Overlays
Queries that need more than a template or cached result can be routed to a task-specific local overlay. Overlay eligibility depends on the configured complexity threshold, overlay match, and operating constraints. The software tests exercised static overlay selection. Dynamic loading of quantized adapters onto a shared base model is a documented design option, not a capability demonstrated in those tests.
Tier 4: Remote Cloud Escalation
Fallback Cloud Execution
Triggered when local complexity thresholds, memory capacity, or thermal budgets are exceeded. The controller packages the relevant request context and escalates execution to a centralized cloud foundation model. If network connectivity is unavailable, the local ARC can route the request to a configured degraded local fallback template and log the network condition for diagnostic review.
Note on Thresholds
Threshold values disclosed in SoulFire’s software and hardware materials are illustrative benchmark defaults, not fixed universal constants.
The software examples use illustrative thresholds near 0.30 for Cold Path eligibility, 0.85 for snapshot matching or reuse confidence, and 0.70 for overlay eligibility. These are different checks, not a single routing scale. The RTL uses separately encoded fixed-point inputs and configurable comparisons for entropy, dependency depth, and cache-hit status. Thermal, power, and safety conditions can override the normal route.
Hardware-Level Governance
SoulFire integrates a hardware-level control plane directly into the digital logic. Operating on continuous, cycle-accurate telemetry, this control plane acts as a safety interlock that can govern software-layer routing in response to thermal, electrical, memory, and quality-of-service conditions.
Asymmetric Thermal Hysteresis State Machine
Implemented in threshold_ctrl.sv, this synthesizable finite-state machine (FSM) receives a 7-bit temperature input, tempcin[6:0], through the documented hardware interface. Its operating boundaries are defined as compile-time localparam values.
The 5°C dead band between the MODERATE entry and exit thresholds mechanically prevents high-frequency state oscillation (“chattering”) near thermal boundaries under sustained workloads.
Beyond temperature-based triggers, the FSM incorporates dual-input protection logic. Whenever instantaneous modeled power consumption exceeds HI_THRESH_MW, with a compile-time default of 50,000 mW, the RTL control logic is configured to request a direct SAFE-to-CRITICAL escalation on the next synchronous control update. This design is intended to respond to modeled high-power conditions before a temperature-only control path would necessarily observe a corresponding thermal rise.
Conversely, the low-power boost condition, thresh_lo, is asserted only when the controller is in the SAFE state and instantaneous power is at or below LO_THRESH_MW, or 25,000 mW. This ensures that boost-eligible headroom is signaled only when both thermal and electrical headroom exist.
State transitions are computed synchronously on each rising clock edge in threshold_ctrl.sv and translated with single-cycle latency in dvfs_ctrl.sv. In the documented RTL timing model, the path from a threshold event to the corresponding DVFS-control state change spans approximately two to three clock periods—20 to 30 ns at the 100 MHz design target. Actual timing in a fabricated ASIC or deployed FPGA would depend on technology mapping, timing closure, sensor-interface latency, and system integration.
Telemetry-Driven Path Suppression During Routing
When temperature or power demand approaches a defined safety limit, SoulFire’s hardware governance logic can override normal software routing and shift a query to a lower-power execution path. This prevents the highest-cost Modular Overlay path from being used when the device is under thermal or electrical stress. The control plane directs work toward the Snapshot Cache or Cold Path, reducing power demand before hard firmware throttling is required. This protection is enforced directly in hardware across all parallel routing engines, so it applies regardless of query complexity.
In the documented Raspberry Pi 5 telemetry capture and associated replay evaluation, lower-power path selection was concentrated in the defined high-stress workload conditions, preserving the architecture’s intended thermal and resource-management behavior.
Thermal Validation
The hysteretic interlock was evaluated through stochastic co-simulation using noisy temperature traces with a ±2°C random sensor variance across the tested thermal boundaries. Under continuous maximum-intensity query workloads, the hysteresis dead band suppressed routing chatter and held the cumulative system-level path-violation rate to 1.0%, below the 2.0% design acceptance limit.
Top-Level Synthesizable Hardware Pipeline
The top-level hardware integration module, soulfire_top.sv, binds all 14 SystemVerilog source files into a unified four-stage pipeline architecture, as disclosed in Figures 40A and 40B of U.S. Patent Application Serial No. 19/577,329.
Stage 1:
Ingress Metrics & Preprocessing:
The telemetry_reader.sv module normalizes raw temperature (tempcin), voltage (voltmVin), and current (currmAin) inputs, computes instantaneous power, and forwards the resulting metric vectors downstream.
Stage 2:
Hardware Governance Control Plane:
Dedicated controllers (threshold_ctrl.sv, dvfs_ctrl.sv, qosp_ctrl.sv, and iamm_ctrl.sv) continuously evaluate real-time physical bounds, asserting DVFS P-state commands, non-maskable QoS safety overrides (qosp_safety_i), and cache retention parameters.
Stage 3:
Fault-Masking Decision Matrix:
A Triple Modular Redundancy, or TMR, routing cluster runs three parallel instances of exec_router.sv. Their route proposals are arbitrated by majority_voter.sv using two-of-three voting. Under the documented RTL fault model, the architecture is designed to preserve the majority route selection when one router instance disagrees, without adding a registered pipeline stage.
Stage 4:
Cycle-Accurate Energy Accounting & Closed-Loop Feedback:
This stage uses the selected path and performance state to look up modeled power. The energy logger integrates that estimate into separate 64-bit microjoule counters for total and per-path energy, retaining nanojoule remainders for carry into the counters. The modeled power signal feeds back into the governance logic.
Triple-Modular Redundant Routing Cluster
To protect routing decisions against electrical noise and single-event upsets (SEUs) on edge silicon, Stage 3 runs three parallel execution engines (u_routerA, u_routerB, u_routerC) using exec_router.sv (1,811 logic cells each):
Parallel Evaluation
Each router instance independently ingests the shared Telemetry and Complexity Bus. This bus includes the entropy score, entropy_score_i; structural depth, depth_score_i; cache-hit status, cache_hit_i; thermal regime, thermal_level_i; operational phase, phase_i; and the non-maskable safety override, qosp_safety_i.
Single-Cycle Consensus Arbitration
The three 2-bit route proposals, pathselAw, pathselBw, and pathselCw, feed into majority_voter.sv, which occupies 563 logic cells. The voter performs combinational 2-of-3 majority arbitration within the same 10-nanosecond clock period without adding pipeline-latency cycles.
Diagnostic and Transition Outputs
Inter-Replica Divergence
When the three routing replicas do not reach unanimous agreement, majority_voter.sv asserts its internal disagreement_o signal. At the soulfire_top.sv boundary, that signal is exported through the top-level port named pathchangedo. The output provides diagnostic visibility into a non-unanimous routing result and the associated two-of-three arbitration event.
Primary-Router Transition Indicator
The registered path-transition output, path_changed_o, of the primary router instance, u_routerA, is exported through the top-level port named entropytranso. This one-bit output asserts whenever the primary routing engine transitions between execution tiers.
Logic Area Efficiency
The Triple Modular Redundancy routing cluster totals 5,996 logic cells, or 1.4% of the synthesized design’s cell count. This is not a physical chip-area measurement.
Fixed-Point Energy Accounting Subsystem
The energy_logger.sv module smooths short-term variation in the modeled power value and integrates that modeled value into accumulated energy estimates. It maintains a modeled total-energy estimate and separately records modeled energy attributed to the COLD, SNAPSHOT, and OVERLAY execution paths. Small fractional energy values are retained across clock cycles and carried forward when they reach a full microjoule, preserving fixed-point precision during longer workloads. The subsystem exposes modeled power, cumulative modeled-energy totals, modeled per-path energy totals, and query-count information through top-level hardware output ports.
Modeled Power Lookup
The power_model.sv module uses the selected routing path and current performance state to determine a modeled power value. It draws from pre-calibrated hardware constants for the Cold Path, Snapshot Cache, and Modular Overlay paths. This gives the controller a consistent power estimate for each type of execution without requiring a separate physical power measurement for every clock cycle.
Intelligent Adaptive Memory Manager (IAMM)
The Intelligent Adaptive Memory Manager (IAMM) is the memory-governance subsystem within the SoulFire framework. It manages metadata for cached inferences and modular reasoning overlays, updating persistence parameters, including Time-to-Live (TTL) durations, reuse counts, and eviction policies, in response to cache-hit patterns, execution phases, and system telemetry.
The Intelligent Adaptive Memory Manager (IAMM), implemented in RTL as iamm_ctrl.sv, uses a memory-usage input and execution state to adjust cache-retention parameters.
In the Raspberry Pi 5 software tests, the IAMM accelerated cache expiration, evicted least-frequently-used snapshots, and suppressed overlays under memory pressure. Overlay use resumed after the pressure cleared.
Hardware Audit Interface and Forensic Validation
The Hardware Audit Interface supports system auditability, validation, and post-hoc analysis by exposing decision-time telemetry and routing evidence for each inference event. The interface reports a monotonic query-sequence count, selected execution path, routing-transition indicator, thermal safety state, instantaneous modeled power, per-path energy attribution, and cumulative energy totals.
An external validation agent can use these outputs to generate a cryptographic manifest, optionally using SHA-256, that binds the hardware description source, synthesis netlist, and telemetry trace to a specific validation run. This provides a tamper-evident record that supports independent review of whether the observed routing behavior corresponds to the documented and synthesized hardware implementation.
Validation Using Edge Telemetry, RTL Synthesis, and Simulation.
We captured telemetry on a Raspberry Pi 5, calibrated a reference power model, and replayed the captured traces in cycle-accurate RTL simulation. Separately, we synthesized the controller into a vendor-neutral gate-level netlist. The controller was not fabricated or tested in a live closed loop.
Register-Transfer-Level (RTL) Synthesis
The multi-tier routing architecture has been translated from software prototypes into synthesizable SystemVerilog hardware description language under Continuation-in-Part U.S. Patent Application Serial No. 19/577,329, filed March 24, 2026.
The design includes 14 SystemVerilog source files: 12 functional modules, the entropy_calc.sv passthrough bridge, and the sf_pkg.sv package file. The top-level module, soulfire_top.sv, instantiates 12 unique functional modules across 14 physical instances.
Using Yosys 0.60+64, the design compiles into a vendor-neutral, 427,626-cell gate-level netlist. The resulting design includes 165,568 AND gates, 95,639 XOR gates, 90,146 OR gates, 45,003 multiplexers, 30,336 NOT gates, and 934 flip-flops.
The design uses a single synchronous clock domain with a 100 MHz target. The RTL simulation used a 10 ns clock period.
Telemetry Replay Validation
The validation methodology connects three verification environments: a physical edge reference platform, a physics-based power model, and register-transfer-level co-simulation.
Physical Reference Platform
A Raspberry Pi 5 Model B Revision 1.0, based on the BCM2712 system-on-chip with a quad-core ARM Cortex-A76 processor and 8 GB of RAM, captured live temperature, voltage, and current telemetry at 10 hertz. The telemetry inputs, tempcin, voltmVin, and currmAin, were synchronized with measurements from an inline MakerHawk TC66 USB-C power meter.
The capture campaign included 14 runs across seven workload phases: Idle, Mixed, Entropy, Thrashing, Sustained, Stress Mandatory, and Cooldown. Testing ran under both performance and ondemand processor-governor configurations and produced 12,002 physical telemetry samples.
Physics-Based Power Regression
The physical power-meter readings were used to fit dynamic power, quadratic thermal leakage, and dynamic random-access memory overhead. This produced reference power curves with a mean modeled-to-measured ratio of 1.005, meaning that modeled power averaged approximately 0.5% above the corresponding measured reference values. These curves provided the calibrated analytical baseline used for subsequent RTL validation and replay.
Hardware Co-Simulation and Replay
We used Verilator and Cocotb on an x86-64 host to replay six validated telemetry traces captured on a Raspberry Pi 5. The replay covered Cooldown, Mixed, and Thrashing workloads under both the ondemand and performance CPU governors. The RTL simulation used a 10 ns clock period. We evaluated routing decisions and modeled energy accounting against the documented reference behavior and calibrated power model.
Separately, we used Yosys 0.60+64 to synthesize the controller into a vendor-neutral, 427,626-cell gate-level netlist.
Energy Savings by Workload Scenario
SoulFire’s modeled energy reduction in the documented RTL replay evaluation varies by workload mix, processor-governor setting, and the percentage of queries routed away from the highest-cost Modular Overlay path. Unless otherwise stated, Mixed and Thrashing workload comparisons use a defined worst-path baseline in which 100% of evaluated queries execute through the Modular Overlay path under the documented power-model and governor assumptions.
Mixed Workload
Mixed workloads represent a typical evaluated traffic distribution combining simple requests, reusable semantic queries, and higher-complexity reasoning tasks. Across the documented Mixed RTL replay scenarios, SoulFire showed modeled energy reductions of 30.0% to 37.6% relative to the defined 100% Overlay worst-path baseline.
Mixed, Ondemand Governor
Under the ondemand processor governor, the workload routed 20.0% of queries through the Cold Path, 52.0% through the Snapshot Cache, and 28.0% through the Modular Overlay path.
The defined worst-path baseline assumes 100% Overlay execution and produces a modeled energy estimate of 1,143,300 microjoules per query. The dynamic-routing evaluation produced a modeled energy estimate of 713,528 microjoules per query. This corresponds to a modeled energy reduction of 37.6% relative to the defined 100% Overlay baseline.
Mixed, Performance Governor
Under the performance processor governor, the workload routed 20.0% of queries through the Cold Path, 45.4% through the Snapshot Cache, and 34.6% through the Modular Overlay path. Locking processor clock frequencies at a higher operating level increases baseline power consumption. Even under that higher-power condition, dynamic tier triage showed a modeled energy reduction of 30.0% relative to the defined 100% Overlay baseline.
Thrashing Workload
Thrashing workloads represent high-stress query streams that create greater thermal and resource pressure. These scenarios routed 50.0% of requests through the Cold Path, approximately 31.6% to 31.8% through the Snapshot Cache, and approximately 18.2% to 18.4% through the Modular Overlay path.
Because the Adaptive Routing Controller and thermal interlocks direct defined stress-condition traffic toward lower-power Cold Path and Snapshot Cache tiers, the highest evaluated reduction occurs in these scenarios. Across the documented Thrashing RTL replay scenarios, SoulFire showed modeled energy reductions from 45.6% to 48.1% relative to the defined 100% Overlay worst-path baseline.
Thrashing, Performance Governor
The Performance Governor scenario routed 50.0% of queries through the Cold Path, 31.8% through the Snapshot Cache, and 18.2% through the Modular Overlay path. This corresponds to a modeled energy reduction of 45.6% relative to the defined 100% Overlay baseline.
Thrashing, Ondemand Governor
The Ondemand Governor scenario routed 50.0% of queries through the Cold Path, 31.6% through the Snapshot Cache, and 18.4% through the Modular Overlay path. This produced the highest modeled energy-reduction result in the evaluated scenarios: 48.1% relative to the defined 100% Overlay baseline.
Cooldown Workload
Cooldown workloads route 100% of the 3,001 evaluated queries through the Cold Path by design. The Cold Path is the lowest-power execution mode in the documented architecture.
For that reason, the Cooldown scenario reports 0.0% modeled energy reduction relative to its separate all-Cold reference condition. The all-Cold reference is not the same comparison baseline used for the Mixed and Thrashing results, which are each reported relative to the defined 100% Overlay worst-path baseline.
Methodology note
Physical Raspberry Pi 5 telemetry and inline power-meter readings were used to calibrate the reference power model. The energy-per-inference figures above are calculated through the documented RTL replay and calibrated power-model methodology. They describe behavior under the stated workload, governor, and baseline assumptions and are not universal direct measurements for every model, device, or production deployment.
Technical Glossary
This glossary defines the principal architecture, hardware modules, signal interfaces, safety controls, measurement methods, and validation terms used throughout the SoulFire Technology page.
1. Execution Tiers and Software Architecture
Thermodynamic Blindness:
The gap between a query’s actual requirements and the physical resources consumed to resolve it when query complexity, reuse potential, local resources, and real-time operating conditions are not sufficiently incorporated into execution-path selection.
Adaptive Routing Controller (ARC):
The hardware-aware ingress triage engine that evaluates query Shannon entropy, structural dependency depth, and available physical telemetry before selecting an execution tier. The ARC selects the appropriate execution path according to query complexity, semantic reuse potential, and available hardware resources.
Tier 1: Cold Path Bypass:
The lowest-power execution path. It is selected when query entropy is at or below 0.30 and resolves a request through a local trie-mapped or hash-mapped template registry. The Cold Path bypasses neural-network evaluation entirely and returns pre-compiled deterministic responses without activating model-weight matrices. Within the calibrated power model, the Cold Path is associated with a tier-specific power value of approximately 1,299 mW under the documented P2-throttled condition.
Tier 2: Snapshot Cache Manager:
A local semantic edge-reuse subsystem that returns a previously computed inference result when an incoming query vector meets the configured cosine-similarity threshold. On eligible hits, the cache can return a stored result without rerunning the model. Reuse counts and TTL updates follow the configured cache policy.
Tier 3: Modular Reasoning Architecture:
A local reasoning tier that selects task-specific overlays when configured complexity, matching, and resource criteria permit. Static overlay selection was tested; dynamic quantized adapter loading is a documented design option.
Tier 4: Remote Cloud Escalation:
The final fallback path for queries that cannot be resolved through templates, cached snapshots, or locally available reasoning overlays. The controller may escalate execution to a remote cloud foundation model when local complexity thresholds, memory capacity, or thermal budgets require it. If connectivity is unavailable, the local system can return a degraded fallback template and log the network condition.
2. Synthesizable Hardware Modules
soulfire_top.sv:
The top-level SystemVerilog pipeline module. It integrates 12 functional modules across 14 physical instances and compiles into a vendor-neutral 427,626-cell gate-level netlist operating with a single synchronous clock domain and a 100 MHz design target.
threshold_ctrl.sv:
The asymmetric thermal-hysteresis finite-state machine. It ingests raw 7-bit temperature-register data and modeled power data to evaluate dynamic thermal and electrical safety thresholds.
dvfs_ctrl.sv:
The hardware actuation interface for dynamic voltage and frequency scaling. It translates safety flags from threshold_ctrl.sv into registered P-state commands with a single-cycle response latency.
exec_router.sv:
The Stage 3 execution-routing engine. It evaluates complexity, cache status, telemetry, and safety inputs to generate a 2-bit route proposal. Three parallel instances, u_routerA, u_routerB, and u_routerC, operate within the Triple-Modular Redundant routing cluster.
majority_voter.sv:
The combinational consensus-voting block. It compares the three independent route proposals generated by the parallel routing engines and produces a 2-of-3 majority result. It also asserts disagreement_o when the router replicas do not reach unanimous agreement.
power_model.sv:
The two-dimensional combinational power lookup table. It uses the selected execution path and active P-state to output a 32-bit modeled-power value in milliwatts through power_mW.
energy_logger.sv:
The cycle-accurate, fixed-point energy-accounting datapath. It smooths modeled power, integrates energy across clock cycles, and records modeled total-energy and modeled path-specific energy estimates in 64-bit microjoule accumulators.
iamm_ctrl.sv:
The Intelligent Adaptive Memory Manager hardware module. It monitors available memory capacity and adjusts snapshot-cache retention, Time-to-Live decay, and Least Frequently Used eviction behavior under memory pressure.
entropy_calc.sv:
The 7-bit passthrough bridge module that receives software-calculated Shannon entropy scores and interfaces them safely into the SystemVerilog hardware bus.
sf_pkg.sv:
The shared SystemVerilog package file containing system-wide local parameters, state enumerations, and common data types.
Hardware Audit Interface:
A set of top-level outputs that exposes routing decisions, telemetry state, transition indicators, query counts, and energy-attribution data for each validated run. An external validation process can use these outputs with the associated SystemVerilog source, synthesis netlist, telemetry traces, and structured logs to generate a SHA-256 cryptographic manifest and tamper-evident validation package.
3. Signal Ports and Bus Interfaces
tempcin[6:0]:
The 7-bit parallel input port that receives raw junction-temperature values from on-die thermal sensors.
pstate_i and pstate_o:
The input and output buses used to encode defined P-states. These states include P0_BOOST, P1_NOMINAL, and P2_THROTTLED.
pathselAw, pathselBw, and pathselCw:
The three independent 2-bit route proposals generated by u_routerA, u_routerB, and u_routerC.
majority_out and pathsel_internal:
The 2-bit consensus routing output generated by majority_voter.sv. This voted path selection drives downstream energy accounting and related control logic.
pathchangedo and disagreement_o:
The disagreement_o is the internal disagreement output of majority_voter.sv. At the soulfire_top.sv boundary, it is exported through the top-level port named pathchangedo. The signal indicates that the three routing replicas did not reach unanimous agreement and that the two-of-three arbitration logic selected the majority routing result.
entropytranso and path_changed_o:
path_changed_o is the registered path-transition output of the primary routing engine, u_routerA. At the soulfire_top.sv boundary, it is exported through the top-level port named entropytranso. The signal provides a one-bit indication whenever the primary routing engine changes execution tiers.
power_mW and powermWo[31:0]:
The 32-bit modeled-power signal and associated top-level output bus. These values carry real-time power estimates in milliwatts and feed back into the governance logic.
energy_uJ_o:
The 64-bit cumulative modeled-energy output. It records the accumulated modeled energy estimate across all completed execution paths.
energy_cold_uJ_o:
The 64-bit accumulator for modeled energy attributed to work executed through the Cold Path.
energy_snap_uJ_o:
The 64-bit accumulator for modeled energy attributed to work executed through the Snapshot Cache path.
energy_overlay_uJ_o (energymrauJo):
The 64-bit accumulator for modeled energy attributed to work executed through the Modular Reasoning Architecture Overlay path.
querypulsei, query_done, and query_count_o:
The query-completion interface. The query pulse closes an individual per-query energy measurement window, while the completed-query counter records the total number of finished queries.
qosp_safety_i and overlay_suppressed:
Non-maskable hardware-interlock signals asserted during high thermal or power stress. These signals override normal software routing preferences and force work toward lower-power execution paths.
4. Governance and Hysteresis Parameters
TEMP_MOD_ENTER
The temperature threshold for entering the MODERATE thermal state. Its default hardware encoding is 8'd80, corresponding to 80°C. This state initiates dynamic voltage and frequency scaling behavior.
TEMP_MOD_EXIT
The temperature threshold for returning from MODERATE to SAFE. Its default hardware encoding is 8'd75, corresponding to 75°C. Together with TEMP_MOD_ENTER, it creates a 5°C hysteresis band that limits thermal-state chatter.
TEMP_CRIT_ENTER
The critical temperature threshold. Its default hardware encoding is 8'd85, corresponding to 85°C. Reaching this boundary forces critical-path protection and Cold Path demotion behavior.
TEMP_CRIT_EXIT
The recovery threshold for transitioning from CRITICAL back to MODERATE. Its default hardware encoding is 8'd82, corresponding to 82°C.
TEMP_RECOVERY
The deep thermal-recovery threshold. Its default hardware encoding is 8'd60, corresponding to 60°C. This boundary clears persistent critical thermal locks after sufficient cooling.
HI_THRESH_MW
The modeled-power threshold that triggers direct escalation from SAFE to CRITICAL. Its compile-time default is 50,000 mW. This protection responds to electrical stress and voltage-regulator droop before a thermal sensor necessarily detects a temperature increase.
LO_THRESH_MW
The maximum modeled-power threshold that permits assertion of thresh_lo to signal headroom for boost-eligible (P0_BOOST) operation. Its default value is 25,000 mW.
5. Metrics, Fixed-Point Math, and Reliability
Shannon Entropy:
A mathematical measure of information density and query novelty calculated at query ingress. Within the stated benchmark defaults, entropy at or below 0.30 supports Cold Path eligibility, while entropy at or above 0.70 may support Modular Overlay routing.
16-Sample Simple Moving Average Filter:
The power-smoothing mechanism inside energy_logger.sv. It stores recent modeled-power samples in p_hist[0:15], maintains a running total in p_sum_mW[47:0], and generates an averaged power value by right-shifting the sum by four bits.
DT_US Timestep:
The pre-calibrated 100-microsecond timestep parameter used to convert averaged power into a 64-bit nanojoule energy increment.
Remainder-Carry Fixed-Point Arithmetic:
The fixed-point mechanism that retains residual nanojoules across clock cycles. The remainder registers, rem_tot, rem_c, rem_s, and rem_m, preserve fractional energy values until a full microjoule can be accumulated. When a remainder reaches 1,000 nanojoules, carry logic increments the corresponding 64-bit microjoule register.
Energy Per Inference:
The evaluation metric estimating microjoules attributed to an individual query from routing through execution within the documented power-model and RTL replay environment.
Worst-Path Baseline:
The defined comparison condition in which 100% of evaluated queries execute through the highest-cost Tier 3 Modular Overlay path under the documented power-model and governor assumptions.
Triple Modular Redundancy
A circuit-level fault-tolerance architecture in which three parallel routing engines produce route proposals and a two-of-three voter selects the majority result. Under the documented RTL fault model, the architecture is designed to preserve the majority result when one router instance disagrees.
Single-Event Upset:
A transient silicon-level bit error caused by radiation, electrical noise, or similar hardware disturbances. In SoulFire, Stage 3 Triple Modular Redundancy is designed to detect and mask a single-replica error.
6. Verification and Telemetry Replay Validation
Telemetry Replay Validation:
The validation method that combines physical telemetry capture, power-model calibration, and cycle-accurate RTL co-simulation.
Platform 1:
The physical Raspberry Pi 5 reference platform used to capture device telemetry and synchronize it with inline power-meter readings. The capture campaign produced 12,002 telemetry samples at 10 Hz
Platform R1:
The physics-based power-regression model. It fits dynamic power, quadratic thermal leakage, and dynamic random-access-memory overhead against physical power-meter measurements to create a reference baseline.
Platform P2:
The RTL co-simulation environment. It uses Verilator and Cocotb to replay captured telemetry traces with a 10 ns simulated clock period.
Bit-Exact Routing Parity:
The verification result in which RTL replay matched the documented reference routing decisions across the six selected scenarios, with no recorded routing-decision deviations under the stated test conditions.