testbenches/ip/spi_engine: Upgrade spi_engine testbench for SDO extension - #240
Conversation
IstvanZsSzekely
left a comment
There was a problem hiding this comment.
Initial review.
The projects that have updated documentation: AD463x, AD738x, AD7606 have broken testbenches. It seems that the HDL block design is out of date.
IstvanZsSzekely
left a comment
There was a problem hiding this comment.
Triggered another CI run to check the current status of the PR with the changes from HDL and TB PRs. The AD463x, AD7606x, AD7616 (parallel mode) projects have build issues in the testbenches, while AD57xx has issues when compiling the simulation files.
|
Please rebase the branch on the current main to solve the conflicts. |
3bd3111 to
343af37
Compare
Thank you for the explanation! Now if someone will have the same question at any point, the reference for the answer will be here. |
7bbd948 to
0ef69b4
Compare
Updates SPI VIP, Driver, and regmaps to support n lanes. In this new SPI Engine Version, it is possible to mask up to 8 serial lanes. * Update to support n lanes for the SDI and SDO; * Insert SDI lane mask instruction; * Insert SDO lane mask instruction; * Update major version to SPI Engine 2.0. It is not backwards compatible; * Update NUM_OF_SDI parameter to NUM_OF_SDIO. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Updated from NUM_OF_SDI to NUM_OF_SDIO parameter in the documentation of the following projects: * ad463x; * ad738x; * ad7606; * pulsar_adc. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Several changes to support more than one lane for SDI and
SDO. Fixed and updated all methods to work with the latest
framework:
* Update config files. All config files have 4 lanes now;
* Insert a new test for lane mask.
* Possible to use different lane mask for offload as
long as it is changed before executing it;
Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Testbench was updated to use the new features related to the spi lane mask. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Fixes sdo_data type. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Fixes sdo_data type. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Using the latest framework for the tests. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Using the latest framework for the tests. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Update to the latest multilane SPI Engine, using the latest framework. Removed the manual axi reads/writes and using the current APIs. Inserted a SPI VIP for the test_program_si.sv. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
Update to the latest multilane SPI Engine, using the latest framework. Removed the manual axi reads/writes and using the current APIs. Inserted a SPI VIP for the test_program_si.sv. Signed-off-by: Carlos Souza <carlos.souza@analog.com>
IstvanZsSzekely
left a comment
There was a problem hiding this comment.
The testbench and the documentation looks good from the standard point of view.
A CI build has been started to check for any issues.
Please ask for a review from someone who knows more about the projects to review the testbench process itself.
IstvanZsSzekely
left a comment
There was a problem hiding this comment.
CI finished the simulations, everything is green.
Please ask for a review from someone who knows more about the projects to review the testbench process itself.
It changes spi_vip and spi_engine driver so it can support the new testbench for the SPI Engine. Several tasks and functions were changed due to this modification.
This modification requires this spi engine version: analogdevicesinc/hdl#1808
PR Type
PR Checklist