SDAA427 July   2026 AFE7900 , AFE7901 , AFE7903 , AFE7906 , AFE7950 , AFE7950-SP , AFE7951 , AFE7953 , AFE7954 , AFE7955 , AFE7958

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Linux Kernel Driver
    1. 2.1 Linux Kernel Driver using PetaLinux Tools
    2. 2.2 Linux Kernel Driver Using Yocto Project
      1. 2.2.1 Overview of the Yocto Project
      2. 2.2.2 Host System Requirements
      3. 2.2.3 Setting Up a Yocto Build Environment
      4. 2.2.4 Configuring Board Specific Layers
      5. 2.2.5 Integrating the AFE79xx Yocto Layer
      6. 2.2.6 Verifying the Integration
      7. 2.2.7 Troubleshooting
    3. 2.3 Preparing Linux Boot Images
    4. 2.4 Operating the AFE79xx Device from User Space
  6. 3Building the AFE79xx SDK in Application Layer
    1. 3.1 Building Linux Kernel Without AFE79xx SDK using PetaLinux Tools
    2. 3.2 Integrating SPI with AFE79xx in User Space
  7. 4Reference Design for ZCU102 FPGA with Processor and SPI
    1. 4.1 Configuring the Zynq Processor
    2. 4.2 Configuring the SPI Interface
    3. 4.3 Generating Hardware Description
    4. 4.4 Booting ZCU102 Board with SD Card
  8. 5Summary
  9. 6References

Generating Hardware Description

This section describes how to generate and export the hardware description file (.xsa) and FPGA bitstream (.bit) from the completed Vivado design.

Follow these steps:

Step 1: Run Synthesis. Open Synthesized design after completion.

Step 2: Go to Window -> IO Ports and assign required IO port pins to SPI lines.

 SPI I/O ConfigFigure 4-7 SPI I/O Config

I/O mapping for AFE79xx EVM given below (For J4 HPC1 FMC connector on ZCU102).

Step 3: Click on Generate bitstream.

Step 4: Click on File > Export and select Export Hardware. This generates the .xsa file.

Step 5: Click on File > Export and select Export bitstream file. This generates the .bit file.

This completes the hardware design phase. The Zynq reference design with SPI interface has been exported from Vivado, generating the hardware description (.xsa) and bitstream (.bit) files required for the subsequent Linux kernel build and driver integration.