Spice3f5

Examples

Example circuits, with commentary and results.

Circuits

Differential pair
DC transfer curve, transfer function, ac response and transient.
Cascaded RTL inverters
DC transfer curve and transient of two resistor-transistor logic inverters.
ECL-compatible Schmitt trigger
Transient response of a bipolar Schmitt trigger to a slow ramp.
RCA 3040 wideband amplifier
AC response of an 11-transistor wideband amplifier to 10GHz.
MOS operational amplifier
Transient step response of a 27-transistor MOS amplifier.
MOS memory cell
Transient of a static MOS memory cell being written and read.
MOS6 inverter chain
Four NAND-based inverter stages using the level 6 MOSFET model.
MOSFET output characteristics (BSIM4)
A family of BSIM4 drain current curves from a nested DC sweep.
A Hartley oscillator
A 2N3904 oscillator from a CDL netlist; transient start-up.
BSIM1 transfer characteristics
Drain current against gate voltage for five body biases, with a BSIM1 model from a parameter extraction program.
BSIM2 transfer characteristics
The same five-transistor test as the BSIM1 example with a BSIM2 model, swept by a slow transient ramp.

Transmission lines

Lossy transmission line
A BJT driver, a 24-inch lossy line and a diode load.
Interconnect: a 16cm line of lumped segments
A pulse through a 16cm interconnect built from lumped RLC segments.
Coupled lossy lines
A BJT driver, straight lines and a 20-inch coupled line.

Small-signal analyses

An RC and an RL network
AC analysis; phase plots with multiplot.
BJT noise
Noise analysis of a common-emitter amplifier.
Resistor noise
The thermal noise of a 1kΩ resistor, to check against the expected value.
Diode distortion
Intermodulation distortion of a diode and resistor.
Mixer distortion
Intermodulation in a differential-pair mixer.
Pole-zero analysis: high pass filter
Poles and zeros of an RC high pass filter.
Pole-zero analysis: coupled RL stages
Poles of three coupled RL stages.
Pole-zero analysis: four RL stages
Poles of four coupled high-Q RL stages.

Scripts, measurements, stepping and optimisation

Changing parameters with alter
A script that reruns an RC circuit with different resistances and sources.
Measurements with .meas
Rise time, delay, averages and the -3dB frequency of RC circuits.
Stepping with .step
An RC low pass run six times, stepping a capacitor and a .param.
Optimising with .optimise
Choosing a capacitor for a 5µs rise time.
Fitting a filter response with optimise
Fitting a Sallen-Key low pass to a Butterworth response.

The Berkeley example circuits are the examples from the Spice3f User's Manual.

This section is not written yet. It is filled in by phase 5 of the documentation plan.