Skip to content

Commit

Permalink
change header&hash data type. was: real,double is: log,longint
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbesy committed Jun 13, 2018
1 parent 76ccdf6 commit b824948
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions utils/dpi/src/shunt_dpi_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -806,9 +806,9 @@ package shunt_dpi_pkg;

/* verilator lint_off UNPACKED */
typedef struct{
real trnx_type;
real trnx_id;
real data_type;
longint trnx_type;
longint trnx_id;
longint data_type;
int n_payloads;
} cs_header_t;
/* verilator lint_on UNPACKED */
Expand All @@ -822,7 +822,7 @@ package shunt_dpi_pkg;
*/
`ifndef NO_CS_DATA_HEADER_T
typedef struct{
real data_type; real data_type;
longint data_type; real data_type;
int trnx_payload_sizes[];
}cs_data_header_t;
`endif
Expand All @@ -843,7 +843,7 @@ package shunt_dpi_pkg;
Disable function `define: NO_SHUNT_DPI_HASH
*/
`ifndef NO_SHUNT_DPI_HASH
import "DPI-C" function real shunt_dpi_hash(input string str);
import "DPI-C" function longint shunt_dpi_hash(input string str);
`endif


Expand Down

0 comments on commit b824948

Please sign in to comment.