• 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. Mixed-Signal Design
  3. bidirectional wreal modeling (resistor in wreal)

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 65
  • Views 22473
  • 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

bidirectional wreal modeling (resistor in wreal)

freitas
freitas over 12 years ago

Hello,

I'd like to model a resistor in verilog ams using wreal. That is, I need the equivalent of the "tran" primitive that exists in vanilla verilog.

module res (p,n);

inout p,n;

 //need a model here, something like tran t1(p,n)

endmodule 

I've tried to check the inouts for the `wrealZState to determine what port is actually actually driving and set the signal direction accordingly but I couldn't get good simulation results.

Has anyone already solved this problem?

Cheers 

  • Cancel
Parents
  • freitas
    freitas over 12 years ago

    I appologize. I guess we should start a AMS Verification forum, everytime I want to post something I am not sure were to place it.

    As for the resistor, all I needed was a wreal bidir net. Problem solved! I do have a continuous time view of that cell which is a conservative resistor model but sometimes I want to switch my system to discrete time (event driven) to speed up simulation. A bidir net does not care if the information (real number)  is a potential or a flow.

    Anyways, thanks!

     Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • freitas
    freitas over 12 years ago

    I appologize. I guess we should start a AMS Verification forum, everytime I want to post something I am not sure were to place it.

    As for the resistor, all I needed was a wreal bidir net. Problem solved! I do have a continuous time view of that cell which is a conservative resistor model but sometimes I want to switch my system to discrete time (event driven) to speed up simulation. A bidir net does not care if the information (real number)  is a potential or a flow.

    Anyways, thanks!

     Regards

    • 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