summaryrefslogtreecommitdiff
path: root/src/ngspice_ghdl.py
diff options
context:
space:
mode:
authorambikeshwar2015-08-18 12:32:57 +0530
committerambikeshwar2015-08-18 12:32:57 +0530
commit8fbf1fc8ea70f0e960e0da26218a7bb83dbd4aa3 (patch)
tree9dc1f8360620e7c586221f8ccb8c443fa2bbd96e /src/ngspice_ghdl.py
parentdcc027950fbacfff84569f99e991f30d1846eed2 (diff)
downloadnghdl-8fbf1fc8ea70f0e960e0da26218a7bb83dbd4aa3.tar.gz
nghdl-8fbf1fc8ea70f0e960e0da26218a7bb83dbd4aa3.tar.bz2
nghdl-8fbf1fc8ea70f0e960e0da26218a7bb83dbd4aa3.zip
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 6791cc1..3cab011 100755
--- a/src/ngspice_ghdl.py
+++ b/src/ngspice_ghdl.py
@@ -175,6 +175,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/")
@@ -191,6 +192,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")