
WRspice-3.x MOS level=54 (BSIM4.3.0) Benchmarks

This is a re-working of the benchmark files distributed from UC
Berkeley with the BSIM4.3.0 MOSFET model.

----------------------------------------------------------------------------
wrsice-3.0.1 update

The _ibm files described below have been modified so as to not require
explicitly setting the dollarcmt and norandom variables.

1)  The new "H" option was added to the .inc lines that bring in the
    IBM models ( ".inc h path_to_models" ).  The "H" option causes the
    dollarcmt variable to be effectively set while reading the
    included file(s), thus allowing recognition of the HSPICE '$'
    comments in the IBM model files.

2)  The new keyword ".norandom" was added to these files.  This
    effectively sets the norandom variable as the circuit is being
    sourced.

    The IBM model files contain a number of parameter definitions of
    the form ".param p1 = 'agauss(...)'.  In WRspice, the agauss
    function and some others return a random number, except when 1)
    not doing Monte Carlo analysis and 2) when norandom is set. In
    this case, they return the mean value.  Unless we are doing some
    kind of Monte Carlo or other statistical analysis, we want IBM's
    models to be initialized with well-defined values, which is
    guaranteed by including the .norandom keyword.

These files require wrspice-3.0.1 or later.
----------------------------------------------------------------------------
wrsice-3.0.3 update

The .norandom keyword was a bad idea and has been removed from WRspice
and the IBM test files here.  The gauss, etc.  functions are now disabled
by default (except in Monte Carlo analysis).  There is a "random"
variable which will enable these functions if needed.

To use the present files with WRspice 3.0.1 or 3.0.2, give "set
norandom" before loading the files, this needs to be done once only.

All these files will directly work in 3.0.3 and later.
----------------------------------------------------------------------------

In addition to the UCB example models, the source files have been
duplicated to use the IBM_9SF PDK HSPICE models.  These input files
are given an "_ibm" filename component.  To run these files, you will
have to modify them to call the correct location for the HSPICE model
files on your system.  Note that these files take much longer to load,
since IBM's wrapper contains about 8000 parameter definitions that
must be processed.  Also, to read the IBM HSPICE models, the following
variables must be set (as booleans) in WRspice before the models are
referenced:

"set dollarcmt"
"set norandom"

Setting the first variable allows the "$" comment syntax used in HSPICE
to be recognized.  In WRspice, "$" generally triggers shell
substitution, so the HSPICE comments can't be simultaneously supported.

The second variable, suppresses the random number generation from the
HSPICE-compatible "Monte Carlo" functions used in the library.

The IBM input files require WRspice-3.0.0 or later.

The WRspice input files are those with a ".b4" suffix.  These will run
automatically when sourced, producing a plot window.

The ".out" files are the original print data files from Berkeley, and
correspond to the Berkeley input files.  The "raw" files contain the
same data, they were produced with the "printtoraw" program in the
WRspice package.  These can be loaded into WRspice and plotted.

