• Analog Custom Design & Analysis Examples

    Analog Custom Design & Analysis Examples

001_JavaScript : Vector Measurement using JavaScript

Requires: SmartSpice

Minimum Versions: SmartSpice 4.31.17.C

The SmartSpice application allows scripting of tasks in a control block of a SmartSpice input deck together with a JavaScript block:

.JS_BEGIN <code lines> .JS_END

In this particular example we take a "long-tail-pair" bipolar circuit and simulate this circuit and save some vectors vectors. We then use the JavaScript functionality to extract some measurement results from the transient simulation vectors and print these results in the output log file of SmartSpice.

To run the simulation:

  • 1. Source the input deck “MeasTest.in” in smartspice and it will run automatically in the GUI.
  • 2. You will see in the output window the extracted information. You can then save this log file.

This can be used as a template to do more elaborate post processing analysis on SmartSpice simulation data. Syntax details can be found in the SmartSpice User’s Manual Chapter 3.13

Input Files
Graphics
Copyright © 1984 - Silvaco, Inc. All Rights Reserved. | Privacy Policy