diff options
author | ambikeshwar | 2015-08-18 12:38:39 +0530 |
---|---|---|
committer | ambikeshwar | 2015-08-18 12:38:39 +0530 |
commit | 03250e5ea349d03895f3a2d62085e557545d26f5 (patch) | |
tree | 40ec6fabd80ea0c089008b9296ca50a2289b319c /src | |
parent | 8fbf1fc8ea70f0e960e0da26218a7bb83dbd4aa3 (diff) | |
download | nghdl-03250e5ea349d03895f3a2d62085e557545d26f5.tar.gz nghdl-03250e5ea349d03895f3a2d62085e557545d26f5.tar.bz2 nghdl-03250e5ea349d03895f3a2d62085e557545d26f5.zip |
error resolved
Diffstat (limited to 'src')
-rwxr-xr-x | src/model_generation.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model_generation.py b/src/model_generation.py index 5531005..ac598c6 100755 --- a/src/model_generation.py +++ b/src/model_generation.py @@ -768,6 +768,7 @@ 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("chmod 775 sock_pkg_create.sh &&\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") @@ -782,7 +783,7 @@ start_server.close() sock_pkg_create = open('sock_pkg_create.sh','w') sock_pkg_create.write("echo \"#!/bin/bash\n\n") -sock_pkg_create.write("###This file create sock_pkg_create.vhdl file and set the instance id from parameter based on parameter\n\n") +sock_pkg_create.write("---This file create sock_pkg_create.vhdl file and set the instance id from parameter based on parameter\n\n") sock_pkg_create.write("library ieee;\n") sock_pkg_create.write("package sock_pkg is\n") sock_pkg_create.write("\tfunction sock_pkg_fun return integer;\n") |