summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorambikeshwar2015-08-18 11:53:43 +0530
committerambikeshwar2015-08-18 11:53:43 +0530
commitdcc027950fbacfff84569f99e991f30d1846eed2 (patch)
tree12d25687130ccbc1ce2019ca88b5cbaebc540383 /src
parent5701df61772ab92c53b07cf7a6add1138b40bcf1 (diff)
downloadnghdl-dcc027950fbacfff84569f99e991f30d1846eed2.tar.gz
nghdl-dcc027950fbacfff84569f99e991f30d1846eed2.tar.bz2
nghdl-dcc027950fbacfff84569f99e991f30d1846eed2.zip
syntax error resolved
Diffstat (limited to 'src')
-rwxr-xr-xsrc/model_generation.py3
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")