• 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. Custom IC Design
  3. simulating hierarchical VHDL design using AMS

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 15374
  • 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

simulating hierarchical VHDL design using AMS

Hesham2012
Hesham2012 over 12 years ago

Hi

 

I am trying to simulate a mixed signal design. The digital part is a hierarchical VHDL design. The digital desing is simulating fine with incisive.

But when I tried ams from whitin virtuoso I received all kinds of errors. I tried a flat design and it works fine. But the errors are for the heirarchical one. An example of instatnce definition I use is below:

coarse_cntr: entity work.reg

generic map(

WIDTH => COARSE_REG_WIDTH

)

port map(

arst => arst_i,

clk => clk_coarse_q,

en => en_coarse_cntr,

srst => '0',

load => '0',

incr => '1',

shift => '0',

sdi => '0',

di => (others => '0'),

sdo_q => open,

do_q => coarse_cnt_q_i

);

I added hdl.var file and added the work library in cds.lib as explained in the help, but I still get work library error:

WRKBAD: logical library name WORK is bound to a bad library name WORK

When I remove hdl.var file, I still get a lot of errors due to the statement "entity work.name"

I also noted that the hierarchy is sometimes capture by HED and sometimes not. How can I force compilation of the top module for heirarchy to appear in HED?

Please help if u've done hierarchical VHDL simulation before using AMS 

  • Cancel
Parents
  • Hesham2012
    Hesham2012 over 12 years ago
    • Regretfully, the error will back every time you start adexl! For a permanent fix, use in CIW:

    (envSetVal "adexl.gui" "disableConstraintsRead" 'boolean t)

     

    It turned out to be a bug with VHDL generate statement for IC6.1.4 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Hesham2012
    Hesham2012 over 12 years ago
    • Regretfully, the error will back every time you start adexl! For a permanent fix, use in CIW:

    (envSetVal "adexl.gui" "disableConstraintsRead" 'boolean t)

     

    It turned out to be a bug with VHDL generate statement for IC6.1.4 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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