summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFahim2015-10-15 17:26:17 +0530
committerFahim2015-10-15 17:26:17 +0530
commitc5a5c9eda015f8855c5e8481834a740fc5b625b4 (patch)
tree602af854b6651f4b97376d94f4e4a49b2c327c13 /src
parent770e2898eb880a1eb721274b5d8d9633dc757064 (diff)
downloadeSim-c5a5c9eda015f8855c5e8481834a740fc5b625b4.tar.gz
eSim-c5a5c9eda015f8855c5e8481834a740fc5b625b4.tar.bz2
eSim-c5a5c9eda015f8855c5e8481834a740fc5b625b4.zip
Added XML for Nghdl
Diffstat (limited to 'src')
-rwxr-xr-xsrc/frontEnd/Application.py2
-rw-r--r--src/modelParamXML/Nghdl/inverter.xml1
-rw-r--r--src/modelParamXML/Nghdl/myxor.xml1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index ef66f484..b1f8ca30 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -140,7 +140,7 @@ class Application(QtGui.QMainWindow):
self.subcircuit=QtGui.QAction(QtGui.QIcon('../../images/subckt.png'),'<b>Subcircuit</b>',self)
self.subcircuit.triggered.connect(self.open_subcircuit)
- self.nghdl = QtGui.QAction(QtGui.QIcon('../../images/nghdl.png'), '<b><Nghdl</b>', self)
+ self.nghdl = QtGui.QAction(QtGui.QIcon('../../images/nghdl.png'), '<b>Nghdl</b>', self)
self.nghdl.triggered.connect(self.open_nghdl)
self.omedit = QtGui.QAction(QtGui.QIcon('../../images/omedit.png'),'<b>Modelica Converter</b>',self)
diff --git a/src/modelParamXML/Nghdl/inverter.xml b/src/modelParamXML/Nghdl/inverter.xml
new file mode 100644
index 00000000..894389e0
--- /dev/null
+++ b/src/modelParamXML/Nghdl/inverter.xml
@@ -0,0 +1 @@
+<model><name>inverter</name><type>Nghdl</type><node_number>2</node_number><title>Add parameters for inverter</title><split>2-V:2-V</split><param><rise_delay default="1.0e-9">Enter Rise Delay (default=1.0e-9)</rise_delay><fall_delay default="1.0e-9">Enter Fall Delay (default=1.0e-9)</fall_delay><input_load default="1.0e-12">Enter Input Load (default=1.0e-12)</input_load><instance_id default="1">Enter Instance ID (Between 0-99)</instance_id></param></model> \ No newline at end of file
diff --git a/src/modelParamXML/Nghdl/myxor.xml b/src/modelParamXML/Nghdl/myxor.xml
new file mode 100644
index 00000000..c245879e
--- /dev/null
+++ b/src/modelParamXML/Nghdl/myxor.xml
@@ -0,0 +1 @@
+<model><name>myxor</name><type>Nghdl</type><node_number>3</node_number><title>Add parameters for myxor</title><split>1-V:1-V:1-V</split><param><rise_delay default="1.0e-9">Enter Rise Delay (default=1.0e-9)</rise_delay><fall_delay default="1.0e-9">Enter Fall Delay (default=1.0e-9)</fall_delay><input_load default="1.0e-12">Enter Input Load (default=1.0e-12)</input_load><instance_id default="1">Enter Instance ID (Between 0-99)</instance_id></param></model> \ No newline at end of file