Skip to content

AD FMCDAQ2 Platform Build HDL

nnaufel edited this page Feb 27, 2020 · 10 revisions

NOTE: Please observe which version of the iWave™ Carrier Card you have by clicking here.

Introduction

This section describes how to download the HDL design from the iWave github repository. The designs can be built by using make in a shell (Nios II™ command shell is preferred, as it is installed with the Quartus® download, and has access to its environment). The following steps describe how to do this. A specific example would be

$ make daq2.iwg24d

This will build the Platform Designer™ (formerly called QSys™) and Quartus® projects, and then generate and compile them. This approach guarantees quality of results for anyone initially working with these designs.

Building A Cloned HDL Project

Follow these steps to...

1 - Launch a Shell

  • Open the NIOS II Command Shell.




The shell will look something like this:

2 - Clone the iWave HDL repository

  • create and navigate to a selected directory where the project will be stored

      $ cd <path to AD-FMCDAQ2 project location on your machine>
      $ mkdir <AD-FMCDAQ2 projectname>
      $ cd <AD-FMCDAQ2 projectname>  
    
  • exec the clone command

    Note: Cloning the HDL project on a Windows PC requires a "git" command. If the NIOS II Command Shell does not recognize the "git" command, add "C:\Program Files\Git\cmd" to the PATH environment variable.

      $ git clone https://github.com/ArrowElectronics/hdl.git
      $ cd hdl
    
  • then do the following to update the files in the working tree for the Legacy 1.1 carrier ...

      $ git checkout R18.0_IW_LC_1.1
    
  • or do the following to update the files in the working tree for the Legacy 2.0 carrier ...

      $ git checkout R18.0_IW_LC_2.0
    
  • or do the following to update the files in the working tree for the Custom 2.0 carrier ...

      $ git checkout R18.0_IW_CC_2.0
    

3 - Execute the build

    $ make daq2.iwg24d  

The build can take a significant period of time to complete. Open and regularly refresh the daq2_iwg24d_quartus.log file in a text editor to monitor progress. This is located in the hdl/projects/daq2/iwg24d subdirectory.


Next - Build Linux / Devicetree

Return to Build the Example Design
Return to AD-FMCDAQ2 Platform User Guide

Clone this wiki locally