Difference between revisions of "ESim/C2/Getting-started-with-eSim-Linux-installation/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Getting started with eSim. -Linux Installation'''
+
'''Getting started with eSim - Linux Installation'''
  
  
Line 7: Line 7:
  
  
{| style="border-spacing:0;"
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Visual cue'''
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| '''Narration'''
 
  
|-
+
{| border=1
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Visual Cue
 +
|| Narration
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Show Slide:'''
  
 
Title slide
 
Title slide
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Welcome to the Spoken Tutorial on “'''Getting started with eSim- Linux Installation.'''”
+
|| Welcome to the Spoken Tutorial on “'''Getting started with eSim- Linux Installation.'''”  
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Show Slide:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
Learning Objectives
 
Learning Objectives
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| In this tutorial, we will learn how to
+
|| In this tutorial, we will learn how to:
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">Install''' eSim''' version 1.1.2 on '''Ubuntu Linux.'''</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">Run''' eSim''' using an example.</div>
  
* Install''' eSim''' version 1.1.2 on '''Ubuntu Linux'''
+
|- style="border:1pt solid #000000;padding:0.176cm;"
* Run''' eSim''' using an example.
+
|| '''Show Slide:'''
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
System Requirements
 
System Requirements
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| To install''' eSim''', we will use''' '''
+
|| To install''' eSim''', we will use
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Ubuntu Linux''' 16.04.</div>
 +
 
  
* '''Ubuntu Linux''' 16.04.
 
  
 
One can also use any version of Ubuntu Linux higher than 12.04.
 
One can also use any version of Ubuntu Linux higher than 12.04.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Show Slide:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
Installation Requirements
 
Installation Requirements
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| For the installation-
+
|| For the installation-
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">We require a working''' Internet connection.'''</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">We also require to be a '''root user.'''</div>
  
* We require a working''' Internet connection.'''
+
|- style="border:1pt solid #000000;padding:0.176cm;"
* We also require to be a '''root user. '''
+
|| '''Show Slide:'''
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
Prerequisites
 
Prerequisites
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| To use''' eSim''', one should have basic knowledge of
+
|| To use''' eSim''', one should have basic knowledge of
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">'''Analog''' and''' Digital electronics.'''</div>
  
* '''Analog''' and''' Digital electronics.'''
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 
+
|| '''Show Slide:'''
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
Packages installed with eSim
 
Packages installed with eSim
 +
|| The following packages will be installed along with '''eSim''':
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">Python 2.7</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">PyQt4</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">Matplotlib</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">NgSpice</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">KiCad</div>
  
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 
+
|| '''Show Slide:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| The following packages will be installed along with '''eSim''':
+
 
+
* Python 2.7
+
* PyQt4
+
* Matplotlib
+
* NgSpice
+
* KiCad
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
About eSim
 
About eSim
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| '''eSim '''is a free and open source software alternative to''' OrCAD'''.
+
|| '''eSim '''is a free and open source software alternative to''' OrCAD'''.
  
 
It can be used to:
 
It can be used to:
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">create''' circuit schematic,'''</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">perform''' simulation'''</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">and create''' PCB layout.'''</div>
  
* create''' circuit schematic,'''
+
|- style="border:1pt solid #000000;padding:0.176cm;"
* perform''' simulation'''
+
|| '''Show slide:'''
* and create''' PCB layout.'''
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show slide:'''
+
  
 
eSim Installation
 
eSim Installation
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Let us first download the '''installer''' files from the '''eSim''' website.
+
|| Let us first download the '''installer''' files from the '''eSim''' website.
  
  
Go to the''' eSim website, as '''shown here.
+
Go to the''' eSim''' website, as shown here.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Click on''' Downloads tab.'''
 +
|| Click on''' Downloads tab.'''
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Point to '''eSim Installer – Linux'''
 +
|| Click on '''eSim Installer – Linux'''
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Point to '''“OK” '''
 +
|| Click on '''Save''' to save the '''installer''' in your computer.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Click on '''Cancel'''
 +
|| I will click on''' Cancel,''' as I have already downloaded this file earlier.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Go to '''Downloads '''folder
 +
|| Go to the folder where the '''installer''' file is downloaded.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Right-click >> click on''' Extract Here'''
 +
|| Right-click on it and click on''' Extract Here.'''
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Open '''Terminal'''
 +
|| Now, open the''' terminal''' window by pressing the''' Ctrl, Alt''' and''' T''' keys together.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Terminal:'''
  
|-
+
Changing the directory where eSim is Downloaded
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Click on''' Downloads tab.'''
+
|| Go to the directory where we have saved our '''eSim installer''' folder.
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click on''' Downloads tab.'''
+
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Point to '''eSim Installer – Linux'''
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click on''' eSim Installer – Linux'''.
 
  
|-
+
On my machine, I will type-
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Point to '''“OK” '''
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click on “'''save'''” to save the installer in your computer.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Click on '''Cancel'''
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| I will click on''' Cancel,''' as I have already downloaded this file earlier.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Go to '''Downloads '''folder
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Go to the folder where the '''installer''' file is downloaded.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Right-click >> click on''' Extract Here'''
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Right-click on it and click on''' Extract Here.'''
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Open '''Terminal'''
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Now, open the''' terminal''' window by pressing the''' Ctrl, Alt''' and''' T''' keys together.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Terminal:'''
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Go to the directory where we have saved our '''eSim installer folder'''.
+
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Changing the directory where eSim is Downloaded
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| On my machine, I will type-
+
  
 
'''cd (space) eSim hyphen 1(point) 1(point)2'''
 
'''cd (space) eSim hyphen 1(point) 1(point)2'''
Line 132: Line 117:
  
 
This will take me to my '''installer '''folder.
 
This will take me to my '''installer '''folder.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Terminal :'''
 +
|| Now type-
  
|-
+
'''(dot)(slash) install(hyphen) linux (dot) sh(space)(hyphen)(hyphen) install'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Terminal:'''
+
 
+
 
+
 
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Now type-
+
 
+
'''(dot)(slash) install(hyphen) linux (dot) sh(space)(hyphen)(hyphen) install'''  
+
  
  
 
and press''' Enter'''.
 
and press''' Enter'''.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Terminal:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Terminal: '''
+
  
  
 
Proxy Connection
 
Proxy Connection
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| On my '''terminal '''a message appears-
+
|| On my '''terminal '''a message appears-
  
 
'''Is your Internet connection behind proxy?'''
 
'''Is your Internet connection behind proxy?'''
Line 156: Line 136:
  
 
This message will appear if you are using a '''network proxy''' else it won't.
 
This message will appear if you are using a '''network proxy''' else it won't.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Terminal:'''  
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Terminal:'''
+
|| If you are behind a''' network proxy''', you should type''' Y.'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| If you are behind a''' network proxy''', you should type''' Y.'''
+
  
  
Line 165: Line 144:
  
 
As I am not behind a''' network proxy''', let me type''' N''' and press''' Enter'''.
 
As I am not behind a''' network proxy''', let me type''' N''' and press''' Enter'''.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Terminal:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Terminal:'''
+
  
 
Asking for nghdl installation?
 
Asking for nghdl installation?
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| The next message displayed asks whether the user wants to install''' nghdl'''.
+
|| The next message displayed asks whether the user wants to install''' nghdl'''.
  
  
Line 177: Line 155:
  
 
Also, since '''nghdl''' is in developing stage, we will type '''‘N’''' and press '''Enter'''.
 
Also, since '''nghdl''' is in developing stage, we will type '''‘N’''' and press '''Enter'''.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Terminal:'''
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Terminal:'''
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| If prompted, type the''' root password''' and press''' Enter.'''
 
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Show eSim icon on Desktop
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| We can see that the installation of''' eSim''' on '''Ubuntu Linux OS''' is now complete.
 
  
|-
+
|| If prompted, type the''' root password''' and press''' Enter.'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show slide:'''
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Show eSim icon on Desktop
 +
|| We can see that the installation of''' eSim''' on '''Ubuntu Linux OS''' is now complete.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Show slide:'''
  
  
 
Running eSim
 
Running eSim
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Now that we have installed '''eSim''', let us do a test-run.
+
|| Now that we have installed '''eSim''', let us do a test-run.  
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Show slide:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show slide:'''
+
  
  
 
Example for test Run
 
Example for test Run
 
+
|| Let us''' run''' an example using '''eSim'''.
 
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Let us''' run''' an example using '''eSim'''.
+
  
  
Line 206: Line 181:
  
  
Now let us open the project.  
+
Now let us open the project.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
||
 +
|| To launch '''eSim''', go to '''Desktop''' and double click on the '''eSim''' icon.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Desktop '''(shortcut created for eSim):
  
|-
+
Double-click on the '''eSim '''icon >> '''eSim''' window opens
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Desktop '''(shortcut created for eSim)
+
||
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| To launch '''eSim''', goto '''Desktop''' and double click on the '''eSim''' icon
+
  
|-
+
To launch '''eSim''', go to '''Desktop''' and double click on the '''eSim''' icon.
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Double-click on the '''eSim '''icon >> '''eSim''' window opens
+
|- style="border:1pt solid #000000;padding:0.176cm;"
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| The '''eSim '''window opens.
+
||
 +
|| The '''eSim '''window opens.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
||
 +
|| <<PAUSE>>
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| In the '''eSim startup '''window :
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"|
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| <<PAUSE>>
 
  
|-
+
Click on “'''Ok'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| In the '''eSim startup '''window
+
|| By default, the '''project''' files created, will be saved in the''' eSim-Workspace''' directory.
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| By default, the project files created, will be saved in the''' eSim-Workspace''' directory.
+
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Press “'''Ok'''”
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click on “'''Ok'''” in the dialog box.
 
  
|-
+
Click on '''Ok'''” in the dialog box.
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''eSim '''window >>click on '''Open Project'''
+
|- style="border:1pt solid #000000;padding:0.176cm;"
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| To open the project, click on''' Open Project''' button on the top toolbar.
+
|| '''eSim '''window :
  
|-
+
Click on '''Open Project'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Esim window:'''
+
|| To open the '''project''', click on''' Open Project''' button on the top toolbar.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''eSim window:'''
  
  
 
Selecting the project folder
 
Selecting the project folder
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Locate the folder where''' eSim''' is''' '''downloaded.
+
|| Locate the folder where''' eSim''' is downloaded.
  
  
Line 244: Line 224:
  
 
Now, open the''' Half wave rectifier''' folder.
 
Now, open the''' Half wave rectifier''' folder.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''eSim window:'''
  
|-
+
Point to '''Half wave rectifier '''under''' Projects.'''  
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Point to '''Half wave rectifier '''under''' Projects.'''
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| '''Half wave rectifier''' will appear under '''Projects'''.
+
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Double-click on project file
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Double-click to select the project.
 
  
|-
+
Double-click on project file
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Click''' Open Schematic'''  
+
|| '''Half wave rectifier''' will appear under '''Projects'''.  
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click''' Open Schematic''' button on the left toolbar.
+
  
  
You can now see the''' '''schematic of the '''half wave rectifier'''.
+
Double-click to select the '''project'''.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''eSim window:'''
  
|-
+
Click''' Open Schematic'''  
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Place cursor on '''schematic >> '''press''' F1''' to zoom in >> press''' F2''' to zoom out
+
|| Click''' Open Schematic''' button on the left toolbar.
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Press the cursor on the''' schematic''' and press''' F1''' key to zoom in.
+
  
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
||
 +
|| You can now see the '''schematic''' of the '''half wave rectifier'''.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''eSim Schematic Editor window:'''
  
To zoom out, use the '''F2''' key.
+
Place cursor on '''schematic >> '''press''' F1''' to zoom in >>
  
Now come to the eSim window
+
press''' F2''' to zoom out
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Close the '''Schematic '''window.
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Now let us simulate this project'''.'''
 
  
|-
+
Close the '''Schematic '''window.
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Click on''' Simulation''' button
+
|| Press the cursor on the''' schematic''' and press''' F1''' key to zoom in.
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click on''' Simulation''' button, in the left toolbar.  
+
  
  
This will simulate the circuit.
+
To zoom out, use the '''F2''' key.
  
|-
+
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Terminal and''' Plot''' Windows''':'''
+
Now come to the '''eSim''' window
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''eSim window:'''
 +
|| Let us '''simulate''' this '''project'''.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''eSim window:'''
 +
 
 +
Click on''' Simulation''' button
 +
||
 +
 
 +
Click on''' Simulation''' button, in the left toolbar.
 +
 
 +
 
 +
This will '''simulate''' the '''circuit'''.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Terminal''' and''' Plot''' Windows''':'''
  
  
 
Highlight each window
 
Highlight each window
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| You will see:
+
|| You will see:
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">the''' ngspice terminal '''window,</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">the''' ngspice plot '''window</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">and the '''python plot '''window.</div>
  
* the''' ngspice terminal '''window,
+
|- style="border:1pt solid #000000;padding:0.176cm;"
* the''' ngspice plot '''window
+
|| '''Ngspice Terminal Window:'''  
* and the '''python plot '''window.
+
|| If you are familiar with '''ngspice''' commands, then use this window to plot various other '''waveforms.'''
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Ngspice Plot '''window''':'''
 +
|| This shows the '''simulated''' output.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| Switch to the '''Python plot '''window :
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Ngspice Terminal Window:'''
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| If you are familiar with '''ngspice''' commands, then use this window to plot various other '''waveforms.'''
 
  
|-
+
Select as per narration
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Ngspice Plot '''window''':'''
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| This shows the simulated output.
+
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Switch to the '''Python plot '''window
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Now, come to the '''Python plot''' window.
 
  
|-
+
Click on '''Plot'''  
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Select as per narration
+
|| Now, come to the '''Python plot''' window.  
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Select the '''nodes '''('''for voltage''') and the '''branches '''('''for current'''), which need to be displayed.
+
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Click on '''Plot'''
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click on''' Plot.'''
 
  
|-
+
Select the '''nodes (for voltage)''' and the '''branches (for current)''', which need to be displayed.  
| style="border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| Output Waveform
+
| style="border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Here, output voltage is rectified with respect to input.  
+
  
|-
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Python plot '''window and the '''schematic '''window
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click on the '''maximize button '''on the '''Python plot '''window to see the plot better.
 
  
|-
+
Click on''' Plot.'''
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Python plot '''window
+
|- style="border:1pt solid #000000;padding:0.176cm;"
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Click on the '''minimised schematic '''window.  
+
|| Output Waveform
 +
|| Here, output voltage is rectified with respect to input.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Python plot '''window and the '''schematic '''window  
 +
|| Click on the '''maximize''' button on the '''Python plot '''window to see the plot better.
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Python plot window '''
 +
|| Click on the '''minimised schematic '''window.
  
 
You can now see the '''schematic''' and the '''plot''' together.
 
You can now see the '''schematic''' and the '''plot''' together.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
||  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"|  
+
|| This brings us to the end of this tutorial.  
| style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| This brings us to the end of this tutorial.
+
|- style="border:1pt solid #000000;padding:0.176cm;"
 
+
|| '''Show Slide:'''
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0.0694in;padding-bottom:0.0694in;padding-left:0.0694in;padding-right:0in;"| '''Show Slide:'''
+
  
 
Summary
 
Summary
| style="background-color:#ffffff;border:1pt solid #000001;padding:0.0694in;"| Let us summarize.
+
|| Let us summarize.
  
 
In this tutorial, we learnt how to
 
In this tutorial, we learnt how to
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">Install '''eSim version 1.1.2''' on '''Ubuntu Linux.'''</div>
 +
* <div style="margin-left:1.27cm;margin-right:0cm;">Run '''eSim''' using '''Half wave rectifier '''as an example.</div>
  
* Install '''eSim version 1.1.2''' on '''Ubuntu Linux.'''
+
|- style="border:1pt solid #000000;padding:0.176cm;"
* Run '''eSim''' using '''Half wave rectifier '''as an example.
+
|| '''Show Slide:'''
 
+
|-
+
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
 
+
  
 
Spoken tutorial workshops
 
Spoken tutorial workshops
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| This video summarises the Spoken Tutorial project.
+
|| This video summarises the Spoken Tutorial project.
  
  
 
Please download and watch it.
 
Please download and watch it.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Show Slide:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
Spoken tutorial workshops
 
Spoken tutorial workshops
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| We conduct workshops using Spoken Tutorials and give Certificates.
+
|| We conduct workshops using Spoken Tutorials and give certificates.
  
  
 
Please contact us.
 
Please contact us.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Show Slide:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
Forum to answer questions
 
Forum to answer questions
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Do you have questions in this''' Spoken Tutorial?'''
+
|| Do you have questions in this''' Spoken Tutorial?'''
  
 
Choose the minute and second where you have the question.
 
Choose the minute and second where you have the question.
Line 372: Line 357:
  
 
Please visit this site.
 
Please visit this site.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Show Slide:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
Forum to answer questions
 
Forum to answer questions
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| Do you have any general / technical questions on eSim?
+
|| Do you have any general / technical questions on eSim?
  
 
Please visit the FOSSEE forum and post your question.
 
Please visit the FOSSEE forum and post your question.
 
+
|- style="border:1pt solid #000000;padding:0.176cm;"
|-
+
|| '''Show Slide:'''
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
  
 
Textbook Companion
 
Textbook Companion
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| The''' FOSSEE''' team coordinates coding of solved examples of popular books.
+
|| The''' FOSSEE''' team coordinates coding of solved examples of popular books.
  
  
Line 393: Line 376:
 
For more details, please visit this site.
 
For more details, please visit this site.
  
|-
+
|- style="border:1pt solid #000000;padding:0.176cm;"
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
+
|| '''Show Slide:'''
  
 
Acknowledgment
 
Acknowledgment
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India
+
|| The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India
 +
|- style="border:1pt solid #000000;padding:0.176cm;"
 +
|| '''Show Slide:'''
  
 +
Thank You
 +
|| This is Usha from IIT Bombay signing off. Thanks for watching
 
|-
 
|-
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.075in;"| '''Show Slide:'''
 
 
Thank You
 
| style="background-color:#ffffff;border:1pt solid #000001;padding-top:0in;padding-bottom:0in;padding-left:0.0625in;padding-right:0.0694in;"| This is <nowiki>-----</nowiki> from IIT Bombay signing off. Thanks for watching
 
 
 
|}
 
|}

Latest revision as of 08:40, 4 September 2019

Getting started with eSim - Linux Installation


Author: Usha Viswanathan, Gaurav Supal

Keywords: video tutorial, Free and open source software, EDA tool, Simulation


Visual Cue Narration
Show Slide:

Title slide

Welcome to the Spoken Tutorial on “Getting started with eSim- Linux Installation.
Show Slide:

Learning Objectives

In this tutorial, we will learn how to:
  • Install eSim version 1.1.2 on Ubuntu Linux.
  • Run eSim using an example.
Show Slide:

System Requirements

To install eSim, we will use
  • Ubuntu Linux 16.04.


One can also use any version of Ubuntu Linux higher than 12.04.

Show Slide:

Installation Requirements

For the installation-
  • We require a working Internet connection.
  • We also require to be a root user.
Show Slide:

Prerequisites

To use eSim, one should have basic knowledge of
  • Analog and Digital electronics.
Show Slide:

Packages installed with eSim

The following packages will be installed along with eSim:
  • Python 2.7
  • PyQt4
  • Matplotlib
  • NgSpice
  • KiCad
Show Slide:

About eSim

eSim is a free and open source software alternative to OrCAD.

It can be used to:

  • create circuit schematic,
  • perform simulation
  • and create PCB layout.
Show slide:

eSim Installation

Let us first download the installer files from the eSim website.


Go to the eSim website, as shown here.

Click on Downloads tab. Click on Downloads tab.
Point to eSim Installer – Linux Click on eSim Installer – Linux
Point to “OK” Click on Save to save the installer in your computer.
Click on Cancel I will click on Cancel, as I have already downloaded this file earlier.
Go to Downloads folder Go to the folder where the installer file is downloaded.
Right-click >> click on Extract Here Right-click on it and click on Extract Here.
Open Terminal Now, open the terminal window by pressing the Ctrl, Alt and T keys together.
Terminal:

Changing the directory where eSim is Downloaded

Go to the directory where we have saved our eSim installer folder.


On my machine, I will type-

cd (space) eSim hyphen 1(point) 1(point)2


and press Enter.


This will take me to my installer folder.

Terminal : Now type-

(dot)(slash) install(hyphen) linux (dot) sh(space)(hyphen)(hyphen) install


and press Enter.

Terminal:


Proxy Connection

On my terminal a message appears-

Is your Internet connection behind proxy?


This message will appear if you are using a network proxy else it won't.

Terminal: If you are behind a network proxy, you should type Y.


If not, then type N.

As I am not behind a network proxy, let me type N and press Enter.

Terminal:

Asking for nghdl installation?

The next message displayed asks whether the user wants to install nghdl.


For basic simulations, nghdl is not required.


Also, since nghdl is in developing stage, we will type ‘N’ and press Enter.

Terminal:


If prompted, type the root password and press Enter.
Show eSim icon on Desktop We can see that the installation of eSim on Ubuntu Linux OS is now complete.
Show slide:


Running eSim

Now that we have installed eSim, let us do a test-run.
Show slide:


Example for test Run

Let us run an example using eSim.


We are using Half wave Rectifier example for the test-run.


Now let us open the project.

To launch eSim, go to Desktop and double click on the eSim icon.
Desktop (shortcut created for eSim):

Double-click on the eSim icon >> eSim window opens

To launch eSim, go to Desktop and double click on the eSim icon.

The eSim window opens.
<<PAUSE>>
In the eSim startup window :


Click on “Ok

By default, the project files created, will be saved in the eSim-Workspace directory.


Click on “Ok” in the dialog box.

eSim window :

Click on Open Project

To open the project, click on Open Project button on the top toolbar.
eSim window:


Selecting the project folder

Locate the folder where eSim is downloaded.


Open eSim folder and go to Examples folder.


Now, open the Half wave rectifier folder.

eSim window:

Point to Half wave rectifier under Projects.


Double-click on project file

Half wave rectifier will appear under Projects.


Double-click to select the project.

eSim window:

Click Open Schematic

Click Open Schematic button on the left toolbar.
You can now see the schematic of the half wave rectifier.
eSim Schematic Editor window:

Place cursor on schematic >> press F1 to zoom in >>

press F2 to zoom out


Close the Schematic window.

Press the cursor on the schematic and press F1 key to zoom in.


To zoom out, use the F2 key.


Now come to the eSim window

eSim window: Let us simulate this project.
eSim window:

Click on Simulation button

Click on Simulation button, in the left toolbar.


This will simulate the circuit.

Terminal and Plot Windows:


Highlight each window

You will see:
  • the ngspice terminal window,
  • the ngspice plot window
  • and the python plot window.
Ngspice Terminal Window: If you are familiar with ngspice commands, then use this window to plot various other waveforms.
Ngspice Plot window: This shows the simulated output.
Switch to the Python plot window :


Select as per narration


Click on Plot

Now, come to the Python plot window.


Select the nodes (for voltage) and the branches (for current), which need to be displayed.


Click on Plot.

Output Waveform Here, output voltage is rectified with respect to input.
Python plot window and the schematic window Click on the maximize button on the Python plot window to see the plot better.
Python plot window Click on the minimised schematic window.

You can now see the schematic and the plot together.

This brings us to the end of this tutorial.
Show Slide:

Summary

Let us summarize.

In this tutorial, we learnt how to

  • Install eSim version 1.1.2 on Ubuntu Linux.
  • Run eSim using Half wave rectifier as an example.
Show Slide:

Spoken tutorial workshops

This video summarises the Spoken Tutorial project.


Please download and watch it.

Show Slide:

Spoken tutorial workshops

We conduct workshops using Spoken Tutorials and give certificates.


Please contact us.

Show Slide:

Forum to answer questions

Do you have questions in this Spoken Tutorial?

Choose the minute and second where you have the question.

Explain your question briefly.

Someone from the FOSSEE team will answer them.

Please visit this site.

Show Slide:

Forum to answer questions

Do you have any general / technical questions on eSim?

Please visit the FOSSEE forum and post your question.

Show Slide:

Textbook Companion

The FOSSEE team coordinates coding of solved examples of popular books.


We give honorarium and certificates for those who do this.


For more details, please visit this site.

Show Slide:

Acknowledgment

The Spoken Tutorial project is funded by NMEICT, MHRD, Govt. of India
Show Slide:

Thank You

This is Usha from IIT Bombay signing off. Thanks for watching

Contributors and Content Editors

Nancyvarkey, PoojaMoolya, Saurabhbansode, Vineeta