Verification Status
Comprehensive verification results for the MHX™ Ternary RISC-V Core.
Test Suites
RTL Linting (Verilator)
No warnings or errors
~2min
RTL Linting (Verible)
Code style compliant
~1min
Ternary ALU Unit Tests
All arithmetic operations verified
~5min
Neural Unit Tests
MAC, ReLU, sigmoid, tanh tested
~8min
Register File Tests
Read/write integrity confirmed
~3min
Integration Tests
Full pipeline simulation
~15min
Formal Verification
50 assertions proved
~20min
Code Coverage
Coverage metrics are collected during simulation runs using Verilator's coverage analysis.
Coverage by Module
Formal Verification
Formal verification using SymbiYosys proves key properties of ternary operations.
Verified Properties
| Module | Property | Status |
|---|---|---|
| ternary_alu | Addition commutative: a + b = b + a | ✓ PROVED |
| ternary_alu | Addition associative: (a + b) + c = a + (b + c) | ✓ PROVED |
| ternary_alu | Multiplication distributive: a × (b + c) = a×b + a×c | ✓ PROVED |
| ternary_alu | Overflow detection correctness | ✓ PROVED |
| neural_unit | MAC result correctness: mac(a,b,c) = a×b + c | ✓ PROVED |
| ternary_regfile | Register t0 always reads zero | ✓ PROVED |
Performance Benchmarks
Performance measurements comparing MHX™ ternary operations against software implementations.
| Benchmark | Software (cycles) | Hardware (cycles) | Speedup |
|---|---|---|---|
| 16-trit addition | 48 | 1 | 48.0x |
| 16-trit multiplication | 156 | 3 | 52.0x |
| Neural MAC operation | 200 | 4 | 50.0x |
| TNN inference (small) | 8,500 | 5,700 | 1.5x |
CI/CD Pipeline
All tests are automatically run on every commit through GitHub Actions. View the latest CI runs on GitHub.