• 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. VerilogA Modelling for Skin Effect

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 13798
  • 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

VerilogA Modelling for Skin Effect

MenghanSun
MenghanSun over 6 years ago

Hi all,

I'm trying to model skin effect using VerilogA. And I got the sample from  Ken's website: https://designers-guide.org/modeling/ind.pdf

Here's the model:

`include "constants.vams"
`include "disciplines.vams"

module skin_effect(p, n);
electrical p, n;
parameter real f0=1 from (0:inf);
parameter real f1=10 from (f0:inf);
parameter real r0=1 from (0:inf);
`define lumps 100
real mult, mult2, wp, wz;
real zeros[0:2*`lumps-1], poles[0:2*`lumps-1];
integer i;
    analog begin
        @(initial_step("static")) begin
            mult = pow(f1/f0, 1.0/(4*`lumps)); //May the factor in front of lumps, we can change.
            mult2 = mult*mult;
            wz = 2*`M_PI*mult*f0;
            wp = mult2*wz;
            for (i=0; i<`lumps; i=i+1) begin
                zeros[2*i] = -wz;
                zeros[2*i+1] = 0;
                poles[2*i] = -wp;
                poles[2*i+1] = 0;
                wz = mult2 * wp;
                wp = mult2 * wz;
            end
        end
        V(p,n) <+ r0*laplace_zp(I(p,n), zeros, poles);
    end
endmodule

When I simulated this, I found that both the real and imaginary parts are cut off at around 5MHz. 

I experimented with lumps around, but still got the same cut off, any one can shine some light on this problem is greatly appreciated!

Thank you very much,

Menghan

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Menghan,

    Wouldn't it make more sense to ask this on the Designer's Guide forums (on the site where you found the paper and model)? That way, Ken can answer this himself, since it's his model.

    I'm sure with a bit of time (and knowledge of the parameters you're using on the instance - you didn't provide that) I could investigate this, but why not just ask the author instead?

    Regards,

    Andrew.

    • 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