-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add ip_based dma_flock testbench #154
base: main
Are you sure you want to change the base?
Conversation
Most merge conflicts are just the inclusion at the toctree in alphabetical order, by using glob, we can mitigate them. To not include the orphan templates, rename them to _index. Also remove dangling orphan empty project ad7616. Signed-off-by: Jorge Marques <[email protected]>
Signed-off-by: Jorge Marques <[email protected]>
* Two DMAs, one with the role of writer (stream to memory-mapped) | ||
and the other with the role of reader (memory-mapped to stream). | ||
* Two AXI4Stream VIPs, to produce and consume the generated test pattern. | ||
* One AXI VIP, to emulate a DDR memory between the DMAs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The DDR memory is already inside the test harness.
Configuration files | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
The following are the available configuration files along with their |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you try to put the configuration lists into a table?
The cfg1 is compatbile with test_program and cfg2_fsync and cfg3_fsync_autorun | ||
are compatible with test_program_frame_delay. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make more sense to have a list or table for each test program with the compatible configurations?
- Generate synchronisation stimulus (if enabled). | ||
- Wait the number of frames are generated. | ||
|
||
* Stops the watchdog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The testbench doesn't contain any watchdog
* Do single tests on variant number of frames, distance and clock frequencies: | ||
|
||
- Remove backpressure at AXIS destination and DDR. | ||
- Obtain randomized DMA sequencers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obtain randomized DMA sequences.
I'm guessing that you meant a DMA sequence here, since a sequencer processes sequences; in our case it creates them
- Obtain randomized DMA sequencers. | ||
- Enable sequencer test data generation. | ||
- Configure control and flags of the DMA. | ||
- Submit the DMA sequencers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as previous
depending on the clock ratios between the writer and reader. | ||
Then asserts if all bytes in the frame are equal to the first byte. | ||
|
||
The test bench may end before the last frame is fully transferred at the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an Info directive to it, as it is something that should be highlighted.
|
||
Testbenches related dependencies | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the HDL related dependencies as well.
PR Description
Merge after #153
PR Type
PR Checklist