Formal verification of an AXI-Lite slave
Use free formal tools to prove an AXI-Lite slave follows the protocol for every possible input sequence, not just the ones a simulation happens to try.
What this proves to recruiters
- You know formal verification, a skill many teams want.
- You can write assertions from a specification.
- You understand AXI handshakes.
Skills you will use
- Formal verification
- Assertions
- AXI4-Lite
- SymbiYosys
What you need
Nothing to buy: this project only needs a computer and the free software below.
Free software
- OSS CAD Suite (Yosys, SymbiYosys)
- Arm AMBA AXI specification (free)
Steps
- Read the AXI4-Lite handshake rules: once VALID is high it must stay high until READY.
- Write a simple AXI-Lite slave with four registers, or take one from GitHub.
- Add assumptions for what the master is allowed to do.
- Add assertions for what the slave must do, using $past() to check behaviour over time.
- Run a bounded proof and a cover check (to show the slave can actually complete a write).
- Break the design on purpose and read the counter-example trace the tool gives you.
Make it stand out
- Prove the read channel too.
- Run k-induction for an unbounded proof.
Put it on your resume
Formally verified an AXI4-Lite slave with SymbiYosys assertions and cover properties; debugged counter-examples from deliberate bugs.
Replace each [x] with a number you measured. Real numbers make a line believable.
Keep going
This project fits stage 4, “Advanced protocols and formal”, of the Design verification roadmap. See also how freshers get into design verification trainee jobs.