Skip to main content

NUTMEG scripting language

  • Chapter
  • First Online:
Book cover Circuit Simulation with SPICE OPUS

Abstract

SPICE OPUS has a built-in scripting language called NUTMEG. NUTMEG is a SPICE specific language developed at Berkeley as part of the SPICE3 software [36]. The NUTMEG in SPICE OPUS is an extended version of the original Berkeley NUTMEG. All commands that are entered in the command window are, in fact, NUTMEG commands. NUTMEG is also the language of the .control block, which is an optional part of the netlist. The initialization script (spinit) that is run at SPICE startup is also written in NUTMEG.

A NUTMEG session can be closed by issuing the quit command. The command is affected by the noaskquit variable. If this variable is set, the session is exited immediately after the quit command is issued. Otherwise, the user may be asked for a confirmation.

If the quit command appears in the control block or in a script, the session that loaded that particular netlist or script file is closed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Nutmeg is the seed of the trees from the Myristica genus. Among other uses, it is used as a food flavoring.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tadej Tuma .

Rights and permissions

Reprints and permissions

Copyright information

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

About this chapter

Cite this chapter

Tuma, T., Bűrmen, Á. (2009). NUTMEG scripting language. In: Circuit Simulation with SPICE OPUS. Modeling and Simulation in Science, Engineering and Technology. Birkhäuser Boston. https://doi.org/10.1007/978-0-8176-4867-1_5

Download citation

  • DOI: https://doi.org/10.1007/978-0-8176-4867-1_5

  • Published:

  • Publisher Name: Birkhäuser Boston

  • Print ISBN: 978-0-8176-4866-4

  • Online ISBN: 978-0-8176-4867-1

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics