summaryrefslogtreecommitdiff
path: root/src/model_generation.py
diff options
context:
space:
mode:
authorambikeshwar2015-08-13 15:31:33 +0530
committerambikeshwar2015-08-13 15:31:33 +0530
commit1a2466cd700138ed4703de24fd02b7ff6e78b303 (patch)
tree93df694c97c1f179f7e73d393e76d6d081f2bc6f /src/model_generation.py
parentfb64fc09a83009deaa37de151b1257f1fa627c72 (diff)
downloadnghdl-1a2466cd700138ed4703de24fd02b7ff6e78b303.tar.gz
nghdl-1a2466cd700138ed4703de24fd02b7ff6e78b303.tar.bz2
nghdl-1a2466cd700138ed4703de24fd02b7ff6e78b303.zip
changes in start_server.sh to compile autogenerated vhdl library sock_pkg.vhdl
Diffstat (limited to 'src/model_generation.py')
-rwxr-xr-xsrc/model_generation.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model_generation.py b/src/model_generation.py
index 676c02d..807b4f1 100755
--- a/src/model_generation.py
+++ b/src/model_generation.py
@@ -766,6 +766,8 @@ start_server.write("#gcc -c ghdlserver.c\n")
start_server.write("#ghdl -a Utility_Package.vhdl &&\n")
start_server.write("#ghdl -a Vhpi_Package.vhdl &&\n")
start_server.write("cd "+home+"/ngspice-26/src/xspice/icm/ghdl/"+fname.split('.')[0]+"/DUTghdl/\n")
+start_server.write("./sock_pkg_create.sh &&\n")
+start_server.write("ghdl -a sock_pkg.vhdl &&\n")
start_server.write("ghdl -a "+fname+" &&\n")
start_server.write("ghdl -a "+fname.split('.')[0]+"_tb.vhdl &&\n")
start_server.write("ghdl -e -Wl,ghdlserver.o "+fname.split('.')[0]+"_tb &&\n")