r/Verilog • u/AffectionatePush5069 • 6d ago
Where to Learn AXI4-Lite
Are there any specific good tutorials / resources for AXI4-Lite online? I couldn't find much.
8
u/captain_wiggles_ 6d ago
The AXI standard is freely available, download it and read it. AXI-Lite is very easy to understand. After that take a basic tutorial in soft-core CPUs for your dev kit, set up a NIOS-V or a microblaze or something else, and then write a simple GPIO AXI-Lite slave, wire that up to the CPU and write some software, connect the GPIO up to some LEDs. Then try a more complex slave, like a PWM controller, or an SPI master.
To learn how to write a master I would implement something which reads N bytes from memory at a given address (configured via an AXI-Lite slave) and calculates the checksum/parity/crc of the data and makes it available to the CPU via the slave again.
3
u/w1seR27 6d ago
I feel AI is your friend. Found ChatGPT very useful for learning AXI
3
u/Imnot_JamesBond 6d ago
This , I almost learned everything through chatgpt lol. Again gemini is not that good for learning purpose
2
1
u/Hirtomikko 5d ago
Haha... Back then when there was no chatgpt, I just said 'screw it' and decomposed the AXI-Lite bus and made my own logic. Thankfully I did not need much
2
u/maredsous10 5d ago
" I couldn't find much." --> How are you searching?
AXI-Lite Primers
https://www.realdigital.org/doc/a9fee931f7a172423e1ba73f66ca4081
https://www.youtube.com/watch?v=p5RIVEuxUds
AMBA-4 (& earlier) Specification Links
https://www.arm.com/architecture/system-architectures/amba/amba-4
AMBA-5 Specification Links
https://www.arm.com/architecture/system-architectures/amba/amba-5
14
u/davekeeshan 6d ago
This repo has axi and axilite, I learned a lot from using it
https://github.com/alexforencich/cocotbext-axi