A newer version of this document is available. Customers should click here to go to the newest version.
1. FPGA AI Suite SoC Design Example User Guide
2. About the SoC Design Example
3. FPGA AI Suite SoC Design Example Quick Start Tutorial
4. FPGA AI Suite SoC Design Example Run Process
5. FPGA AI Suite SoC Design Example Build Process
6. FPGA AI Suite SoC Design Example Quartus® Prime System Architecture
7. FPGA AI Suite Soc Design Example Software Components
8. Streaming-to-Memory (S2M) Streaming Demonstration
A. FPGA AI Suite SoC Design Example User Guide Archives
B. FPGA AI Suite SoC Design Example User Guide Document Revision History
3.1. Initial Setup
3.2. Initializing a Work Directory
3.3. (Optional) Create an SD Card Image (.wic)
3.4. Writing the SD Card Image (.wic) to an SD Card
3.5. Preparing SoC FPGA Development Kits for the FPGA AI Suite SoC Design Example
3.6. Adding Compiled Graphs (AOT files) to the SD Card
3.7. Verifying FPGA Device Drivers
3.8. Running the Demonstration Applications
7.1.1. Yocto Recipe: recipes-core/images/coredla-image.bb
7.1.2. Yocto Recipe: recipes-bsp/u-boot/u-boot-socfpga_%.bbappend
7.1.3. Yocto Recipe: recipes-drivers/msgdma-userio/msgdma-userio.bb
7.1.4. Yocto Recipe: recipes-drivers/uio-devices/uio-devices.bb
7.1.5. Yocto Recipe: recipes-kernel/linux/linux-socfpga-lts_5.15.bbappend
7.1.6. Yocto Recipe: wic
3.5.3. Configuring the SoC FPGA Development Kit UART Connection
The SoC FPGA development kit boards have USB-to-serial converters that allows the host computer to see the board as a virtual serial port:
- The Arria® 10 SX SoC FPGA Development Kit has a FTDI USB-to-serial converter chip.
- The Agilex™ 7 FPGA I-Series Transceiver-SoC Development Kit has a USB-to-serial converter on the IO48 daughter card.
Ubuntu, Red Hat Enterprise Linux, and other modern Linux distributions have built-in drivers for the FTDI USB-to-serial converter chip, so no driver installation is necessary on those platforms.
On Microsoft* Windows*, the Windows SoC EDS installer automatically installs the necessary drivers. For details, see the SoC GSRD for your SoC FPGA development kit at the following URL: https://www.rocketboards.org/foswiki/Documentation/GSRD
The serial communication parameters are as follows:
- Baud rate: 115200
- Parity: None
- Flow control: None
- Stop bits: 1
On Windows, you can use utilities such as TeraTerm or PuTTY to connect the board. You can configure these utilities from their tool menus.
On Linux, you can use the Minicom utility. Configure the Minicom utility as follows:
- Determine the device name associated with the virtual serial port on your host development system. The virtual serial port is typically named /dev/ttyUSB0.
- Before connecting the mini USB cable to the SoC FPGA development kit, determine which USB serial devices are installed with the following command:
ls /dev/ttyUSB*
- Connect the mini USB cable from the SoC FPGA development kit to the host development system.
- Confirm the new device connection with the ls command again:
ls /dev/ttyUSB*
- Before connecting the mini USB cable to the SoC FPGA development kit, determine which USB serial devices are installed with the following command:
- If you do not have the Minicom application installed on the host development system, install it now.
- OnRed Hat* Enterprise Linux* 8: sudo yum install minicom
- On Ubuntu*: use sudo apt-get install minicom
- Configure Minicom as follows:
- Start Minicom:
sudo minicom -s
- Under Serial Port Setup choose the following:
- Serial Device: /dev/ttyUSB0 (Change this value to match the system value that you found earlier, if needed)
- Bps/Par/Bits: 115200 8N1
- Hardware Flow Control: No
- Software Flow Control: No
- Select Save Setup as dfl to save the default setup. Then select Exit.
- Start Minicom: