Input file syntax

  • Tadej Tuma
  • Árpád Bűrmen
Part of the Modeling and Simulation in Science, Engineering and Technology book series (MSSET)


The input file is also referred to as a netlist. A netlist has the following structure:

Circuit name circuit description .control NUTMEG commands .endc .end

The first line of a netlist is the circuit name. Be careful not to put any element descriptions on the first line of the file, as they will be interpreted as the circuit name and therefore left out of the simulated circuit.

The block between .control and .endc (also referred to as the “control block”) is the NUTMEG script that is executed after the netlist is read and processed by the simulator. The whole block is optional and can be omitted. The commands in the control block are case sensitive. Lowercase is recommended everywhere within the control block, except for strings that are printed to the command window, plot titles, and axis labels.

What remains is the circuit description. The circuit description is case insensitive. To avoid confusion lowercase is recommended for the circuit description. The netlist ends with .end.


Internal Node Voltage Source Noise Contribution Instance Parameter Metal Oxide Semiconductor Field Effect Transistor 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Birkhäuser Boston, a part of Springer Science+Business Media, LLC 2009

Authors and Affiliations

  1. 1.Faculty of Electrical EngineeringUniversity of LjubljanaLjubljanaSlovenia

Personalised recommendations