• 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. Verilog-AMS Bias Current Modelling

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 64
  • Views 18349
  • 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

Verilog-AMS Bias Current Modelling

shalem7
shalem7 over 12 years ago

Hi All,

I need to model a verilog-ams bias current model.

I had coded in this way,

I(out) <+ 1uA.

In TB i put V(out) <+I(out)/R_LAOD.

This worked fine at module level.

Does this way of model works when the module connects with a SPICE block where the current is begin sinked.

Is this the correct way to model the bias current in verilog AMS.

Please provide your inputs to code the BIAS currents properly.

Thanks,

Shalem

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Shalem,

    I don't think you've given enough details to go on, really. Please elaborate if you want an answer - I couldn't quite work out what you're asking (or even quite what you've implemented). Perhaps some pictures might help?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shalem7
    shalem7 over 12 years ago

    I have BIAS block and LDO Block.

    BIAS sources 1uA current and LDO sinks the same 1uA current.

     

    BIAS block code:

    Module BIAS_Block(en,supply,bias);

    Input en,supply;

    Inout BIAS;

    Electrical supply,bias;

    Logic en;

    Analog begin

    If(en==1’b1) begin

    I(bias) <+ 1e-6;

    End

    else begin

    I(bias) <+ 0.0;

    End

    Endmodule

     

    LDO block code:

    Module LDO_Block(ldo_en,bias,supply,ldo_out);

    Input ldo_en,supply;

    Inout ldo_out,bias;

    Electrical supply,ldo_out,bias;

    Logic ldo_en;

    Real R_load=5K;

    Analog begin

    V(bias) <+ I(bias)*R_load; //If i do not limit the bias pin voltage,then V(bias) is going to much higher values which is not desirable.

    If(ldo_en==1’b1 && I(bias)>0.8e-6) begin

    V(ldo_out) <+ 1.8;

    End

    else begin

    V(ldo_out) <+ 0.0;

    End

    End

    Endmodule

    Now I want to replace the LDO block with SPICE instead of v-ams.

    In this case does the MOS in LDO block sinking the 1uA bias current limits the voltage of bias pin.

    • bias_vams.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    I see no reason why this should be an issue.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shalem7
    shalem7 over 12 years ago

    Thanks Andrew,

    I haven't tried to replace it with SPICE because we are at initial phase of developing the VAMS Models.

    Once i try it and will post my findings for any issues and concerns.

    Thanks,

    Shalem

    • 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