diff options
author | rahulp13 | 2020-02-23 12:44:01 +0530 |
---|---|---|
committer | rahulp13 | 2020-02-23 12:44:01 +0530 |
commit | c8f4f86d833c695dab9bee0f8293d83a748c196e (patch) | |
tree | 70111351e857526bc637a049034d10994ab17a79 | |
parent | 5deac9027a851c497c6aebfb9b74c491b598e944 (diff) | |
download | nghdl-c8f4f86d833c695dab9bee0f8293d83a748c196e.tar.gz nghdl-c8f4f86d833c695dab9bee0f8293d83a748c196e.tar.bz2 nghdl-c8f4f86d833c695dab9bee0f8293d83a748c196e.zip |
auto-compilation of user packages
-rw-r--r-- | 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 dd6eea2..da8e272 100644 --- a/src/model_generation.py +++ b/src/model_generation.py @@ -987,7 +987,8 @@ class ModelGeneration: ) start_server.write("chmod 775 sock_pkg_create.sh &&\n") start_server.write("./sock_pkg_create.sh $1 $2 &&\n") - start_server.write("ghdl -a sock_pkg.vhdl &&\n") + start_server.write("ghdl -i *.vhdl &&\n") + start_server.write("ghdl -a *.vhdl &&\n") start_server.write("ghdl -a "+self.fname+" &&\n") start_server.write( "ghdl -a "+self.fname.split('.')[0]+"_tb.vhdl &&\n" |