summaryrefslogtreecommitdiff
path: root/src/ngspice_ghdl.py
diff options
context:
space:
mode:
authorAmbikeshwar Srivastava2015-08-18 12:33:58 +0530
committerAmbikeshwar Srivastava2015-08-18 12:33:58 +0530
commitfaca8212697a03f5870b1746a9cdba7c169080c6 (patch)
tree9cf92ebf2f35e446b1cc439970e7d58a730f5c0e /src/ngspice_ghdl.py
parent97569bc07138ec4ae025a6d2a64017c8e8bc4bfd (diff)
parent8fbf1fc8ea70f0e960e0da26218a7bb83dbd4aa3 (diff)
downloadnghdl-faca8212697a03f5870b1746a9cdba7c169080c6.tar.gz
nghdl-faca8212697a03f5870b1746a9cdba7c169080c6.tar.bz2
nghdl-faca8212697a03f5870b1746a9cdba7c169080c6.zip
Merge pull request #14 from ambikeshwar1991/master
changes in ngspice_ghdl.py for flexible client server port option
Diffstat (limited to 'src/ngspice_ghdl.py')
-rwxr-xr-xsrc/ngspice_ghdl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ngspice_ghdl.py b/src/ngspice_ghdl.py
index 905d7fc..311ec4d 100755
--- a/src/ngspice_ghdl.py
+++ b/src/ngspice_ghdl.py
@@ -172,6 +172,7 @@ class Mainwindow(QtGui.QWidget):
os.mkdir(path+"/DUTghdl/")
shutil.move("connection_info.txt",path+"/DUTghdl/")
shutil.move("start_server.sh",path+"/DUTghdl/")
+ shutil.move("sock_pkg_create.sh",path+"/DUTghdl/")
shutil.move(self.modelname+"_tb.vhdl",path+"/DUTghdl/")
shutil.copy(str(self.filename),path+"/DUTghdl/")
@@ -188,6 +189,7 @@ class Mainwindow(QtGui.QWidget):
os.chdir(path+"/DUTghdl")
subprocess.call("bash "+path+"/DUTghdl/compile.sh", shell=True)
subprocess.call("chmod a+x start_server.sh",shell=True)
+ subprocess.call("chmod a+x sock_pkg_create.sh",shell=True)
os.remove("compile.sh")
os.remove("ghdlserver.c")
#os.remove("ghdlserver.h")