• 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. Working with WREAL inout ports

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 16235
  • 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

Working with WREAL inout ports

jdimov
jdimov over 9 years ago

Hi,

I am trying to model a low pass filter in a charge-pump PLL and I'm trying to make that model a wreal model.
The issue that I'm facing is that my input is current driven, my output is a voltage, and all that is actually designed with an INOUT port.
Assuming that I can't change the port type or split the port into one that's input and other that is output - is there a way to actually define an inout port that would operate with two different types of values?

Is it possible to define custom discipline named (for example) ivreal and a connect module that would somehow describe both current and voltage of that ivreal port ? (for clearance sake, I am just familiar with verilog, verilog a/ms, still a novice... )

  • Cancel
Parents
  • jdimov
    jdimov over 9 years ago
    Ok thinking things through here and reading my opening post, I think I sprouted some nonsense in here...

    But I'd love if someone could confirm this to me:
    from a programmer's point of view what I suggested was:
    ...
    inout vctrl;
    real vctrl_r;
    always @ some trigger begin
    something happens and vctrl_r = something new;
    end
    assign vctrl = vctrl_r;
    ...

    Thinking about connect modules and somehow differentiating currents and voltages of the same inout vctrl seemed possible at some point, but it ain't logical ... right?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jdimov
    jdimov over 9 years ago
    Ok thinking things through here and reading my opening post, I think I sprouted some nonsense in here...

    But I'd love if someone could confirm this to me:
    from a programmer's point of view what I suggested was:
    ...
    inout vctrl;
    real vctrl_r;
    always @ some trigger begin
    something happens and vctrl_r = something new;
    end
    assign vctrl = vctrl_r;
    ...

    Thinking about connect modules and somehow differentiating currents and voltages of the same inout vctrl seemed possible at some point, but it ain't logical ... right?
    • 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