From 88fa6ccdda6bb52f18040c27dd6c777a6769ed9e Mon Sep 17 00:00:00 2001 From: rahul Date: Thu, 3 Oct 2019 12:27:52 +0530 Subject: multiple sockets files(>1024) for linux only --- images/offline.png | Bin 0 -> 37454 bytes images/online.png | Bin 0 -> 35561 bytes src/modelParamXML/Nghdl/myxor.xml | 1 - src/ngspiceSimulation/NgspiceWidget.py | 2 +- src/ngspiceSimulation/NgspiceWidget.pyc | Bin 1665 -> 1681 bytes 5 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 images/offline.png create mode 100644 images/online.png delete mode 100644 src/modelParamXML/Nghdl/myxor.xml diff --git a/images/offline.png b/images/offline.png new file mode 100644 index 00000000..85d07b20 Binary files /dev/null and b/images/offline.png differ diff --git a/images/online.png b/images/online.png new file mode 100644 index 00000000..957679fd Binary files /dev/null and b/images/online.png 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 @@ -myxorNghdl3Add parameters for myxor1-V:1-V:1-VEnter Rise Delay (default=1.0e-9)Enter Fall Delay (default=1.0e-9)Enter Input Load (default=1.0e-12)Enter Instance ID (Between 0-99) \ 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 Binary files a/src/ngspiceSimulation/NgspiceWidget.pyc and b/src/ngspiceSimulation/NgspiceWidget.pyc differ -- cgit