summaryrefslogtreecommitdiff
path: root/src/ngspice_ghdl.py
diff options
context:
space:
mode:
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")