<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://emagtech.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://emagtech.com/wiki/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages</id>
		<title>Emagtech Wiki - New pages [en]</title>
		<link rel="self" type="application/atom+xml" href="https://emagtech.com/wiki/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages"/>
		<link rel="alternate" type="text/html" href="https://emagtech.com/wiki/index.php?title=Special:NewPages"/>
		<updated>2026-08-28T02:32:40Z</updated>
		<subtitle>From Emagtech Wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://emagtech.com/wiki/index.php?title=EM.Cube_Glossary</id>
		<title>EM.Cube Glossary</title>
		<link rel="alternate" type="text/html" href="https://emagtech.com/wiki/index.php?title=EM.Cube_Glossary"/>
				<updated>2024-10-08T20:24:32Z</updated>
		
		<summary type="html">&lt;p&gt;Asabet: Created page with &amp;quot;&amp;lt;table&amp;gt; &amp;lt;tr&amp;gt; &amp;lt;td&amp;gt; link=Getting_Started_with_EM.Cube  link=Building_Geometrical_Constructions_in_CubeCAD image:fdtd-ico.png |...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;[[image:Cube-icon.png | link=Getting_Started_with_EM.Cube]] [[image:cad-ico.png | link=Building_Geometrical_Constructions_in_CubeCAD]] [[image:fdtd-ico.png | link=EM.Tempo]] [[image:prop-ico.png | link=EM.Terrano]] [[image:static-ico.png | link=EM.Ferma]] [[image:planar-ico.png | link=EM.Picasso]] [[image:metal-ico.png | link=EM.Libera]]  [[image:po-ico.png | link=EM.Illumina]]&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
[[Image:Back_icon.png|30px]] '''[[EM.Cube | Back to EM.Cube Main Page]]'''&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Action History ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''Edit &amp;amp;rarr; Action History...''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Opens the &amp;quot;Action History&amp;quot; dialog which lists all the actions taken since the start of the current session of the [[EM.Cube]] application&lt;br /&gt;
&lt;br /&gt;
NOTES, SPECIAL CASES OR EXCEPTIONS: You can go back along the sequence of the action history list and select and highlight any action in that list. In that case, all the subsequent actions taken place after the selected action will be undone. This provides a convenient alternative to multiple Undo/Redo operations. &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN45.png|thumb|left|480px|EM.Cube's action history dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arbitrary Work Plane ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:Arbitgrid tool tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Work Plane &amp;amp;rarr; Arbitrary Plane'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | W}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Sets up an arbitrary active work plane &lt;br /&gt;
&lt;br /&gt;
TO SET UP AN ARBITRARY WORK PLANE:&lt;br /&gt;
&lt;br /&gt;
#Activate the '''Work Plane Tool''' to enable CubeCAD's &amp;amp;quot;Work Plane Mode&amp;amp;quot;. &lt;br /&gt;
#The Work Plane dialog opens up at the lower right corner of the screen.&lt;br /&gt;
#Use one of the following three methods to establish a new work plane.&lt;br /&gt;
#Hover the mouse over any object in the project workspace to highlight one of its faces. Click on the selected face snap point, &amp;lt;i&amp;gt;i.e.&amp;lt;/i&amp;gt; the center of a highlighted planar face. A new work plane appears overlaid on the selected face.&lt;br /&gt;
#Or while you are moving the mouse in one of the three principal XY, YZ or ZX work planes, click any blank point and drag the mouse. A semi-translucent plane perpendicular to the current principal work plane is drawn and displayed in the project workspace. The normal plane follows the movement of the mouse as you drag it. Once you reach the desired orientation, press the keyboard's' {{key|Enter}} key to finalize the new work plane.&lt;br /&gt;
#Or click successively on any three distinct points in the project workspace (including other objects' snap points). A new work plane is established that passes through the three selected points.&lt;br /&gt;
&lt;br /&gt;
In all the three cases above, a translucent plane appears showing the location and orientation of the new work plane. The transverse axes (local X and Y axes) of the new work plane are displayed in red and green colors, respectively. A new &amp;amp;quot;User Coordinate System (UCS)&amp;amp;quot; is established on the new work plane. In the work plane dialog, you can see the world coordinates of the center of the UCS and its rotation angles with respect to the project's world coordinate system (WCS). From this dialog, you can change both the center coordinates and the rotation angles of the new work plane. Note that the visible size of the work plane is purely for visualization purposes; otherwise, the work plane has infinite extents. You can also change the '''Color''' and '''Transparency''' level of the work plane.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN8.png|thumb|left|480px|EM.Cube's arbitrary work plane dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN9A.png|thumb|left|640px|An arbitrary work plane and its local X (red) and Y (green) axes.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN9.png|thumb|left|640px|Drawing a box object on the arbitrary work plane.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Back View ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:view-back_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Set View &amp;amp;rarr; Back View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Projects the physical structure onto the ZX-plane from the back&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:back_view.png|thumb|500px|EM.Cube's back view of project workspace.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bottom View ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:view-bottom_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Set View &amp;amp;rarr; Bottom View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Projects the physical structure onto the XY-plane from the bottom&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:bottom_view.png|thumb|500px|EM.Cube's bottom view of project workspace.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copy Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:copy.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''Edit &amp;amp;rarr; Copy''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+C}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Copies the selection into the Windows clipboard&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Cut Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:cut.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''Edit &amp;amp;rarr; Cut''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+X}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Removes the selection from the project workspace and places it in the Windows clipboard&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Delete Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:delete.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''Edit &amp;amp;rarr; Delete''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Delete}} '''Key'''&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Deletes the selection from the project workspace&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: delete(node_name)&lt;br /&gt;
&lt;br /&gt;
== Front View ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:view-front_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Set View &amp;amp;rarr; Front View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Projects the physical structure onto the ZX-plane from the front&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:front_view.png|thumb|500px|EM.Cube's front view of project workspace.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Generate CAD Report ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Generate CAD Report''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Generates a text file called “cad_report.TXT” listing all the current geometrical objects in the project workspace along with their type, LCS coordinates, rotation angles and extents. In the case of array objects, it reports the parameters of the key element and the number of array elements&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Grid Properties ==&lt;br /&gt;
&lt;br /&gt;
ICON: None&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Grid Properties...'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Modifies the type and settings of the project workspace's grid&lt;br /&gt;
&lt;br /&gt;
NOTES, SPECIAL CASES OR EXCEPTIONS: [[EM.Cube]] offers two different types of grid: Adaptive and fixed. Note that the grid is hidden by default and can be displayed from the preferences dialog. The adaptive grid is the default choice, and its grid cell size changes dynamically according the viewport size. As a result of this, during a dynamic zoom process, the grid seems to maintain almost the same size even though your physical structure looks bigger or smaller depending on whether you zoom in or zoom out. The fixed grid, on the other hand, always maintains fixed dimensions and a fixed grid cell size. Therefore, the fixed grid grows or shrinks along with your physical structure due to a dynamic zoom operation. With a fixed grid, you can set different grid cell dimensions along the three principal axes.     &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN5.png|thumb|left|480px|EM.Cube's Grid Settings dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN6.png|thumb|left|550px|EM.Cube's adaptive grid.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN7.png|thumb|left|550px|EM.Cube's fixed grid.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Help ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:help.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''Help &amp;amp;rarr; Help Index''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+Shift+H}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Opens the Help Index dialog&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Left View ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:view-left_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Set View &amp;amp;rarr; Left View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Projects the physical structure onto the YZ-plane from the left&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:left_view.png|thumb|500px|EM.Cube's left view of project workspace.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Merge Viewport ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:single-port-view_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Merge Viewport'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | End}} '''Key'''&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Merges the four-port view into the normal single-port view&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== New Project ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:new.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; New Project...''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+N}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Starts a new blank [[EM.Cube]] project &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:Newproj.png|thumb|550px|EM.Cube's New Project Dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Open Project ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:open.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Open Project...''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+O}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Opens an existing [[EM.Cube]] project &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Pan View Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:pan-tool_tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Pan View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Shift+RMB}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Moves the viewport around while the mouse is dragged&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Paste Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:paste.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''Edit &amp;amp;rarr; Paste''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+V}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Places the contents of the Windows clipboard on the project workspace&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Perspective View ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:view-perspective_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Set View &amp;amp;rarr; Perspective View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Home}} '''Key'''&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Sets an isometric view of the physical structure on an XY-plane&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:perspective.png|thumb|500px|EM.Cube's perspective view of project workspace.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Print ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:print.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Print...''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+P}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Prints the contents of the main window on the specified printer &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Project Notes ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Project Notes''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Opens a reserved text file called “project_notes.TXT” that can be used by the user to save project-related notes, comments and data&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Redo Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:redo.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''Edit &amp;amp;rarr; Redo''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+Y}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Redoes the last operation&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Restore Program Defaults ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Restore Program Defaults''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Restores the original black background and yellow selection color and turns off the project workspace's grid&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Right View ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:view-right_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Set View &amp;amp;rarr; Right View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Projects the physical structure onto the YZ-plane from the right&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:right_view.png|thumb|500px|EM.Cube's right view of project workspace.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rotate View Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:rotate-tool_tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Rotate View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | RMB}} or {{key | Alt+RMB}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Rotates the viewport about the origin of the world coordinate system (WCS) while the mouse is dragged&lt;br /&gt;
&lt;br /&gt;
NOTES, SPECIAL CASES OR EXCEPTIONS: Using the right mouse button ({{key | RMB}}) for rotating the view is a temporary operation and it doesn't change [[EM.Cube]]'s view mode. Clicking on the &amp;quot;Rotate View&amp;quot; button of the View Toolbar changes [[EM.Cube]]'s view mode to the &amp;quot;Rotate View Mode&amp;quot;. In this mode, you can drag the mouse using either of the left or right mouse buttons to rotate the view about different axes. Also note that the axis of rotation in the case of rotate view mode is different than the axis of rotation using the temporary {{key | RMB}} or {{key | Alt+RMB}} shortcuts.  &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Save Project ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:save.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Save Project...''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+S}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Saves the current [[EM.Cube]] project &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Save Project As ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:save.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Save Project As...''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+W}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Saves the current [[EM.Cube]] project under a different name &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Save Python Command History ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Save Python Command History''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Saves all the successfully executed Python commands in [[EM.Cube]]’ Python Interpreter during the current session of the current project in a reserved Python file called “python_history.PY”&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Select Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:select-tool_tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Normal View''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Esc}} '''Key'''&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Returns to the normal select mode &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Snap to Edge ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Snap &amp;amp;rarr; Snap to Edge'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | E}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Toggles the &amp;quot;Snap-to-Edge&amp;quot; mode. In this mode, the mouse snaps to a point on the nearest object edge. Both the edge and the point on it are highlighted. You can move the mouse incrementally and locally on the highlighted edge. This mode is particularly useful for CAD operations that require selecting an object edge such as extruding, lofting or revolving an edge or bridging between two edges.    &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Snap to Face ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Snap &amp;amp;rarr; Snap to Face'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | F}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Toggles the &amp;quot;Snap-to-Face&amp;quot; mode. In this mode, the mouse snaps to a point on the nearest object face. Both the face and the point on it are highlighted. You can move the mouse incrementally and locally on the surface of the highlighted face. This mode is particularly useful for CAD operations that require selecting an object face such as extruding, lofting or revolving a face or skinning between two faces.      &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Snap to Grid ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Snap &amp;amp;rarr; Snap to Grid'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | G}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Toggles the &amp;quot;Snap-to-Grid&amp;quot; mode. In this mode, the mouse snaps to a point on the project workspace's grid. In that case, a small white (round or square) point appears on the screen beside the normal arrow cursor that shows the current location of the mouse in the project workspace. [[EM.Cube]]'s snap-to-grid mode is enabled by default. Note that you can enable the snap-to-grid mode without having to display the grid on the screen.&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Snap to Node ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Snap &amp;amp;rarr; Snap to Node'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | N}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Toggles the &amp;quot;Snap-to-Node&amp;quot; mode. In this mode, the mouse snaps to the nearest object snap point. However, only a node, vertex or point is highlighted.  &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Snap to Object ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Snap &amp;amp;rarr; Snap to Object'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | O}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Toggles the &amp;quot;Snap-to-Object&amp;quot; mode. In this mode, the mouse snaps to the nearest object snap point. If the snap point is the midpoint of an edge, the edge is also highlighted. If the snap point is the center of a face, the fact is also highlighted. [[EM.Cube]]'s snap-to-object mode is enabled by default.  &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Split Viewport ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:four-port-view_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Split Viewport'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Displays a four-port view of the project workspace&lt;br /&gt;
&lt;br /&gt;
NOTES, SPECIAL CASES OR EXCEPTIONS: Splitting the viewport provides simultaneous Perspective, Top, Front and Right views in the Project Workspace. Each split viewport’s settings can be changed individually. The name of the active viewport on which changes apply is always highlighted with a dark blue background; inactive views are indicated by a gray background. In the Four-Port View mode, you can zoom, extents or rotate the view for each viewport individually. &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:fourport_new.png|thumb|500px|EM.Cube's four-port view of project workspace.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Toggle Navigation Tree ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:navtree.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Navigation Tree'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Toggles the visibility of the navigation tree window &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Top View ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:view-top_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Set View &amp;amp;rarr; Top View'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Projects the physical structure onto the XY-plane from the top&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:top_view.png|thumb|500px|EM.Cube's top view of project workspace.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Undo Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:undo.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''Edit &amp;amp;rarr; Undo''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+Z}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Undoes the last operation&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Undo View Change / Redo View Change ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:undo-view-change_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Undo View Change''', '''View &amp;amp;rarr; Redo View Change''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Reverts the viewport to the previous view angle and distance&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== User Preferences ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''Edit &amp;amp;rarr; Preferences...''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+H}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Opens the &amp;quot;User Preferences&amp;quot; dialog from which you can control a number of permanent project settings &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN40.png|thumb|left|480px|The &amp;quot;Colors&amp;quot; tab of the user preferences dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN41.png|thumb|left|480px|The &amp;quot;Objects&amp;quot; tab of the user preferences dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN42.png|thumb|left|480px|The &amp;quot;Guides&amp;quot; tab of the user preferences dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN43.png|thumb|left|480px|The &amp;quot;Spin Buttons&amp;quot; tab of the user preferences dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:VIEW MAN44.png|thumb|left|480px|The &amp;quot;Advanced&amp;quot; tab of the user preferences dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Viewport Properties ==&lt;br /&gt;
&lt;br /&gt;
ICON: None&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Viewport Properties...'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Modifies the default settings of the viewport&lt;br /&gt;
&lt;br /&gt;
NOTES, SPECIAL CASES OR EXCEPTIONS: This dialog is used to set the size and boundaries of the viewport manually. You can set the viewport size by specifying the coordinates of the &amp;quot;Top-Left-Near&amp;quot; and &amp;quot;Bottom-Right-Far&amp;quot; points. You can also set the coordinates of the viewing camera location. &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:viewport_settings.png|thumb|600px|EM.Cube's Viewport Settings dialog.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Workspace Screen Capture ==&lt;br /&gt;
&lt;br /&gt;
ICON: None &lt;br /&gt;
&lt;br /&gt;
MENU: '''File &amp;amp;rarr; Workspace Screen Capture''' &lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Creates a bitmap image of a screenshot the project workspace &lt;br /&gt;
&lt;br /&gt;
NOTES, SPECIAL CASES OR EXCEPTIONS: The bitmap screenshot is stored in the &amp;quot;images&amp;quot; subfolder of the current project folder. It is listed under the &amp;quot;Image Files&amp;quot; tab of the data manager.  &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== XY Plane ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:xygrid_tool_tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Work Plane &amp;amp;rarr; XY Plane'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Z}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Makes the principal XY plane the active work plane &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:xy_view.png|thumb|500px|EM.Cube's perspective view of project workspace with active XY work plane and enabled grid.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== YZ Plane ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:yzgrid_tool_tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Work Plane &amp;amp;rarr; YZ Plane'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | X}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Makes the principal YZ plane the active work plane &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:yz_view.png|thumb|500px|EM.Cube's perspective view of project workspace with active YZ work plane and enabled grid.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Zoom Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:zoom-tool_tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Zoom &amp;amp;rarr; Dynamic'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+RMB}} or '''Mouse Scroll Wheel'''&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Zooms into or out of the project workspace while the mouse is dragged up or down, respectively&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None &lt;br /&gt;
&lt;br /&gt;
== Zoom To Extents Tool I ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:zoom-to-extent_tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Zoom &amp;amp;rarr; Extents'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+E}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Automatically zooms to fit the whole physical structure into the main window&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: zoom_extents()&lt;br /&gt;
&lt;br /&gt;
== Zoom To Extents Tool II ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:zoom-to-extent_tn.png]] (right-click)&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Zoom &amp;amp;rarr; Extents All'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Ctrl+Shift+E}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Automatically zooms to fit the whole physical structure into all four viewports in the four-port view mode&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Zoom To Selected Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:zoom-to-selected_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Zoom &amp;amp;rarr; Selected'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Automatically zooms to fit the highlighted object into the main window&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== Zoom Window Tool ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:zoom-to-area_tn.png]]&lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Zoom &amp;amp;rarr; Window'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: None&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Draws a window to define the zoom boundaries&lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
== ZX Plane ==&lt;br /&gt;
&lt;br /&gt;
ICON: [[File:zxgrid_tool_tn.png]] &lt;br /&gt;
&lt;br /&gt;
MENU: '''View &amp;amp;rarr; Work Plane &amp;amp;rarr; ZX Plane'''&lt;br /&gt;
&lt;br /&gt;
KEYBOARD SHORTCUT: {{key | Y}}&lt;br /&gt;
&lt;br /&gt;
FUNCTION: Makes the principal ZX plane the active work plane &lt;br /&gt;
&lt;br /&gt;
PYTHON COMMAND: None&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt; [[Image:zx_view.png|thumb|500px|EM.Cube's perspective view of project workspace with active ZX work plane and enabled grid.]] &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Top_icon.png|30px]] '''[[#New Project | Back to the Top of the Page]]'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Back_icon.png|30px]] '''[[Getting_Started_with_EM.Cube| Back to Getting Started with EM.Cube]]'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Back_icon.png|30px]] '''[[Building_Geometrical_Constructions_in_CubeCAD | Back to CubeCAD Page]]'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Back_icon.png|30px]] '''[[EM.Cube | Back to EM.Cube Main Page]]'''&lt;/div&gt;</summary>
		<author><name>Asabet</name></author>	</entry>

	<entry>
		<id>https://emagtech.com/wiki/index.php?title=RF.Spice_A/D_Glossary</id>
		<title>RF.Spice A/D Glossary</title>
		<link rel="alternate" type="text/html" href="https://emagtech.com/wiki/index.php?title=RF.Spice_A/D_Glossary"/>
				<updated>2024-10-07T14:57:17Z</updated>
		
		<summary type="html">&lt;p&gt;Asabet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==4-Bit ADC Bridge==&lt;br /&gt;
&lt;br /&gt;
[[File:GK44.png]]&lt;br /&gt;
&lt;br /&gt;
This 8-pin device is simply a bundle of 4 1-bit ADC bridges. Each analog input pin has a corresponding digital output pin.  &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|in_low||maximum 0-valued analog input||V||0.1||required&lt;br /&gt;
|-&lt;br /&gt;
|in_high||minimum 1-valued analog input||V||0.9||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==4-Bit DAC Bridge==&lt;br /&gt;
&lt;br /&gt;
[[File:GK45.png]]&lt;br /&gt;
&lt;br /&gt;
This 8-pin device is simply a bundle of 4 1-bit DAC bridges. Each digital input pin has a corresponding analog output pin.  &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|out_low||analog output for 0 digital input||V||0||required&lt;br /&gt;
|-&lt;br /&gt;
|out_high||analog output for 1 digital input||V||1||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== AC/RF Current Source ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL11.png]]&lt;br /&gt;
&lt;br /&gt;
This is a simplified version of the standard Current Source, in which the AC &amp;quot;Use&amp;quot; box has been checked by default. Therefore, it is ready to be used for AC frequency sweep. Note that for AC frequency sweep, you do not need to specify the frequency. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|VA||peak current amplitude||A||1||required&lt;br /&gt;
|-&lt;br /&gt;
|Freq||frequency ||Hz||1||required&lt;br /&gt;
|-&lt;br /&gt;
|Phase||phase||deg||0|| &lt;br /&gt;
|-&lt;br /&gt;
|offset||DC offset for small-signal current||A||0|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== AC/RF Voltage Source ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL10.png]]&lt;br /&gt;
&lt;br /&gt;
This is a simplified version of the standard Voltage Source, in which the AC &amp;quot;Use&amp;quot; box has been checked by default. Therefore, it is ready to be used for AC frequency sweep. Note that for AC frequency sweep, you do not need to specify the frequency. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|VA||peak voltage amplitude||V||1||required&lt;br /&gt;
|-&lt;br /&gt;
|Freq||frequency ||Hz||1||required&lt;br /&gt;
|-&lt;br /&gt;
|Phase||phase||deg||0|| &lt;br /&gt;
|-&lt;br /&gt;
|offset||DC offset for small-signal voltage||V||0|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Alternate Ferrite Core Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:GK96.png]]&lt;br /&gt;
&lt;br /&gt;
The alternate ferrite core transformer is a four-pin two-port device, which has the same behavior as the [[Glossary of Generic Analog &amp;amp; Mixed-Mode Devices#Ferrite_Core_Transformer | Ferrite Core Transformer]], except for the reversed polarity of its secondary port.&lt;br /&gt;
&lt;br /&gt;
==Alternate Ideal Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:XFMR2.png]]&lt;br /&gt;
&lt;br /&gt;
The alternate ideal transformer is a four-pin two-port device, which has the same behavior as the [[Glossary of Generic Analog &amp;amp; Mixed-Mode Devices#Ideal_Transformer | Ideal Transformer]], except for the reversed polarity of its secondary port.&lt;br /&gt;
&lt;br /&gt;
== AM Modulated Source ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL23.png]]&lt;br /&gt;
&lt;br /&gt;
This is a voltage source with a single-tone amplitude modulated waveform. The AM modulation index MDI is defined as the ratio of maximum amplitude deviation to maximum signal amplitude.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|V0||offset||V||0||&lt;br /&gt;
|-&lt;br /&gt;
|VA||amplitude||V||1||&lt;br /&gt;
|-&lt;br /&gt;
|FC||carrier frequency ||Hz||1||required&lt;br /&gt;
|-&lt;br /&gt;
|MDI||modulation index||-||0||required&lt;br /&gt;
|-&lt;br /&gt;
|FS||signal frequency ||Hz||1||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Analog Clock ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL30.png]]&lt;br /&gt;
&lt;br /&gt;
This is a periodic pulse generator with a default 0V low output level and a default 5V high output level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|delay||delay time||sec||0|| &lt;br /&gt;
|-&lt;br /&gt;
|rise||rise time||sec||0.1n|| &lt;br /&gt;
|-&lt;br /&gt;
|fall||fall time||sec||0.1n|| &lt;br /&gt;
|-&lt;br /&gt;
|pulse_wid||clock pulse width||sec||1u||required&lt;br /&gt;
|-&lt;br /&gt;
|period||clock period||-||2u||required&lt;br /&gt;
|-&lt;br /&gt;
|out_low||low output voltage level||V||0|| &lt;br /&gt;
|-|-&lt;br /&gt;
|out_high||high output voltage level||V||5|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Analog-to-Digital Converter (ADC) Bridge==&lt;br /&gt;
[[File:GK42.png]]&lt;br /&gt;
&lt;br /&gt;
The ADC Bridge takes an analog value from an analog node and may be in the form of a voltage or current.&lt;br /&gt;
If the input is less than or equal to &amp;amp;quot;in_low&amp;amp;quot;, then a digital &amp;amp;quot;0&amp;amp;quot; is generated. If&lt;br /&gt;
the input is greater than or equal to &amp;amp;quot;in_high&amp;amp;quot;, a digital &amp;amp;quot;1&amp;amp;quot; is generated. Otherwise,&lt;br /&gt;
a digital &amp;amp;quot;UNKNOWN&amp;amp;quot; is the output value. Unlike the DAC Bridge, ramping or delay is not applicable.&lt;br /&gt;
Rather, the continuous ramping of the input provides for any associated delays in the digitized signal.&lt;br /&gt;
&lt;br /&gt;
This model also posts an input load value based on the parameter input_load.&lt;br /&gt;
&lt;br /&gt;
Model Identifier: adc_bridge&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; [&amp;amp;lt;in_pin&amp;amp;gt; {&amp;amp;lt;in2_pin&amp;amp;gt;&amp;amp;gt; ...}] [&amp;amp;lt;out_pin&amp;amp;gt; {&amp;amp;lt;out2_pin&amp;amp;gt; ...}] &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; adc_bridge {&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A [1] [2] adc_bridge&lt;br /&gt;
&lt;br /&gt;
.model adc_bridge adc_bridge in_low = .1 fall_delay = 1n &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|in_low||maximum 0-valued analog input||V||0.1||required&lt;br /&gt;
|-&lt;br /&gt;
|in_high||minimum 1-valued analog input||V||0.9||required&lt;br /&gt;
|-&lt;br /&gt;
|rise_delay||L-to-H delay time||sec||1n|| &lt;br /&gt;
|-&lt;br /&gt;
|fall_delay||H-to-L delay time||sec||1n|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Arbitrary Temporal Waveform Generator ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL17.png]]&lt;br /&gt;
&lt;br /&gt;
This is a voltage source with an arbitrary waveform defined by a mathematical expression. You have to open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. Enter any mathematical expression in the variable &amp;quot;v(t)&amp;quot; standing for time.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
* v(t) is equivalent to f(t) = t.&lt;br /&gt;
* 0.1*(v(t))^2 is equivalent to f(t) = 0.1t^2.&lt;br /&gt;
* sin(2*pi*v(t)) is equivalent to f(t) = sin(2&amp;amp;pi;t).  &lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|Tmax||maximum signal duration||sec||1e6||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Auto-Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:GK102.png]]&lt;br /&gt;
&lt;br /&gt;
This 3-pin device models an auto-transformer with mutual coupling effect. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|Lp||primary inductance||H||1m||&lt;br /&gt;
|-&lt;br /&gt;
|Ls||secondary inductance||H||1m||&lt;br /&gt;
|-&lt;br /&gt;
|k||coefficient of coupling||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Bipolar Junction Transistor (BJT)==&lt;br /&gt;
[[File:G11.png]]&lt;br /&gt;
&lt;br /&gt;
The BJT is an active device which has up to 4 pins.  The three standard pins are base, emitter, and collector.  These are given in the default symbol.  The substrate, which is grounded by default, is the fourth pin.  To use the BJT with the substrate, create a new 4-pin BJT using the Device Editor and Symbol Editor.&lt;br /&gt;
&lt;br /&gt;
The standard device parameters are AREA, OFF, IC, and T.  They are described below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|AREA||area factor (optional) (If not specified, the default value is 1.0.)&lt;br /&gt;
|-&lt;br /&gt;
|OFF||initial condition for the DC analysis (optional)&lt;br /&gt;
|-&lt;br /&gt;
|IC||initial condition (optional) (Used when a transient analysis is desired, which starts from other than the quiescent operating point.)&lt;br /&gt;
|-&lt;br /&gt;
|T||operating temperature of the device (optional)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Area factor scales the model parameters RE and RC.  IC VBE is the initial voltage from base emitter. IC VCE is the initial voltage from collector to emitter.  TEMP is the overriding temperature. These parameters are based on the Gummel and Poon integral-charge model.  If these parameters are not specified, then it will reduce to the simpler Ebers-Moll model. &lt;br /&gt;
&lt;br /&gt;
The process model is mandatory for the BJT.  Descriptions of the process model parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!EXAMPLE&lt;br /&gt;
|-&lt;br /&gt;
|IS||transport saturation current||A||1.0e-16||1.0e-15&lt;br /&gt;
|-&lt;br /&gt;
|BF||ideal maximum forward beta|| ||100||100&lt;br /&gt;
|-&lt;br /&gt;
|NF||forward current emission coefficient|| ||1.0||1&lt;br /&gt;
|-&lt;br /&gt;
|VAF||forward Early voltage||V||infinite||200&lt;br /&gt;
|-&lt;br /&gt;
|IKF||corner forward beta high current roll-off||A||infinite||0.01&lt;br /&gt;
|-&lt;br /&gt;
|ISE||B-E leakage saturation current||A||0||1.0e-13&lt;br /&gt;
|-&lt;br /&gt;
|NE||B-E leakage emission coefficient|| ||1.5||2&lt;br /&gt;
|-&lt;br /&gt;
|BR||ideal maximum reverse beta|| ||1||0.1&lt;br /&gt;
|-&lt;br /&gt;
|NR||reverse current emission coefficient|| ||1||1&lt;br /&gt;
|-&lt;br /&gt;
|VAR||reverse Early voltage||V||infinite||200&lt;br /&gt;
|-&lt;br /&gt;
|IKR||corner reverse beta high current roll-off||A||infinite||0.01&lt;br /&gt;
|-&lt;br /&gt;
|ISC||B-C leakage saturation current||A||0||1.0e-13&lt;br /&gt;
|-&lt;br /&gt;
|NC||B-C leakage emission coefficient|| ||2||1.5&lt;br /&gt;
|-&lt;br /&gt;
|RB||zero bias base resistance||ohms||0||100&lt;br /&gt;
|-&lt;br /&gt;
|IRB||current where base resistance falls halfway to minimum value||A||infinite||0.1&lt;br /&gt;
|-&lt;br /&gt;
|RBM||minimum base resistance at high currents||ohms||RB||10&lt;br /&gt;
|-&lt;br /&gt;
|RE||emitter resistance||ohms||0||1&lt;br /&gt;
|-&lt;br /&gt;
|RC||collector resistance||ohms||0||10&lt;br /&gt;
|-&lt;br /&gt;
|CJE||B-E zero bias depletion capacitance||F||0||2pF&lt;br /&gt;
|-&lt;br /&gt;
|VJE||B-E built-in potential||V||0.75||0.6&lt;br /&gt;
|-&lt;br /&gt;
|MJE||B-E junction exponential factor|| ||0.33||0.33&lt;br /&gt;
|-&lt;br /&gt;
|TF||ideal forward transit time||sec||0||0.1ns&lt;br /&gt;
|-&lt;br /&gt;
|XTF||coefficient for bias dependence of TF|| ||0|| &lt;br /&gt;
|-&lt;br /&gt;
|VTF||voltage describing VBC dependence of TF||V||infinite|| &lt;br /&gt;
|-&lt;br /&gt;
|ITF||high-current parameter for effect on TF||A||0|| &lt;br /&gt;
|-&lt;br /&gt;
|PTF||excess phase at freq=1.0/(TF*2PI)Hz||degree||0|| &lt;br /&gt;
|-&lt;br /&gt;
|CJC||B-C zero bias depletion capacitance||F||0||2pF&lt;br /&gt;
|-&lt;br /&gt;
|VJC||B-C built-in potential||V||0.75||0.5&lt;br /&gt;
|-&lt;br /&gt;
|MJC||B-C junction exponential factor|| ||0.33||0.5&lt;br /&gt;
|-&lt;br /&gt;
|XCJC||fraction of B-C depletion capacitance connected to internal base node|| ||1|| &lt;br /&gt;
|-&lt;br /&gt;
|TR||ideal reverse transit time||sec||0||10ns&lt;br /&gt;
|-&lt;br /&gt;
|CJS||zero bias collector-substrate capacitance||F||0||2pF&lt;br /&gt;
|-&lt;br /&gt;
|VJS||substrate junction built-in potential||V||0.75|| &lt;br /&gt;
|-&lt;br /&gt;
|MJS||substrate junction exponential factor|| ||0||0.5&lt;br /&gt;
|-&lt;br /&gt;
|XTB||forward and reverse beta temp. exponent|| ||0|| &lt;br /&gt;
|-&lt;br /&gt;
|EG||energy gap for temperature effect on IS||eV||1.11|| &lt;br /&gt;
|-&lt;br /&gt;
|XTI||temperature exponent for effect on IS|| ||3|| &lt;br /&gt;
|-&lt;br /&gt;
|KF||flicker-noise coefficient|| ||0|| &lt;br /&gt;
|-&lt;br /&gt;
|AF||flicker-noise exponent|| ||1|| &lt;br /&gt;
|-&lt;br /&gt;
|FC||coefficient for forward bias depletion capacitance formula|| ||0.5|| &lt;br /&gt;
|-&lt;br /&gt;
|TNOM||parameter measurement temperature||deg. C||27||50&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Capacitance Meter==&lt;br /&gt;
[[File:G37.png]]&lt;br /&gt;
&lt;br /&gt;
The Capacitance Meter measures the total capacitance between a circuit node and the ground. The input pin of the device is connected to the measurement node. The output voltage of the device is then a scaled value equal to the total capacitance seen on its input multiplied by the gain parameter. This model is primarily intended as a building block for other models which must sense a capacitance value and alter their behavior based upon it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Model Identifier: cmeter&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; &amp;amp;lt;in_pin&amp;amp;gt; &amp;amp;lt;out_pin&amp;amp;gt; &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; cmeter {&amp;amp;lt;gain = value&amp;amp;gt;}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 1  2 cap_meter&lt;br /&gt;
&lt;br /&gt;
.model cap_meter cmeter  gain = 1&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
The only parameter is the gain with a default value of 1.0.&lt;br /&gt;
&lt;br /&gt;
==Capacitor==&lt;br /&gt;
[[File:GK120.png]]&lt;br /&gt;
&lt;br /&gt;
Capacitors are used to store electrical energy.  They can filter or remove AC signals or block DC current without disrupting AC signals. A capacitor's ability to store energy is termed capacitance and is measured in Farads, with values from pF to mF. The only time current flows through a capacitor is when the charge is collected on, or is removed from, its parallel plates. This means that the voltage across the capacitor is changing, which doesn't conform to DC analysis. In a physical circuit, there is a transition stage during which capacitors charge up to their final values. The result is the same as if these capacitors did not exist and the connections to them were left dangling. In other words, in a (steady-state) DC analysis, a capacitor behaves like an open circuit. Therefore, it is important that no section of the circuit is isolated from the capacitors. Every circuit node needs some path for DC current to the ground.&lt;br /&gt;
&lt;br /&gt;
A capacitor's transient behavior is described by the equation:&lt;br /&gt;
&lt;br /&gt;
i(t) = C * (dv(t)/dt)&lt;br /&gt;
&lt;br /&gt;
Its initial voltage is only important when the simulator performs a transient analysis, and the &amp;quot;Use Initial Conditions&amp;quot; checkbox is checked.&lt;br /&gt;
&lt;br /&gt;
An capacitor's AC behavior is described by the equation: &lt;br /&gt;
&lt;br /&gt;
i = j ω * C * v &lt;br /&gt;
&lt;br /&gt;
All capacitor names must begin with C. &lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
C&amp;lt;device_name&amp;gt; &amp;lt;N+&amp;gt; &amp;lt;N-&amp;gt; &amp;lt;value&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
C1 1 2 10p&lt;br /&gt;
&lt;br /&gt;
[[RF.Spice A/D]] provides three types of capacitors: simple, user-defined (or real) and semiconductor. The standard capacitor parameters are N+, N-, VALUE, and IC. In a simple capacitor, VALUE must&lt;br /&gt;
be specified for the capacitance in Farads. IC is the (optional) initial condition for the capacitor voltage.&lt;br /&gt;
&lt;br /&gt;
==Center-Tapped Ferrite Core Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:GK97.png]]&lt;br /&gt;
&lt;br /&gt;
This five-pin three-port device models a center-tapped physical transformer with a magnetic ferrite core. Its model is based on XSPICE's magnetic core and inductive coupling models. For this device you need to specify physical parameters like cross sectional area, core length and number of primary and secondary turns. The physical model of the magnetic device is defined by two vectors: magnetic field intensity H in A/m and magnetic flux density B (also known as magnetic induction) in Tesla. The default array values are:&lt;br /&gt;
   &lt;br /&gt;
H_array = [-250 -100 -50 -37.5 -25 -12.5 0 12.5 25 37.5 50 100 250]&lt;br /&gt;
&lt;br /&gt;
B_array = [-0.375 -0.36 -0.32 -0.29 -0.24 -0.15 0 0.15 0.24 0.29 0.32 0.36 0.375]&lt;br /&gt;
&lt;br /&gt;
To change the value of H/B arrays, open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|n_prim||number of primary inductor coupling turns||-||100||required&lt;br /&gt;
|-&lt;br /&gt;
|n_sec||number of full-winding secondary inductor coupling turns||-||100||required&lt;br /&gt;
|-&lt;br /&gt;
|area||cross-sectional area||m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||1e-5||&lt;br /&gt;
|-&lt;br /&gt;
|length||core length||m||0.01||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Controlled Sine Wave Oscillator==&lt;br /&gt;
&lt;br /&gt;
[[File:G24.png]]&lt;br /&gt;
&lt;br /&gt;
This is a four-terminal function generator with a sinusoidal wave output, whose frequency is controlled by an input voltage. The functional dependency of the output frequency on the input voltage is piecewise linear and is defined as a two-dimensional table similar to a piecewise linear (PWL) controlled source. In the &amp;quot;frequency vs. voltage&amp;quot; curve, the array &amp;quot;cntl_array&amp;quot; defines voltage values in Volts and the array &amp;quot;freq_array&amp;quot; defines the corresponding frequencies in Hz. &lt;br /&gt;
This function has parameterizable values of low and high peak output voltage.  &lt;br /&gt;
&lt;br /&gt;
Model Identifier: sine&lt;br /&gt;
&lt;br /&gt;
Netlist Form: &lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; %vd(&amp;amp;lt;cntl_in_pin&amp;amp;gt; &amp;amp;lt;cntl_in_ref_pin&amp;amp;gt;) %vd(&amp;amp;lt;out_pin&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;out_ref_pin&amp;amp;gt;) &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; sine cntl_array = [&amp;amp;lt;value1&amp;amp;gt; &amp;amp;lt;value2&amp;amp;gt;]   &lt;br /&gt;
freq_array = [&amp;amp;lt;value1&amp;amp;gt; &amp;amp;lt;value2&amp;amp;gt;] {&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 %vd(1   3)   %vd(2   4)  sine&lt;br /&gt;
&lt;br /&gt;
.model sine sine  cntl_array = [0 1]    freq_array = [1 1000]&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|Cntl_array||control array||V||[0 1]||required&lt;br /&gt;
|-&lt;br /&gt;
|Freq_array||frequency array||Hz||[1 1000]||required&lt;br /&gt;
|-&lt;br /&gt;
|Out_low||output peak low value||V||-1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|Out_high||output peak high value||V||1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Controlled Sources==&lt;br /&gt;
&lt;br /&gt;
Circuits can contain linear dependent sources characterized by one of the following equations (where g,&lt;br /&gt;
e, f, and h are constants representing transconductance, voltage gain, current gain, and transresistance,&lt;br /&gt;
respectively):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;SPAN  STYLE=&amp;quot;font-size: 9pt ; &amp;quot;&amp;gt;i&amp;lt;sub&amp;gt;out&amp;lt;/sub&amp;gt; = g v&amp;lt;sub&amp;gt;in&amp;lt;/sub&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;v&amp;lt;sub&amp;gt;out&amp;lt;/sub&amp;gt; =  e v&amp;lt;sub&amp;gt;in&amp;lt;/sub&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;i&amp;lt;sub&amp;gt;out&amp;lt;/sub&amp;gt; = f i&amp;lt;sub&amp;gt;in&amp;lt;/sub&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;v&amp;lt;sub&amp;gt;out&amp;lt;/sub&amp;gt; = h i&amp;lt;sub&amp;gt;in&amp;lt;/sub&amp;gt;&amp;lt;/SPAN&amp;gt;&lt;br /&gt;
&amp;lt;P CLASS=&amp;quot;Bodytext&amp;quot; STYLE=&amp;quot;font-size: 9pt ; margin: 0pt  0pt  1px  0pt ; &amp;quot;&amp;gt;&lt;br /&gt;
For further information, refer to:&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linear Current Controlled Current Source (CCCS)&lt;br /&gt;
&lt;br /&gt;
Linear Voltage Controlled Current Source (VCCS)&lt;br /&gt;
&lt;br /&gt;
Linear Current Controlled Voltage Source (CCVS)&lt;br /&gt;
&lt;br /&gt;
Linear Voltage Controlled Voltage Source (VCVS)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Controlled Square Wave Oscillator==&lt;br /&gt;
&lt;br /&gt;
[[File:G25.png]]&lt;br /&gt;
&lt;br /&gt;
This is a four-terminal function generator with a square wave output, whose frequency is controlled by an input voltage. The functional dependency of the output frequency on the input voltage is piecewise linear and is defined as a two-dimensional table similar to a piecewise linear (PWL) controlled source. In the &amp;quot;frequency vs. voltage&amp;quot; curve, the array &amp;quot;cntl_array&amp;quot; defines voltage values in Volts and the array &amp;quot;freq_array&amp;quot; defines the corresponding frequencies in Hz. &lt;br /&gt;
&lt;br /&gt;
Model Identifier: square&lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; %vd(&amp;amp;lt;cntl_in_pin&amp;amp;gt; &amp;amp;lt;cntl_in_ref_pin&amp;amp;gt;) %vd(&amp;amp;lt;out_pin&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;out_ref_pin&amp;amp;gt;) &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; square cntl_array = [&amp;amp;lt;value1&amp;amp;gt; &amp;amp;lt;value2&amp;amp;gt;] freq_array = [&amp;amp;lt;value1&amp;amp;gt; &amp;amp;lt;value2&amp;amp;gt;] {&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 %vd(1   3)   %vd(2   4)  square&lt;br /&gt;
&lt;br /&gt;
.model square square  cntl_array = [0 1]    freq_array = [1 1000]&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|Cntl_array||control array||V||[0 1]||required&lt;br /&gt;
|-&lt;br /&gt;
|Freq_array||frequency array||Hz||[0 1000]||required&lt;br /&gt;
|-&lt;br /&gt;
|Out_low||output peak low value||V||-1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|Out_high||output peak high value||V||1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|Duty_cycle||Duty cycle||-||0.5|| &lt;br /&gt;
|-&lt;br /&gt;
|Rise_time||Output rise time||sec||1.0e-9|| &lt;br /&gt;
|-&lt;br /&gt;
|Fall_time||Output fall time||sec||1.0e-9|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Controlled Triangle Wave Oscillator==&lt;br /&gt;
&lt;br /&gt;
[[File:G26.png]]&lt;br /&gt;
&lt;br /&gt;
This is a four-terminal function generator with a triangle wave output, whose frequency is controlled by an input voltage. The functional dependency of the output frequency on the input voltage is piecewise linear and is defined as a two-dimensional table similar to a piecewise linear (PWL) controlled source. In the &amp;quot;frequency vs. voltage&amp;quot; curve, the array &amp;quot;cntl_array&amp;quot; defined voltage values in Volts and the array &amp;quot;freq_array&amp;quot; defines the corresponding frequencies in Hz.  &lt;br /&gt;
&lt;br /&gt;
Model Identifier: triangle&lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; %vd(&amp;amp;lt;cntl_in_pin&amp;amp;gt; &amp;amp;lt;cntl_in_ref_pin&amp;amp;gt;) %vd(&amp;amp;lt;out_pin&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;out_ref_pin&amp;amp;gt;) &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt;  tirangle cntl_array = [&amp;amp;lt;value1&amp;amp;gt; &amp;amp;lt;value2&amp;amp;gt;]   &lt;br /&gt;
freq_array = [&amp;amp;lt;value1&amp;amp;gt; &amp;amp;lt;value2&amp;amp;gt;]{&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 %vd(1   4)   %vd(2   3)  triangle&lt;br /&gt;
&lt;br /&gt;
.model triangle triangle  cntl_array = [0 1]    freq_array = [1 1000]     &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|Cntl_array||control array||V||[0 1]||required&lt;br /&gt;
|-&lt;br /&gt;
|Freq_array||frequency array||Hz||[0 1000]||required&lt;br /&gt;
|-&lt;br /&gt;
|Out_low||output peak low value||V||-1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|Out_high||output peak high value||V||1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|Rise_duty||Rise time duty cycle||0.5|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crystal ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK78.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 2-pin parameterized crystal device.  &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|CM||motional capacitance||F||10f||&lt;br /&gt;
|-&lt;br /&gt;
|C0||shunt capacitance||F||1p||&lt;br /&gt;
|-&lt;br /&gt;
|RM||motional resistance||Ohms||100||&lt;br /&gt;
|-&lt;br /&gt;
|LM||motional inductance||H||100m||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Current Noise Source==&lt;br /&gt;
&lt;br /&gt;
[[File:GL16.png]]&lt;br /&gt;
&lt;br /&gt;
This is a current noise generator characterized by a spectral density and corner frequency. You have to click the {{key|Edit Model...}} button to access the [[parameters]] of this device. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|En||noise current||A/&amp;amp;radic;Hz||1p||required&lt;br /&gt;
|-&lt;br /&gt;
|freq||noise corner frequency||Hz||100||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Current Source==&lt;br /&gt;
&lt;br /&gt;
[[File:G17B.png]]&lt;br /&gt;
&lt;br /&gt;
Current source has a DC value, a transient behavior, an AC behavior, and distortion parameters. The transient type, AC parameters, and distortion parameters are defined on the first tab of the source's property dialog. The transient expression can be a pulse, sinusoid, exponential, or piecewise linear. The DC value of a current source is its initial transient value.  For a source with a sinusoidal transient behavior, for example, the DC value will be equal to its transient offset current. The AC parameters are magnitude and phase.  These are used during the AC Frequency Sweep analysis. The distortion parameters, two sets of magnitude and phase, are used during the distortion analysis. The AC and distortion parameters are defined on the second tab of the source's property dialog.&lt;br /&gt;
&lt;br /&gt;
==Current-Controlled Switch==&lt;br /&gt;
&lt;br /&gt;
[[File:G20.png]]&lt;br /&gt;
&lt;br /&gt;
Switches are devices that exhibit high resistance when open (OFF state) and low resistance when closed (ON state). The switch model allows an almost ideal switch to be specified. With careful selection of the on and off resistances, they can effectively represent zero and infinite resistances in comparison to other circuit elements, while sustaining the model condition of a positive, finite value. &lt;br /&gt;
&lt;br /&gt;
There are two versions of Current-Controlled Switch: two-terminal and four-terminal. For the two-terminal device, you must specify the name of the controlling Ammeter or voltage source, as well as the turn-on and turn-off currents in Amperes and on and off resistance values in Ohms. The four-terminal device already provides nodes for a controlling ammeter, and you just specify the rest of [[parameters]]. When the current through the switch or controlling device is greater or equal to the turn-on current, the switch closes. When the current through the switch or controlling device is less than or equal to the turn off current, the switch opens. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|I_ON||turn-on current||A||0.0||&lt;br /&gt;
|-&lt;br /&gt;
|I_OFF||turn-off current||A||0.0||&lt;br /&gt;
|-&lt;br /&gt;
|RON||closed resistance||Ohms||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|ROFF||open resistance||Ohms||1/GMIN||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Darlington Pair==&lt;br /&gt;
&lt;br /&gt;
[[File:GK108.png]]&lt;br /&gt;
&lt;br /&gt;
A Darlington pair is a three-pin device that consists of two interconnected BJT transistors of the same type. The collectors of two transistors are connected together to provide the &amp;quot;Collector&amp;quot; pin of the pair. The base of the first BJT acts the &amp;quot;Base&amp;quot; pin of the pair. The emitter of the first BJT is internally connected to the base of the second BJT. The emitter of the second BJT acts as the &amp;quot;Emitter&amp;quot; pin of the pair. There are two types of Darlington pair: NPN and PNP. The parameterized generic Darlington pair also contains a diode connected between the collector and emitter pin as well as two base-emitter resistors, one across each BJT.     &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|is_bjt||bjt saturation current||A||1.0e-12||&lt;br /&gt;
|-&lt;br /&gt;
|bf_bjt||bjt forward beta||-||150||&lt;br /&gt;
|-&lt;br /&gt;
|nf_bjt||bjt forward emission coefficient||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|ise_bjt||B-E leakage saturation current||A||0||&lt;br /&gt;
|-&lt;br /&gt;
|ne_bjt||B-E leakage emission coefficient||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|br_bjt||ideal maximum reverse beta||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|nr_bjt||reverse current emission coefficient||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|isc_bjt||B-C leakage saturation current||A||0||&lt;br /&gt;
|-&lt;br /&gt;
|nc_bjt||B-C leakage emission coefficient||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|rb_bjt||zero bias base resistance||Ohms||0||&lt;br /&gt;
|-&lt;br /&gt;
|irb_bjt||current where base resistance falls halfway to minimum value||A||inf||&lt;br /&gt;
|-&lt;br /&gt;
|rbm_bjt||minimum base resistance at high currents||ohms||0||&lt;br /&gt;
|-&lt;br /&gt;
|re_bjt||emitter resistance||Ohms||0||&lt;br /&gt;
|-&lt;br /&gt;
|rc_bjt||collector resistance||Ohms||0||&lt;br /&gt;
|-&lt;br /&gt;
|cje_bjt||B-E zero bias depletion capacitance||F||0||&lt;br /&gt;
|-&lt;br /&gt;
|vje_bjt||B-E built-in potential||V||0.75||&lt;br /&gt;
|-&lt;br /&gt;
|mje_bjt||B-E junction grading coefficient||-||0.33||&lt;br /&gt;
|-&lt;br /&gt;
|cjc_bjt||B-C zero bias depletion capacitance||F||0||&lt;br /&gt;
|-&lt;br /&gt;
|vjc_bjt||B-C built-in potential||V||0.75||&lt;br /&gt;
|-&lt;br /&gt;
|mjc_bjt||B-C junction exponential factor||-||0.33||&lt;br /&gt;
|-&lt;br /&gt;
|tf_bjt||ideal forward transit time||sec||0||&lt;br /&gt;
|-&lt;br /&gt;
|tr_bjt||ideal reverse transit time||sec||0||&lt;br /&gt;
|-&lt;br /&gt;
|is_d||diode saturation current||A||1.0e-12||&lt;br /&gt;
|-&lt;br /&gt;
|rs_d||diode resistance||Ohms||0||&lt;br /&gt;
|-&lt;br /&gt;
|n_d||diode emission coefficient||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|cjo_d||diode junction capacitance||F||0||&lt;br /&gt;
|-&lt;br /&gt;
|vj_d||diode junction potential||V||1||&lt;br /&gt;
|-&lt;br /&gt;
|m_d||diode grading coefficient|| ||0.5||&lt;br /&gt;
|-&lt;br /&gt;
|tnom||parameter measurement temperature||deg C||27||&lt;br /&gt;
|-&lt;br /&gt;
|r1||first base-emitter resistance||Ohms||1k||&lt;br /&gt;
|-&lt;br /&gt;
|r2||second base-emitter resistance||Ohms||1k||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==D Flip-Flop==&lt;br /&gt;
&lt;br /&gt;
[[File:G52.png]]&lt;br /&gt;
&lt;br /&gt;
The digital D-type flip-flop is a one-bit, edge-triggered storage element which stores data whenever the clock (CLK) input line transitions from 0 (low) to 1 (high). In addition, there are asynchronous set and reset signals, which are independent of the clock. When SET = RESET = 0, the data on the D line is transferred to the output Q on the rising edge of the clock. The combination SET = 1 and RESET = 0, causes Q = 1. The combination SET = 0 and RESET = 1 causes Q = 0. The combination SET = RESET = 1 is illegal and is resolved by setting both outputs Q and Q_bar to 1.&lt;br /&gt;
&lt;br /&gt;
Truth Table: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! CLK !! D !! Q !! Notes&lt;br /&gt;
|-&lt;br /&gt;
|[[File:NonRising.png]] || X || Q&amp;lt;sub&amp;gt;prev&amp;lt;/sub&amp;gt; || Hold State&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Rising.png]] || 0 || 0 || Data Transfer&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Rising.png]] || 1 || 1 || Data Transfer&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==D Latch==&lt;br /&gt;
&lt;br /&gt;
[[File:G54.png]]&lt;br /&gt;
&lt;br /&gt;
The digital D-type latch is a one-bit, level-sensitive storage element which outputs the value on the data (D) line whenever the enable (EN) input line is 1 (high). The value on the data line is stored, i.e., held on the output (Q) line whenever the enable (EN) line is 0 (low). In addition, there are set and reset signals, which are independent of the enable line. When SET = RESET = 0, the data on the D line is transferred to the output Q whenever EN = 1. The combination SET = 1 and RESET = 0, causes Q = 1. The combination SET = 0 and RESET = 1 causes Q = 0. The combination SET = RESET = 1 is illegal and is resolved by setting both outputs Q and Q_bar to 1.&lt;br /&gt;
&lt;br /&gt;
Truth Table: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! EN !! D !! Q !! Notes&lt;br /&gt;
|-&lt;br /&gt;
|0 || X || Q&amp;lt;sub&amp;gt;prev&amp;lt;/sub&amp;gt; || Hold State&lt;br /&gt;
|-&lt;br /&gt;
|1 || 0 || 0 || Reset&lt;br /&gt;
|-&lt;br /&gt;
|1 || 1 || 1 || Set&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DC Bias Sources Vcc, Vee, Vdd, Vss ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL12.png]]&lt;br /&gt;
&lt;br /&gt;
These are simple 1-pin DC voltage sources. Vcc and Vdd provide a positive voltage, while Vee and Vss provide a negative voltage&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|vcc||bias voltage||V||+15||required&lt;br /&gt;
|-&lt;br /&gt;
|vee||bias voltage||V||-15||required&lt;br /&gt;
|-&lt;br /&gt;
|vdd||bias voltage||V||+15||required&lt;br /&gt;
|-&lt;br /&gt;
|vss||bias voltage||V||-15||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Digital-to-Analog Converter (DAC) Bridge==&lt;br /&gt;
&lt;br /&gt;
[[File:GK43.png]]&lt;br /&gt;
&lt;br /&gt;
The DAC Bridge takes a digital value from a digital node and can only be eiter &amp;amp;quot;0&amp;amp;quot;, &amp;amp;quot;1&amp;amp;quot;,&lt;br /&gt;
or &amp;amp;quot;U&amp;amp;quot;. It then outputs the value &amp;amp;quot;out_low&amp;amp;quot;, &amp;amp;quot;out_high&amp;amp;quot; or &amp;amp;quot;out_udndef&amp;amp;quot;,&lt;br /&gt;
or ramps linearly toward one of these &amp;amp;quot;final&amp;amp;quot; values from its curent analog output level. This&lt;br /&gt;
ramping speed depends on the values of &amp;amp;quot;t_rise&amp;amp;quot; and &amp;amp;quot;t_fall&amp;amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Model Identifier: dac_bridge&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; [&amp;amp;lt;in_pin&amp;amp;gt; {&amp;amp;lt;in2_pin&amp;amp;gt;&amp;amp;gt; ...}] [&amp;amp;lt;out_pin&amp;amp;gt; {&amp;amp;lt;out2_pin&amp;amp;gt; ...}] &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; dac_bridge {&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A [1] [2] dac_bridge&lt;br /&gt;
&lt;br /&gt;
.model dac_bridge dac_bridge out_low = 0 fall_delay = 1n &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|out_low||analog output for 0 digital input||V||0||required&lt;br /&gt;
|-&lt;br /&gt;
|out_high||analog output for 1 digital input||V||1||required&lt;br /&gt;
|-&lt;br /&gt;
|out_undef||analog output for undefined digital input||V||0.5||required&lt;br /&gt;
|-&lt;br /&gt;
|input_load||capacitive input load||F||1p|| &lt;br /&gt;
|-&lt;br /&gt;
|t_rise||L-to-H delay time||sec||1n|| &lt;br /&gt;
|-&lt;br /&gt;
|t_fall||H-to-L delay time||sec||1n|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Diode==&lt;br /&gt;
&lt;br /&gt;
[[File:G9.png]]&lt;br /&gt;
&lt;br /&gt;
Diodes allow current flow only in one direction, following their symbol's arrow, and thus can be used as simple solid&lt;br /&gt;
state switches in AC circuits.&lt;br /&gt;
&lt;br /&gt;
The standard device parameters are AREA, OFF, IC, and T.  They are described below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|AREA||area factor (optional) (If not specified, the default value is 1.0.)&lt;br /&gt;
|-&lt;br /&gt;
|OFF||initial condition for the DC analysis (optional)&lt;br /&gt;
|-&lt;br /&gt;
|IC||initial condition (optional) (Used when a transient analysis is desired, which starts from other than the quiescent operating point.)&lt;br /&gt;
|-&lt;br /&gt;
|T||operating temperature of the device (optional)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The process models can be either junction diodes or Schottky barrier diodes.  Area factor scales the model parameters&lt;br /&gt;
IS, RS, CJO, and IBV.  VD is the initial voltage, and TEMP is the overriding temperature. Descriptions of the process model parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|IS||saturation current||A||1e-14||&lt;br /&gt;
|-&lt;br /&gt;
|TNOM||parameter measurement temperature||deg C||27||&lt;br /&gt;
|-&lt;br /&gt;
|RS||ohmic resistance||Ohms||0||&lt;br /&gt;
|-&lt;br /&gt;
|N||emission coefficient||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|TT||transit-time||sec||0||&lt;br /&gt;
|-&lt;br /&gt;
|CJO||zero-bias junction capacitance||F||0||&lt;br /&gt;
|-&lt;br /&gt;
|VJ||junction potential||V||1||&lt;br /&gt;
|-&lt;br /&gt;
|M||grading coefficient||-||0.5||&lt;br /&gt;
|-&lt;br /&gt;
|EG||activation energy||eV||1.11||&lt;br /&gt;
|-&lt;br /&gt;
|XTI||saturation current temp. exp.||-||3.0||&lt;br /&gt;
|-&lt;br /&gt;
|KF||flicker noise coefficient||-||0||&lt;br /&gt;
|-&lt;br /&gt;
|AF||flicker noise exponent||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|FC||forward bias junction fit parameter||-||0.5||&lt;br /&gt;
|-&lt;br /&gt;
|BV||reverse breakdown voltage||V||inf||&lt;br /&gt;
|-&lt;br /&gt;
|IBV||current at breakdown voltage||A||1e-3||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Diode Bridge==&lt;br /&gt;
&lt;br /&gt;
[[File:GK107.png]]&lt;br /&gt;
&lt;br /&gt;
This four-pin device is a bridge configuration of four generic diodes.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|IS||saturation current||A||1e-14||&lt;br /&gt;
|-&lt;br /&gt;
|RS||ohmic resistance||Ohms||0||&lt;br /&gt;
|-&lt;br /&gt;
|N||emission coefficient||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|TT||transit-time||sec||0||&lt;br /&gt;
|-&lt;br /&gt;
|CJO||zero-bias junction capacitance||F||10p||&lt;br /&gt;
|-&lt;br /&gt;
|VJ||junction potential||V||1||&lt;br /&gt;
|-&lt;br /&gt;
|M||grading coefficient||-||0.5||&lt;br /&gt;
|-&lt;br /&gt;
|BV||reverse breakdown voltage||V||1000||&lt;br /&gt;
|-&lt;br /&gt;
|IBV||current at breakdown voltage||A||1e-3||&lt;br /&gt;
|-&lt;br /&gt;
|TNOM||parameter measurement temperature||deg C||27||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Doubly Center-Tapped Ferrite Core Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:GK98.png]]&lt;br /&gt;
&lt;br /&gt;
This six-pin four-port device models a doubly center-tapped physical transformer with a magnetic ferrite core. Its model is based on XSPICE's magnetic core and inductive coupling models. For this device you need to specify physical parameters like cross sectional area, core length and number of primary and secondary turns. The physical model of the magnetic device is defined by two vectors: magnetic field intensity H in A/m and magnetic flux density B (also known as magnetic induction) in Tesla. The default array values are:&lt;br /&gt;
   &lt;br /&gt;
H_array = [-250 -100 -50 -37.5 -25 -12.5 0 12.5 25 37.5 50 100 250]&lt;br /&gt;
&lt;br /&gt;
B_array = [-0.375 -0.36 -0.32 -0.29 -0.24 -0.15 0 0.15 0.24 0.29 0.32 0.36 0.375]&lt;br /&gt;
&lt;br /&gt;
To change the value of H/B arrays, open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|n_prim||number of full-winding primary inductor coupling turns||-||100||required&lt;br /&gt;
|-&lt;br /&gt;
|n_sec||number of full-winding secondary inductor coupling turns||-||100||required&lt;br /&gt;
|-&lt;br /&gt;
|area||cross-sectional area||m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||1e-5||&lt;br /&gt;
|-&lt;br /&gt;
|length||core length||m||0.01||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DPDT Switch ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK74.png]]&lt;br /&gt;
&lt;br /&gt;
This is an 8-pin device that models a double-pole double-throw switch. It has two input signals and four output pins. When the control voltage is at the high state, the first and second input voltages are transferred to the first and third output pins, respectively. When the control voltage is at the low state, the first and second input voltages are transferred to the second and fourth output pins, respectively.      &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|von||turn-on voltage||V||3.3||&lt;br /&gt;
|-&lt;br /&gt;
|voff||turn-off voltage||V||0.3||&lt;br /&gt;
|-&lt;br /&gt;
|vt||threshold voltage||V||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|ron||on resistance||Ohms||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|roff||off resistance||Ohms||1Gig||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DPST Switch ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK73.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 6-pin device that models a double-pole single-throw switch. It has two input signals and two output signals. When the switch on, the first and second input voltages are transferred to the first and second output pins, respectively. When the switch is off, the output pin do not receive any input signals.     &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|von||turn-on voltage||V||3.3||&lt;br /&gt;
|-&lt;br /&gt;
|voff||turn-off voltage||V||0.3||&lt;br /&gt;
|-&lt;br /&gt;
|vt||threshold voltage||V||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|ron||on resistance||Ohms||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|roff||off resistance||Ohms||1Gig||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ferrite Core Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:GK95.png]]&lt;br /&gt;
&lt;br /&gt;
This four-pin two-port device models a physical transformer with a magnetic ferrite core. Its model is based on XSPICE's magnetic core and inductive coupling models. For this device you need to specify physical parameters like cross sectional area, core length and number of primary and secondary turns. The physical model of the magnetic device is defined by two vectors: magnetic field intensity H in A/m and magnetic flux density B (also known as magnetic induction) in Tesla. The default array values are:&lt;br /&gt;
   &lt;br /&gt;
H_array = [-250 -100 -50 -37.5 -25 -12.5 0 12.5 25 37.5 50 100 250]&lt;br /&gt;
&lt;br /&gt;
B_array = [-0.375 -0.36 -0.32 -0.29 -0.24 -0.15 0 0.15 0.24 0.29 0.32 0.36 0.375]&lt;br /&gt;
&lt;br /&gt;
To change the value of H/B arrays, open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|n_prim||number of primary turns||-||100||required&lt;br /&gt;
|-&lt;br /&gt;
|n_sec||number of secondary turns||-||100||required&lt;br /&gt;
|-&lt;br /&gt;
|area||cross-sectional area||m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||1e-5||&lt;br /&gt;
|-&lt;br /&gt;
|length||core length||m||0.01||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== FM Modulated Source ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL24.png]]&lt;br /&gt;
&lt;br /&gt;
This is a voltage source with a single-tone frequency modulated waveform. The FM modulation index MDI is defined as the ratio of maximum frequency deviation to maximum signal amplitude. &lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|V0||offset||V||0||&lt;br /&gt;
|-&lt;br /&gt;
|VA||amplitude||V||1||&lt;br /&gt;
|-&lt;br /&gt;
|FC||carrier frequency ||Hz||1||required&lt;br /&gt;
|-&lt;br /&gt;
|MDI||modulation index||-||0||required&lt;br /&gt;
|-&lt;br /&gt;
|FS||signal frequency ||Hz||1||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Frequency Meter==&lt;br /&gt;
[[File:G114.png]]&lt;br /&gt;
&lt;br /&gt;
The Frequency Meter is a four-pin shunt device that is connected in parallel with an AC source just like a voltmeter and measures the operating frequency of the AC circuit. The input pins are connected across the AC source. The voltage across the output pins is equal to the frequency of the source in Hertz within a scale factor SF. Note that the Frequency Meter is designed to work with a single-tone AC source of unit amplitude. If the amplitude of the source is not one, multiply the SF parameter by the non-unit source amplitude value. The output voltage of the Frequency Meter can be used in conjunction with linear or nonlinear dependent sources to model frequency-dependent quantities.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Model Identifier: fmeter&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
The only parameter is the scale factor SF with a default value of 1.0. Set SF = 1e-6 to read out the frequency in MHz. Set SF = 1e-9 to read out the frequency in GHz. Set SF = 6.283185 (2*pi) to read out the angular frequency &amp;amp;omega; in radian/s.  &lt;br /&gt;
&lt;br /&gt;
== Fuse ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK76.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 2-pin interactive current-controlled switch. If the current passing through the fuse is less than a specified threshold current, the switch is closed. If the current exceeds the threshold level, the fuse breaks and remains open thereafter. The device's symbol changes to display its state.   &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|r||resistance when intact||Ohms||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|i_thresh||threshold current||A||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ground==&lt;br /&gt;
&lt;br /&gt;
[[File:G15.png]]&lt;br /&gt;
&lt;br /&gt;
Ground has a voltage of zero (0) and is used as a reference to compute electrical values in the circuit. &lt;br /&gt;
All circuits &amp;lt;B&amp;gt;must&amp;lt;/B&amp;gt; be grounded to be properly simulated.  There is no limit on the number of grounds&lt;br /&gt;
you may use in a circuit.  All components connected to ground are referenced to a common point and treated&lt;br /&gt;
as linked through ground.&lt;br /&gt;
&lt;br /&gt;
==Hysteresis Block (XSPICE)==&lt;br /&gt;
&lt;br /&gt;
[[File:G37.png]]&lt;br /&gt;
&lt;br /&gt;
The Hysteresis block is a simple buffer stage that provides hysteresis of the output with respect to the&lt;br /&gt;
input.  The in_low and in_high parameter values.  The output values are limited to out_lower_limit and&lt;br /&gt;
out_upper_limit.  The value of \93hyst\94 is added to the in_low and in_high points in order to specify the&lt;br /&gt;
points at which the slope of the hysteresis function would normally change abruptly as the input transitions&lt;br /&gt;
from a low to a high value.  Likewise, the value of \93hyst\94 is subtracted from the in_high and in_low values&lt;br /&gt;
in order to specify the points at which the slope of the hysteresis function would normally change abruptly&lt;br /&gt;
as the input transitions from a high to a low value.  In fact, the slope of the hysteresis function is&lt;br /&gt;
never allowed to change abruptly but is smoothly varied whenever the input_dowmain smoothing parameter&lt;br /&gt;
is set greater than zero.&lt;br /&gt;
&lt;br /&gt;
Model Identifier: hyst&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; &amp;amp;lt;in_pin&amp;amp;gt; &amp;amp;lt;out_pin&amp;amp;gt; &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; hyst {&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 1  2 hysteresis_block&lt;br /&gt;
&lt;br /&gt;
.model hysteresis_block hyst  in_low = 0.0    in_high = 1.0&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Name!!Description!!Default&lt;br /&gt;
|-&lt;br /&gt;
|In_low||input low value||0.0&lt;br /&gt;
|-&lt;br /&gt;
|in_high||input high value||1.0&lt;br /&gt;
|-&lt;br /&gt;
|hyst||hysteresis||0.1&lt;br /&gt;
|-&lt;br /&gt;
|out_lower_limit||output lower limit||0.0&lt;br /&gt;
|-&lt;br /&gt;
|out_upper_limit||output upper limit||1.0&lt;br /&gt;
|-&lt;br /&gt;
|input_domain||input smoothing domain||0.01&lt;br /&gt;
|-&lt;br /&gt;
|fraction||smoothing fraction/absolute value switch||true&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Buffer Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL40.png]]&lt;br /&gt;
&lt;br /&gt;
This model is an ideal buffer block with a default unity gain. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|r_in||input resistance||&amp;amp;Omega;||1G||&lt;br /&gt;
|-&lt;br /&gt;
|r_out||output resistance||&amp;amp;Omega;||1u||&lt;br /&gt;
|-&lt;br /&gt;
|gain||gain||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Center-Tapped Transformer with Push-Pull Input==&lt;br /&gt;
&lt;br /&gt;
[[File:XFMR4.png]]&lt;br /&gt;
&lt;br /&gt;
The ideal center-tapped transformer with push-pull input is a five-pin three-port device with two primary input ports and one secondary output port. Its model is based on the [[Glossary_of_Generic_Analog_Devices#Ideal_Transformer | Ideal Transformer]], and the relationship between its primary and secondary voltages is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{v_P1}{v_S} = \frac{v_P2}{v_S} = n &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where v&amp;lt;sub&amp;gt;S&amp;lt;/sub&amp;gt; is the secondary voltage, v&amp;lt;sub&amp;gt;P1&amp;lt;/sub&amp;gt; is measured between the top primary pin P1 and the center tap pin, and v&amp;lt;sub&amp;gt;P2&amp;lt;/sub&amp;gt; is measured between the center tap pin and the bottom primary pin P2. The red dots show the polarity of the windings on each side. This model has one parameter: ratio = n = N&amp;lt;sub&amp;gt;P1&amp;lt;/sub&amp;gt;/N&amp;lt;sub&amp;gt;S&amp;lt;/sub&amp;gt; = N&amp;lt;sub&amp;gt;P2&amp;lt;/sub&amp;gt;/N&amp;lt;sub&amp;gt;S&amp;lt;/sub&amp;gt;, which represents the primary-to-secondary (half-winding) turns ratio.        &lt;br /&gt;
&lt;br /&gt;
==Ideal Center-Tapped Transformer with Push-Pull Output==&lt;br /&gt;
&lt;br /&gt;
[[File:XFMR3.png]]&lt;br /&gt;
&lt;br /&gt;
The ideal center-tapped transformer with push-pull output is a five-pin three-port device with one primary input port and two secondary output ports. Its model is based on the [[Glossary_of_Generic_Analog_Devices#Ideal_Transformer | Ideal Transformer]], and the relationship between its primary and secondary voltages is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{v_P}{v_{S1}} = \frac{v_P}{v_{S2}} = n &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where v&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt; is the primary voltage, v&amp;lt;sub&amp;gt;S1&amp;lt;/sub&amp;gt; is measured between the top secondary pin S1 and the center tap pin, and v&amp;lt;sub&amp;gt;S2&amp;lt;/sub&amp;gt; is measured between the center tap pin and the bottom secondary pin S2. The red dots show the polarity of the windings on each side. This model has one parameter: ratio = n = N&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt;/N&amp;lt;sub&amp;gt;S1&amp;lt;/sub&amp;gt; = N&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt;/N&amp;lt;sub&amp;gt;S2&amp;lt;/sub&amp;gt;, which represents the primary-to-secondary (half-winding) turns ratio.&lt;br /&gt;
&lt;br /&gt;
==Ideal Comparator Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL51.png]]&lt;br /&gt;
&lt;br /&gt;
This block is an ideal two-signal voltage comparator with a default unity gain. It has a binary output that takes a value of 0V if v&amp;lt;sub&amp;gt;pos&amp;lt;/sub&amp;gt; &amp;lt; v&amp;lt;sub&amp;gt;neg&amp;lt;/sub&amp;gt; and takes a value of 1V if v&amp;lt;sub&amp;gt;pos&amp;lt;/sub&amp;gt; &amp;gt; v&amp;lt;sub&amp;gt;neg&amp;lt;/sub&amp;gt;. If v&amp;lt;sub&amp;gt;pos&amp;lt;/sub&amp;gt; = v&amp;lt;sub&amp;gt;neg&amp;lt;/sub&amp;gt;, the output voltage is 0.5V.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|gain||comparator gain||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Delay Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL44.png]]&lt;br /&gt;
&lt;br /&gt;
This model is an ideal signal delay block based on an ideal delay line model. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|delay||time delay||sec||1u||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Diode==&lt;br /&gt;
&lt;br /&gt;
[[File:GK106.png]]&lt;br /&gt;
&lt;br /&gt;
This 2-pin device is a very basic and primitive model of a diode as a rectifier or switch. When the voltage across the device's terminals is positive, it acts as a short circuit. When the voltage across the device's terminals is negative, it acts as an open circuit.   &lt;br /&gt;
&lt;br /&gt;
Parameters: &lt;br /&gt;
&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
==Ideal Full-Wave Rectifier Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL47.png]]&lt;br /&gt;
&lt;br /&gt;
This block rectifies an input signal at both positive and negative cycles with a default unity gain. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|gain||rectifier gain||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Gyrator Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL48.png]]&lt;br /&gt;
&lt;br /&gt;
An ideal gyrator is a linear two-port device which couples the current on one port to the voltage on the other and vice versa. The instantaneous voltages and currents instantaneous are related by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;v_{out}(t) = R \cdot i_{in}(t) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;v_{in}(t) = - R \cdot i_{out}(t) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ideal gyrator acts as an impedance inverter. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|r||gyration resistance||&amp;amp;Omega;||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Half-Wave Rectifier Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL46.png]]&lt;br /&gt;
&lt;br /&gt;
This block rectifies an input signal at positive cycles with a default unity gain. Its output at negative cycles is zero. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|gain||rectifier gain||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Operational Amplifier (Op-Amp)==&lt;br /&gt;
&lt;br /&gt;
[[File:GK105.png]]&lt;br /&gt;
&lt;br /&gt;
This is a very basic and primitive model of an operational amplifier. It has only one parameter, open loop gain with a default value of 50,000, which is adequate for most cases. The ideal Op-Amp device doesn't require any DC bias voltages. &lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|A||open loop gain||-||50,000||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Phase Shifter Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL45.png]]&lt;br /&gt;
&lt;br /&gt;
This model is an ideal signal phase shifter block based on an ideal transmission line segment model. It is frequency-dependent and the signal phase shift is accurate only around the specified center frequency.  &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|phi||phase shift||deg||90||must be positive&lt;br /&gt;
|-&lt;br /&gt;
|fo||center frequency||Hz||1Meg||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Polarity Detector Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL66.png]]&lt;br /&gt;
&lt;br /&gt;
This 3-pin device measures the difference signal &amp;amp;Delta;v = v&amp;lt;sub&amp;gt;pos&amp;lt;/sub&amp;gt; - v&amp;lt;sub&amp;gt;neg&amp;lt;/sub&amp;gt; and produces a binary output &amp;amp;plusmn;A according to the sign of &amp;amp;Delta;v, where A is a user defined amplitude. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|MaxVal||output amplitude||V||1||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Splitter Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GL41.png]]&lt;br /&gt;
&lt;br /&gt;
This model is an ideal signal splitter block with a default one-half split ratio. It splits the input signal by a ratio of k:(1-k).&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|k||split ratio||-||0.5||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ideal Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:XFMR1.png]]&lt;br /&gt;
&lt;br /&gt;
The ideal transformer is a four-pin two-port device with the following relationship between the voltages and currents at its primary and secondary ports:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{v_P}{v_S} = - \frac{i_S}{i_P} = \frac{N_P}{N_S} = n &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where v&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt;, i&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt;, N&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt; are the primary voltage, current and number of turns, respectively, and v&amp;lt;sub&amp;gt;S&amp;lt;/sub&amp;gt;, i&amp;lt;sub&amp;gt;S&amp;lt;/sub&amp;gt;, N&amp;lt;sub&amp;gt;S&amp;lt;/sub&amp;gt; are the secondary voltage, current and number of turns, respectively. The red dots show the polarity of the windings on each side. This model has one parameter: ratio = n = N&amp;lt;sub&amp;gt;P&amp;lt;/sub&amp;gt;/N&amp;lt;sub&amp;gt;S&amp;lt;/sub&amp;gt;, which represents the primary-to-secondary turns ratio. Note that the ideal transformer model is defined based on controlled sources and does not involve any magnetic physical parameters as opposed to mutual inductors or ferrite core transformer.&lt;br /&gt;
&lt;br /&gt;
== Impulse Generator ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL19.png]]&lt;br /&gt;
&lt;br /&gt;
This is a voltage source that generates a periodic impulse train with oscillating between zero and a user defined maximum voltage level. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|T||impulse period||sec||1u||required&lt;br /&gt;
|-&lt;br /&gt;
|duty_cycle||impulse duty cycle||-||0.01||required&lt;br /&gt;
|-&lt;br /&gt;
|max_val||maximum output voltage level||V||1|| &lt;br /&gt;
|-&lt;br /&gt;
|delay||delay time||sec||0|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Inductance Meter==&lt;br /&gt;
&lt;br /&gt;
[[File:G37.png]]&lt;br /&gt;
&lt;br /&gt;
The Inductance Meter measures the total inductance between a circuit node and the ground. The input pin of the device is connected to the measurement node. The output voltage of the device is then a scaled value equal to the total inductance seen on its input multiplied by the gain parameter. This model is primarily intended as a building block for other models which must sense an inductance value and alter their behavior based upon it. Care must be exercised when connecting an Inductance Meter to the inductors of a circuit. This is due to the fact that inductors are treated by SPICE as current sources. This can cause a problem when an inductor is connected in series with a current source, or in series with a voltmeter, or in series with another inductor. &lt;br /&gt;
&lt;br /&gt;
Model Identifier: lmeter&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; &amp;amp;lt;in_pin&amp;amp;gt; &amp;amp;lt;out_pin&amp;amp;gt; &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; imeter {&amp;amp;lt;gain = value&amp;amp;gt;}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 1  2 inductance_meter&lt;br /&gt;
&lt;br /&gt;
.model inductance_meter lmeter  gain = 1 &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
The only parameter is the gain with a default value of 1.0.&lt;br /&gt;
&lt;br /&gt;
==Inductive Coupler Block==&lt;br /&gt;
&lt;br /&gt;
[[File:GK99.png]]&lt;br /&gt;
&lt;br /&gt;
The Inductive Coupler Block couples any two existing inductors. This block doesn't have any pins because it doesn't actually represent inductors, only the coupling between them. This is useful if you want to&lt;br /&gt;
couple two inductors that are in different parts of the circuit, or if you want to couple more than two inductors together. In the latter case, use more than one of these, with each one coupling a pair of inductors.&lt;br /&gt;
&lt;br /&gt;
The standard parameters are Inductor1, Inductor2, and k. Inductor1 is the name of first inductor, Inductor2 is the name of the second inductor, and k is the coefficient of coupling, 0 &amp;amp;lt; k &amp;amp;le; 1.&lt;br /&gt;
&lt;br /&gt;
==Inductive Coupling (XSPICE)==&lt;br /&gt;
&lt;br /&gt;
[[File:G41.png]]&lt;br /&gt;
&lt;br /&gt;
This function is a conceptual model which is used as a building block to create a wide variety of inductive and magnetic circuit models. This function is normally used in&lt;br /&gt;
conjunction with the “core” model, but it can also be used with resistors, hysteresis blocks, etc. to build up systems which mock the behavior of linear and nonlinear components.&lt;br /&gt;
The lcouple takes as an input (on the “l” port) a current. This current value is multiplied by the num_turns value, N, to produce an output value (a voltage value which appears on the&lt;br /&gt;
mmf_out port). The mmf_out acts similar to a magnetomotive force in a magnetic circuit;&lt;br /&gt;
when the lcouple is connected to the “core” model, or to some other resistive device, a current will flow. This current value (which is modulated by whatever the lcouple is&lt;br /&gt;
connected to) is then used by the lcouple to calculate a voltage “seen” at the “l” port. The voltage is a function of the derivative with respect to time of the current value seen at mmf_out.&lt;br /&gt;
&lt;br /&gt;
The most common use for lcouple will be as a building block in the construction of transformer models. To create a transformer with a single input and a single output, you&lt;br /&gt;
would require two lcouple models plus one “core” model. &lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 (1 0) (2 3) lcouple1&lt;br /&gt;
&lt;br /&gt;
.model lcouple1 lcouple ( num_turns = 10 )&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|num_turns||number of turns||-||1||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Inductor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK121.png]]&lt;br /&gt;
&lt;br /&gt;
Inductors are used to store magnetic energy. An inductor's ability to counteract current changes passing through it is called its inductance (L), which is&lt;br /&gt;
measured in Henrys. In a (steady-state) DC analysis, the inductor acts like a short circuit. It is indeed treated as a current source, which can be problematic if an inductor is connected in series with a current source, or in series with a voltmeter, or in series with another inductor. The resistor may be of negligible value or one that accounts for the coil resistance of the inductor. In AC and transient analyses, the inductor develops a voltage across it in response to the changing magnetic&lt;br /&gt;
flux within its coil. &lt;br /&gt;
&lt;br /&gt;
An inductor's transient behavior is described by the equation:&lt;br /&gt;
&lt;br /&gt;
v(t) = L*(di(t)/dt) &lt;br /&gt;
&lt;br /&gt;
The inductor's initial condition is optional. It is the initial value of the inductor current in Amperes that flows from node N+ through the inductor to node N-. The only time that the initial current matters is when the simulator performs a transient analysis, and the &amp;quot;Use Initial Conditions&amp;quot; checkbox is checked. &lt;br /&gt;
&lt;br /&gt;
An inductor's AC behavior is described by the equation: &lt;br /&gt;
&lt;br /&gt;
v = j &amp;amp;omega; * L * i&lt;br /&gt;
&lt;br /&gt;
All inductor names must begin with L.&lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
L&amp;lt;device_name&amp;gt; &amp;lt;N+&amp;gt; &amp;lt;N-&amp;gt; &amp;lt;value&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
L1 1 2 10u&lt;br /&gt;
&lt;br /&gt;
==Inductor with Ferrite Core==&lt;br /&gt;
&lt;br /&gt;
[[File:GK94.png]]&lt;br /&gt;
&lt;br /&gt;
This 2-pin device models a physical inductor with a magnetic ferrite core. Its model is based on XSPICE's magnetic core and inductive coupling models. Unlike the standard inductor device, you do not specify an inductance value for the inductor with ferrite core. Rather, you specify physical parameters like cross sectional area, core length and number of turns. The physical model of the magnetic device is defined by two vectors: magnetic field intensity H in A/m and magnetic flux density B (also known as magnetic induction) in Tesla. The default array values are:&lt;br /&gt;
   &lt;br /&gt;
H_array = [-250 -100 -50 -37.5 -25 -12.5 0 12.5 25 37.5 50 100 250]&lt;br /&gt;
&lt;br /&gt;
B_array = [-0.375 -0.36 -0.32 -0.29 -0.24 -0.15 0 0.15 0.24 0.29 0.32 0.36 0.375]&lt;br /&gt;
&lt;br /&gt;
To change the value of H/B arrays, open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|n_turns||number of turns||-||100||required&lt;br /&gt;
|-&lt;br /&gt;
|area||cross-sectional area||m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||1e-5||&lt;br /&gt;
|-&lt;br /&gt;
|length||core length||m||0.01||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Insulated Gate Bipolar Transistor (IGBT)==&lt;br /&gt;
&lt;br /&gt;
[[File:GK111.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 3-pin parameterized Insulated Gate Bipolar Transistor (IGBT) device with three pins: Collector(C), Gate (G), and Emitter (E). It is primarily used as a fast electronic switch. The IGBT combines the simple gate-drive characteristics of MOSFETs with the high-current and low-saturation-voltage capability of bipolar transistors. The device's model consists of an isolated gate FET for the control input, and a PNP bipolar power transistor as a switch. To further modify the internal device models, open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text.    &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|cap||parasitic capacitance||F||1n||&lt;br /&gt;
|-&lt;br /&gt;
|rg||gate resistance||Ohms||5||&lt;br /&gt;
|-&lt;br /&gt;
|re||emitter resistance||Ohms||0.05||&lt;br /&gt;
|-&lt;br /&gt;
|bf||pnp transistor forward beta||-||1||&lt;br /&gt;
|-&lt;br /&gt;
|vto||MOSFET threshold voltage||V||5||&lt;br /&gt;
|-&lt;br /&gt;
|kt||MOSFET transconductance||-||2.99||&lt;br /&gt;
|-&lt;br /&gt;
|cgso||MOSFET voltage gate-source overlap capacitance||F||5u||&lt;br /&gt;
|-&lt;br /&gt;
|nd||diode emission coefficient||-||50||&lt;br /&gt;
|-&lt;br /&gt;
|cjo||diode junction capacitance||F||1n||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Integer Modulo Block ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL58.png]]&lt;br /&gt;
&lt;br /&gt;
This 3-pin device requires a voltage with an integer value on its second input pin. It produces a voltage equal to v&amp;lt;sub&amp;gt;in1&amp;lt;/sub&amp;gt; % v&amp;lt;sub&amp;gt;in2&amp;lt;/sub&amp;gt; and sends it to the output with a default unity gain.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|gain||gain||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Integrator Block==&lt;br /&gt;
&lt;br /&gt;
[[File:G32.png]]&lt;br /&gt;
&lt;br /&gt;
The Integrator Gain and input offset parameters are also included to allow for tailoring of the required&lt;br /&gt;
signa.  Output upper and lower limits are also included to prevent convergence errors resulting from excessively&lt;br /&gt;
large output values.  Note that these limits specify integrator behavior similar to that found in an operational&lt;br /&gt;
amplifier-based integration stage, in that once a limit is reached, additional storage does not occur. &lt;br /&gt;
Thus the input of a negative value to an integrator which is currently driving at the out_upper_limit&lt;br /&gt;
level will immediately cause a drop in the output, regardless of how long the integrator was previously&lt;br /&gt;
summing positive inputs.  The incremental value of output below the output_upper_limit and above the output_lower_limit&lt;br /&gt;
at which smoothing begins is specified via the limit_range parameter.  In AC analysis, the value returned&lt;br /&gt;
is equal to the gain divided by the radian frequency of analysis.&lt;br /&gt;
&lt;br /&gt;
Note that truncation error checking is included in the \93int\94 block.  This should provide for a more accurate&lt;br /&gt;
simulation for the time integration function, since the model will inherently request smaller time increments&lt;br /&gt;
between simulation points if truncation errors would otherwise be excessive.&lt;br /&gt;
&lt;br /&gt;
Model Identifier: int&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; &amp;amp;lt;in_pin&amp;amp;gt; &amp;amp;lt;out_pin&amp;amp;gt; &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; int  out_lower_limit = &amp;amp;lt;value&amp;amp;gt;  out_upper_limit = &amp;amp;lt;value&amp;amp;gt; {&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 1  2 integrator_block&lt;br /&gt;
&lt;br /&gt;
.model integrator_block int    out_lower_limit = -1t    out_upper_limit = 1t&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|gain||gain||-||1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|in_offset||output offset||V||0.0|| &lt;br /&gt;
|-&lt;br /&gt;
|out_lower_limit||output lower limit||V||-1t||required&lt;br /&gt;
|-&lt;br /&gt;
|out_upper_limit||output upper limit||V||1t||required&lt;br /&gt;
|-&lt;br /&gt;
|limit_range||upper and lower limit smoothing range||-||1.0e-6|| &lt;br /&gt;
|-&lt;br /&gt;
|out_ic||output initial condition||V||0.0|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Interactive Switch==&lt;br /&gt;
&lt;br /&gt;
[[File:GK75.png]]&lt;br /&gt;
&lt;br /&gt;
This device is an interactive switch that can be closed or opened either directly from the Schematic Editor by clicking on its symbol or from the Instrument Panel.&lt;br /&gt;
&lt;br /&gt;
==Interdigital Capacitor==&lt;br /&gt;
[[File:G97.png]]&lt;br /&gt;
&lt;br /&gt;
This is a four-pin, two-port device that models a planar interdigital capacitor. &lt;br /&gt;
&lt;br /&gt;
Model Identifier: interdigital&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|w||finger strip width||mm||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|s||finger strip spacing||mm||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|N||number of fingers||-||5||&lt;br /&gt;
|-&lt;br /&gt;
|l||capacitor length||mm||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|h||substrate thickness||mm||1.6||&lt;br /&gt;
|-&lt;br /&gt;
|er||substrate relative permittivity||-||2.2||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Inverted Microstrip Line==&lt;br /&gt;
[[File:GK62.png]]&lt;br /&gt;
&lt;br /&gt;
This is a four-pin, two-port device that models an inverted microstrip line segment on a single-layer dielectric slab/substrate placed at a specified height above a ground plane.  &lt;br /&gt;
&lt;br /&gt;
Model Identifier: microstrip-inverted&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|w||microstrip width||mm||4.8||&lt;br /&gt;
|-&lt;br /&gt;
|h||substrate thickness||mm||1.6||&lt;br /&gt;
|-&lt;br /&gt;
|er||substrate relative permittivity||-||2.2||&lt;br /&gt;
|-&lt;br /&gt;
|b||microstrip height above ground||mm||1.6||&lt;br /&gt;
|-&lt;br /&gt;
|len||microstrip length||m||10||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Junction Field Effect Transistor (JFET)==&lt;br /&gt;
&lt;br /&gt;
[[File:G12.png]]&lt;br /&gt;
&lt;br /&gt;
The JFET is the simplest transistor device and has three pins: gate, drain and source. The JFET defaults are based on the Shichman and Hodges FET model. This is a square-law device because of the expression relating the drain current to the gate-to-source voltage: &lt;br /&gt;
Idrain=*(VGS-Vthreshold)2.  In real JFETs, near the saturation point, the drain currents vary with the drain voltages. This can be modeled by the following formula:  Idrain=*(VGS-VTO)2*(1+*VDS), which yields an increasing&lt;br /&gt;
drain current for increasing values of VDS.&lt;br /&gt;
&lt;br /&gt;
The gate-to-source and gate-to-drain junctions each have a nonlinear capacitor.  The zero-bias capacitance value is selected for each junction.&lt;br /&gt;
&lt;br /&gt;
The standard device parameters are AREA, OFF, IC, and T.  They are described below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|AREA||area factor (optional) (If not specified, the default value is 1.0.)&lt;br /&gt;
|-&lt;br /&gt;
|OFF||initial condition for the DC analysis (optional)&lt;br /&gt;
|-&lt;br /&gt;
|IC||initial condition (optional) (Used when a transient analysis is desired, which starts from other than the quiescent operating point.)&lt;br /&gt;
|-&lt;br /&gt;
|T||operating temperature of the device (optional)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The process model parameters are listed in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!EXAMPLE&lt;br /&gt;
|-&lt;br /&gt;
|VTO||threshold voltage||V||-2||-2&lt;br /&gt;
|-&lt;br /&gt;
|BETA||transconductance parameter||A/V2||1.0e-4||1.0e-3&lt;br /&gt;
|-&lt;br /&gt;
|LAMBDA||channel-length modulation parameter||1/V||0||1.0e-4&lt;br /&gt;
|-&lt;br /&gt;
|RD||drain ohmic resistance||ohms||0||100&lt;br /&gt;
|-&lt;br /&gt;
|RS||source ohmic resistance||ohms||0||100&lt;br /&gt;
|-&lt;br /&gt;
|CGS||zero-bias G-S junction capacitance||F||0||5pF&lt;br /&gt;
|-&lt;br /&gt;
|CGD||zero-bias G-D junction capacitance||F||0||1pF&lt;br /&gt;
|-&lt;br /&gt;
|PB||gate junction potential||V||1||0.6&lt;br /&gt;
|-&lt;br /&gt;
|IS||gate junction saturation current||A||1.0e-14||1.0e-14&lt;br /&gt;
|-&lt;br /&gt;
|B||doping tail parameter|| ||1||1.1&lt;br /&gt;
|-&lt;br /&gt;
|KF||flicker-noise coefficient|| ||0|| &lt;br /&gt;
|-&lt;br /&gt;
|AF||flicker-noise exponent|| ||1|| &lt;br /&gt;
|-&lt;br /&gt;
|FC||coefficient for forward-bias depletion capacitance formula|| ||0.5|| &lt;br /&gt;
|-&lt;br /&gt;
|TNOM||parameter measurement temperature||deg. C||27||50&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Light Emitting Diode (LED) ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK114.png]]&lt;br /&gt;
&lt;br /&gt;
This is a two-pin parameterized diode device that emits light of a certain wavelength when it is forward-biased.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|rs||ohmic resistance||Ohms||10||&lt;br /&gt;
|-&lt;br /&gt;
|vj||junction potential||V||0.6||&lt;br /&gt;
|-&lt;br /&gt;
|cjo||zero bias junction capacitance||F||10p||&lt;br /&gt;
|-&lt;br /&gt;
|tt||transit time||sec||0.1n||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Linear Current-Controlled Current Source (CCCS)==&lt;br /&gt;
&lt;br /&gt;
[[File:G2.png]]&lt;br /&gt;
&lt;br /&gt;
The CCCS is a current source whose current is directly proportional to the current across a controlling Ammeter or a voltage source. There are two versions: two-terminal and four-terminal. For the two-terminal device, you must specify the name of the controlling Ammeter or voltage source, as well as the current gain, which has a default value of one. The four-terminal device already provides nodes for a controlling ammeter, and you just specify the current gain.   &lt;br /&gt;
&lt;br /&gt;
Model Identifier: cccs&lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
F&amp;lt;device_name&amp;gt; &amp;lt;N+&amp;gt; &amp;lt;N-&amp;gt; &amp;lt;controlling_device_name&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
F1 1 0 V1 1.0&lt;br /&gt;
&lt;br /&gt;
==Linear Current-Controlled Voltage Source (CCVS)==&lt;br /&gt;
&lt;br /&gt;
[[File:G4.png]]&lt;br /&gt;
&lt;br /&gt;
The CCVS is a voltage source whose voltage is directly proportional to the current through a controlling ammeter or a voltage source. There are two versions: two-terminal and four-terminal. For the two-terminal device, you must specify the name of the controlling Ammeter or voltage source, as well as the trans-resistance gain, which has a default value of one. The four-terminal device already provides nodes for a controlling ammeter, and you just specify the trans-resistance gain.  &lt;br /&gt;
&lt;br /&gt;
Model Identifier: ccvs&lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
H&amp;lt;device_name&amp;gt; &amp;lt;N+&amp;gt; &amp;lt;N-&amp;gt; &amp;lt;controlling_device_name&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
H1 1 0 V1 1.0&lt;br /&gt;
&lt;br /&gt;
==Linear Voltage-Controlled Current Source (VCCS)==&lt;br /&gt;
&lt;br /&gt;
[[File:G3.png]]&lt;br /&gt;
&lt;br /&gt;
The VCCS is a current source whose current is directly proportional to the voltage across a controlling voltmeter or the voltage between two circuit nodes. There are two versions: two-terminal and four-terminal. For the two-terminal device, you must specify the name of the controlling voltmeter or the two controlling nodes, as well as the trans-conductance gain, which has a default value of one. The four-terminal device already provides nodes for a controlling voltmeter, and you just specify the trans-conductance gain.  &lt;br /&gt;
&lt;br /&gt;
Model Identifier: vccs&lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
G&amp;lt;device_name&amp;gt; &amp;lt;N+&amp;gt; &amp;lt;N-&amp;gt; &amp;lt;NC+&amp;gt; &amp;lt;NC-&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
G1 1 0 2 0 1.0&lt;br /&gt;
&lt;br /&gt;
==Linear Voltage-Controlled Voltage Source (VCVS)==&lt;br /&gt;
&lt;br /&gt;
[[File:G1.png]]&lt;br /&gt;
&lt;br /&gt;
The VCVS is a voltage source whose voltage is directly proportional to the voltage across a controlling voltmeter of the voltage between two circuit nodes. There are two versions: two-terminal and four-terminal. For the two-terminal device, you must specify the name of the controlling voltmeter or the two controlling nodes, as well as the voltage gain, which has a default value of one. The four-terminal device already provides nodes for a controlling voltmeter, and you just specify the voltage gain.  &lt;br /&gt;
&lt;br /&gt;
Model Identifier: vcvs&lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
E&amp;lt;device_name&amp;gt; &amp;lt;N+&amp;gt; &amp;lt;N-&amp;gt; &amp;lt;NC+&amp;gt; &amp;lt;NC-&amp;gt; &amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
E1 1 0 2 0 1.0&lt;br /&gt;
&lt;br /&gt;
==Lossless Transmission Line==&lt;br /&gt;
&lt;br /&gt;
[[File:G21.png]]&lt;br /&gt;
&lt;br /&gt;
The lossless transmission line is a four-pin two-port device that models only one propagating mode of an ideal transmission line.  When using this SPICE model, should all four nodes of the actual circuit be distinct, two modes may be activated, and this device would be insufficient for that purpose. To circumvent this potential problem, two transmission line devices would be required. Due to the implementation details, you may produce more accurate simulation results with a lossy transmission line device with zero loss.&lt;br /&gt;
&lt;br /&gt;
Optional initial condition parameters are the voltage and current at each of the transmission line ports.&lt;br /&gt;
&lt;br /&gt;
The standard device parameters are Z0, TD, F, NL, IC, described below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Z0||characteristic impedance&lt;br /&gt;
|-&lt;br /&gt;
|TD||transmission delay&lt;br /&gt;
|-&lt;br /&gt;
|F||frequency&lt;br /&gt;
|-&lt;br /&gt;
|NL||normalized electrical length of the transmission line with respect to the wavelength in the line at frequency F. (If F is specified, but NL is not, the default is 0.25.)&lt;br /&gt;
|-&lt;br /&gt;
|IC||initial condition (Specifies the voltage and current at each of the transmission line ports.)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Lossy Transmission Line==&lt;br /&gt;
&lt;br /&gt;
[[File:G22.png]]&lt;br /&gt;
&lt;br /&gt;
The lossy transmission line is a four-pin two-port convolution model for uniform constant-parameter distributed lines. MNAME is the process model name, which&lt;br /&gt;
includes a set of pre-specified options as described below.&lt;br /&gt;
&lt;br /&gt;
The device model [[parameters]] are listed in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!EXAMPLE&lt;br /&gt;
|-&lt;br /&gt;
|R||resistance /length||Ohm /m||0.0||0.2&lt;br /&gt;
|-&lt;br /&gt;
|L||inductance/length||henrys/m||0.0||9.13e-9&lt;br /&gt;
|-&lt;br /&gt;
|C||capacitance/length||farads/m||0.0||3.65e-12&lt;br /&gt;
|-&lt;br /&gt;
|LEN||length of line||m||none||1.0&lt;br /&gt;
|-&lt;br /&gt;
|LININTERP||use linear interpolation||flag||not set||set&lt;br /&gt;
|-&lt;br /&gt;
|QUADINTERP||use quadratic interpolation||flag||not set||set&lt;br /&gt;
|-&lt;br /&gt;
|MIXEDINTERP||use linear when quadratic seems bad||flag||not set||set&lt;br /&gt;
|-&lt;br /&gt;
|COMPACTREL||special reltol for straight line checking||flag||RETOL||1.0e-3&lt;br /&gt;
|-&lt;br /&gt;
|COMPACTABS||special abstol for straight line checking||flag||ABSTOL||1.0e-9&lt;br /&gt;
|-&lt;br /&gt;
|NOCONTROL||don't do complex time control||flag||not set||set&lt;br /&gt;
|-&lt;br /&gt;
|STEPLIMIT||always limit timestep to 0.8*(delay of line)|| || || &lt;br /&gt;
|-&lt;br /&gt;
|NOSTEPLIMIT||don't always limit timestep to 0.8*(delay of line)||flag||not set||set&lt;br /&gt;
|-&lt;br /&gt;
|TRUNCNR||use Newton-Raphson method for timestep calculation in LTRAtrunc||flag||not set||set&lt;br /&gt;
|-&lt;br /&gt;
|TRUNCDONTCUT||don't limit timestep to keep impulse-response errors low||flag||not set||set&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P CLASS=&amp;quot;Normal-1&amp;quot;&amp;gt;&lt;br /&gt;
The RLC (uniform transmission line with series loss only), RC (uniform RC line), LC (lossless transmission&lt;br /&gt;
line), and RG (distributed series resistance and parallel conductance only) lines have been implemented. &lt;br /&gt;
The length (LEN) must be given.  COMPACTREL and COMPACTABS control the compaction of past history values&lt;br /&gt;
used in convolution.  Larger values for these lower accuracy but improve speed.  These are used with the&lt;br /&gt;
TRYTOCOMPACT option. &amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Magnetic Core (XSPICE)==&lt;br /&gt;
&lt;br /&gt;
[[File:G42.png]]&lt;br /&gt;
&lt;br /&gt;
This device is used as a building block to create a wide variety of inductive and magnetic circuit models. It is almost always to be used in conjunction with the &amp;quot;lcouple&amp;quot; model to build up systems which simulate the behavior of linear and nonlinear magnetic components. There are two fundamental modes of operation for the core model. These are the &amp;quot;PWL&amp;quot; mode (which is the default and most&lt;br /&gt;
likely to be of use to you) and the &amp;quot;Hysteresis&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;PWL Mode (mode = 1)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the PWL mode, the model takes a voltage as input which it treats as a magnetomotive force (mmf) value. This value is divided by the total effective length of the core to produce a value for the Magnetic Field Intensity, H, which is then used to find the corresponding Flux Density, B, using the piecewise linear relationship described by you in the H_array / B_array coordinate pairs. B is then multiplied by the cross-sectional area of the core to find the Flux value, which is output as a current. The pertinent mathematical equations are:&lt;br /&gt;
&lt;br /&gt;
H = mmf / L, where L = Length (in apmere-turns/meter)&lt;br /&gt;
&lt;br /&gt;
B = f(H)&lt;br /&gt;
&lt;br /&gt;
&amp;amp;Phi; = B * A, where A = Area&lt;br /&gt;
&lt;br /&gt;
The B value is derived from a piecewise linear transfer function described to the model by the H_array and B_array coordinate pairs.  This transfer function does not include hysteretic effects; for that, you would need to substitute a HYST model for the core. The magnetic flux value &amp;amp;Phi; in turn is used by the &amp;quot;lcouple&amp;quot;&lt;br /&gt;
code model to obtain a value for the voltage reflected back across its terminals to the driving electrical circuit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Hysteresis Mode (mode = 2)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Hysteresis mode, the model takes a voltage as input which it treats as a magnetomotive force (mmf)&lt;br /&gt;
value.  This value is used as input to the equivalent of a hysteresis code model block.  The parameters&lt;br /&gt;
defining the input low and high values, the output low and high values, and the amount of hysteresis are&lt;br /&gt;
as in that model. The output from this mode, as in PWL mode, is a current value which is seen across the magnetic core port.&lt;br /&gt;
&lt;br /&gt;
One final note to be made about the two core models is that certain parameters are specific to one or the other.  In particular, the in_low, in_high, out_lower_limit, out_upper_limit, and hysteresis parameters are not available in PWL mode. Likewise, the H_array, B_array, area, ad length values are unavailable&lt;br /&gt;
in Hysteresis mode.  The input_domain and fraction parameters are common to both modes (though their behavior is somewhat different; for explanation of the input_domain and fraction values for the Hysteresis mode, please refer to the Hysteresis Block discussion.&lt;br /&gt;
&lt;br /&gt;
Model Identifier: core&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; &amp;amp;lt;mc1 _pin&amp;amp;gt; &amp;amp;lt;mc2_pin&amp;amp;gt; &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; core area = &amp;amp;lt;value&amp;amp;gt; length = &amp;amp;lt;value&amp;amp;gt; H_array = [&amp;amp;lt;value1&amp;amp;gt; &amp;amp;lt;value2&amp;amp;gt;]    B_array = [&amp;amp;lt;value1&amp;amp;gt;  &amp;amp;lt;value2&amp;amp;gt;]&lt;br /&gt;
{&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 1  2 core&lt;br /&gt;
&lt;br /&gt;
.model core core  area = 1 length = 1  H_array = [0 1]    B_array = [0 1]  &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Name!!Description!!Default!!Notes&lt;br /&gt;
|-&lt;br /&gt;
|H_array||magnetic field array||[0 1]||required&lt;br /&gt;
|-&lt;br /&gt;
|B_array||flux density array||[0 1]||required&lt;br /&gt;
|-&lt;br /&gt;
|Area||cross-sectional area||1||required&lt;br /&gt;
|-&lt;br /&gt;
|Length||core length||1||required&lt;br /&gt;
|-&lt;br /&gt;
|Input_domain||input smoothing domain||0.01|| &lt;br /&gt;
|-&lt;br /&gt;
|Fraction||smoothing fraction/abs switch||True|| &lt;br /&gt;
|-&lt;br /&gt;
|Mode||mode switch (1=pwl, 2=hyst)||1|| &lt;br /&gt;
|-&lt;br /&gt;
|In_low||input low value||0.0|| &lt;br /&gt;
|-&lt;br /&gt;
|In_high||input high value||1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|Hyst||hysteresis||0.1|| &lt;br /&gt;
|-&lt;br /&gt;
|Out_lower_limit||output lower limit||0.0|| &lt;br /&gt;
|-&lt;br /&gt;
|Out_upper_limit||output upper limit||1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Marker==&lt;br /&gt;
&lt;br /&gt;
[[File:G16.png]]&lt;br /&gt;
&lt;br /&gt;
The marker serves several purposes:&lt;br /&gt;
&lt;br /&gt;
* It can appear as a default plot in simulations if the &amp;amp;quot;Voltage Probe&amp;amp;quot; box is checked.&lt;br /&gt;
&lt;br /&gt;
* It can be used to set the initial voltage or voltage guess at the node it is connected to.&lt;br /&gt;
&lt;br /&gt;
* It can be used as a port for a subcircuit when you choose the checkbox labeled &amp;quot;Use as Subcircuit Port&amp;quot; is checked.&lt;br /&gt;
&lt;br /&gt;
* It can be used to explicitly set a node number in place of the arbitrarily assigned node number by the program. In this case, make sure the &amp;amp;quot;Set Node Index&amp;amp;quot; box is checked.  Otherwise, it will act as just a voltage probe.&lt;br /&gt;
&lt;br /&gt;
* It can be used to connect different parts of a circuit in place of wires. To use markers as virtual connectors, place them at points where wires would otherwise connect. Then set the Part Title of the two (or more) markers to the same name, and they will act as a single circuit node.&lt;br /&gt;
&lt;br /&gt;
==MESFET==&lt;br /&gt;
&lt;br /&gt;
[[File:G14.png]]&lt;br /&gt;
&lt;br /&gt;
The MESFET is a Schottky-barrier gate FET with six times greater electron mobility than silicon.  MESFETs are important devices for creating high frequency circuits. They function by creating a potential barrier between the gate and the channel when the metal gate&lt;br /&gt;
contacts the gallium-arsenide substrate. Electron velocity saturates for fields approximately ten times lower than with silicon.  The Curtice model includes linear and saturated operation.&lt;br /&gt;
&lt;br /&gt;
The standard parameters are AREA, OFF, IC, and T.  They are described below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|AREA||area factor (optional) (If not specified, the default value is 1.0.)&lt;br /&gt;
|-&lt;br /&gt;
|OFF||initial condition for the DC analysis (optional)&lt;br /&gt;
|-&lt;br /&gt;
|IC||initial condition (optional) (Used when a transient analysis is desired, which starts from other than the quiescent operating point.)&lt;br /&gt;
|-&lt;br /&gt;
|T||operating temperature of the device (optional)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
All the MESFET process model parameters are described in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!EXAMPLE&lt;br /&gt;
|-&lt;br /&gt;
|VTO||pinch-off voltage||V||-2||-2&lt;br /&gt;
|-&lt;br /&gt;
|BETA||transconductance parameter||A/V2||1.0e-4||1.0e-3&lt;br /&gt;
|-&lt;br /&gt;
|B||doping tail extending parameter||1/V||0.3||0.3&lt;br /&gt;
|-&lt;br /&gt;
|ALPHA||saturation voltage parameter||1/V||2||2&lt;br /&gt;
|-&lt;br /&gt;
|LAMBDA||channel-length modulation parameter||1/V||0||1.0e-4&lt;br /&gt;
|-&lt;br /&gt;
|RD||drain ohmic resistance||Ohm||0||100&lt;br /&gt;
|-&lt;br /&gt;
|RS||source ohmic resistance||Ohm||0||100&lt;br /&gt;
|-&lt;br /&gt;
|CGS||zero-bias G-S junction capacitance||F||0||5pF&lt;br /&gt;
|-&lt;br /&gt;
|CGD||zero-bias G-D junction capacitance||F||0||1pF&lt;br /&gt;
|-&lt;br /&gt;
|PB||gate junction potential||V||1||0.6&lt;br /&gt;
|-&lt;br /&gt;
|KF||flicker noise coefficient||-||0|| &lt;br /&gt;
|-&lt;br /&gt;
|AF||flicker noise exponent||-||1|| &lt;br /&gt;
|-&lt;br /&gt;
|FC||coefficient for forward-bias depletion capacitance formula||-||0.5|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==MOSFET==&lt;br /&gt;
&lt;br /&gt;
[[File:G13.png]]&lt;br /&gt;
&lt;br /&gt;
The MOSFET is an active device that has up to 4 pins.  The three standard pins are gate, drain, and source.  These are given in the default symbol.  The bulk node, which is grounded by default, is the fourth pin.  The MOSFET with the bulk is named mos_n_lvl1_4 (the lvl1 is for level 1, the n for nmos, and the 4 for 4 pins.)&lt;br /&gt;
&lt;br /&gt;
The standard [[parameters]] are L, W, AD, AS, PD, PS, NRD, NRS, OFF, IC, and T.  They are described below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|L||channel length, in meters&lt;br /&gt;
|-&lt;br /&gt;
|W||channel width, in meters&lt;br /&gt;
|-&lt;br /&gt;
|AD,AS||areas of the drain and source diffusions, in meters2&lt;br /&gt;
|-&lt;br /&gt;
|PD,PS||perimeters of drain and source junctions, in meters(They default to 0.0.)&lt;br /&gt;
|-&lt;br /&gt;
|NRD,NRS||equivalent number of squares of the drain and source diffusions (These values multiply the sheet resistance for an accurate representation of parasitic series drain and source resistance of each transistor. The default value is 1.0.)&lt;br /&gt;
|-&lt;br /&gt;
|OFF||initial condition for the DC analysis (optional)&lt;br /&gt;
|-&lt;br /&gt;
|IC||initial condition (optional) (Used when a transient analysis is desired, which starts from other than the quiescent operating point.)&lt;br /&gt;
|-&lt;br /&gt;
|T||operating temperature of the device (optional)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
There are five different default models: square-law I-V characteristic, analytical, semi-empirical, and BSIM and BSIM2 (Berkeley Short-channel IGFET Model), which include second-order effects such as channel-length&lt;br /&gt;
modulation, subthreshold conduction, scattering-limited velocity saturation, small-size effects, and charge-controlled capacitance.  The process parameter LEVEL specifies which of the models is chosen as indicated below:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|LEVEL 1||Schichman-Hodges&lt;br /&gt;
|-&lt;br /&gt;
|LEVEL 2||MOS2&lt;br /&gt;
|-&lt;br /&gt;
|LEVEL 3||MOS3&lt;br /&gt;
|-&lt;br /&gt;
|LEVEL 4||BSIM&lt;br /&gt;
|-&lt;br /&gt;
|LEVEL 5||BSIM2&lt;br /&gt;
|-&lt;br /&gt;
|LEVEL 6||MOS6&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The process model [[parameters]] for levels 1,2,3, and 6 are listed in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!EXAMPLE&lt;br /&gt;
|-&lt;br /&gt;
|LEVEL||model index|| ||1|| &lt;br /&gt;
|-&lt;br /&gt;
|VTO||zero-bias threshold voltage||V||0.0||1.0&lt;br /&gt;
|-&lt;br /&gt;
|KP||transconductance parameter||A/V2||2e-5||3.1e-5&lt;br /&gt;
|-&lt;br /&gt;
|GAMMA||bulk threshold parameter||V1/2||0.0||0.37&lt;br /&gt;
|-&lt;br /&gt;
|PHI||surface potential||V||0.6||0.65&lt;br /&gt;
|-&lt;br /&gt;
|LAMBDA||channel-length modulation (level 1 &amp;amp; 2 only)||1/V||0.0||0.02&lt;br /&gt;
|-&lt;br /&gt;
|RD||drain ohmic resistance||ohms||0.0||1.0&lt;br /&gt;
|-&lt;br /&gt;
|RS||source ohmic resistance||ohms||0.0||1.0&lt;br /&gt;
|-&lt;br /&gt;
|CBD||zero-bias B-D junction capacitance||F||0.0||20fF&lt;br /&gt;
|-&lt;br /&gt;
|CBS||zero-bias B-S junction capacitance||F||0.0||20fF&lt;br /&gt;
|-&lt;br /&gt;
|IS||bulk junction saturation current||A||1.0e-14||1.0e-15&lt;br /&gt;
|-&lt;br /&gt;
|PB||bulk junction potential||V||0.8||0.87&lt;br /&gt;
|-&lt;br /&gt;
|CGSO||gate-source overlap capacitance per meter channel width||F/m||0.0||4.0e-11&lt;br /&gt;
|-&lt;br /&gt;
|CGDO||gate-drain overlap capacitance per meter channel width||F/m||0.0||4.0e-11&lt;br /&gt;
|-&lt;br /&gt;
|CGBO||gate-bulk overlap capacitance per meter channel length||F/m||0.0||2e-10&lt;br /&gt;
|-&lt;br /&gt;
|RSH||drain &amp;amp; source diffusion sheet resistance||ohm/area||0.0||10.0&lt;br /&gt;
|-&lt;br /&gt;
|CJ||zero-bias bulk junction bottom capacitance per meter2 junction area||F/m2||0.0||2e-4&lt;br /&gt;
|-&lt;br /&gt;
|MJ||bulk junction bottom grading coefficient|| ||0.5||0.5&lt;br /&gt;
|-&lt;br /&gt;
|CJSW||zero-bias bulk junction sidewall capacitance per meter junction perimeter||F/m||0.0||1.0e-9&lt;br /&gt;
|-&lt;br /&gt;
|MJSW||bulk junction sidewall grading coefficient|| ||0.5, 0.33 (level1), (level2,3)|| &lt;br /&gt;
|-&lt;br /&gt;
|JS||bulk junction saturation current per meter2 of junction area||A/m2|| ||1.0e-8&lt;br /&gt;
|-&lt;br /&gt;
|TOX||oxide thickness||meter||1.0e-7||1.0e-7&lt;br /&gt;
|-&lt;br /&gt;
|NSUB||substrate doping||1/cm3||0.0||4.0e15&lt;br /&gt;
|-&lt;br /&gt;
|NSS||surface state density||1/cm2||0.0||1.0e10&lt;br /&gt;
|-&lt;br /&gt;
|NFS||fast surface state density||1/cm2||0.0||1.0e10&lt;br /&gt;
|-&lt;br /&gt;
|TPG||type gate material(+1 if opp. substrate, 0 if A1 gate, -1 if same as substrate)|| ||1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|XJ||metallurgical junction depth||meter||0.0||1&lt;br /&gt;
|-&lt;br /&gt;
|LD||lateral diffusion||meter||0.0||0.8&lt;br /&gt;
|-&lt;br /&gt;
|UO||surface mobility||cm2/Vs||600||700&lt;br /&gt;
|-&lt;br /&gt;
|UCRIT||critical field for mobility degradation (level2 only)||V/cm||1.0e4||1.0e4&lt;br /&gt;
|-&lt;br /&gt;
|UEXP||critical field exponent in mobility degradation (level2 only)|| ||0.0||0.1&lt;br /&gt;
|-&lt;br /&gt;
|UTRA||transverse field coefficient (deleted for level2)|| ||0.0||0.3&lt;br /&gt;
|-&lt;br /&gt;
|VMAX||maximum drift velocity of carriers||m/s||0.0||5.0e4&lt;br /&gt;
|-&lt;br /&gt;
|NEFF||total channel-charge (fixed and mobile) coefficient (level2 only)|| ||1.0||5.0&lt;br /&gt;
|-&lt;br /&gt;
|KF||flicker noise coefficient|| ||0.0||1.0e-26&lt;br /&gt;
|-&lt;br /&gt;
|AF||flicker noise exponent|| ||1.0||1.2&lt;br /&gt;
|-&lt;br /&gt;
|FC||coefficient for forward bias depletion capacitance formula|| ||0.5|| &lt;br /&gt;
|-&lt;br /&gt;
|DELTA||width effect on threshold voltage (level2,3)|| ||0.0||1.0&lt;br /&gt;
|-&lt;br /&gt;
|THETA||mobility modulation (level3 only)||1/V||0.0||0.1&lt;br /&gt;
|-&lt;br /&gt;
|ETA||static feedback (level3 only)|| ||0.0||1.0&lt;br /&gt;
|-&lt;br /&gt;
|KAPPA||saturation field factor (level3 only)|| ||0.2||0.5&lt;br /&gt;
|-&lt;br /&gt;
|TNOM||parameter measurement temperature||deg. C||27||50&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The BSIM model has no default parameters, and leaving one out is considered an error.  The additional process model parameters for level 4 and 5 models are listed in the following table:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS&lt;br /&gt;
|-&lt;br /&gt;
|VFB||flat-band voltage||V&lt;br /&gt;
|-&lt;br /&gt;
|PHI||surface inversion potential||V&lt;br /&gt;
|-&lt;br /&gt;
|K1||body effect coefficient||V1/2&lt;br /&gt;
|-&lt;br /&gt;
|K2||drain/source depletion charge-sharing coefficient|| &lt;br /&gt;
|-&lt;br /&gt;
|ETA||zero-bias drain-induced barrier-lowering coefficient|| &lt;br /&gt;
|-&lt;br /&gt;
|MUZ||zero-bias mobility||cm2/V-s&lt;br /&gt;
|-&lt;br /&gt;
|DL||shortening of channel||m&lt;br /&gt;
|-&lt;br /&gt;
|DW||narrowing of channel||m&lt;br /&gt;
|-&lt;br /&gt;
|U0||zero-bias transverse-field mobility degradation coefficient||V-1&lt;br /&gt;
|-&lt;br /&gt;
|U1||zero-bias velocity saturation coefficient||m/V&lt;br /&gt;
|-&lt;br /&gt;
|X2MZ||sens. of mobility to substrate bias at Vds=0||cm2/V2-s&lt;br /&gt;
|-&lt;br /&gt;
|X2E||sens. of drain-induced barrier lowering effect to substrate bias||V-1&lt;br /&gt;
|-&lt;br /&gt;
|X3E||sens. of drain-induced barrier lowering effect to drain bias at Vds= Vdd||V-1&lt;br /&gt;
|-&lt;br /&gt;
|X2U0||sens. of transverse field mobility degradation to substrate bias||V-2&lt;br /&gt;
|-&lt;br /&gt;
|X2U1||sens. of velocity saturation effect to substrate bias||mV-2&lt;br /&gt;
|-&lt;br /&gt;
|MUS||mobility at zero substrate bias and at Vds= Vdd||cm2/V2-s&lt;br /&gt;
|-&lt;br /&gt;
|X2MS||sens. of mobility to substrate bias at Vds= Vdd||cm2/V2-s&lt;br /&gt;
|-&lt;br /&gt;
|X3MS||sens. of mobility to drain bias at Vds= Vdd||cm2/V2-s&lt;br /&gt;
|-&lt;br /&gt;
|X3U1||sens. of velocity saturation effect on drain bias at Vds= Vdd||mV-2&lt;br /&gt;
|-&lt;br /&gt;
|TOX||gate oxide thickness||m&lt;br /&gt;
|-&lt;br /&gt;
|TEMP||temperature at which [[parameters]] were measured||deg. C&lt;br /&gt;
|-&lt;br /&gt;
|VDD||measurement bias range||V&lt;br /&gt;
|-&lt;br /&gt;
|CGDO||gate-drain overlap capacitance per meter channel width||F/m&lt;br /&gt;
|-&lt;br /&gt;
|CGSO||gate-source overlap capacitance per meter channel width||F/m&lt;br /&gt;
|-&lt;br /&gt;
|CGBO||gate-bulk overlap capacitance per meter channel length||F/m&lt;br /&gt;
|-&lt;br /&gt;
|XPART||gate-oxide capacitance-charge model flag|| &lt;br /&gt;
|-&lt;br /&gt;
|N0||zero-bias subthreshold slope coefficient|| &lt;br /&gt;
|-&lt;br /&gt;
|NB||sens. of subthreshold slope to substrate bias|| &lt;br /&gt;
|-&lt;br /&gt;
|ND||sens. of subthreshold slope to drain bias|| &lt;br /&gt;
|-&lt;br /&gt;
|RSH||drain and source diffusion sheet resistance||ohms/area&lt;br /&gt;
|-&lt;br /&gt;
|JS||source drain junction current density||A/m2&lt;br /&gt;
|-&lt;br /&gt;
|PB||built-in potential of source drain junction||V&lt;br /&gt;
|-&lt;br /&gt;
|MJ||grading coefficient of source drain junction|| &lt;br /&gt;
|-&lt;br /&gt;
|PBSW||built-in potential of source drain junction sidewall||V&lt;br /&gt;
|-&lt;br /&gt;
|MJSW||grading coefficient of source drain junction sidewall|| &lt;br /&gt;
|-&lt;br /&gt;
|CJ||source drain junction capacitance per unit area||F/ m2&lt;br /&gt;
|-&lt;br /&gt;
|CJSW||source drain junction sidewall capacitance per unit length||F/m&lt;br /&gt;
|-&lt;br /&gt;
|WDF||source drain junction default width||m&lt;br /&gt;
|-&lt;br /&gt;
|DELL||source drain junction length reduction||m&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
XPART=0 selects a 40/60 drain/source charge partition; XPART=1 selects a 0/100 partition.&lt;br /&gt;
&lt;br /&gt;
==Mutual Inductors==&lt;br /&gt;
&lt;br /&gt;
[[File:GK100.png]]&lt;br /&gt;
&lt;br /&gt;
The mutual inductors device is a pair of inductors that are coupled to each other.  L1 and L2 are the names of two inductors. You have to specify the inductance of inductor L1, the inductance of inductor L2, the initial current through each, and the coupling coefficient k, 0 &amp;amp;le; k &amp;amp;le; 1. The mutual inductance M expressed in units of H can be calculated using the following definition:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; k = \frac{M}{\sqrt{L_1 L_2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|inductance1||inductance of inductor 1||H||1||&lt;br /&gt;
|-&lt;br /&gt;
|inductance2||inductance of inductor 2||H||1||&lt;br /&gt;
|-&lt;br /&gt;
|ic1||initial current through inductor 1||A||0||&lt;br /&gt;
|-&lt;br /&gt;
|ic2||initial current through inductor 2||A||0||&lt;br /&gt;
|-&lt;br /&gt;
|k||coefficient of coupling||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Non-Ideal Current Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:GK104.png]]&lt;br /&gt;
&lt;br /&gt;
This 8-pin device models a non-ideal lossy current transformer. Its model consists of an ideal transformer with more secondary turns than primary turns along with a number of parasitic elements. The interior pins with red wires give you direct access to the primary and secondary pins of the internal ideal transformer. on each side of the internal ideal transformer, there is a series leakage inductance LL&amp;lt;sub&amp;gt;k&amp;lt;/sub&amp;gt;, followed by a shunt winding capacitance CW&amp;lt;sub&amp;gt;k&amp;lt;/sub&amp;gt; and a series winding resistance RW&amp;lt;sub&amp;gt;k&amp;lt;/sub&amp;gt;, which connects to the exterior positive pin on that side. The inter-winding resistance R&amp;lt;sub&amp;gt;12&amp;lt;/sub&amp;gt; is connected across the negative pins of the primary and secondary of the ideal transformer model. In a more complete model, an external inductor LM can be connected between the positive and negative interior pins of either the primary or secondary to account for the effects of the magnetization inductance. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|ratio||secondary-to-primary turns ratio||-||2||required&lt;br /&gt;
|-&lt;br /&gt;
|rw1||primary winding resistance||Ohms||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|rw2||secondary winding resistance||Ohms||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|ll1||primary leakage inductance||H||1m||&lt;br /&gt;
|-&lt;br /&gt;
|ll2||secondary leakage inductance||H||1m||&lt;br /&gt;
|-&lt;br /&gt;
|cw1||primary winding capacitance||F||1p||&lt;br /&gt;
|-&lt;br /&gt;
|cw2||secondary winding capacitance||F||1p||&lt;br /&gt;
|-&lt;br /&gt;
|r12||inter-winding resistance||Ohms||10Meg||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Non-Ideal Diode==&lt;br /&gt;
&lt;br /&gt;
[[File:G9.png]]&lt;br /&gt;
&lt;br /&gt;
This 2-pin device is a basic simplified model of a diode as a rectifier or switch. When forward-biased, it acts as a low-valued voltage source. When reverse-biased, it acts as an open circuit until the reverse voltage exceeds the specified breakdown voltage. Then it acts as a high-valued voltage source of the reverse polarity. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|vf||forward drop voltage||V||0.5||required&lt;br /&gt;
|-&lt;br /&gt;
|vr||reverse breakdown voltage||V||100||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Non-Ideal Voltage Transformer==&lt;br /&gt;
&lt;br /&gt;
[[File:GK103.png]]&lt;br /&gt;
&lt;br /&gt;
This 8-pin device models a non-ideal lossy voltage transformer. Its model consists of an ideal transformer with more primary turns than secondary turns along with a number of parasitic elements. The interior pins with red wires give you direct access to the primary and secondary pins of the internal ideal transformer. There are series combinations of a winding resistance RW&amp;lt;sub&amp;gt;k&amp;lt;/sub&amp;gt; and a leakage inductance LL&amp;lt;sub&amp;gt;k&amp;lt;/sub&amp;gt; on the primary and secondary sides. These are connected between the positive interior and exterior pins on each side. There are also two shunt branches at the inputs of the primary and secondary sides (connected between the positive and negative exterior pins), each consisting of a distributed turn-to-turn winding resistance RDC&amp;lt;sub&amp;gt;k&amp;lt;/sub&amp;gt; in series with a distributed turn-to-turn winding capacitance CW&amp;lt;sub&amp;gt;k&amp;lt;/sub&amp;gt;. The inter-winding capacitance CWW&amp;lt;sub&amp;gt;12&amp;lt;/sub&amp;gt; is connected across the positive pins of the primary and secondary of the ideal transformer model. In a more complete model, an external inductor LM can be connected between the positive and negative interior pins of either the primary or secondary to account for the effects of the magnetization inductance.  &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|ratio||primary-to-secondary turns ratio||-||2||required&lt;br /&gt;
|-&lt;br /&gt;
|rw1||primary winding resistance||Ohms||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|rw2||secondary winding resistance||Ohms||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|ll1||primary winding leakage inductance||H||1m||&lt;br /&gt;
|-&lt;br /&gt;
|ll2||secondary winding leakage inductance||H||1m||&lt;br /&gt;
|-&lt;br /&gt;
|rdc1||primary distributed turn-to-turn winding resistance||Ohms||1u||&lt;br /&gt;
|-&lt;br /&gt;
|cw1||primary distributed turn-to-turn winding capacitance||F||1p||&lt;br /&gt;
|-&lt;br /&gt;
|rdc2||secondary distributed turn-to-turn winding resistance||Ohms||1u||&lt;br /&gt;
|-&lt;br /&gt;
|cw2||secondary distributed turn-to-turn winding capacitance||F||1p||&lt;br /&gt;
|-&lt;br /&gt;
|cww12||inter-winding capacitance||F||1p||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nonlinear Capacitor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK89.png]]&lt;br /&gt;
&lt;br /&gt;
The nonlinear capacitor model allows the capacitor to be described by an arbitrary relationship between the capacitor's charge Q and the voltage V across the capacitor. In other words, Q = f(V). The nonlinear capacitance is then defined as C(V) = dQ/dV. You need to define the charge Q by a mathematical expression in the voltage V. You have to open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. Enter any mathematical expression in the variable &amp;quot;v(pos,neg)&amp;quot; standing for the terminal voltage. The default expression is:&lt;br /&gt;
&lt;br /&gt;
{ C_DEF } * v(pos,neg)&lt;br /&gt;
&lt;br /&gt;
which implies a linear capacitor, where Q = C&amp;lt;sub&amp;gt;DEF&amp;lt;/sub&amp;gt; V. Therefore, C = C(V) = dQ/dV = C&amp;lt;sub&amp;gt;DEF&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Another example is 1e-4*(v(pos,neg))^2.&lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|C_DEF||default capacitance||F||1||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nonlinear Conductor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK88.png]]&lt;br /&gt;
&lt;br /&gt;
The nonlinear conductor model allows the conductor to be described by an arbitrary relationship between the conductor's current I and the voltage V across the conductor. In other words, I = f(V). The nonlinear conductance is then defined as G(V) = dI/dV. You need to define the current I by a mathematical expression in the voltage V. You have to open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. Enter any mathematical expression in the variable &amp;quot;v(pos,neg)&amp;quot; standing for the terminal voltage. The default expression is:&lt;br /&gt;
&lt;br /&gt;
{ G_DEF } * v(pos,neg)&lt;br /&gt;
&lt;br /&gt;
which implies a linear conductor, where I = G&amp;lt;sub&amp;gt;DEF&amp;lt;/sub&amp;gt; V. Therefore, G = G(V) = dI/dV = G&amp;lt;sub&amp;gt;DEF&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Another example is 1e-4*(v(pos,neg))^2.&lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|G_DEF||default capacitance||S||1||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nonlinear Dependent Sources==&lt;br /&gt;
&lt;br /&gt;
[[File:G18.png]]&lt;br /&gt;
&lt;br /&gt;
Nonlinear dependent (arbitrary) sources use an equation or mathematical expression to describe their behavior. One and only one of the two forms: V=&amp;amp;lt;expr&amp;amp;gt; or  I=&amp;amp;lt;expr&amp;amp;gt; must be given.&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
B&amp;lt;device_name&amp;gt; v = &amp;lt;expression&amp;gt;&lt;br /&gt;
&lt;br /&gt;
B&amp;lt;device_name&amp;gt; i = &amp;lt;expression&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Examples: &lt;br /&gt;
&lt;br /&gt;
v = I(v1) + 3* I(v2)&lt;br /&gt;
&lt;br /&gt;
I = v(i1) + 3* v(2) + 5 * v(3) ^2&lt;br /&gt;
&lt;br /&gt;
The first example is a current-controlled voltage source.  The v on the left side of the equation&lt;br /&gt;
indicates that it is a voltage source.  I(v1) and I(v2) are the currents through voltage sources named v1 and v2, respectively.&lt;br /&gt;
&lt;br /&gt;
The second example is a voltage-controlled current source.  v(2) and v(3) represents the voltages at nodes 2 and 3, respectively, and v(i1) represents the voltage across a current source named i1.&lt;br /&gt;
&lt;br /&gt;
The following mathematical functions defined for real variables can be used in the expressions:&lt;br /&gt;
&lt;br /&gt;
abs(x), acos(x), acosh(x), asin(x), asinh(x), atan(x), atanh(x), cos(x), cosh(x), exp(x), ln(x), log(x), max(x,y), min(x,y), pwr(x,y), pwrs(x,y), sgn(x), sin(x), sinh(x), sqrt(x), tan(x), tanh(x), u(x), uramp(x).&lt;br /&gt;
&lt;br /&gt;
The function &amp;amp;quot;sgn&amp;amp;quot; is the signum function and its value is 1 if the argument is positive or zero and -1 if the argument is negative. &lt;br /&gt;
The function &amp;amp;quot;u(x)&amp;amp;quot; is the unit step and &amp;amp;quot;uramp(x)&amp;amp;quot; is the integral of the unit step.  The&lt;br /&gt;
unit step is one if its argument is greater than zero and zero if its argument is less than zero.  The&lt;br /&gt;
ramp function (uramp) is 0 for argument values less than zero and equal to the argument for argument values&lt;br /&gt;
greater than zero.&lt;br /&gt;
&lt;br /&gt;
The following operators are permissible:  +, -, *, /, and ^.&lt;br /&gt;
&lt;br /&gt;
The power functions have equivalent expressions: pwr(x,y) = x^y and pwrs(x,y) = sgn(x)*abs(x)^y.&lt;br /&gt;
&lt;br /&gt;
Two constants can also be used in expressions: pi = 3.1415926 and e = 2.7182818.&lt;br /&gt;
&lt;br /&gt;
There is a conditional function with the syntax IF(Condition, Expression1, Expression2). If &amp;quot;Condition&amp;quot; is met, then the return value of the function is Expression1; otherwise, it is Expression2. An example of this type of function is IF(v(1)&amp;gt;=0,1,-1), which is equivalent to sgn(v(1)). &lt;br /&gt;
&lt;br /&gt;
To get time into an expression, integrate the current from a constant current source with a capacitor&lt;br /&gt;
and use the voltage across the capacitor.&lt;br /&gt;
&lt;br /&gt;
Note: All the functions and expressions are case-insensitive.&lt;br /&gt;
&lt;br /&gt;
==Nonlinear Inductor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK90.png]]&lt;br /&gt;
&lt;br /&gt;
The nonlinear inductor model allows the inductor to be described by an arbitrary relationship between the inductor's magnetic flux &amp;amp;Phi; and the current I flowing through the inductor . In other words, &amp;amp;Phi;  = f(I). The nonlinear inductance is then defined as L(I) = d&amp;amp;Phi;/dI. You need to define the flux &amp;amp;Phi; by a mathematical expression in the current I. You have to open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. Enter any mathematical expression in the variable &amp;quot;i(vx)&amp;quot; standing for the device current. The default expression is:&lt;br /&gt;
&lt;br /&gt;
{ L_DEF } * i(vx)&lt;br /&gt;
&lt;br /&gt;
which implies a linear inductor, where &amp;amp;Phi; = L&amp;lt;sub&amp;gt;DEF&amp;lt;/sub&amp;gt; I. Therefore, L = L(I) = d&amp;amp;Phi;/dI = L&amp;lt;sub&amp;gt;DEF&amp;lt;/sub&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Another example is 1e-4*(i(vx))^2.&lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|L_DEF||default inductance||H||1||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Nonlinear Resistor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK87.png]]&lt;br /&gt;
&lt;br /&gt;
The nonlinear resistor model allows the resistor to be described by an arbitrary relationship between the voltage V across the resistor and its current I. In other words, V = f(I). The nonlinear resistance is then defined as R(I) = dV/dI. You need to define the voltage V by a mathematical expression in the current I. You have to open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. Enter any mathematical expression in the variable &amp;quot;i(vx)&amp;quot; standing for the device current. The default expression is:&lt;br /&gt;
&lt;br /&gt;
{ R_DEF } * i(vx)&lt;br /&gt;
&lt;br /&gt;
which implies a linear resistor, where V = R&amp;lt;sub&amp;gt;DEF&amp;lt;/sub&amp;gt; I. Therefore, R = R(I) = dV/dI = R&amp;lt;sub&amp;gt;DEF&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Another example is 10*(i(vx))^2.&lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|R_DEF||default resistance||&amp;amp;Omega;||1||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Operational Amplifier (Op-Amp)==&lt;br /&gt;
&lt;br /&gt;
[[File:GK105.png]]&lt;br /&gt;
&lt;br /&gt;
This three-pin device models a parameterized operational amplifier with a very high voltage gain, a very high input impedance and a very low output impedance. The behavioral model of the parameterized Op-Amp device is based on the algorithm found in the book &amp;lt;B&amp;gt;Macromodeling with Spice&amp;lt;/B&amp;gt;,&lt;br /&gt;
authored by Connelly &amp;amp;amp; Choi, published by Prentice Hall. The default parameters are those of the 741 Op-Amp. This device doesn't require external DC bias voltage sources. Its positive and negative DC bias voltages are specified as its parameters. Sometimes the simulation doesn't converge if there is no DC path from the output of the Op-Amp to the ground.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|r_in_dm||differential mode input resistance||Ohms||2Meg||&lt;br /&gt;
|-&lt;br /&gt;
|r_in_cm||common mode input resistance||Ohms||2G||&lt;br /&gt;
|-&lt;br /&gt;
|Avd0||differential mode DC gain||dB||106||&lt;br /&gt;
|-&lt;br /&gt;
|CMRR||common mode rejection ratio||dB||90||&lt;br /&gt;
|-&lt;br /&gt;
|r_out||output resistance||Ohms||75||&lt;br /&gt;
|-&lt;br /&gt;
|c_in||input capacitance||F||1.4p||&lt;br /&gt;
|-&lt;br /&gt;
|ios||input offset current||A||20n||&lt;br /&gt;
|-&lt;br /&gt;
|ib||input bias current||A||80n||&lt;br /&gt;
|-&lt;br /&gt;
|vio||input offset voltage||V||1m||&lt;br /&gt;
|-&lt;br /&gt;
|slew_pos||positive slew rate||V/s||0.5e6||&lt;br /&gt;
|-&lt;br /&gt;
|slew_neg||negative slew rate||V/s||0.5e6||&lt;br /&gt;
|-&lt;br /&gt;
|curr_src_max||maximum output source current||A||25m||&lt;br /&gt;
|-&lt;br /&gt;
|curr_sink_||maximum output sink current||A25m||&lt;br /&gt;
|-&lt;br /&gt;
|fp1||dominant pole frequency||Hz||5||&lt;br /&gt;
|-&lt;br /&gt;
|fp2||second pole frequency||Hz||2Meg||&lt;br /&gt;
|-&lt;br /&gt;
|fp3||third pole frequency||Hz||20Meg||&lt;br /&gt;
|-&lt;br /&gt;
|fp4||fourth pole frequency||Hz||100Meg||&lt;br /&gt;
|-&lt;br /&gt;
|fz||first zero frequency||Hz||5Meg||&lt;br /&gt;
|-&lt;br /&gt;
|vcc_pos||positive dc voltage source||V||12||&lt;br /&gt;
|-&lt;br /&gt;
|vcc_neg||negative dc voltage source||V||12||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Optocoupler ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK115.png]]&lt;br /&gt;
&lt;br /&gt;
This is a five-pin parameterized optocoupler device. Its model consists of an ideal diode device in series with an Ohmic resistance connected between the Anode (A) and Cathode (K) pins together with a bipolar junction transistor device with three accessible pins, Collector (C), Base (B) and Emitter (E). A current-controlled current source is connected between base and collector of the BJT, whose current is controlled by the current passing through the diode. The proportionality constant is twice the specified value of the current transfer ratio (ctr) parameter. &lt;br /&gt;
&lt;br /&gt;
You can change or enhance the models of the diode and BJT by adding more parameters. To do so, you have to open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|ctr||current transfer ratio||-||0.5||&lt;br /&gt;
|-&lt;br /&gt;
|rd||diode ohmic resistance||Ohms||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Overtone Crystal ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK79.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 2-pin parameterized overtone crystal device.  &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|LM||fundamental motional inductance||H||250m||&lt;br /&gt;
|-&lt;br /&gt;
|CM1||fundamental motional capacitance||F||10f||&lt;br /&gt;
|-&lt;br /&gt;
|RM1||fundamental motional resistance||Ohms||20||&lt;br /&gt;
|-&lt;br /&gt;
|RM3||3rd overtone motional resistance||Ohms||50||&lt;br /&gt;
|-&lt;br /&gt;
|RM5||5th overtone motional resistance||Ohms||100||&lt;br /&gt;
|-&lt;br /&gt;
|RM7||7th overtone motional resistance||Ohms||150||&lt;br /&gt;
|-&lt;br /&gt;
|C0||shunt capacitance||F||3p||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Photodiode ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK113.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 4-pin parameterized photodiode device. A pair of pins, Anode (A) and Cathode (K), represent the physical terminals of the photodiode. The photodiode model connected between the anode and cathode pins consists of the parallel connection of an ideal diode, a dark current source, a noise current source, a current-controlled current source, a diode capacitance, a shunt resistance altogether with a series resistance.  &lt;br /&gt;
&lt;br /&gt;
Another pair of pins IS+ and IS- act as an ammeter that must be inserted in a control circuit. The current passing through this ammeter controls the current of the photodiode. The default proportionality constant is unity. The controlling current is typically a function of light intensity incident on the surface of the photodiode.    &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|id||dark current||A||1n||&lt;br /&gt;
|-&lt;br /&gt;
|ir||noise current||A||1p||&lt;br /&gt;
|-&lt;br /&gt;
|cd||diode capacitance||F||10p||&lt;br /&gt;
|-&lt;br /&gt;
|rs||series resistance||Ohms||1m||&lt;br /&gt;
|-&lt;br /&gt;
|rp||parallel resistance||Ohms||1Meg||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Piecewise Linear (PWL) Controlled Source==&lt;br /&gt;
&lt;br /&gt;
[[File:GL49.png]]&lt;br /&gt;
&lt;br /&gt;
The Piecewise Linear (PWL) Controlled Source is a single-input and single-output function generator whose output is not necessarily&lt;br /&gt;
linear for all input values. Instead, it follows an I/O relationship that is specified by the x_array and y_array coordinates. The x_array and y_array values represent vectors of coordinate points on the x and y axes, respectively. The x_array values are progressively increasing input coordinate points, and the associated y_array values represent the outputs at those points.  There may be as few as two pairs specified, or as many as memory and simulation speed allow.&lt;br /&gt;
&lt;br /&gt;
In order to fully specify outputs for values of Vin outside of the bounds of the PWL function, the PWL&lt;br /&gt;
controlled source model extends the slope found between the lowest two coordinate pairs and the highest&lt;br /&gt;
two coordinate pairs.  This has the effect of making the transfer function completely linear for Vin&lt;br /&gt;
less than x_array[0] and Vin greater than x_array[n]. It also has the potentially subtle effect of unrealistically&lt;br /&gt;
causing an output to reach a very large or small value for large inputs. You should thus keep in mind&lt;br /&gt;
that the PWL Source does not inherently provide a limiting capability.&lt;br /&gt;
&lt;br /&gt;
In order to diminish the potential for divergence of simulations when using the PWL block, a form&lt;br /&gt;
of smoothing around the x_array and y_array coordinate points is necessary.  This is due to the iterative&lt;br /&gt;
nature of the simulator and its reliance on smooth first derivatives of  transfer functions in order to&lt;br /&gt;
arrive at a matrix solution.  Consequently, the two parameters &amp;quot;input_domain&amp;quot; and &amp;quot;fraction&amp;quot; are included&lt;br /&gt;
to allow you some control over the amount and nature o the smoothing performed.&lt;br /&gt;
&lt;br /&gt;
Fraction is a switch that is either TRUE or FALSE.  When TRUE (the default setting), the simulator assumes&lt;br /&gt;
that the specified input_domain value is to be interpreted as a fractional figure.  Otherwise, it is interpreted&lt;br /&gt;
as an absolute value.  Thus, if fraction = TRUE and input_domain = 0.10, the simulator assumes that the smoothing&lt;br /&gt;
radius about each coordinate point is to be set equal to 10% of the length of either the x_array segment&lt;br /&gt;
above each coordinate point, or the x_array segment below each coordinate point. The specific segment&lt;br /&gt;
length chosen will be the smallest of these two for each coordinate point.&lt;br /&gt;
&lt;br /&gt;
If fraction = FALSE and input_domain = 0.10, then the simulator will begin smoothing the transfer function at 0.10&lt;br /&gt;
volts (or amperes) below each x_array coordinate and will continue the smoothing process for another 0.10&lt;br /&gt;
volts (or amperes) above each x_array coordinate point.&lt;br /&gt;
&lt;br /&gt;
Model Identifier: pwl&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; %vd(&amp;amp;lt;in_pin&amp;amp;gt; &amp;amp;lt;in_ref_pin&amp;amp;gt;) %vd(&amp;amp;lt;out_pin&amp;amp;gt; &amp;amp;lt;out_ref_pin&amp;amp;gt;) &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; pwl x_array = [&amp;amp;lt;value1&amp;amp;gt; &amp;amp;lt;value2&amp;amp;gt; ...] y_array = [&amp;amp;lt;value1&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;value2&amp;amp;gt; ...] {&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 %vd(2   3)   %vd(1   4)  pwl&lt;br /&gt;
.model pwl pwl  x_array = [0 1]    y_array = [0 1]&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|x_array||x-element array||V||[0 1]||required&lt;br /&gt;
|-&lt;br /&gt;
|y_array||y-element array||V||[0 1]||required&lt;br /&gt;
|-&lt;br /&gt;
|input_domain||input smoothing domain||-||0.01|| &lt;br /&gt;
|-&lt;br /&gt;
|fraction||smoothing %/abs switch||-||True|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== PM Modulated Source ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL25.png]]&lt;br /&gt;
&lt;br /&gt;
This is a voltage source with a single-tone phase modulated waveform. The PM modulation index MDI is defined as the ratio of maximum phase deviation to maximum signal amplitude. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|V0||offset||V||0||&lt;br /&gt;
|-&lt;br /&gt;
|VA||amplitude||V||1||&lt;br /&gt;
|-&lt;br /&gt;
|FC||carrier frequency ||Hz||1||required&lt;br /&gt;
|-&lt;br /&gt;
|MDI||modulation index||-||0||required&lt;br /&gt;
|-&lt;br /&gt;
|FS||signal frequency ||Hz||1||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Potentiometer ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK77.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 3-pin device that models a potentiometer with options for either linear or logarithmic resistance. position = 0 corresponds to the wiper being at the extreme left and position = 1 corresponds to the wiper being at the extreme right. With the default position = 0.5 corresponding to the midpoint, this device functions as a one-half voltage divider.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|position||position of wiper connection||-||0.5||Must be between 0.0 and 1.0.&lt;br /&gt;
|-&lt;br /&gt;
|log||log-linear switch||-||False||Select False for linear and True for logarithmic.&lt;br /&gt;
|-&lt;br /&gt;
|r||total resistance||Ohms||0.1u||&lt;br /&gt;
|-&lt;br /&gt;
|log_multiplier||multiplier constant for log resistance||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Programmable Unijunction Transistor (PUT)==&lt;br /&gt;
&lt;br /&gt;
[[File:GK112.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 3-pin parameterized Programmable Unijunction Transistor (PUT) device with three pins: Base 1 (B1), Base 2 (B2) and Emitter (E). It is biased with a positive voltage between the two bases. This device has a unique characteristic that when it is triggered, its emitter current increases regeneratively until it is restricted by emitter power supply. It exhibits a negative resistance characteristic and so it can be employed as an oscillator. The device's model involves an NPN BJT and a PNP BJT. The forward beta parameters of the two transistors are set equal to 100 and 1, respectively. To change these values, open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text.    &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|eta||-||-||0.6||&lt;br /&gt;
|-&lt;br /&gt;
|rbb||total base-to-base resistance||Ohms||40k||&lt;br /&gt;
|-&lt;br /&gt;
|rf||forward resistance||Ohms||1Meg||&lt;br /&gt;
|-&lt;br /&gt;
|rr||reverse resistance||Ohms||1Meg||&lt;br /&gt;
|-&lt;br /&gt;
|rgk||gate-to-cathode resistance||Ohms||100||&lt;br /&gt;
|-&lt;br /&gt;
|bvf||breakdown voltage of forward diode||V||100||&lt;br /&gt;
|-&lt;br /&gt;
|bvr||breakdown voltage of reverse diode||V||100||&lt;br /&gt;
|-&lt;br /&gt;
|bvgk||breakdown voltage of gate-to-cathode diode||V||5||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Random Resistor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK93.png]]&lt;br /&gt;
&lt;br /&gt;
The random resistor device models a resistor whose resistance is a random number between 0 and a maximum specified value. &lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|max_val||maximum resistance value||&amp;amp;Omega;||1k||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Real Capacitor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK117.png]]&lt;br /&gt;
&lt;br /&gt;
This is primarily a non-ideal, temperature-dependent capacitor model. You can access it from the Parts Menu as '''User-Defined Capacitor'''. It has two temperature coefficients: first-order TC1 temperature and second-order TC2. The value of the temperature-dependent capacitance is computed using the quadratic equation:&lt;br /&gt;
&lt;br /&gt;
C(T) = C(T0) * [ 1 + TC1 * (T - T0) + TC2 * (T-T0)^2 ]&lt;br /&gt;
 &lt;br /&gt;
The device's model includes a series resistance and a series inductance together with the capacitor, all in parallel with a shunt resistance.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|Resr||series resistance||&amp;amp;Omega;||10||&lt;br /&gt;
|-&lt;br /&gt;
|Ls||inductance||H||1p||&lt;br /&gt;
|-&lt;br /&gt;
|C||capacitance||F||1n||&lt;br /&gt;
|-&lt;br /&gt;
|Rp||parallel resistance||&amp;amp;Omega;||1G||&lt;br /&gt;
|-&lt;br /&gt;
|ic||voltage initial condition||V||0||&lt;br /&gt;
|-&lt;br /&gt;
|temp||operating temperature||deg C||27||&lt;br /&gt;
|-&lt;br /&gt;
|tc1||first-order temperature coefficient||F/&amp;amp;deg;C||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|tc2||second-order temperature coefficient||F/&amp;amp;deg;C&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||0.01||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Real Inductor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK118.png]]&lt;br /&gt;
&lt;br /&gt;
This is primarily a non-ideal inductor model. You can access it from the Parts Menu as '''User-Defined Inductor'''. Its series resistor has two temperature coefficients: first-order TC1 temperature and second-order TC2. The value of the temperature-dependent resistance is computed using the quadratic equation:&lt;br /&gt;
&lt;br /&gt;
R(T) = R(T0) * [ 1 + TC1 * (T - T0) + TC2 * (T-T0)^2 ]&lt;br /&gt;
 &lt;br /&gt;
The device's model includes a series resistance together with the inductor, and the combination in parallel with a shunt capacitance.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|Rdc||series resistance||&amp;amp;Omega;||10||&lt;br /&gt;
|-&lt;br /&gt;
|L||inductance||H||1||&lt;br /&gt;
|-&lt;br /&gt;
|Cp||capacitance||F||1p||&lt;br /&gt;
|-&lt;br /&gt;
|ic||current initial condition||A||0||&lt;br /&gt;
|-&lt;br /&gt;
|temp||operating temperature||deg C||27||&lt;br /&gt;
|-&lt;br /&gt;
|tc1||first-order temperature coefficient||&amp;amp;Omega;/&amp;amp;deg;C||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|tc2||second-order temperature coefficient||&amp;amp;Omega;/&amp;amp;deg;C&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||0.01||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Real Resistor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK116.png]]&lt;br /&gt;
&lt;br /&gt;
This is primarily a non-ideal, temperature-dependent resistor model. You can access it from the Parts Menu as '''User-Defined Resistor'''. It has two temperature coefficients: first-order TC1 temperature and second-order TC2. The value of the temperature-dependent resistance is computed using the quadratic equation:&lt;br /&gt;
&lt;br /&gt;
R(T) = R(T0) * [ 1 + TC1 * (T - T0) + TC2 * (T-T0)^2 ]&lt;br /&gt;
&lt;br /&gt;
The device's model includes a series inductance together with the resistor. &lt;br /&gt;
 &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|R||resistance||&amp;amp;Omega;||1k||&lt;br /&gt;
|-&lt;br /&gt;
|Ls||inductance||H||1n||&lt;br /&gt;
|-&lt;br /&gt;
|temp||operating temperature||deg C||27||&lt;br /&gt;
|-&lt;br /&gt;
|tc1||first-order temperature coefficient||&amp;amp;Omega;/&amp;amp;deg;C||0.1||&lt;br /&gt;
|-&lt;br /&gt;
|tc2||second-order temperature coefficient||&amp;amp;Omega;/&amp;amp;deg;C&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||0.01||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Resistor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK119.png]]&lt;br /&gt;
&lt;br /&gt;
Resistors are passive devices that dissipate power. Their resistance value varies depending on how much power they can dissipate and is measured&lt;br /&gt;
in Ohms.  The transient, DC and AC behaviors of a resistor are all described by the same equation:&lt;br /&gt;
&lt;br /&gt;
v = R * i&lt;br /&gt;
&lt;br /&gt;
where v is the voltage across the resistor, i is the current passing through the resistor, and R is the resistance. The value of R must be nonzero. &lt;br /&gt;
&lt;br /&gt;
All resistor names must begin with R.&lt;br /&gt;
&lt;br /&gt;
Netlist Format: &lt;br /&gt;
&lt;br /&gt;
R&amp;lt;device_name&amp;gt; &amp;lt;N+&amp;gt; &amp;lt;N-&amp;gt; &amp;lt;value&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
R1 1 2 1k&lt;br /&gt;
&lt;br /&gt;
[[RF.Spice A/D]] provides three types of resistor: Simple, User-Defined (Real Resistor) and Semiconductor. The resistance of the simple resistor is a single value expressed in Ohms. You can also set the Monte Carlo tolerance for this resistor.&lt;br /&gt;
&lt;br /&gt;
==Schottky Diode==&lt;br /&gt;
&lt;br /&gt;
[[File:GK80.png]]&lt;br /&gt;
&lt;br /&gt;
The Schottky diode has the same model as the generic diode with a nonzero transit time (tt), a nonzero junction capacitance (cjo) and a typically larger saturation current (is), a lower junction potential (vj) and a smaller grading coefficient (m).   &lt;br /&gt;
&lt;br /&gt;
==Semiconducting Capacitor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK83.png]]&lt;br /&gt;
&lt;br /&gt;
This is the more general form of the Capacitor model and allows for the calculation of the actual capacitance value from strictly geometric information and the specifications of the process. &lt;br /&gt;
&lt;br /&gt;
General Form:&lt;br /&gt;
&lt;br /&gt;
CXXXXXXX N1 N2 &amp;lt;VALUE&amp;gt; &amp;lt;MNAME&amp;gt; &amp;lt;L=LENGTH&amp;gt; &amp;lt;W=WIDTH&amp;gt; &amp;lt;IC=VAL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If VALUE is specified, it defines the capacitance. If MNAME is specified, then the capacitance is calculated from the process information in the model MNAME and the given LENGTH and WIDTH. If VALUE is not specified, then MNAME and LENGTH must be specified. If WIDTH is not specified, then it is taken from the default width given in the model. Either VALUE or MNAME, LENGTH, and WIDTH may be specified, but not both sets. The optional initial condition &amp;quot;IC&amp;quot; is the initial voltage across the capacitor for transient simulations.&lt;br /&gt;
&lt;br /&gt;
The capacitance is computed as:&lt;br /&gt;
&lt;br /&gt;
CAP = CJ * (LENGTH - NARROW) * (WIDTH - NARROW)+ 2 * CJSW * (LENGTH + WIDTH - 2NARROW) * CAP&lt;br /&gt;
&lt;br /&gt;
To modify the model parameters, first double click on the capacitor to edit its top-level model parameters. Then choose the button labeled {{key|Edit from Table}} in the process model section. This will open a window in which you can edit CJ, CJSW, NARROW, DEFW, and CAP.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|CJ||junction bottom capacitance||F/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||-||&lt;br /&gt;
|-&lt;br /&gt;
|CJSW||junction sidewall capacitance||F/m ||-||&lt;br /&gt;
|-&lt;br /&gt;
|DEFW||default device width||m||1u||&lt;br /&gt;
|-&lt;br /&gt;
|NARROW||narrowing due to side etching||m||0||&lt;br /&gt;
|-&lt;br /&gt;
|CAP||nominal capacitance for Monte Carlo simulation||F||1||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Semiconductor Resistor ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK82.png]]&lt;br /&gt;
&lt;br /&gt;
This is the more general form of the resistor model and allows for the modeling of temperature effects and for the calculation of the actual resistance value from strictly geometric information and the specifications of the process. &lt;br /&gt;
&lt;br /&gt;
General Form:&lt;br /&gt;
&lt;br /&gt;
RXXXXXXX N1 N2 &amp;lt;VALUE&amp;gt; &amp;lt;MNAME&amp;gt; &amp;lt;L=LENGTH&amp;gt; &amp;lt;W=WIDTH&amp;gt; &amp;lt;TEMP=T&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If VALUE is specified, it overrides the geometric information and defines the resistance. If MNAME is specified, then the resistance may be calculated from the process information in the model MNAME and the given LENGTH and WIDTH. If VALUE is not specified, then MNAME and LENGTH must be specified. If WIDTH is not specified, then it is taken from the default width given in the model. The (optional) TEMP value is the temperature at which this device is to operate, and overrides the temperature specification in the SPICE Options Dialog. &lt;br /&gt;
&lt;br /&gt;
The resistance is computed as:&lt;br /&gt;
&lt;br /&gt;
R(T0) = (RSH) * [(L - NARROW) / (W - NARROW)] * RES&lt;br /&gt;
&lt;br /&gt;
R(T) = R(T0) * [ 1 + TC1 * (T - T0) + TC2 * (T-T0)^2 ]&lt;br /&gt;
&lt;br /&gt;
To modify the model parameters, first double click on the resistor to edit its top-level model parameters. Then choose the button labeled {{key|Edit from Table}} in the process model section. This will open a window in which you can edit TC1, TC2, RSH, RES, etc.&lt;br /&gt;
 &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|TC1||first order temperature coefficient||&amp;amp;Omega;/&amp;amp;deg;C||-||&lt;br /&gt;
|-&lt;br /&gt;
|TC2||second order temperature coefficient||&amp;amp;Omega;/&amp;amp;deg;C&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;||-||&lt;br /&gt;
|-&lt;br /&gt;
|RSH||sheet resistance||&amp;amp;Omega;/sq||-||&lt;br /&gt;
|-&lt;br /&gt;
|DEFW||default device width||m||1u||&lt;br /&gt;
|-&lt;br /&gt;
|NARROW||narrowing due to side etching||m||0||&lt;br /&gt;
|-&lt;br /&gt;
|TNOM||the parameter measurement temperature||deg C ||27||&lt;br /&gt;
|-&lt;br /&gt;
|RES||resistance multiplier for Monte Carlo simulation||Ohms||1||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Silicon-Controlled Rectifier (SCR)==&lt;br /&gt;
&lt;br /&gt;
[[File:GK109.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 3-pin parameterized Silicon-Controlled Rectifier (SCR) device with three pins: Anode (A), Cathode (K) and Gate (G). It is a unidirectional device which can conduct current only in one direction. The SCR can be triggered only by a positive current going into its gate. The device's model involves an NPN BJT and a PNP BJT. The forward beta parameters of the two transistors are set equal to 100 and 1, respectively. To changes these values, open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text.    &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|rf||forward resistance||Ohms||1Meg||&lt;br /&gt;
|-&lt;br /&gt;
|rr||reverse resistance||Ohms||1Meg||&lt;br /&gt;
|-&lt;br /&gt;
|rgk||gate-to-cathode resistance||Ohms||100||&lt;br /&gt;
|-&lt;br /&gt;
|bvf||breakdown voltage of forward diode||V||100||&lt;br /&gt;
|-&lt;br /&gt;
|bvr||breakdown voltage of reverse diode||V||100||&lt;br /&gt;
|-&lt;br /&gt;
|bvgk||breakdown voltage of gate-to-cathode diode||V||5||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SPDT Switch ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK72.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 5-pin device that models a single-pole double-throw switch. The input voltage is transferred to the first output pin if the control voltage is at a high state. Otherwise, its is transferred to the second output pin.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|von||turn-on voltage||V||3.3||&lt;br /&gt;
|-&lt;br /&gt;
|voff||turn-off voltage||V||0.3||&lt;br /&gt;
|-&lt;br /&gt;
|vt||threshold voltage||V||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|ron||on resistance||Ohms||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|roff||off resistance||Ohms||1Gig||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== SPST Switch ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK71.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 4-pin device that models a single-pole single-throw switch. It is virtually equivalent of the standard voltage-controlled switch. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|von||turn-on voltage||V||3.3||&lt;br /&gt;
|-&lt;br /&gt;
|voff||turn-off voltage||V||0.3||&lt;br /&gt;
|-&lt;br /&gt;
|vt||threshold voltage||V||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|ron||on resistance||Ohms||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|roff||off resistance||Ohms||1Gig||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Tabulated Conductor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK92.png]]&lt;br /&gt;
&lt;br /&gt;
The tabulated conductor model allows the conductance to be described by a table relating the device's current i(t) to its terminal voltage v(t). In effect, the conductance is defined as G = di(t)/dv(t). The model provides two interpolation options: cubic spline and piecewise linear. You can enter the (v,i) data pairs in the text box provided in the property dialog. Or you can import the data from a text file.   &lt;br /&gt;
&lt;br /&gt;
==Tabulated Resistor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK91.png]]&lt;br /&gt;
&lt;br /&gt;
The tabulated resistor model allows the resistance to be described by a table relating the device's terminal voltage v(t) to its current i(t). In effect, the resistance is defined as R = dv(t)/di(t). The model provides two interpolation options: cubic spline and piecewise linear. You can enter the (i,v) data pairs in the text box provided in the property dialog. Or you can import the data from a text file.&lt;br /&gt;
&lt;br /&gt;
==Tapped Inductor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK101.png]]&lt;br /&gt;
&lt;br /&gt;
This 3-pin device models a tapped inductor with mutual coupling effect. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|Lt||total inductance||H||1m||&lt;br /&gt;
|-&lt;br /&gt;
|ratio||ratio of number of turns between positive terminal and tap to total number of turns||-||0.5||&lt;br /&gt;
|-&lt;br /&gt;
|k||coefficient of coupling||-||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Temperature-Dependent Current Source ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL14.png]]&lt;br /&gt;
&lt;br /&gt;
This is a current source whose current is an arbitrary function of the circuit temperature. You have to open the subcircuit model dialog by clicking the {{key|Edit Model...}} button and edit its text. Enter any mathematical expression in the variable &amp;quot;v(T)&amp;quot; standing for temperature. Note that the circuit temperature is set and controlled by the parameter &amp;quot;temp&amp;quot; in the Miscellaneous tab of the SPICE [[Simulation Options]] dialog.  &lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
* v(T) is equivalent to f(T) = T.&lt;br /&gt;
* 1 + 0.1*(v(t))^2 is equivalent to f(T) = 1 + 0.1T.&lt;br /&gt;
  &lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
== Temperature-Dependent Voltage Source ==&lt;br /&gt;
&lt;br /&gt;
[[File:GL13.png]]&lt;br /&gt;
&lt;br /&gt;
This is a voltage source whose voltage is an arbitrary function of the circuit temperature. You have to open the subcircuit model dialog by clicking the {{key|Edit Model...}} button and edit its text. Enter any mathematical expression in the variable &amp;quot;v(T)&amp;quot; standing for temperature. Note that the circuit temperature is set and controlled by the parameter &amp;quot;temp&amp;quot; in the Miscellaneous tab of the SPICE [[Simulation Options]] dialog.  &lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
* v(T) is equivalent to f(T) = T.&lt;br /&gt;
* 1 + 0.1*(v(t))^2 is equivalent to f(T) = 1 + 0.1T.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
==Thermometer==&lt;br /&gt;
[[File:G115.png]]&lt;br /&gt;
&lt;br /&gt;
The Thermometer is a two-pin device that measures the operating temperature of a circuit. The voltage across the device pins is equal to SPICE's operating temperature in degrees centigrade. The output voltage of the Thermometer can be used in conjunction with linear or nonlinear dependent sources to model temperature-dependent quantities.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Model Identifier: thermo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
This device has no parameters.&lt;br /&gt;
&lt;br /&gt;
== Triac Thyristor ==&lt;br /&gt;
&lt;br /&gt;
[[File:GK110.png]]&lt;br /&gt;
&lt;br /&gt;
This is a 3-pin bidirectional thyristor device that conducts current in either direction when triggered. A thyristor is analogous to a relay in that a small voltage and current can control a much larger voltage and current. The triac has two anode pins termed Main Terminal 1 (MT1) and Main Terminal 2 (MT2) and a Gate (G) pin. In order to create a triggering current for a triac, either a positive or negative voltage can be applied to the gate. Once triggered, the thyristor continues to conduct, even if the gate current ceases, until the main current drops below a certain level called the holding current. The device's model involves two NPN BJT transistors and two PNP BJT transistors. The forward beta parameters of the NPN and PNP transistors are set equal to 20 and 5, respectively. To changes these values, open the subcircuit model dialog by clicking the {{key|View Subcircuit}} button and edit its text.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|rf||forward resistance||Ohms||1Meg||&lt;br /&gt;
|-&lt;br /&gt;
|bvf||breakdown voltage of forward diodes||V||100||&lt;br /&gt;
|-&lt;br /&gt;
|rh||resistance controlling reverse holding current||Ohms||100||&lt;br /&gt;
|-&lt;br /&gt;
|rgp||resistance controlling forward holding current and trigger current||Ohms||50||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Uniform RC Transmission Line==&lt;br /&gt;
&lt;br /&gt;
[[File:G23.png]]&lt;br /&gt;
&lt;br /&gt;
The standard parameters are L, and N.  They are described below:&lt;br /&gt;
&lt;br /&gt;
Two of the nodes are the element nodes connected by the RC line.  The third is the node to which the capacitances&lt;br /&gt;
are connected.  L is the length of the RC line in meters.  N is the number of lumped segments to use in&lt;br /&gt;
modeling the RC line.&lt;br /&gt;
&lt;br /&gt;
This device is derived from a model proposed by Gertzberrg.  It expands the URC line into a network of&lt;br /&gt;
lumped RC segments with internally generated nodes.  These segments increase toward the middle of the&lt;br /&gt;
URC line in a geometric progression with K as the proportionality constant.&lt;br /&gt;
&lt;br /&gt;
The URC line is made up entirely of resistor and capacitor segments, unless the ISPERL parameter has a&lt;br /&gt;
non-zero value.  In this case, capacitors are replaced by reverse biased diodes with an equivalent zero-bias&lt;br /&gt;
junction capacitance, a saturation current of ISPERL amps per meter of transmission line, and optional&lt;br /&gt;
series resistance of RSPERL ohms per meter. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!EXAMPLE&lt;br /&gt;
|-&lt;br /&gt;
|K||propagation constant||-||2||1.2&lt;br /&gt;
|-&lt;br /&gt;
|FMAX||maximum frequency of interest||Hz||1.0G||6.5Meg&lt;br /&gt;
|-&lt;br /&gt;
|RPERL||resistance per unit length||Ohm /m||1000||10&lt;br /&gt;
|-&lt;br /&gt;
|CPERL||capacitance per unit length||F/m||1.0e-15||1pF&lt;br /&gt;
|-&lt;br /&gt;
|ISPERL||saturation current per unit length||A/m||0||-&lt;br /&gt;
|-&lt;br /&gt;
|RSPERL||diode resistance per unit length||Ohm/m||0||-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Varactor Diode==&lt;br /&gt;
&lt;br /&gt;
[[File:GK81.png]]&lt;br /&gt;
&lt;br /&gt;
A varactor diode is a combination of the generic diode with additional package inductance, package capacitance and a series resistance. This diode device has a typically large value of junction capacitance (cjo).&lt;br /&gt;
&lt;br /&gt;
Parameters (in addition to standard diode parameters):  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|q||quality factor||-||5000||&lt;br /&gt;
|-&lt;br /&gt;
|f0||frequency of Q-factor specification||Hz||50Meg||&lt;br /&gt;
|-&lt;br /&gt;
|ls||package inductance||H||0.5n||&lt;br /&gt;
|-&lt;br /&gt;
|cp||package capacitance ||F||0.05p||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Voltage-Controlled Capacitor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK85.png]]&lt;br /&gt;
&lt;br /&gt;
This 3-pin device models a voltage-controlled two-terminal capacitor whose capacitance is linearly proportional to a control voltage that is applied to a third (CTRL) pin. The proportionality constant is a conversion factor which you need to specify in F/V.   &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|K_C||conversion factor||F/V||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Voltage-Controlled Inductor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK86.png]]&lt;br /&gt;
&lt;br /&gt;
This 3-pin device models a voltage-controlled two-terminal inductor whose inductance is linearly proportional to a control voltage that is applied to a third (CTRL) pin. The proportionality constant is a conversion factor which you need to specify in H/V.   &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|K_L||conversion factor||H/V||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Voltage-Controlled Resistor==&lt;br /&gt;
&lt;br /&gt;
[[File:GK84.png]]&lt;br /&gt;
&lt;br /&gt;
This 3-pin device models a voltage-controlled two-terminal resistor whose resistance is linearly proportional to a control voltage that is applied to a third (CTRL) pin. The proportionality constant is a conversion factor which you need to specify in &amp;amp;Omega;/V.   &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|K_r||conversion factor||&amp;amp;Omega;/V||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Voltage-Controlled Switch==&lt;br /&gt;
&lt;br /&gt;
[[File:G19.png]]&lt;br /&gt;
&lt;br /&gt;
Switches are devices that exhibit high resistance when open (OFF state) and low resistance when closed (ON state). The switch model allows an almost ideal switch to be specified. With careful selection of the on and off resistances, they can effectively represent zero and infinite resistances in comparison to other circuit elements, while sustaining the model condition of a positive, finite value. &lt;br /&gt;
&lt;br /&gt;
There are two versions of Voltage-Controlled Switch: two-terminal and four-terminal. For the two-terminal device, you must specify the name of the controlling Voltmeter or controlling voltage nodes, as well as the turn-on and turn-off voltages in Volts and on and off resistance values in Ohms. The four-terminal device already provides nodes for a controlling voltmeter, and you just specify the rest of [[parameters]]. When the voltage across the switch or controlling device is greater or equal to the turn-on current, the switch closes. When the voltage across the switch or controlling device is less than or equal to the turn off current, the switch opens. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNITS!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|V_ON||turn-on voltage||V||0.5||&lt;br /&gt;
|-&lt;br /&gt;
|V_OFF||turn-off voltage||V||0.0||&lt;br /&gt;
|-&lt;br /&gt;
|RON||on resistance||Ohms||1.0||&lt;br /&gt;
|-&lt;br /&gt;
|ROFF||off resistance||Ohms||1G||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Voltage Noise Source==&lt;br /&gt;
&lt;br /&gt;
[[File:GL15.png]]&lt;br /&gt;
&lt;br /&gt;
This is a voltage noise generator characterized by a spectral density and corner frequency. You have to click the {{key|Edit Model...}} button to access the parameters of this device. &lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!NAME!!PARAMETER!!UNIT!!DEFAULT!!NOTES&lt;br /&gt;
|-&lt;br /&gt;
|En||noise voltage||V/&amp;amp;radic;Hz||1n||required&lt;br /&gt;
|-&lt;br /&gt;
|freq||noise corner frequency||Hz||100||required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Voltage Source==&lt;br /&gt;
&lt;br /&gt;
[[File:G17A.png]]&lt;br /&gt;
&lt;br /&gt;
A voltage source has a DC value, a transient behavior, an AC behavior, and distortion parameters. The transient type, AC parameters, and distortion parameters are defined on the first tab of the source's property dialog. The transient expression can be a pulse, sinusoid, exponential, or piecewise linear. The DC value of a voltage source is its initial transient value. For a source with a sinusoidal transient behavior, for example, the DC value will be equal to its transient offset voltage. The AC parameters are magnitude and phase.  These are used during the AC Frequency Sweep analysis. The distortion parameters, two sets of magnitude and phase, are used during the distortion analysis. The AC and distortion parameters are defined on the second tab of the source's property dialog.&lt;br /&gt;
&lt;br /&gt;
==XSpice Devices and their models==&lt;br /&gt;
&lt;br /&gt;
XSpice devices have the following form:&lt;br /&gt;
&amp;lt;P CLASS=&amp;quot;syntaxstyle&amp;quot; STYLE=&amp;quot;font-size: 9pt ; margin: 4pt  0pt  1px  0pt ; font-family: 02070309020205020404,sans-serif; &amp;quot;&amp;gt;&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; &amp;amp;lt;node1&amp;amp;gt; &amp;amp;lt;node2&amp;amp;gt; ... &amp;amp;lt;model_name&amp;amp;gt;&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P CLASS=&amp;quot;syntaxstyle&amp;quot; STYLE=&amp;quot;font-size: 9pt ; margin: 0pt  0pt  1px  36pt ; font-family: 02070309020205020404,sans-serif; &amp;quot;&amp;gt;&lt;br /&gt;
e.g., A2 1  2  transfer_function&lt;br /&gt;
&lt;br /&gt;
Note that XSpice devices must start with the &amp;amp;quot;A&amp;amp;quot; designation, much as a resistor starts with&lt;br /&gt;
an &amp;amp;quot;R&amp;amp;quot;.  Some devices will have grouped (or vector) pins and are designated by being placed&lt;br /&gt;
inside square brackets.  In the example shown below, the 1 and 2 pins are grouped.  Pin 3 is not.  &amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P CLASS=&amp;quot;syntaxstyle&amp;quot; STYLE=&amp;quot;font-size: 9pt ; margin: 0pt  0pt  1px  0pt ; text-indent: 36pt ; font-family: 02070309020205020404,sans-serif; &amp;quot;&amp;gt;&lt;br /&gt;
A1 [1   2]  3 summer &amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some models will have voltage differential pairs of pins and will be denoted by a %vd( ).  In the following&lt;br /&gt;
example pins 1 and 4 are differential pairs, as well as pins 2 and 3.  Differential pairs must go between&lt;br /&gt;
parentheses (). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;P CLASS=&amp;quot;syntaxstyle&amp;quot; STYLE=&amp;quot;font-size: 9pt ; margin: 0pt  0pt  1px  0pt ; text-indent: 36pt ; font-family: 02070309020205020404,sans-serif; &amp;quot;&amp;gt;&lt;br /&gt;
A1 %vd(1   4)   %vd(2   3)  triangle &amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refer to individual devices for more information.&lt;br /&gt;
&lt;br /&gt;
Each XSpice device will also have a model associated with it.  Each model will have the following form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P CLASS=&amp;quot;syntaxstyle&amp;quot; STYLE=&amp;quot;font-size: 9pt ; margin: 0pt  0pt  1px  36pt ; font-family: 02070309020205020404,sans-serif; &amp;quot;&amp;gt;&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; &amp;amp;lt;model_identifier&amp;amp;gt; {&amp;amp;lt;pname1 = pval1&amp;amp;gt;} {&amp;amp;lt;pname2 = pval2&amp;amp;gt;} &lt;br /&gt;
...&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;P CLASS=&amp;quot;syntaxstyle&amp;quot; STYLE=&amp;quot;font-size: 9pt ; margin: 0pt  0pt  1px  36pt ; font-family: 02070309020205020404,sans-serif; &amp;quot;&amp;gt;&lt;br /&gt;
e.g., .model transfer_function s_xfer  in_offset = 0.0  gain = 1.0&amp;lt;/P&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Model_name refers to the name given in the device line.  Model_identifier is an internal designation and&lt;br /&gt;
must be of an existing designation  Refer to each device's example for the correct designation. &lt;br /&gt;
&lt;br /&gt;
Parameter values are optional.  If they aren't specified, then the default will be used.  Some devices&lt;br /&gt;
have parameters that require a value and must be specified.  Refer to individual devices for any required parameters.&lt;br /&gt;
&lt;br /&gt;
==Zener Diode==&lt;br /&gt;
&lt;br /&gt;
[[File:G10.png]]&lt;br /&gt;
&lt;br /&gt;
The Zener Diode models the DC characteristics of most zeners. Since most data sheets for zener diodes do&lt;br /&gt;
not give detailed characteristics in the forward region, only a single point defines the forward characteristicThe&lt;br /&gt;
saturation current refers to the relatively constant reverse current that is produced when the voltage&lt;br /&gt;
across the zener is negative, but breakdown has not been reached.  The reverse leakage current determines&lt;br /&gt;
the slight increase in reverse current as the voltage across the zener becomes more negative.  It is modeled&lt;br /&gt;
as a resistance parallel to the zener with value v_breakdown / i_rev.&lt;br /&gt;
&lt;br /&gt;
Note that the limt_switch parameter engages an internal limiting function for the zener.  This can, in&lt;br /&gt;
some cases, prevent the simulator from converging to an unrealistic solution if the voltage across or&lt;br /&gt;
current into the device is excessive.  If use of this feature fails to yield acceptable results, the convlimit&lt;br /&gt;
option should be tried (add the following statement to the SPICE input deck:  .options convlimit)&lt;br /&gt;
&lt;br /&gt;
Model Identifier: zener&lt;br /&gt;
&lt;br /&gt;
Netlist Format:&lt;br /&gt;
&lt;br /&gt;
A&amp;amp;lt;device_name&amp;amp;gt; &amp;amp;lt;z_pin&amp;amp;gt; &amp;amp;lt;z_out_pin&amp;amp;gt; &amp;amp;lt;model_name&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
.model &amp;amp;lt;model_name&amp;amp;gt; zener v_breakdown = 1 {&amp;amp;lt;param1 = value&amp;amp;gt; &amp;amp;lt; param2 = value&amp;amp;gt; ...}&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
A1 1  2 zener&lt;br /&gt;
&lt;br /&gt;
.model zener zener  v_breakdown = 1&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Name!!Description!!Default!!Notes&lt;br /&gt;
|-&lt;br /&gt;
|v_breakdown||breakdown voltage||1||required&lt;br /&gt;
|-&lt;br /&gt;
|i_breakdown||breakdown current||2.0e-2|| &lt;br /&gt;
|-&lt;br /&gt;
|i_sat||saturation current||1.0e-12|| &lt;br /&gt;
|-&lt;br /&gt;
|N_forward||forward emission coefficient||1.0|| &lt;br /&gt;
|-&lt;br /&gt;
|limit_switch||switch for on-board limiting (convergence aid)||False|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
[[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D | Back to RF.Spice A/D Wiki Gateway]]'''&lt;/div&gt;</summary>
		<author><name>Asabet</name></author>	</entry>

	</feed>