diff options
author | ambikeshwar | 2015-08-18 11:53:43 +0530 |
---|---|---|
committer | ambikeshwar | 2015-08-18 11:53:43 +0530 |
commit | dcc027950fbacfff84569f99e991f30d1846eed2 (patch) | |
tree | 12d25687130ccbc1ce2019ca88b5cbaebc540383 /src/model_generation.py | |
parent | 5701df61772ab92c53b07cf7a6add1138b40bcf1 (diff) | |
download | nghdl-dcc027950fbacfff84569f99e991f30d1846eed2.tar.gz nghdl-dcc027950fbacfff84569f99e991f30d1846eed2.tar.bz2 nghdl-dcc027950fbacfff84569f99e991f30d1846eed2.zip |
syntax error resolved
Diffstat (limited to 'src/model_generation.py')
-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") |