Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17252 Discussions

Instance instantiates undefined entity

Altera_Forum
Honored Contributor II
2,463 Views

I have a project using the VIP scaler II. I am able to build it using the Quartus 11.1sp2 GUI on Ubuntu Server 11.04 64bit. The GUI build runs fine, but a command line build errors out during map with several errors all surrounding the scaler II IP: 

 

Error (12006): Node instance "video_in" instantiates undefined entity "alt_vip_video_input_bridge" File: /var/tmp/build/vpb_0703121305/alt_vip_cl_scl_0002.v Line: 517  

 

I have the following in my bashrc: 

 

ALTERA_VERSION="11.1" QUARTUS="/opt/altera/$ALTERA_VERSION/quartus/bin" QUARTUS_ROOTDIR_OVERRIDE="/opt/altera/$ALTERA_VERSION/quartus" SOPC_BUILDER="$QUARTUS_ROOTDIR/sopc_builder/bin" SOPC_KIT_NIOS2="/opt/altera/$ALTERA_VERSION/nios2eds" QUARTUS_64BIT=1 export LM_LICENSE_FILE export QUARTUS export QUARTUS_ROOTDIR export SOPC_BUILDER export SOPC_KIT_NIOS2 export QUARTUS_64BIT export PATH="$PATH:$QUARTUS:$SOPC_BUILDER:$SOPC_KIT_NIOS2/bin"  

 

I must be missing a link to a library that the GUI is using. Anybody have any ideas?
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
1,337 Views

is an x display present when doing the command line build? or are you just ssh'd into the box?

0 Kudos
Altera_Forum
Honored Contributor II
1,337 Views

I'm using X forwarding over SSH.

0 Kudos
Altera_Forum
Honored Contributor II
1,337 Views

i am not sure if that is sufficient to satisfy java's requirement for the presence of an xdisplay. It may be, but i am not sure. A bunch of the ip generation tools are written in java, including qsys.  

 

generally, what i do when running over a shell is setup a vnc session locally
0 Kudos
Altera_Forum
Honored Contributor II
1,337 Views

It should be okay. I've had this working in version 10.1sp1 but I've recently migrated to 11.1sp2 with the intention of migrating the design to Qsys afterwards. 

 

I think I figured out what was going on. I have a makefile copy my project files and source to a new folder under /var/tmp/<user>/ and automatically update a revision register before kicking off the build. Apparently, Quartus stores your IP search path under /home/<user>/.altera.quartus/ip/<quartus version>/ip_search_path/user_components.ipx. Note the <quartus version> folder. Having just migrated to 11.1sp1, my search path wasn't stored there. Now, that doesn't explain why it bombed on synthesis of the scaler II, but I did just migrate from scaler I to scaler II, so I have multiple things going on. 

 

The other issue is that we have all the project files and source stored in SVN. We occasionally build the project in Windoze depending on who does it. 

 

We'll see how this build pans out.
0 Kudos
Altera_Forum
Honored Contributor II
1,337 Views

Same thing.  

 

Local command line builds under my project directory work fine, but the makefile builds that copy the project files and source are now bombing out on the scaler II modules. The only way I'm finding around it is to rerun sopc_builder in the new directory under /var/tmp. However, running it with --generate appears to complete fine, but it exits with an error so my makefile stops after that.
0 Kudos
Reply