Home > Community > Forums > Logic Design > Need help with VHDL libraries in RTL Compiler

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Need help with VHDL libraries in RTL Compiler 

Last post Thu, Dec 17 2009 9:10 AM by Mickey. 1 replies.
Started by yqzhang 16 Dec 2009 10:26 PM. Topic has 1 replies and 2128 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Dec 16 2009 10:26 PM

    • yqzhang
    • Not Ranked
    • Joined on Thu, Dec 17 2009
    • Posts 1
    • Points 20
    Need help with VHDL libraries in RTL Compiler Reply

    I have an VHDL file that I want to synthesize that starts like this:

    library ieee;

    use ieee.std_logic_1164.all;

    library grlib;(this is a library I define)

    use.grlib.amba.all;

    ...

    when I synthesize with RTL Compiler, it will give me an error like this:

    "use.grlib.amba.all", no such primary unit in library"

    how can I change the path where RTLC looks for my defined libraries?

    • Post Points: 20
  • Thu, Dec 17 2009 9:10 AM

    • Mickey
    • Top 100 Contributor
    • Joined on Mon, Oct 13 2008
    • Austin, TX
    • Posts 77
    • Points 1,315
    Re: Need help with VHDL libraries in RTL Compiler Reply

    Hello,

    There shouldn't be a '.' between use and the library name...

    incorrect -> use.grlib.amba.all;

    correct    -> use grlib.amba.all;

     Hope that helps.

     Mickey

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by yqzhang at 16 Dec 2009 10:26 PM. Topic has 1 replies.