Home > Community > Forums > Functional Verification > Error with ncvhdl on "protected" type

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

 Error with ncvhdl on "protected" type 

Last post Mon, May 7 2012 1:26 PM by TAM1. 1 replies.
Started by Swaroop87 04 Feb 2011 12:20 PM. Topic has 1 replies and 2440 views
Page 1 of 1 (2 items)
Sort Posts:
  • Fri, Feb 4 2011 12:20 PM

    • Swaroop87
    • Not Ranked
    • Joined on Fri, Feb 4 2011
    • Posts 1
    • Points 20
    Error with ncvhdl on "protected" type Reply

    Hi,

    I am using ncvhdl compiler 08.10-s019. I have been trying to simulate a package with a type that is declared as "protected" which is a part od vhdl 2002 feature. So in command line I tried simulating it as 

    ncvhdl -v200x -messages -work work const_pkg.vhd

    But i am getting this error: type RANDOM_TYPE is protected 

                                            *E,BADTYP (const_pkg.vhd,105|22): expecting a type definition [4.1] [3].


    And is my .cshrc file it is like this:

    setenv IUS /usr/local/cadence/IUS0810019

    setenv PATH $IUS/tools.lnx86/bin:$PATH

    The directories seem to be fine. It would be great if someone can help me out with this. There are many more error but all are associated with the lines where this "protected" is used.

     

            

    Filed under:
    • Post Points: 20
  • Mon, May 7 2012 1:26 PM

    • TAM1
    • Top 75 Contributor
    • Joined on Thu, Jul 17 2008
    • HOME, PA
    • Posts 83
    • Points 1,105
    Re: Error with ncvhdl on "protected" type Reply

    The 8.1 version of the software is several years old. It is likely that the "protected" keyword was not yet supported in that version.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Swaroop87 at 04 Feb 2011 12:20 PM. Topic has 1 replies.