diff options
author | ambikeshwar | 2015-08-13 13:21:20 +0530 |
---|---|---|
committer | ambikeshwar | 2015-08-13 13:21:20 +0530 |
commit | 8e9305f8c9ac26ef004743ba68654b31e74ed2d7 (patch) | |
tree | 66fef7742eae5ca89ac3c80ce91f9e653523859d /src/model_generation.py | |
parent | 4e86b4d23080b2f6b3ff6b7a8d0de7259b0b515d (diff) | |
download | nghdl-8e9305f8c9ac26ef004743ba68654b31e74ed2d7.tar.gz nghdl-8e9305f8c9ac26ef004743ba68654b31e74ed2d7.tar.bz2 nghdl-8e9305f8c9ac26ef004743ba68654b31e74ed2d7.zip |
added sock_port variable with instance id
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 c5350c0..4e377d1 100755 --- a/src/model_generation.py +++ b/src/model_generation.py @@ -170,7 +170,8 @@ var_section=''' char *key_iter; struct hostent *host; struct sockaddr_in server_addr; - double time_limit = PARAM(stop_time); + double time_limit = PARAM(stop_time); + int sock_port = 5000+PARAM(instance_id); ''' temp_input_var=[] for item in input_port: |