HI All,
I have a need to create a verilog-A model for a diode which serves the following purpose.
Referring to attachment:
Need to measure the current I(DP,DN) i.e. the leakage current through a diode (in RB mode) and measure the cap associated with netA.Then multiply the obtained I and C with a factor say 'M' and provide it to same netA.
Could anyone please help me in achieving this task.
People do model diodes with veriloga (for example I
am aware of folks supplementing PDK diode models
with private veriloga ones that do a better job of
temperature:Vf fitting than the sloppy foundry PDK
model ("it's just an ESD element" except to the poor
bastage trying to do a bandgap cell in a digital flow).
A key question is whether this all has to match some
specific reality, or just demonstrate this function one
time. Because it ought to be pretty easy to put the
simple diode equation into a two terminal veriloga
module - but getting it to match a real diode's real
electrical behaviors in all details, would be a lot more
work (needing a lot more data and material and effort).