diff options
author | ambikeshwar | 2015-08-18 13:06:12 +0530 |
---|---|---|
committer | ambikeshwar | 2015-08-18 13:06:12 +0530 |
commit | e0f0237b9f960f4b581cab36359209d780fedfae (patch) | |
tree | 536c98e9c8b993aaa26da8e4355875f1357cee76 /src/model_generation.py | |
parent | fa3fc0f78b92744e621deac821ad4285086bb220 (diff) | |
download | nghdl-e0f0237b9f960f4b581cab36359209d780fedfae.tar.gz nghdl-e0f0237b9f960f4b581cab36359209d780fedfae.tar.bz2 nghdl-e0f0237b9f960f4b581cab36359209d780fedfae.zip |
error resolved
Diffstat (limited to 'src/model_generation.py')
-rwxr-xr-x | src/model_generation.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/model_generation.py b/src/model_generation.py index ce4d2d8..dc05b73 100755 --- a/src/model_generation.py +++ b/src/model_generation.py @@ -781,10 +781,9 @@ start_server.close() ##################################### Creating and writing in sock_pkg_create.sh ######################################## 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("library ieee;\n") +sock_pkg_create.write("#!/bin/sh") +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("echo \"library ieee;\n") sock_pkg_create.write("package sock_pkg is\n") sock_pkg_create.write("\tfunction sock_pkg_fun return integer;\n") sock_pkg_create.write("end;\n\n") |