k-one wrote on Nov 1st, 2007, 5:57am:Can we directly run MM20 in hspice. Sorry, I don't familiar with verilog-A
There's not a level for mm20, but you do something like:
.hdl "mos2002t.va"
x1 d g s b mos2002t vfb=-0.45 vfbd=-0.05
(This syntax is for the Verilog-A in an enhanced Spice3f5, but the syntax in HSpice is *very* similar, and I think they also support .model cards for VA.)
Verilog-A is a behavioral modeling language; you write the equations of the device in the language, and the simulator invokes a compiler and dynamically links the resulting object file.