A fault-tolerant RTL cache controller capable of detecting simulated hardware faults and autonomously recovering using a dedicated Recovery Finite State Machine (FSM).
- Direct-mapped cache controller
- Fault injection module
- Recovery FSM
- Autonomous cache-line invalidation
- GTKWave waveform visualization
- Modular Verilog RTL design
CPU → Cache Controller → Fault Detection → Recovery FSM → Self-Healing
self_healing_cache/
├── rtl/
│ ├── cache_controller.v
│ ├── parity_checker.v
│ ├── fault_injector.v
│ └── recovery_fsm.v
├── tb/
│ └── tb_top.v
├── sim/
│ └── run.sh
└── README.md
chmod +x sim/run.sh
./sim/run.shOpen waveforms:
gtkwave waves/dump.vcdIDLE → DETECT → REPAIR → RESUME → IDLE
- Cache architecture
- FSM design
- Fault tolerance
- Hardware verification
- RTL simulation
- Waveform debugging
- ECC / Hamming code
- 2-way set associative cache
- LRU replacement policy
- Fault logging registers
- SystemVerilog assertions
B Prince Philomon
