Re: SPICE compatibility issues

From: Marq Kole <marq.kole_at_.....>
Date: Mon Aug 15 2005 - 06:02:37 PDT
Geoffrey,

As the text in annex E explains there is no generic models of a diode, 
BJT, or MOSFET - these all rely on a built-in model of for instance a BSIM 
4.0 modelled device. As a number of these models are already available in 
Verilog-A it is rather a matter of how to to actually use such modules in 
a way that makes the structural Verilog-A describe something similar to a 
SPICE netlist.

The current list of primitives is collected in the master include file 
shown below:

// Spice primitives
// Verilog-AMS LRM 2.0 Annex E "SPICE compatibility"

`ifdef PRIMITIVES_VA
`else
`define PRIMITIVES_VA 1

`include "resistor.va"
`include "conductor.va"
`include "capacitor.va"
`include "inductor.va"

`include "vccs.va"
`include "vcvs.va"

`include "vexp.va"
`include "vpulse.va"
`include "vpwl.va"
`include "vsine.va"

`include "iexp.va"
`include "ipulse.va"
`include "ipwl.va"
`include "isine.va"

`endif // PRIMITIVES_VA


Marq Kole
Competence Leader Analog Simulation, Philips ED&T

geoffrey.coram@analog.com wrote on 22-07-2005 17:09:08:
> Marq -
> When you write "Verilog-A versions of all primitives in table E.1"
> does this mean, after the removal of the names diode, bjt, etc.?
> Or have you also written basic models for these devices?
> 
> There are a few instances in Verilog LRMs (1364, SV, etc.) of
> code being included, sometimes C code for implementation of
> random functions, or examples.  I would certainly support the
> inclusion of the basic primitives as examples, for the
> educational aspect as well as for having V-A versions for
> simulators that don't have a certain primitive.
> 
> -Geoffrey
Received on Mon Aug 15 06:04:57 2005

This archive was generated by hypermail 2.1.8 : Mon Aug 15 2005 - 06:06:47 PDT