Home > Community > Forums > Functional Verification > *E,MULTPK, packages, irun and -makelib

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

 *E,MULTPK, packages, irun and -makelib 

Last post Tue, Feb 28 2012 1:06 PM by jdbg. 0 replies.
Started by jdbg 28 Feb 2012 01:06 PM. Topic has 0 replies and 2769 views
Page 1 of 1 (1 items)
Sort Posts:
  • Tue, Feb 28 2012 1:06 PM

    • jdbg
    • Not Ranked
    • Joined on Tue, Feb 28 2012
    • Posts 1
    • Points 5
    *E,MULTPK, packages, irun and -makelib Reply

    I am trying to simulate a design with multiple megawizard blocks generated by the Altera Quartus tools.  I am hoping to use the "-makelib/-endlib" options in irun to specify all of the files for each megawizard.  However, I have run into a problem with packages.  In this case, I have 2 megawizard directories that both have a file "altera_xcvr_functions.sv" containing packages used by other files in their respective directories.  A simplified argument list is shown below.  Both file1.sv and file2.sv do an "import altera_xcvr_functions::*;"

     -makelib nclib_dir1

    dir1/altera_xcvr_functions.sv

    dir1/file1.sv

    -endlib

    -makelib nclib_dir2

    dir2/altera_xcvr_functions.sv

    dir2/file2.sv

    -endlib

     

    When I try this, I get an error *E,MULTPK...Multiple (2) packages named "altera_xcvr_functions" were found in searched libraries:

    -> found verilog_package nclib_dir1.altera_xcvr_functions:sv

    -> found verilog_package nclib_dir2.altera_xcvr_functions:sv

     

    Is there a way to keep the packages read in within a "-makelib/-endlib" pair local to just that library, and not visible outside of it?

    I am using Incisive 11.10-p001.

    • Post Points: 5
Page 1 of 1 (1 items)
Sort Posts:
Started by jdbg at 28 Feb 2012 01:06 PM. Topic has 0 replies.