From dcc027950fbacfff84569f99e991f30d1846eed2 Mon Sep 17 00:00:00 2001 From: ambikeshwar Date: Tue, 18 Aug 2015 11:53:43 +0530 Subject: syntax error resolved --- src/model_generation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/model_generation.py') 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") -- cgit