<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=ESim%2FC2%2FSubcircuit-Builder%2FEnglish-timed</id>
		<title>ESim/C2/Subcircuit-Builder/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=ESim%2FC2%2FSubcircuit-Builder%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=ESim/C2/Subcircuit-Builder/English-timed&amp;action=history"/>
		<updated>2026-04-08T19:45:10Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=ESim/C2/Subcircuit-Builder/English-timed&amp;diff=56027&amp;oldid=prev</id>
		<title>PoojaMoolya: Created page with &quot;{| border=&quot;1&quot; |- || '''Time''' || '''Narration'''  |- || 00:01 || Welcome to the spoken tutorial on '''Subcircuit Builder''' in '''eSim'''.  |- ||00:08 ||In this tutorial, usi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=ESim/C2/Subcircuit-Builder/English-timed&amp;diff=56027&amp;oldid=prev"/>
				<updated>2022-09-05T09:31:51Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| border=&amp;quot;1&amp;quot; |- || &amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;  |- || 00:01 || Welcome to the spoken tutorial on &amp;#039;&amp;#039;&amp;#039;Subcircuit Builder&amp;#039;&amp;#039;&amp;#039; in &amp;#039;&amp;#039;&amp;#039;eSim&amp;#039;&amp;#039;&amp;#039;.  |- ||00:08 ||In this tutorial, usi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| '''Time'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 00:01&lt;br /&gt;
|| Welcome to the spoken tutorial on '''Subcircuit Builder''' in '''eSim'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:08&lt;br /&gt;
||In this tutorial, using '''eSim''' we will learn to-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:13&lt;br /&gt;
||Create a '''Subcircuit''' and&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:17&lt;br /&gt;
||Create a '''Component Schematic'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:19&lt;br /&gt;
||To record this tutorial, we will use-&lt;br /&gt;
&lt;br /&gt;
'''Ubuntu Linux OS''' version 16.04  &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:28&lt;br /&gt;
||'''eSim''' version 2.0&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:32&lt;br /&gt;
||To practice this tutorial, you should know how to create and simulate a '''circuit''' in '''eSim'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:40&lt;br /&gt;
||If not, watch the prerequisite '''eSim''' tutorials on this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:46&lt;br /&gt;
||The '''subcircuit''' file always begins with the '''dot SUBCKT''' statement.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:53&lt;br /&gt;
||'''Subname''' is the '''subcircuit component''' name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||00:58&lt;br /&gt;
||'''N1''','''N2'''  are the nodes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:02&lt;br /&gt;
||The '''subcircuit''' ends with '''dot Ends''' followed by the '''subcircuit''' name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:09&lt;br /&gt;
||To launch '''eSim''', you need to double-click on the '''eSim''' icon on your '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:16&lt;br /&gt;
||I have already opened '''eSim'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:20&lt;br /&gt;
|| Let us now create a '''Subcircuit''' for a '''Half adder'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:25&lt;br /&gt;
||On the '''eSim''' window, click on the '''Subcircuit''' button from the left toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:32&lt;br /&gt;
||A '''subcircuit''' tab will open up.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| 01:36&lt;br /&gt;
||In the '''Subcircuit''' tab, click on the ''''New Subcircuit Schematic'''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:43&lt;br /&gt;
||A '''New Schematic''' pop up window appears.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:47&lt;br /&gt;
||Enter '''Schematic Name''' as '''Halfadder underscore new'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:54&lt;br /&gt;
||Click on the '''OK''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||01:57&lt;br /&gt;
||Now, click the '''Yes''' button in the '''confirmation''' dialog box.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:02&lt;br /&gt;
||The '''schematic editor''' window opens up.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:06	&lt;br /&gt;
||The user can create a '''schematic''' or import an existing '''schematic'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:13&lt;br /&gt;
||We will use the latter method.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:16&lt;br /&gt;
||To create a new '''schematic''', you can refer to the previous tutorials in this series.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:23&lt;br /&gt;
||I have already created a '''Half adder circuit''' using basic '''gates''' in '''eSim'''.&lt;br /&gt;
&lt;br /&gt;
Pause the video here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:32&lt;br /&gt;
||Download the '''Half Adder Basic Gates''' project file from the '''Code''' file section.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:38&lt;br /&gt;
||Extract and save the project file on the '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:43&lt;br /&gt;
||On '''eeschema''',  click on the  '''File''' option from the top menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:49&lt;br /&gt;
||Select '''Append Schematic Sheet''' option.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||02:54&lt;br /&gt;
||In the '''Confirmation''' dialog box, click on the '''Yes''' button.&lt;br /&gt;
&lt;br /&gt;
Click on '''Desktop'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:01&lt;br /&gt;
||Double-click on '''Half adder basic gates''' folder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:06&lt;br /&gt;
||The '''schematic''' file, '''sch''' will be selected.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:11&lt;br /&gt;
||Click on the '''Open''' button in the file window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:15&lt;br /&gt;
||You can see the '''schematic''' of the '''Half adder''' is added to the '''editor'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:22&lt;br /&gt;
||Press the '''F1''' key, to zoom in the '''schematic'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:25&lt;br /&gt;
||Now we will connect '''ports''' to the '''input''' and '''output terminals''' of the '''gates'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:32&lt;br /&gt;
||Click on the '''Place component''' tool from the right toolbar. &lt;br /&gt;
&lt;br /&gt;
Click on the '''editor'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:40&lt;br /&gt;
||In the '''Filter''' field, type '''eSim underscore Miscellaneous'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:46&lt;br /&gt;
||Select '''PORT''' and press the drop-down arrow.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:52&lt;br /&gt;
||Click on '''Unit A''' and click on the '''OK''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||03:58&lt;br /&gt;
||'''Port Unit A''' will be tied to the cursor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||04:02&lt;br /&gt;
||Place it near the '''input pin 1''' of the '''XOR gate'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||04:07&lt;br /&gt;
||Similarly, place '''Port Unit B''', near the '''input pin 1''' of the '''AND gate'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||04:14&lt;br /&gt;
||Place '''Port Unit C'''  and '''Port Unit D''' near the '''output pin''' of the '''XOR gate''' and '''AND gate''' respectively.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||04:24&lt;br /&gt;
||Here the '''Port unit''' indicates '''pins''' of the '''subcircuit'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||04:30&lt;br /&gt;
||'''Unit A''' is '''pin 1, Unit B, C''' and '''D''' are the '''pin''' number '''2, 3, 4''' of the '''subcircuit''' respectively.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||04:41&lt;br /&gt;
||To rotate the '''Port C''', place the cursor on  '''Port Unit C''' and press the '''R''' key.&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
||04:49&lt;br /&gt;
||A '''clarify selection''' pop-up window appears.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||04:53&lt;br /&gt;
||Select '''Port U''' and press the '''R''' key.&lt;br /&gt;
&lt;br /&gt;
Similarly, rotate '''Port D'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:02&lt;br /&gt;
||Connect the '''ports''' to the '''pins''' with '''wires'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:06&lt;br /&gt;
||Place the cursor on the '''pin1''' of '''PORT A''' and press the '''W''' key to start the '''wire'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:15&lt;br /&gt;
||Drag it to the '''wire''' connecting the '''pin 1''' of '''XOR gate''' and '''AND  gate'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:22&lt;br /&gt;
||Click once to end the '''wire'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:26&lt;br /&gt;
||A '''junction''' will be placed on the '''wire'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:30&lt;br /&gt;
||Similarly, connect all the '''ports''' to the '''pins''' as shown here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:36&lt;br /&gt;
||Let us now '''Annotate''' the '''schematic'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:40&lt;br /&gt;
||Click on the '''Annotate schematic components''' icon from the top toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:47&lt;br /&gt;
||Keep the default settings.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:50&lt;br /&gt;
||Click on the '''Annotate''' button.&lt;br /&gt;
&lt;br /&gt;
Click on the '''OK''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||05:56&lt;br /&gt;
||Save the '''schematic''' by pressing '''Ctrl+S'''  keys together.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:02&lt;br /&gt;
||Let us generate a '''netlist''' for the '''schematic'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:06&lt;br /&gt;
||Click on the '''Generate netlist''' icon from the top toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:11&lt;br /&gt;
||Select the '''Spice''' tab and check the '''Default format'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:17&lt;br /&gt;
||Click on '''Generate''' button and then click the '''Save''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:23&lt;br /&gt;
||This creates a '''KiCad netlist''' file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:27&lt;br /&gt;
||Now, let us go back to the '''eSim''' window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:31&lt;br /&gt;
||In the '''Subcircuit''' tab, click on the '''Convert Kicad to Ngspice''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:38&lt;br /&gt;
||You can specify the '''transient analysis  parameters''' or leave it blank. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:45&lt;br /&gt;
||I am leaving these values blank.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:49&lt;br /&gt;
||If any '''Device model''' or '''Subcircuit''' is used, specify them under '''Device modeling''' or '''Subcircuit''' tab.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||06:58&lt;br /&gt;
||In the '''KiCad to Ngspice''' tab, press the '''Convert''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:03&lt;br /&gt;
||Click on the '''OK''' button in the '''Information''' dialog box.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:08&lt;br /&gt;
||This creates a '''Ngspice netlist''' of the '''subcircuit''' created.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:14&lt;br /&gt;
||You can see, the '''subcircuit Half Adder new''' is added to the '''subcircuit library''' in the '''eSim''' directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:23&lt;br /&gt;
||Now, let us create a '''component schematic''' for the '''Half Adder subcircuit'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:29&lt;br /&gt;
||The '''components''' are also referred to as '''Parts''' or '''symbols'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:34&lt;br /&gt;
||Go back to the '''eSim''' editor of '''Half Adder schematic. '''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:39&lt;br /&gt;
||Click on the '''Library Editor''' icon from the top toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:44&lt;br /&gt;
||The '''schematic''' window of the '''Part Library Editor''' opens up.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:49&lt;br /&gt;
||You can also find the '''Library Editor''' option from the '''Tools''' option on the top menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:56&lt;br /&gt;
||Click on the '''File''' option from the top menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||07:59&lt;br /&gt;
||Click on the '''Current Library''' option.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:03&lt;br /&gt;
||Choose '''eSim underscore Subckt''' option.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:08&lt;br /&gt;
||Click on the '''OK''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:11&lt;br /&gt;
||The current '''library path''' of the '''library''' selected is displayed at the top of the '''Part Library editor''' window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:20&lt;br /&gt;
||To create a new '''component''', click on '''Create a new Component''' icon from the top toolbar.&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
||08:28&lt;br /&gt;
||A '''Component Properties''' window opens up.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:32&lt;br /&gt;
||Enter the following.&lt;br /&gt;
&lt;br /&gt;
'''Component name''' as '''HA underscore new'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:39&lt;br /&gt;
||'''Default Reference Designator''' as '''X'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:43&lt;br /&gt;
||The '''designator''' is different for each '''eSim component'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:48&lt;br /&gt;
||'''D''' is used for '''Diode'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:51&lt;br /&gt;
||'''Q''' is used for '''BJT''' and so on.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:55&lt;br /&gt;
||Keep the default settings.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||08:57&lt;br /&gt;
||Click on the '''OK''' button in the window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:01&lt;br /&gt;
||Press '''F1''' key to zoom in the '''schematic name''' and '''designator'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:07&lt;br /&gt;
||You can add a '''rectangle, circle, arc''' or '''polygons''' as the '''component body'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:15&lt;br /&gt;
||I will add a '''rectangle''' as a '''component body'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:20&lt;br /&gt;
||Click on '''Add graphic rectangle to component body''' tool from the right toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:27&lt;br /&gt;
||Click on the '''editor'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:30&lt;br /&gt;
||Click and drag the '''rectangle'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:34&lt;br /&gt;
||Click again to end the '''rectangle body'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:38&lt;br /&gt;
||Arrange the '''designator''' and name of the '''component'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:42&lt;br /&gt;
||Place the cursor on the '''name''' and '''designator''' and press the key '''M'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:48&lt;br /&gt;
||Now add '''input''' and '''output pins'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:53&lt;br /&gt;
||Click on '''Add pins to component''' tool from the right toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||09:59&lt;br /&gt;
||Click on the '''Editor'''.&lt;br /&gt;
&lt;br /&gt;
'''Pin Properties''' window will appear.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:04&lt;br /&gt;
||Enter: '''Pin name''' as '''A'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:09&lt;br /&gt;
||'''Pin Number''' as '''1'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:11&lt;br /&gt;
||'''Orientation''' as '''Right'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:14&lt;br /&gt;
||'''Electrical Type''' as '''Input'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:17&lt;br /&gt;
||'''Graphic Style''' as '''Line'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:20&lt;br /&gt;
||Click on the '''OK''' button in the window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:24&lt;br /&gt;
||The '''pin''' is tied to the cursor. Connect it as shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:30&lt;br /&gt;
||Click on the '''editor''' again.&lt;br /&gt;
&lt;br /&gt;
In a similar way, add '''Pin number 2''' with '''Pin name''' as '''B'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:40&lt;br /&gt;
||Click again on the '''editor'''.&lt;br /&gt;
&lt;br /&gt;
Enter the following.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:45&lt;br /&gt;
||'''Pin name''' as '''Sum'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:48&lt;br /&gt;
||'''Pin Number''' as '''3'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:51&lt;br /&gt;
||'''Orientation''' as '''left'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:54&lt;br /&gt;
||'''Electrical Type''' as '''output'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||10:57&lt;br /&gt;
||'''Graphic Style''' as '''Line'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:00&lt;br /&gt;
||Click on the '''OK''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:04&lt;br /&gt;
||In a similar way add '''Pin number 4''' with '''Pin name Cy'''. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:11&lt;br /&gt;
||Let us save the '''schematic symbol'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:15&lt;br /&gt;
||Click on '''File''' option from the top menu.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:19&lt;br /&gt;
||Click on the '''Save Current Library''' option.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:23&lt;br /&gt;
||Click the '''Yes''' button in the '''confirmation''' box.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:28&lt;br /&gt;
||You can see here, the '''component''' is added to '''eSim underscore Subcircuit library'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:36&lt;br /&gt;
||Click once again the '''Yes''' button in the '''confirmation''' box.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:41&lt;br /&gt;
||Close the '''Part Library editor''' window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:45&lt;br /&gt;
||This will save the new component to the current library  '''eSim underscore Subcircuit '''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||11:52&lt;br /&gt;
||The '''eSim underscore Subckt library''' file is found in the '''Kicad''' library as shown here.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:00&lt;br /&gt;
||As you can see the '''component HA underscore new''' is defined here. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:06&lt;br /&gt;
||If you want to delete any '''component''', you can also delete the '''component''' in this file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:13&lt;br /&gt;
||Now we can verify the created '''Subcircuit''' and its '''component schematic'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:20&lt;br /&gt;
||You can use the '''Half Adder''' example project from the '''eSim Examples''' folder or create a new project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:27&lt;br /&gt;
||You can also download the example '''HA underscore Test''' from the '''Code''' file section.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:36&lt;br /&gt;
||You can verify the '''component''' and '''subcircuit''' created.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:41&lt;br /&gt;
||I have created a new project '''HA underscore Test'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:46&lt;br /&gt;
||The project is already added to '''eSim''' window under the '''Project''' section.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||12:52&lt;br /&gt;
||Select '''HA test''' and click on the '''Open schematic''' button from the left toolbar.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:00&lt;br /&gt;
||It directs us to the '''eSim schematic''' window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:04&lt;br /&gt;
||You can see, the '''HA underscore new component''' will be present under '''eSim_Subckt library'''.&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
||13:13&lt;br /&gt;
||Let us go back to the '''eSim''' window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:16&lt;br /&gt;
||In the '''Kicad to Ngspice analysis''' tab, I have already specified '''transient parameters'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:23&lt;br /&gt;
||In the '''Source details''' tab, the '''voltage sources''' are assigned as '''5''' volts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:29&lt;br /&gt;
||In the '''Subcircuit''' tab, the path of the '''Halfadder underscore new''' is added. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:36&lt;br /&gt;
||You can see the '''Ngspice plots''' and '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:41&lt;br /&gt;
||Since both the '''inputs''' are '''5''' volts, '''Sum''' will be '''0''' and '''carry''' will be '''5''' volts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:48&lt;br /&gt;
||You can also see the values in the '''Ngspice terminal'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:53&lt;br /&gt;
||Close the '''Ngspice terminal''' and '''plots'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||13:57&lt;br /&gt;
||In  the '''Python plot''' window, check the '''Sum''' and '''Cy''' node.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:03&lt;br /&gt;
||Click on the '''Plot''' button.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:06&lt;br /&gt;
||The '''sum''' is '''0''' volts and '''Carry''' is '''5''' volts.&lt;br /&gt;
&lt;br /&gt;
Close the '''Python plot''' window.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:14&lt;br /&gt;
||In this tutorial, we learnt how to,&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:17&lt;br /&gt;
||Create a '''Subcircuit''' and Create a '''Component Schematic'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:24&lt;br /&gt;
||Do you have questions in this '''Spoken Tutorial'''?&lt;br /&gt;
&lt;br /&gt;
Please visit this site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:31&lt;br /&gt;
||For any general or  technical questions on '''eSim''', visit the '''FOSSEE''' forum and post your question.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:39&lt;br /&gt;
||The '''FOSSEE''' team coordinates the '''Circuit Simulation''' project.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:44&lt;br /&gt;
||We give '''Certificates''' and '''Honorarium''' to the contributors.&lt;br /&gt;
&lt;br /&gt;
For more details, please visit this site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||14:53&lt;br /&gt;
||The '''FOSSEE''' team coordinates the '''Lab Migration''' project.&lt;br /&gt;
&lt;br /&gt;
For more details, please visit this site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
||15:02&lt;br /&gt;
||'''Spoken Tutorial''' Project is funded by '''NMEICT''', '''MHRD''', '''Govt. of India'''.&lt;br /&gt;
&lt;br /&gt;
For more details, visit this site.&lt;br /&gt;
		&lt;br /&gt;
|-	&lt;br /&gt;
||15:11	&lt;br /&gt;
||This is Gloria N  from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thank you&lt;/div&gt;</summary>
		<author><name>PoojaMoolya</name></author>	</entry>

	</feed>