diff options
author | ambikeshwar | 2015-07-15 04:43:18 +0530 |
---|---|---|
committer | ambikeshwar | 2015-07-15 04:43:18 +0530 |
commit | 4e86b4d23080b2f6b3ff6b7a8d0de7259b0b515d (patch) | |
tree | a49b8d3f7d4d9ed8ac44e5db7bb2a83b016faf44 /src/ghdlserver/ghdlserver.h | |
parent | 960a110653681f295a63c598646ae0523fb6d8fd (diff) | |
download | nghdl-4e86b4d23080b2f6b3ff6b7a8d0de7259b0b515d.tar.gz nghdl-4e86b4d23080b2f6b3ff6b7a8d0de7259b0b515d.tar.bz2 nghdl-4e86b4d23080b2f6b3ff6b7a8d0de7259b0b515d.zip |
ghdlserver.h modified for multiple instance
Diffstat (limited to 'src/ghdlserver/ghdlserver.h')
-rw-r--r-- | src/ghdlserver/ghdlserver.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ghdlserver/ghdlserver.h b/src/ghdlserver/ghdlserver.h index 07cccb6..ad82385 100644 --- a/src/ghdlserver/ghdlserver.h +++ b/src/ghdlserver/ghdlserver.h @@ -13,7 +13,6 @@ #define MAX_BUF_SIZE 4096 //Defualt port number -#define DEFAULT_SERVER_PORT 5000 //unlikely to have more than 16 active //threads talking to the TB? @@ -22,6 +21,8 @@ +int DEFAULT_SERVER_PORT; + //Payload Handling int extract_payload(char* receive_buffer,char* payload, int max_n); //void print_payload(FILE* log_file,char* send_buffer, int wlength, int nwords); @@ -47,7 +48,7 @@ void set_non_blocking(int sock_id); void Data_Send(int sockid); //Vhpi Function -void Vhpi_Initialize(); +void Vhpi_Initialize(int sock_port); void Vhpi_Close(); void Vhpi_Listen(); void Vhpi_Send(); |