Table of Contents |
---|
...
Library Name | Path in Vitis | Path in Github |
---|---|---|
Xilfpga | <Vitis Install Directory>/data/embedded/lib/sw_services/xilfpga_v6_56 | https://github.com/Xilinx/embeddedsw/tree/master/lib/sw_services/xilfpga |
...
Note: The .yaml(in data folder) and CMakeLists.txt(in src folder) files would be used in the System Device-tree based flow.
Library Implementation
For a full list of features supported by this library, please refer to the xilfpga Doc
...
Known Issues and Limitations
Example Applications
Refer to the driver examples directory for various example applications that exercise the different features of the driver.
Each application is linked in the table below. The following sections describe the usage and expected output of the various applications.
These example applications can be imported into the Vitis IDE from the Board Support Package settings tab.
Links to Examples
Examples Path: https://github.com/Xilinx/embeddedsw/tree/master/lib/sw_services/xilfpga/examples
Test Name | Example Source | Description |
---|---|---|
Full Bitstream/PDI loading | xfpga_load_bitstream_example.c | Transfer the user provided Full Reconfiguration Bitstream into the PL. |
Partial Bitstream/PDI loading | xfpga_partialbitstream_load_example.c | Transfer the user provided Partial Reconfiguration Bitstream into the PL region |
Readback of configuration registers | xfpga_reg_readback_example.c | This example prints out the values of all the configuration registers related to FPGA |
Readback of configuration Data | xfpga_readback_example.c | This example prints out the fpga configuration data |
Example Application Usage
Full Bitstream/PDI loading
Transfer the user provided Full Reconfiguration Bitstream into the PL.
Expected Output
Code Block | ||
---|---|---|
| ||
Loading Bitstream for DDR location :0x80000 Trying to configure the PL ...... PL Configuration done successfully |
Partial Bitstream/PDI loading
Transfer the user provided Partial Reconfiguration Bitstream into the PL Region.
Expected Output
Code Block | ||
---|---|---|
| ||
Loading Partial Reconfiguration Bitstream from DDR location :0x80000 Trying to configure Partial Reconfiguration Bitstream into the PL ...... Partial Reconfiguration Bitstream loaded into the PL successfully |
Readback of configuration registers
This example prints out the values of all the configuration registers related to FPGA
Expected Output
Code Block | ||
---|---|---|
| ||
Register Read back example Value of the Configuration Registers. CRC -> 0 FAR -> 7fc0000 FDRI -> 0 FDRO -> effffffe CMD -> d CTRL0 -> 101 MASK -> 0 STAT -> 16907ffc LOUT -> 0 COR0 -> 38003fe5 MFWR -> 0 CBC -> 0 IDCODE -> 1484a093 AXSS -> 0 COR1 -> 400000 WBSTR -> 0 TIMER -> 0 BOOTSTS -> 1 CTRL1 -> 0 Successfully ran Register Read back example |
Readback of configuration Data
This example prints out the fpga configuration data.
Expected Output
Code Block | ||
---|---|---|
| ||
FPGA Configuration data Read back example 0000 00000 00000 0000 0000 .... ..... ..... .... .... .... ..... ..... .... .... .... ..... .... .... .... Successfully ran FPGA Configuration Read back example |
Performance
- N/A
ChangeLog
- 2024.1
- 2023.2
- 2023.1
- 2022.1
- 2022.1
- 2021.2
- 2021.1
- 2020.2
- 2020.1
- 2019.2
- 2019.1
- 2018.3
- 2018.2
- 2018.1
- 2017.4
- 2017.3
- 2017.2
- 2017.1
- 2016.4
- 2016.3