You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/doc/how_to_start.rst
+17-14Lines changed: 17 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,14 +28,14 @@ List of make parameters:
28
28
29
29
- ``PCIE_CONF`` -- Allows you to set the PCIe configuration, for example: ``make PCIE_CONF=1xGen4x16``. More information can be found in the :ref:`documentation of the PCIe module <ndk_pcie_mod>`.
30
30
- ``DMA_TYPE`` -- Allows you to select the DMA controller, for example ``make DMA_TYPE=4``. More information and allowed values can be found in the :ref:`documentation of the DMA module <ndk_dma>`.
31
-
- ``BOARD_REV`` -- Allows you to set the board revision number, for correct firmware settings. This parameter is not available for all FPGA cards. You can find the allowed values in the NDK documentation for the specific card.
31
+
- ``BOARD_VARIANT`` -- Allows you to set the board variant number, for correct firmware settings. This parameter is not available for all FPGA cards. You can find the allowed values in the NDK documentation for the specific card (for example Bittware IA-440i). Alternatively, it may also encounter a similar parameter ``BOARD_REV``.
32
32
33
33
How to prepare the FPGA card and the host PC
34
34
============================================
35
35
36
36
- The target FPGA card may require proper switch settings. Check the card manufacturer's instructions.
37
37
- Plug the target FPGA card into the PCIe slot of the host PC.
38
-
- Install `the NDK drivers and tools <https://github.com/CESNET/ndk-sw>`_ on the host PC. `The pre-built .rpm and .deb packages can be found here <https://github.com/CESNET/ndk-sw/releases>`_.
38
+
- Install `the NDK drivers and tools <https://github.com/CESNET/ndk-sw>`_ on the host PC. The RPM packages are available in `the NDK Copr repository <https://copr.fedorainfracloud.org/coprs/g/CESNET/nfb-framework/>`_. Alternatively, `the pre-built .rpm and .deb packages can be found here <https://github.com/CESNET/ndk-sw/releases>`_.
39
39
40
40
.. WARNING::
41
41
The FPGA card and its firmware are designed for a specific PCIe generation and a specific number of PCIe lines. If you plug an FPGA card into a slot that does not support such PCIe configuration, you may experience slower data transfer over the PCIe interface or a general malfunction.
@@ -66,24 +66,27 @@ The NDK platform uses the `nfb-info tool <https://cesnet.github.io/ndk-sw/tools/
66
66
--------------------------------------- Board info ----
67
67
Board name : COMBO-GENERIC
68
68
Serial number : 0
69
-
Network interfaces : 2
69
+
Network interfaces : 1
70
70
------------------------------------ Firmware info ----
71
-
Card name : N6010
71
+
Card name : IA-440I-VAR1
72
72
Project name : NDK_MINIMAL
73
-
Project variant : 100G2
74
-
Project version : 0.5.8
75
-
Built at : 2024-02-07 08:45:45
76
-
Build tool : Quartus Version 22.4.0 Build 94 12/07/2022 SC Pro Edition
Copy file name to clipboardExpand all lines: core/doc/testing.rst
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,16 +21,18 @@ Testing R/W access to the scratch registers
21
21
22
22
The NDK firmware implements 64 32-bit scratch registers for testing purposes. Like other parts of the firmware, they are accessible via the :ref:`MI bus <ndk_mi>`. This address space is (among other things) stored in the :ref:`DeviceTree <ndk_devtree>`. The `nfb-bus tool <https://cesnet.github.io/ndk-sw/tools/nfb-bus.html>`_ can be used for easy R/W access to any register in the firmware that is mapped to the MI bus. The following example shows how to:
23
23
24
+
- obtain or verify the DeviceTree path of the MI TEST SPACE component in the firmware
24
25
- read the first scratch register (the offset is 0x0 in the byte format) in the MI TEST SPACE component (selected using the DeviceTree path),
You can test R/W requests to the NDK firmware address space of these scratch registers however you want. Similarly, in the future, you can access the registers in your own application that you build on the NDK platform.
0 commit comments