next up previous contents index
Next: How to Build a Up: Creating Loadable Modules from Previous: How It Works   Contents   Index

The ADMS Scripts

The scripts which control the interpretation of the Verilog-A source during translation into C++ reside in the admst directory. There is a fairly steep learning curve in gaining proficiency with the language and logic of these scripts, but they can in theory be modified by the user. In fact, the wrspiceVersion.xml file provides some user-customization switches.

Some of the features provided by the WRspice script set, that are not available in the script sets available for many/most/all other simulators, are the following:

  1. Rigorous automatic partitioning of static and dynamic contribution terms, as well as noise terms.
  2. Support for potential nature contributions (V() <+ ...), and automatic node collapsing when possible.
  3. Support for optional ports and the $port_connected call.
  4. Support for the idt (time integration) operator, and most other system functions.
  5. Does not require adms-specific format extensions, but will use them if found.
  6. Full computation of second-derivative terms.
  7. Full support for noise analysis in WRspice.
  8. A new and more efficient math package.
  9. No ``built in'' fixes for common public Verilog-A models, scripts are intended to be completely generic.
  10. Produces C++ code that is indented and humanly-readable.


next up previous contents index
Next: How to Build a Up: Creating Loadable Modules from Previous: How It Works   Contents   Index
Stephen R. Whiteley 2022-09-18