summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrahul2019-10-03 12:27:52 +0530
committerrahul2019-10-03 12:27:52 +0530
commit88fa6ccdda6bb52f18040c27dd6c777a6769ed9e (patch)
tree6f079878b921c517402c296890b37ee75e2c5d0d
parent238fc9fa6b48cb9263f832c00f6bb19d4021682f (diff)
downloadeSim-88fa6ccdda6bb52f18040c27dd6c777a6769ed9e.tar.gz
eSim-88fa6ccdda6bb52f18040c27dd6c777a6769ed9e.tar.bz2
eSim-88fa6ccdda6bb52f18040c27dd6c777a6769ed9e.zip
multiple sockets files(>1024) for linux only
-rw-r--r--images/offline.pngbin0 -> 37454 bytes
-rw-r--r--images/online.pngbin0 -> 35561 bytes
-rw-r--r--src/modelParamXML/Nghdl/myxor.xml1
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py2
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.pycbin1665 -> 1681 bytes
5 files changed, 1 insertions, 2 deletions
diff --git a/images/offline.png b/images/offline.png
new file mode 100644
index 00000000..85d07b20
--- /dev/null
+++ b/images/offline.png
Binary files differ
diff --git a/images/online.png b/images/online.png
new file mode 100644
index 00000000..957679fd
--- /dev/null
+++ b/images/online.png
Binary files differ
diff --git a/src/modelParamXML/Nghdl/myxor.xml b/src/modelParamXML/Nghdl/myxor.xml
deleted file mode 100644
index c245879e..00000000
--- a/src/modelParamXML/Nghdl/myxor.xml
+++ /dev/null
@@ -1 +0,0 @@
-<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
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 310cbe3c..bde95899 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -18,7 +18,7 @@ class NgspiceWidget(QtGui.QWidget):
print "Argument to ngspice command : ",command
if platform.system() == 'Linux':
- self.command = "cd "+projPath+";ngspice "+command
+ self.command = "ulimit -S -n 16384;cd "+projPath+";ngspice "+command
#Creating argument for process
#self.args = ['-into', str(self.terminal.winId()),'-hold','-e', self.command]
self.args = ['-hold','-e', self.command]
diff --git a/src/ngspiceSimulation/NgspiceWidget.pyc b/src/ngspiceSimulation/NgspiceWidget.pyc
index 45245b0b..e0ad5978 100644
--- a/src/ngspiceSimulation/NgspiceWidget.pyc
+++ b/src/ngspiceSimulation/NgspiceWidget.pyc
Binary files differ