UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 55956

Vivado - The Vivado tool is not finding the constants that are defined in a separate RTL file

Description

I have one separate file that includes all the constants used by different RTL files.

How do I source this constraint file so that all RTL files can access those constants?

Solution

To resolve this issue, follow these steps:

  1. Go to the Vivado 2013.1 tool -> open the project -> select Add Sources (as shown in the image below):
    image_1.jpg
    image_1.jpg

  2. Mark Add and create design sources -> Click Next.
  3. Click Add Files (include your file that contains all the constants). Please mark "Scan and add RTL include files into project" (see image below; this option will be available after adding the file).
    image_3.jpg
    image_3.jpg

  4. Click on Next.

 

*Note: If you have more than one file that contains constants, then please create one folder; copy all the files into that folder and add as directories in Step 3 (the remaining steps are same).  
AR# 55956
Date Created 05/10/2013
Last Updated 10/09/2013
Status Active
Type General Article
Tools
  • Vivado Design Suite