diff options
author | rahul | 2019-09-27 15:07:17 +0530 |
---|---|---|
committer | rahul | 2019-09-27 15:07:17 +0530 |
commit | d8fccdec26e2233f4d013bb6516b785892eb0ea4 (patch) | |
tree | 5b7fa03331da9b6dc002392cc648850e5724e1b5 /src/model_generation.py | |
parent | 5424f679d05523323f9c1d7a9840c89d9dcccb1f (diff) | |
download | nghdl-d8fccdec26e2233f4d013bb6516b785892eb0ea4.tar.gz nghdl-d8fccdec26e2233f4d013bb6516b785892eb0ea4.tar.bz2 nghdl-d8fccdec26e2233f4d013bb6516b785892eb0ea4.zip |
adjusted layout
Diffstat (limited to 'src/model_generation.py')
-rw-r--r-- | src/model_generation.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model_generation.py b/src/model_generation.py index 1600dc1..3df4676 100644 --- a/src/model_generation.py +++ b/src/model_generation.py @@ -516,7 +516,7 @@ cfunc.write(client_setup_ip) cfunc.write("\n") cfunc.write("\t\tchar command[1024];\n") cfunc.write('\t\tsnprintf(command,1024,"'+home+'/ngspice-nghdl/src/xspice/icm/ghdl/'+fname.split('.')[0]+'/DUTghdl/start_server.sh %d %s &",sock_port, my_ip);') -cfunc.write('\t\tsystem(command);') +cfunc.write('\n\t\tsystem(command);') cfunc.write("\n\t}") cfunc.write("\n") cfunc.write("\telse\n\t{\n") @@ -678,8 +678,8 @@ testbench=open(fname.split('.')[0]+'_tb.vhdl','w') print fname.split('.')[0] + '_tb.vhdl' #comment comment_vhdl="--------------------------------------------------------------------------------\n--This testbench has been created by Ambikeshwar Srivastava, FOSSEE, IIT Bombay\n--------------------------------------------------------------------------------\n" -comment_vhdl+="--------------------------------------------------------------------------------\n--Modified by Rahul Paknikar, FOSSEE, IIT Bombay" -comment_vhdl+="--retrieves the IP-Addr from sock_pkg and forwards it to the ghdlserver\n--------------------------------------------------------------------------------" +comment_vhdl+="--------------------------------------------------------------------------------\n--Modified by Rahul Paknikar, FOSSEE, IIT Bombay\n" +comment_vhdl+="--retrieves the IP-Addr from sock_pkg and forwards it to the ghdlserver\n--------------------------------------------------------------------------------\n" #Adding header, entity and architecture statement tb_header=''' library ieee; |