• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. Weird error in ncvhdl

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 66
  • Views 14614
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Weird error in ncvhdl

sebgimi
sebgimi over 11 years ago

Hi all,

I got error since I use env.cmd file and setenv commands. Below, this is what the compiler show me:

../RTL/analog_mux2_ent.vhdl:
             S  : in real_vector (2**INPUTS_SEL-1 downto 0);
                               |
ncvhdl_p: *E,IDENTU (../RTL/analog_mux2_ent.vhdl,12|24): identifier (REAL_VECTOR) is not declared [10.3].
        errors: 1, warnings: 0

With real type I've gor no error, but with real_vector I've got this error. Can you help please ?

  • Cancel
  • StephenH
    StephenH over 11 years ago

     You didn't say what your compilation command is, so I can only guess that you forgot the -v200x option. By default, ncvhdl expects VHDL87 code, so for the real_vector support you have to specifically enable compilation with support for the IEEE Std 1076-2008 standard which defines real_vector.

    More information can be found by runnning the "cdnshelp" application and searching in its GUI for "real_vector" - the first hit takes you to the relevant information including some examples and the compiler option.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sebgimi
    sebgimi over 11 years ago

    You're right, the -v200x command solve the problem. Even though I've already used real_vector successfully without the command -v200x... 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • muffi
    muffi over 11 years ago

    sebgimi said:

    You're right, the -v200x command solve the problem. Even though I've already used real_vector successfully without the command -v200x... 

     

    Probably you were compiling with the -ams switch. The REAL_VECTOR type was initially part of the IEEE LRM for VHDL with AMS extensions (1076.1-1999) standard. For a pure digital design you need to use -v200x switch.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ttran0671
    ttran0671 over 11 years ago

     Hi Stephan,

       I got the same error when I did  VHDLin from CIW guide, I tried to specify this in the compiler option -v200x but it did not work.

    How do I specify this in  cdsenv or .cdsinit?

     

    Thanks in Advance

    Alan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information