diff options
author | Ambikeshwar Srivastava | 2015-08-18 11:56:00 +0530 |
---|---|---|
committer | Ambikeshwar Srivastava | 2015-08-18 11:56:00 +0530 |
commit | 97569bc07138ec4ae025a6d2a64017c8e8bc4bfd (patch) | |
tree | 7cb304534fa5835921434d9859efdf692e3d943e /src | |
parent | 52f6bddeb2085c61acfb451122aca91c79c6d6a2 (diff) | |
parent | dcc027950fbacfff84569f99e991f30d1846eed2 (diff) | |
download | nghdl-97569bc07138ec4ae025a6d2a64017c8e8bc4bfd.tar.gz nghdl-97569bc07138ec4ae025a6d2a64017c8e8bc4bfd.tar.bz2 nghdl-97569bc07138ec4ae025a6d2a64017c8e8bc4bfd.zip |
Merge pull request #13 from ambikeshwar1991/master
syntax error resolved
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") |