Main Content

Guided Hardware Setup

Select Board and Interface for Use with FPGA Verification

The guided hardware setup for FPGA and SoC boards helps you get started with FPGA-in-the-loop (FIL), FPGA data capture, or AXI manager more quickly. Before you run the guided setup, make sure you have all the required hardware ready and any required third-party tools already installed.

The guided setup starts automatically during support package download and installation. After the support package you selected is installed, you are prompted to select your board name and the interface you want to use with this board. You can select only interfaces supported by the hardware board. A PCI Express® connection is not supported on Linux®.

Note

To rerun the support package setup at any time:

On the MATLAB® Home tab, in the Environment section, select Help > Check for Updates.

Connection Requirements

The guided setup wizard displays a checklist of the hardware requirements. Confirm that you have the hardware required to complete the setup process.

Note

Do not connect to the board or turn it on until you are prompted at a later step.

Ethernet

  • FPGA or SoC development board

  • USB-JTAG cable with installed vendor software (Vivado® or Quartus®)

  • Ethernet cable

  • Dedicated Gigabit network interface card (NIC) or a USB 3.0 Gigabit Ethernet adapter dongle

  • Power supply adapter (if the board requires one)

Ethernet on Zynq SoC Board

  • Zynq® SoC board

  • Ethernet cable

  • Dedicated Gigabit NIC or a USB 3.0 Gigabit Ethernet adapter dongle

  • Memory secure digital (SD) card and SD card reader

  • Power supply adapter (if the board requires one)

JTAG

  • FPGA or SoC development board

  • USB-JTAG cable with installed vendor software (Vivado or Quartus)

  • Power supply adapter (if the board requires one)

PCI Express

HDL Verifier™ supports a PCI Express connection for Windows® operating systems only.

  • FPGA development board

  • USB-JTAG cable with installed vendor software (Vivado or Quartus)

  • A PCI Express slot and available space on the motherboard

  • Power supply adapter (if the board requires one)

Connection Setup

The guided setup wizard displays the setup steps for the selected interface. Follow these steps to set up your hardware board with the selected interface.

Ethernet

  1. Make sure that the board power switch is off during these setup steps. You are prompted to turn the power on at a later step.

  2. Connect the AC power cord to the power plug, and plug the power supply adapter cable into the hardware board.

  3. Use the crossover Ethernet cable to connect the Ethernet connector on the hardware board directly to the Ethernet adapter on your computer.

  4. Use the JTAG download cable to connect the hardware board to the computer.

  5. Make sure that all the jumpers on the hardware board are in the factory default position.

  6. Turn the power switch of the hardware board on.

Ethernet on Zynq SoC Board

  1. Make sure that the board power switch is off during these setup steps. You are prompted to turn the power on at a later step.

  2. Follow the guided setup to:

    1. Configure the network interface card in the host computer. See Configure Network Card on Host.

    2. Copy the compatible SD card image files for the hardware board to an SD card drive path. See Select a Drive and Load Firmware.

    3. Configure the jumpers on the hardware board. See Set Jumpers.

    4. Connect the hardware board. See Connect Hardware.

JTAG

  1. Make sure that the board power switch is off during these setup steps. You are prompted to turn the power on at a later step.

  2. Connect the AC power cord to the power plug, and plug the power supply adapter cable into the hardware board.

  3. Use the JTAG download cable to connect the hardware board to the computer.

  4. Make sure that all the jumpers on the hardware board are in the factory default position.

  5. Turn the power switch of the hardware board on.

PCI Express

  1. Make sure that the board power switch is off during these setup steps. You are prompted to turn the power on at a later step.

  2. Select the maximum number of PCI Express lanes that the board supports. For details, refer to the user manual for the board.

    Supported Board PCI Express SetupDocumentation
    DSP Development Kit, Stratix® V EditionSet the three switches (PCIE_PRSNT2nx1, x4, x8) in dip switch SW6 to ON. This setting selects 8-lane PCIe (default board setting).https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/stratix/v-gs.html
    Cyclone® V GT FPGA Development KitSet the two switches(PCIe_x1, x4) in dip switch SW3 to ON. This setting selects 4-lane PCIe (default board setting).https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/cyclone/v-gt.html
    Kintex®-7 KC705Set jumper J32 so that it connects pins 5 and 6. This setting selects 8-lane PCIe (default board setting).https://www.xilinx.com/products/boards-and-kits/ek-k7-kc705-g.html
    Virtex®-7 VC707 Set jumper J49 so that it connects pins 5 and 6. This setting selects 8-lane PCIe (not the default board setting).https://www.xilinx.com/products/boards-and-kits/ek-v7-vc707-g.html

  3. Turn the host computer off.

  4. Install the hardware board in a PCI Express slot inside the host computer.

    This figure shows the Stratix V board installed in a host computer. This installation applies to all supported Intel® VC boards.

    This figure shows the VC707 board installed in a host computer. The power cable is on the right. This installation applies to all supported Xilinx® boards.

  5. For Xilinx boards, plug the external power supply into the wall outlet. Then, plug the power supply adapter cable into the hardware board.

    Intel boards do not use an external power supply.

  6. Connect the JTAG cable to the hardware board and the computer. When you use a PCI Express connection, the JTAG cable is still required to program the FPGA.

  7. Turn the power switch of the hardware board on.

  8. Start up the host computer.

Configure Network Card on Host

This step is required only when you select the Ethernet interface.

If you have already configured the network card, you can skip this step.

Specify the NIC on the host computer that you want to use with the hardware board. If you have only one NIC, you must disconnect from the Internet while using the NIC. In this case, consider using a USB 3.0 Gigabit Ethernet adapter dongle. If you add a NIC or a USB 3.0 Gigabit Ethernet adapter dongle during this setup step, click Refresh to see the new hardware in the list.

Leave the IP address for the NIC as the default. Alternatively, specify the IP address in dotted quad format, for example, 192.168.0.1.

Select a Drive and Load Firmware

This step is required only when you select the Ethernet interface on a Zynq SoC board.

Next, the installer must write an FPGA image to an SD card. This FPGA image is included with the support package. The image includes the embedded software and the FPGA programming file necessary for using the hardware board as an I/O peripheral.

  1. Insert a 4 GB or larger SD card into the card reader on the host computer. The card must be in FAT32 format. Select the appropriate drive from the list. If you have already downloaded the FPGA image, skip this step.

    Unlocked SD card and reader slot

    Note

    Unlock the SD card before downloading the firmware image to the card. Keep the card unlocked while the card is in the Zynq board card reader.

  2. Write the FPGA image to the SD card. In the guided setup, select the location of the SD drive containing the card, then click Next. On the next screen, to copy the programming file from the host computer to the SD card, click Write. This process erases any existing data on the card.

PCI Express Driver Installation

This step is required only when you select the PCI Express interface.

If you have already installed the PCI Express drivers, you can skip this step.

Install the PCI Express drivers before you use FIL, FPGA data capture, or AXI manager with a PCI Express connection. This step performs the driver installation for you. The process can take 10 or more minutes to install, and might require system administrator privileges.

You can let the support package setup install the drivers now, or you can choose to perform the setup again later. To run the support package setup, on the MATLAB Home tab, in the Environment section, select Help > Check for Updates.

Set Jumpers

This step is required only when you select the Ethernet interface on a Zynq SoC board or the PCI Express interface.

Configure the jumpers on the Zynq SoC board so that you can use it as a peripheral device. These jumper settings make it so that the board starts up from the SD card. Make sure that the board is turned off.

The jumper settings are different for each board. To learn more about the jumper settings on the supported Zynq SoC boards, see Set Jumper Switches (HDL Verifier Support Package for Xilinx FPGA Boards).

Connect Hardware

This step is required only when you select the Ethernet interface on a Zynq SoC board.

Follow these instructions for connecting the hardware. The guided setup wizard provides labeled pictures of the steps for each board. See Connect Hardware (HDL Verifier Support Package for Xilinx FPGA Boards).

  1. Remove the SD card from the host computer and insert it into the hardware board.

  2. Connect an Ethernet cable to the board. Connect the other end of the Ethernet cable to the selected NIC.

  3. Connect the power cable.

  4. Turn the power on.

Verify Setup

You can verify the hardware setup for Ethernet and JTAG connections. This step runs the tests to verify the connection between the host computer and the hardware board. Before you run the test, make sure that:

  1. You have installed the appropriate vendor tool and that the tool is on the MATLAB path. See Set Up FPGA Design Software Tools.

  2. The board is turned on.

This step runs the following tests to verify the connection for the selected interface.

Ethernet

  1. Generate an FPGA programming file for your hardware board.

  2. Program the FPGA.

  3. Detect Ethernet connection.

Ethernet on Zynq SoC Board

  1. Verify the IP address configuration on the host computer.

  2. Verify the Ethernet connection between the host computer and the hardware board.

  3. Read and write the memory locations on the hardware board using AXI manager.

JTAG

  1. Generate an FPGA programming file for your board.

  2. Program the FPGA.

  3. Perform a FIL cosimulation with your board.

If the connection is not successful, the most common reasons are that the board is not connected properly or it is not turned on. Check the cable connections and power switch and try again.

Open the Example

When the installer completes your hardware setup, you can exit the installer or open the examples to get started.

Related Topics