Skip to content

Commit ea85ad3

Browse files
General updates (#165)
* General updates - Added/Updated licensce headers - Updated testbench dependencies - Updated class hierarchy - Updated VIP clocking and reset calls - Change while(1) calls to forever - Remove trailing spaces and tabs Signed-off-by: Istvan-Zsolt Szekely <istvan.szekely@analog.com> * SPI VIP: Updated to use class-based interface as proxy Signed-off-by: Istvan-Zsolt Szekely <istvan.szekely@analog.com> * library/drivers/jesd/adi_jesd204_pkg: Added a TODO Signed-off-by: Istvan-Zsolt Szekely <istvan.szekely@analog.com> * hbm: Removed testing of empty simulation Signed-off-by: Istvan-Zsolt Szekely <istvan.szekely@analog.com> --------- Signed-off-by: Istvan-Zsolt Szekely <istvan.szekely@analog.com>
1 parent b0b6d13 commit ea85ad3

File tree

289 files changed

+3230
-2890
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+3230
-2890
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@
1717

1818
This repository contains testbenches and verification components for system level projects or components connected at block level from the [hdl](https://github.com/analogdevicesinc/hdl) repository.
1919

20-
This repository is not a stand alone one. It must be cloned or linked as a submodule inside the [hdl](https://github.com/analogdevicesinc/hdl) repository you want to test.
20+
This repository is not a stand alone one. It must be cloned or linked as a submodule inside the [hdl](https://github.com/analogdevicesinc/hdl) repository you want to test.
2121

2222
The folder structure of the hdl will look as follows:
2323

2424
hdl
2525
- projects
2626
- library
2727
- testbenches
28-
28+
2929
## Setup
30-
The testbenches are built around Xilinx verification IPs so it requires Vivado to be set up according to the hdl repository requirenments.
30+
The testbenches are built around Xilinx verification IPs so it requires Vivado to be set up according to the hdl repository requirenments.
3131
Running the testbenches relies on the build mechanism from the hdl repository, make sure you have a proper setup for Xilinx flow described [here](https://wiki.analog.com/resources/fpga/docs/build)
3232

3333
## Running a testbench:
3434

35-
Change the workig directory to the testbench you want to run:
35+
Change the workig directory to the testbench you want to run:
3636

3737
cd testbenches/fmcomms2
3838

39-
The scripts first will build all components used from the hdl library, build the block design environment based on a configuration file that describes parameters of under test block, then will actually run the test.
40-
These steps are separated in ordrer to be able to run multiple tests on the same configuration without rebuilding the block desing every time.
39+
The scripts first will build all components used from the hdl library, build the block design environment based on a configuration file that describes parameters of under test block, then will actually run the test.
40+
These steps are separated in ordrer to be able to run multiple tests on the same configuration without rebuilding the block desing every time.
4141

4242
### Run all tests in batch mode:
4343

docs/library/drivers/common/watchdog/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ Other use-cases for the watchdog timer:
103103
system hanging. In this case it is more advisable have a watchdog timer
104104
stopped and started or reset each time a repetitive task is completed. This
105105
allows for a stricter watchdog timer value, which may stop a hanging
106-
simulation sooner without waiting for the whole process to finish.
106+
simulation sooner without waiting for the whole process to finish.
107107

108108
.. include:: ../../../../common/support.rst

docs/library/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Library
44
===============================================================================
5-
5+
66
Drivers
77
-------------------------------------------------------------------------------
88

@@ -34,4 +34,4 @@ VIPs
3434
:maxdepth: 1
3535

3636
vip/index
37-
37+

docs/library/vip/amd/axi_vip/adi_axi_agent.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ADI AXI Agent (VIP)
66
Overview
77
-------------------------------------------------------------------------------
88

9-
The ADI AXI Agent uses the AMD (Xilinx) AXI VIP at its core with added
9+
The ADI AXI Agent uses the AMD (Xilinx) AXI VIP at its core with added
1010
sequencer, monitor and wrapper class. Has a master, slave and passthrough
1111
variant. Provides functions to start, stop and run the classes within. Its
1212
purpose is to create and contain everything under a single construct and not

docs/library/vip/amd/axi_vip/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Xilinx AXI Verification IP (VIP)
1414
Overview
1515
-------------------------------------------------------------------------------
1616

17-
The ADI AXI Agent uses the AMD (Xilinx) AXI VIP at its core with added
17+
The ADI AXI Agent uses the AMD (Xilinx) AXI VIP at its core with added
1818
sequencer, monitor and wrapper class.
1919
`[1] <https://docs.amd.com/r/en-US/pg267-axi-vip>`__
2020

docs/library/vip/amd/axis_vip/adi_axis_agent.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ADI AXIS Agent (VIP)
66
Overview
77
-------------------------------------------------------------------------------
88

9-
The ADI AXIS Agent uses the AMD (Xilinx) AXIS VIP at its core with added
9+
The ADI AXIS Agent uses the AMD (Xilinx) AXIS VIP at its core with added
1010
sequencer, monitor and wrapper class. Has a master, slave and passthrough
1111
variant. Provides functions to start, stop and run the classes within. Its
1212
purpose is to create and contain everything under a single construct and not

docs/library/vip/amd/axis_vip/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Xilinx AXIS Stream Verification IP (VIP)
1414
Overview
1515
--------------------------------------------------------------------------------
1616

17-
The ADI AXIS Agent VIP uses the AMD (Xilinx) AXIS VIP at its core with added
17+
The ADI AXIS Agent VIP uses the AMD (Xilinx) AXIS VIP at its core with added
1818
sequencer, monitor and wrapper class.
1919
`[1] <https://docs.amd.com/v/u/en-US/pg277-axi4stream-vip>`__
2020

docs/testbenches/common/dependency_common.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Common with most testbenches:
33
.. list-table::
44
:widths: 30 45 25
55
:header-rows: 1
6-
6+
77
* - SV dependency name
88
- Source code link
99
- Documentation link

docs/testbenches/ip_based/util_pack/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The following parameters of this project that can be configured:
5151
.. note::
5252

5353
The max width is calculated with: CHANNELS*SAMPLES*WIDTH and it cannot
54-
exceed 2048.
54+
exceed 2048.
5555

5656
Build parameters
5757
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

docs/testbenches/project_based/ad463x/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@ The following parameters of this project that can be configured:
4848

4949
Build parameters
5050
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51-
51+
5252
The parameters mentioned above can be configured when starting the build, like in
5353
the following example:
5454

5555
.. shell::
5656
:showuser:
5757

5858
$make CLK_MODE=0 NUM_OF_SDI=2 CAPTURE_ZONE=1 DDR_EN=0
59-
59+
6060
but we recommend using the already tested build configuration modes, that can be
6161
found in the ``cfg`` section.
62-
62+
6363
Configuration files
6464
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6565

@@ -167,7 +167,7 @@ Sanity test
167167
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168168

169169
This test is used to check the communication with the AXI REGMAP module of the
170-
AD463X SPI Engine interface, by reading the core VERSION register, along with
170+
AD463X SPI Engine interface, by reading the core VERSION register, along with
171171
writing and reading the SCRATCH register.
172172

173173
FIFO SPI test
@@ -322,7 +322,7 @@ Testbench specific dependencies:
322322
.. list-table::
323323
:widths: 30 45 25
324324
:header-rows: 1
325-
325+
326326
* - SV dependency name
327327
- Source code link
328328
- Documentation link

0 commit comments

Comments
 (0)