Simulation Theory
The Intarva engine is built on a node-based linear equation solver that handles asynchronous hardware events with microsecond precision.
The Netlist Solver
Every connection in Intarva is registered as a “Net.” The solver calculates the state of these Nets using a simplified version of nodal analysis, determining cumulative influence from all connected drivers.
Sub-Tick Sync
Intarva uses a Virtual Clock. If your firmware requests a 1ms delay, the engine advances physics by exactly 1ms, preventing “race conditions” common in browser-based tools.
Messaging Protocol (IMP)
The Intarva Messaging Protocol (IMP) handles high-speed communication between the WASM firmware worker and the UI thread at sub-millisecond latencies.
The 4-State Logic System
To accurately reflect real-world electrical behavior, Intarva tracks four distinct signal states:
- Logic High (1): Active 3.3V/5V drive.
- Logic Low (0): Active Ground (0V) pull.
- High-Impedance (Z): “Floating” state. Pin is in input mode or disconnected.
- Conflict (X): A safety error. Triggered when two outputs drive different voltages to the same wire.