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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Participant bmarsolais
Participant
7,382 Views
Registered: ‎01-16-2012

ERROR:HDLCompiler:104 - Line 65: Cannot find <aurora_720p_transceiver_aurora_pkg> in library <work>.

Jump to solution

I am doing a Aurora 8B/10B design using the version 8.3 Aurora core in CoreGen.  I am targeting a Spartan-6 150T part.  When I do a syntax check of the example design, I get the following error message: "ERROR:HDLCompiler:104 - Cannot find <aurora_pkg> in library <work>. Please ensure that the library was compiled, and that a library and a use clause are present in the VHDL file."  This is true since CoreGen generates a file named "Aurora_720p_Transceiver_aurora_pkg" appending my design name to the front of "aurora_pkg."  However, when I change the file name called out by CoreGen to "Aurora_720p_Transceiver_aurora_pkg", and add that file to the project, I still get the same error.

 

This error occurs in the top level file for the example design.  Why is the error not corrected by supplying the correct file name?

 

Thanks, Bob
0 Kudos
1 Solution

Accepted Solutions
Participant bmarsolais
Participant
11,260 Views
Registered: ‎01-16-2012

Re: ERROR:HDLCompiler:104 - Line 65: Cannot find <aurora_720p_transceiver_aurora_pkg> in library <work>.

Jump to solution

I checked the "Include as Global File in Compile List" box and still get the same error.  I then took a closer look at the package source file and found the package and body names were the default names supplied by CoreGen.  I appended the component name to the front of the default name and that solved the problem.

 

It would be nice if this was mentioned in the Xilinx documentation.  Perhaps I missed it, but I picked up from the documentation that you only need to modify the top file out of CoreGen, but you actually need to go down into the output hierarchy and modify some of the other files.  So far I have only done a syntax check.  I am about to synthesis the design and go into PlanAhead to assign pins.  Are there any other similar potholes in the road ahead as I go into simulation, etc?

 

Thanks for the suggestion.  It pushed me toward the solution.

Thanks, Bob

View solution in original post

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
7,375 Views
Registered: ‎05-14-2008

Re: ERROR:HDLCompiler:104 - Line 65: Cannot find <aurora_720p_transceiver_aurora_pkg> in library <work>.

Jump to solution

Does it work if you set aurora_720p_transceiver_aurora_pkg.vhd as global included?

 

Vivian

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 Kudos
Participant bmarsolais
Participant
11,261 Views
Registered: ‎01-16-2012

Re: ERROR:HDLCompiler:104 - Line 65: Cannot find <aurora_720p_transceiver_aurora_pkg> in library <work>.

Jump to solution

I checked the "Include as Global File in Compile List" box and still get the same error.  I then took a closer look at the package source file and found the package and body names were the default names supplied by CoreGen.  I appended the component name to the front of the default name and that solved the problem.

 

It would be nice if this was mentioned in the Xilinx documentation.  Perhaps I missed it, but I picked up from the documentation that you only need to modify the top file out of CoreGen, but you actually need to go down into the output hierarchy and modify some of the other files.  So far I have only done a syntax check.  I am about to synthesis the design and go into PlanAhead to assign pins.  Are there any other similar potholes in the road ahead as I go into simulation, etc?

 

Thanks for the suggestion.  It pushed me toward the solution.

Thanks, Bob

View solution in original post

0 Kudos
Xilinx Employee
Xilinx Employee
7,342 Views
Registered: ‎05-14-2008

Re: ERROR:HDLCompiler:104 - Line 65: Cannot find <aurora_720p_transceiver_aurora_pkg> in library <work>.

Jump to solution

I wonder if the original key problem of this issue is not the name of the file but the file not being added into project sources. Does it work if you do not change the file name and the package and body names in it but just add it into project sources?

 

Vivian

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 Kudos
Participant bmarsolais
Participant
7,334 Views
Registered: ‎01-16-2012

Re: ERROR:HDLCompiler:104 - Line 65: Cannot find <aurora_720p_transceiver_aurora_pkg> in library <work>.

Jump to solution

Yes, the syntax check passes with no errors or warning after restoring the original file, package, and body names, and performing a Project File Cleanup.  Is it correct to assume that CoreGen should have added this file to the generated project?

Thanks, Bob
0 Kudos