Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) Quick Start User Guide

ID 683200
日付 12/04/2018
Public

1.2. Setting Up the Environment

You must set up your simulation environment and install the OPAE software before running the ASE.
  1. Set the following environment variables for your simulation software:
    • For VCS:
      $ export VCS_HOME=<path to VCS installation directory>
      $ export PATH=$VCS_HOME/bin:$PATH

      The VCS installation directory structure is as follows:

      Make sure your system has a valid VCS license.

    • For Modelsim SE/QuestaSim:
      $ export MTI_HOME=<path to Modelsim installation directory>
      $ export PATH=$MTI_HOME/linux_x86_64/:$MTI_HOME/bin/:$PATH

      The Modelsim/Questa installation directory structure is as follows:

      Make sure your system has a valid Modelsim SE/QuestaSim license.

    • For Intel® Quartus® Prime Pro Edition:
      $ export QUARTUS_HOME=<path to Intel Quartus Prime Pro Edition installation directory>

      The Intel® Quartus® Prime installation directory structure is as follows:

  2. Export:
    $ export LM_LICENSE_FILE=<Quartus Prime License>
    
  3. Extract the runtime archive file, and install OPAE libraries, binaries, include files, and ASE libraries as described in the Installing the OPAE Software chapter of the Intel Acceleration Stack 1.2 Quick Start Guide for Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA.

Your environment must be set up correctly to configure and build an AFU. In particular, you must ensure that the OPAE SDK is properly installed. OPAE SDK scripts must be on PATH and include files and libraries must be available to the C compiler. In addition, you must ensure that the OPAE_PLATFORM_ROOT environment variable is set.

To ensure that the OPAE SDK and ASE are properly installed, in a shell, confirm that the afu_sim_setup program is found on the PATH.