diff options
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 2c7a050..df9ba57 100755 --- a/src/model_generation.py +++ b/src/model_generation.py @@ -463,8 +463,9 @@ for item in cm_event_get_ptr: cfunc.write("\n") cfunc.write(systime_info) cfunc.write("\n") +cfunc.write("\t\tchar command[1024];") cfunc.write('\t\tsnprintf(command,1024,"'+home+'/ngspice-26/src/xspice/icm/ghdl/'+fname.split('.')[0]+'/DUTghdl/start_server.sh %d &",sock_port);\n') -cfunc.write('\t\tsystem(command)') +cfunc.write('\t\tsystem(command);') cfunc.write("\t}") cfunc.write("\n") cfunc.write("\telse\n\t{\n") |