-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from rahulp13/master
ported GUI to PyQt5; platform independent paths; launch ngspice through mintty on Win OS
- Loading branch information
Showing
121 changed files
with
790 additions
and
719 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
Examples/Mixed_Mode/README.md → Examples/Mixed_Signal/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
Instructions on how to use the following examples provided in this directory: | ||
|
||
These examples are supported by the NGHDL feature. | ||
In order to simulate the examples listed above, follow the below instructions. | ||
(Note that NGHDL feature is only for Ubuntu Linux OS users) | ||
In order to simulate the examples listed above, follow the below instructions. | ||
|
||
1. Go to eSim main window -> Click on NGHDL icon from the left toolbar, click on the 'browse' button, go to ../nghdl/Example/ and locate which example you wish to simulate. | ||
2. After opening the directory of desired example, locate the vhdl file, click on the "Open" button at the bottom of "Open File" window. | ||
3. Click on 'upload' button in the NGHDL pop-up window. File will be processed in the backend for few seconds. Now exit the NGHDL window. | ||
4. Open the desired example under eSim/Examples/Mixed_Mode/ using the Open Project button, double click on the project when the project is loaded in the "Projects" window. | ||
5. Click on the "Simulation" button on eSim Main window. | ||
4. Open the desired example under eSim/Examples/Mixed_Signal/ using the Open Project button, double click on the project when the project is loaded in the "Projects" window. | ||
5. Click on the "Simulation" button on eSim main window. | ||
|
||
More examples will be added by eSim team along the way. | ||
If you have a good command on VHDL and electronics, please feel free to contribute. | ||
|
||
Note : The Examples in this directory are for demonstration purpose of eSim's Mixed-Mode simulation feature executing as expected. | ||
Note : The Examples in this directory are for demonstration purpose of eSim's Mixed-Signal Simulation feature executing as expected. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.0 | ||
2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,54 @@ | ||
<html> | ||
|
||
<head> | ||
<style> | ||
body { | ||
font-family: sans-serif; | ||
margin: 0px; | ||
padding: 0px; | ||
background-color: #efefef; | ||
} | ||
<head> | ||
<style> | ||
body { | ||
font-family: sans-serif; | ||
margin: 0px; | ||
padding: 0px; | ||
background-color: #efefef; | ||
} | ||
|
||
h1{ | ||
font-weight: bold; | ||
font-size: 22pt; | ||
color: #eeeeee; | ||
padding: 10px; | ||
background-color: #165982; | ||
border: 4px outset #0E324B; | ||
} | ||
h1{ | ||
font-weight: bold; | ||
font-size: 22pt; | ||
color: #eeeeee; | ||
padding: 10px; | ||
background-color: #165982; | ||
border: 4px outset #0E324B; | ||
} | ||
|
||
p{ | ||
margin: 0px 10px 0px 10px; | ||
} | ||
p{ | ||
margin: 0px 10px 0px 10px; | ||
} | ||
|
||
pre{ | ||
margin: 0px 10px 0px 10px; | ||
font-family: monospaced; | ||
font-size: 10pt; | ||
} | ||
#license{ | ||
font-size:8pt; | ||
} | ||
|
||
</style> | ||
<head> | ||
|
||
<body> | ||
<h1>About eSim</h1> | ||
<center><img src="../../images/logo.png" alt="eSim logo" height="100" width="100"></center> | ||
<br/> | ||
<p> | ||
<b>eSim</b> is an open source EDA tool for circuit design, simulation, analysis and PCB design. It is an integrated tool built using open source software such as KiCad (<a href=http://www.kicad-pcb.org>http://www.kicad-pcb.org</a>), Ngspice (<a href=http://ngspice.sourceforge.net>http://ngspice.sourceforge.net</a>) and GHDL (<a href=http://ghdl.free.fr>http://ghdl.free.fr</a>). eSim source is released under <b>GNU General Public License.</b> | ||
</p> | ||
<br/> | ||
<p> | ||
This tool is developed by the <b>FOSSEE team at IIT Bombay</b>. To know more about eSim, please visit: <a href=http://esim.fossee.in>http://esim.fossee.in</a>. | ||
</p> | ||
<br/> | ||
<p> | ||
To discuss more about eSim please visits at <a href=http://forums.fossee.in>http://forums.fossee.in</a> | ||
</p> | ||
<br /> | ||
</body> | ||
pre{ | ||
margin: 0px 10px 0px 10px; | ||
font-family: monospaced; | ||
font-size: 10pt; | ||
} | ||
#license{ | ||
font-size:8pt; | ||
} | ||
</style> | ||
<head> | ||
|
||
<body> | ||
<h1>About eSim</h1> | ||
<center><img src="../../images/logo.png" alt="eSim logo" height="100" width="100"></center> | ||
<br/> | ||
<p> | ||
<b>eSim</b> is an open source EDA tool for circuit design, simulation, analysis and PCB design. It is an integrated tool built using open source softwares such as KiCad (<a href=http://www.kicad-pcb.org>http://www.kicad-pcb.org</a>), Ngspice (<a href=http://ngspice.sourceforge.net>http://ngspice.sourceforge.net</a>) and GHDL (<a href=http://ghdl.free.fr>http://ghdl.free.fr</a>). eSim source is released under <b>GNU General Public License.</b> | ||
</p> | ||
<br/> | ||
<p> | ||
This tool is developed by the <b>FOSSEE team at IIT Bombay</b>. To know more about eSim, please visit: <a href=http://esim.fossee.in>http://esim.fossee.in</a>. | ||
</p> | ||
<br/> | ||
<p> | ||
To discuss more about eSim, please visit: <a href=http://forums.fossee.in>http://forums.fossee.in</a> | ||
</p> | ||
<br/> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
from PyQt4 import QtGui | ||
from PyQt5 import QtWidgets | ||
import subprocess | ||
import platform | ||
import os | ||
|
||
|
||
class UserManual(QtGui.QWidget): | ||
class UserManual(QtWidgets.QWidget): | ||
""" | ||
This class opens User-Manual page in new tab of web browser | ||
when help button is clicked. | ||
""" | ||
|
||
def __init__(self): | ||
QtGui.QWidget.__init__(self) | ||
QtWidgets.QWidget.__init__(self) | ||
|
||
self.vlayout = QtGui.QVBoxLayout() | ||
self.vlayout = QtWidgets.QVBoxLayout() | ||
|
||
file = os.path.realpath( | ||
'library/browser/User-Manual/eSim_Manual_2019_Dec_31.pdf' | ||
) | ||
manual = 'library/browser/User-Manual/eSim_Manual_2.1.pdf' | ||
|
||
if 'Win' in platform.system(): | ||
os.startfile(file) | ||
if os.name == 'nt': | ||
os.startfile(os.path.realpath(manual)) | ||
else: | ||
subprocess.Popen(['xpdf.real', file], shell=False) | ||
manual_path = '../../' + manual | ||
subprocess.Popen( | ||
['xdg-open', os.path.realpath(manual_path)], shell=False | ||
) | ||
|
||
self.setLayout(self.vlayout) | ||
self.show() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.