Home > Community > Forums > Logic Design > Procedure to define a new VHDL library in RTL compiler script

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: *

 Procedure to define a new VHDL library in RTL compiler script 

Last post Wed, Mar 28 2012 6:04 AM by grasshopper. 3 replies.
Started by shustar 26 Mar 2012 07:37 AM. Topic has 3 replies and 2763 views
Page 1 of 1 (4 items)
Sort Posts:
  • Mon, Mar 26 2012 7:37 AM

    • shustar
    • Not Ranked
    • Joined on Mon, Mar 26 2012
    • Posts 2
    • Points 40
    Procedure to define a new VHDL library in RTL compiler script Reply

    Could someone please let me know the RTL complier command to define a new VHDL library? And where should the new library packages be placed? Should the be placed in the same run directory or can we include the path in the compile script?

    • Post Points: 20
  • Mon, Mar 26 2012 8:34 AM

    • grasshopper
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Chelmsford, MA
    • Posts 242
    • Points 3,205
    Re: Procedure to define a new VHDL library in RTL compiler script Reply

    Hi shustar,

    VHDL libraries do not have to be in same directory as scripts. HDL in general relies on attribute hdl_search_path when an absolute path is not provided . read_hdl -library switch which can be used to specify what library a given set of VHDL files should go to.

     gh- 

    • Post Points: 20
  • Tue, Mar 27 2012 11:00 AM

    • shustar
    • Not Ranked
    • Joined on Mon, Mar 26 2012
    • Posts 2
    • Points 40
    Re: Procedure to define a new VHDL library in RTL compiler script Reply

     thanks!

    One more question, do we need to explicitly define a new library (say newLib), or just the command "read_hdl -vhdl -library newLib" is sufficient to define the new library?

    I could not find any command for this in the RC user manual.

    -ss

     

    • Post Points: 20
  • Wed, Mar 28 2012 6:04 AM

    • grasshopper
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Chelmsford, MA
    • Posts 242
    • Points 3,205
    Re: Procedure to define a new VHDL library in RTL compiler script Reply
    Hi shustar, there is no command needed to create the libraries. -library.... infers that you need to create it if it does not exist gh-
    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by shustar at 26 Mar 2012 07:37 AM. Topic has 3 replies.