next up previous contents
Next: MODIFY command Up: Command descriptions Previous: MARK command   Contents

Subsections


MERGE command

Syntax

MErge filename

Purpose

Gets an existing circuit file, without clearing memory.

Comments

The first comment line of the file being read is the new title, and replaces the existing title.

Comments in the circuit file are stored, unless they start with *+ in which case they are thrown away.

`Dot cards' are set up, but not executed. This means that variables and options are changed, but simulation commands are not actually done. As an example, the options command is actually performed, since it only sets up variables. The ac command is not performed, but its parameters are stored, so that a plain ac command will perform the analysis specified in the file.

Any circuit already in memory is kept. New elements with duplicate labels replace the old ones. New elements that are not duplicates are added to the end of the list, as if the files were appended.

Examples

merge amp.ckt
Get the circuit file amp.ckt from the current directory. Use it to change the circuit in memory.

merge npn.mod
Include the file npn.mod.


next up previous contents
Next: MODIFY command Up: Command descriptions Previous: MARK command   Contents
Al Davis 2002-03-26