cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ronnywebers
Advisor
Advisor
8,864 Views
Registered: ‎10-10-2014

simulating simple AXI4-Lite read & write with a custom IP

I'd like to test my custom IP, which contains a few registers which can be read/written over AXI4-Lite. The registers connect to my custom HDL.

 

I know about the AXI BFM, but it's way over what I need, plus it's my opinion such an important feature should be part of the Webpack.

 

Is there an example available of a testbench that allows simple write & reads to these registers? No need for a full fledged AXI test, I'll do that with the ILA on hardware.

 

 

** kudo if the answer was helpful. Accept as solution if your question is answered **
0 Kudos
3 Replies
brimdavis
Scholar
Scholar
8,769 Views
Registered: ‎04-26-2012

@ronnywebers  "I'd like to test my custom IP, which contains a few registers which can be read/written over AXI4-Lite <snip> I know about the AXI BFM, but it's way over what I need"

 

I haven't tried it myself, but Bitvis recently released a simple VHDL-2008 AXI4-Lite BFM as part of their open source verification library:

 

https://github.com/UVVM/UVVM_All/tree/master/bitvis_vip_axilite

 

-Brian

 

muzaffer
Teacher
Teacher
8,720 Views
Registered: ‎03-31-2012

Try this: https://github.com/muzafferkal/axi-bfm. I have had good luck with it ;-)

If you need any improvements, let me know.
- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
dgisselq
Scholar
Scholar
1,396 Views
Registered: ‎05-21-2015

You can also use this method to formally verify an AXI-lite slave using open source tools.  Once you have the task set up, it takes less than 10 seconds to find any bugs.  It's also known for finding bugs others have missed ... feel free to read about it.

Dan

0 Kudos