• 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. Adding wreal input and output bus in verilog-AMS

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 15026
  • 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

Adding wreal input and output bus in verilog-AMS

RFStuff
RFStuff over 4 years ago

Dear All,

I need to add wreal input and output bus to a model code written already in VerilogAMS.

I tried to add wreal input/output port like "output wreal [4:0] data_out". But this gives error during compilation.

Is there anyways I can achieve the above ?

Kind Regards,

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    See VerilogAMS wreal vectors and arrays . You can use this instead:

    output wreal data_out[4:0];

    Whilst I found a few discussions about it, I haven't seen any plans to add support to the "before" approach that is in the Verilog AMS LRM. However, practically the "after" approach works...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 4 years ago in reply to Andrew Beckett

    Dear Andrew,

    Thanks a lot. Could you please little bit more clear about before approach and approach you have talked about.

    Kind Regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 4 years ago in reply to RFStuff

    Did you read the information at the link that Andrew mentioned? I find that pretty clear and detailed.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to Frank Wiedmann

    Thanks Frank. Indeed the "before" and "after" terms are simply referring to things mentioned in the linked article.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • RFStuff
    RFStuff over 4 years ago in reply to Andrew Beckett

    Thanks Andrew and Frank.

    I went through the doc. and  the terms are clearly explained.

    • 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