Curious your experience and guidance (or whether such questions are better asked over on the Xilinx forums, for example).
I have a few AXI peripherals. The AXI logic to read/write from the peripherals seems to work well. I'm not sure of the other user logic (synthesis, implementation are successful and they *seem* to work). But that really isn't sufficient to demonstrate the user logic ALWAYS accomplishes the design intent. I understand test benches for other RTL verilog designs and have created some. But not sure of good practice when it comes to testing user logic inside these peripherals. A few questions...
Is it good, bad, or indifferent (normal?) practice to create test benches for AXI peripherals inside the peripherals themselves?
Is it normal to make 'surrogate' items that represent the user logic (separate it from the AXI peripheral read/write logic) and make test benches for those items?
Are there methods I'm not thinking of that are normally used for this purpose?
Just confirming it doesn't *seem* there is any issue with reading/writing from the peripheral. I'm mostly interested in testing the user logic.
Question
engrpetero
Curious your experience and guidance (or whether such questions are better asked over on the Xilinx forums, for example).
I have a few AXI peripherals. The AXI logic to read/write from the peripherals seems to work well. I'm not sure of the other user logic (synthesis, implementation are successful and they *seem* to work). But that really isn't sufficient to demonstrate the user logic ALWAYS accomplishes the design intent. I understand test benches for other RTL verilog designs and have created some. But not sure of good practice when it comes to testing user logic inside these peripherals. A few questions...
Just confirming it doesn't *seem* there is any issue with reading/writing from the peripheral. I'm mostly interested in testing the user logic.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now