summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmbikeshwar Srivastava2015-08-19 09:47:51 +0530
committerAmbikeshwar Srivastava2015-08-19 09:47:51 +0530
commite3d3510e203a76cb0d58408338501038a195c923 (patch)
treeaccf99a43ddb42487c42fd94f22f36bed879fa43
parent9e2dff71bd92a95e3dc540e7c1cba5db540906ce (diff)
parent8f4b21cc15ffb590449131f1e31dc57a66e2f888 (diff)
downloadnghdl-e3d3510e203a76cb0d58408338501038a195c923.tar.gz
nghdl-e3d3510e203a76cb0d58408338501038a195c923.tar.bz2
nghdl-e3d3510e203a76cb0d58408338501038a195c923.zip
Merge pull request #16 from ambikeshwar1991/master
error resolved
-rw-r--r--[-rwxr-xr-x]src/model_generation.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/model_generation.py b/src/model_generation.py
index ce4d2d8..c520708 100755..100644
--- a/src/model_generation.py
+++ b/src/model_generation.py
@@ -782,21 +782,21 @@ 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("library ieee;\n")
+sock_pkg_create.write("#!/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("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")
sock_pkg_create.write("\tpackage body sock_pkg is\n")
-sock_pkg_create.write("\tfunction sock_pkg_fun return integer is\n")
+sock_pkg_create.write("\t function sock_pkg_fun return integer is")
sock_pkg_create.write("\t\tvariable sock_id : integer;\n")
sock_pkg_create.write("\t\t\tbegin\n")
sock_pkg_create.write("\t\t\t\tsock_id := $1;\n")
sock_pkg_create.write("\t\t\t\treturn sock_id;\n")
sock_pkg_create.write("\t\t\tend function;\n")
sock_pkg_create.write("\t\tend package body;\" > sock_pkg.vhdl")
-sock_pkg_create.close()
+