Hi,
thanks for having a look at the issues!
CPU speed will have influence on the issue generation (RAM size might be too), so for your machine the settings for reproduction might be different. When I set the gap number e.g. 5000 it runs through w/o issues on my machine too. So on you machine you need to set it higher, try 30000.
b.t.w. the full error I see is:
vsimk: src/hls_cosim_ipc_socket.cpp:133: virtual void IPCSocket::send(const void*, int): Assertion `0 && "send() failed"' failed.
# Attempting stack trace sig 6
# Signal caught: signo [0]
# vsim_stacktrace.vstf written
# Current time Mon Jun 17 16:48:02 2024
# Program = vsim
# Id = "2023.2"
# Version = "2023.04"
# Date = "Apr 11 2023"
# Platform = "linux_x86_64"
# Signature = 016838926890ae993a152c369dc4c1be
# --> START OF USERCODE
# 0 0x00007ffff78969fc: 'pthread_kill + 0x000000000000012c' in '/usr/lib/x86_64-linux-gnu/libc.so.6'
# 1 0x00007ffff7842476: 'raise + 0x0000000000000016' in '/usr/lib/x86_64-linux-gnu/libc.so.6'
# 2 0x00007ffff78287f3: 'abort + 0x00000000000000d3' in '/usr/lib/x86_64-linux-gnu/libc.so.6'
# <-- END OF USERCODE
# 3 0x00007ffff782871b: '<unknown (@0x7ffff782871b)>'
# 4 0x00007ffff7839e96: '<unknown (@0x7ffff7839e96)>'
# 5 0x00007ffff2818321: '<unknown (@0x7ffff2818321)>'
# --> START OF USERCODE
# 6 0x00007ffff2806c1b: 'SimulatorInterface::send_host_channel(void*, void*, bool*, bool*, unsigned int*) + 0x000000000000015b' in '/data1/intel/oneapi/compiler/2024.1/opt/oclfpga/host/linux64/lib/libaoc_cosim_msim.so'
# <-- END OF USERCODE
# 7 0x00007feff1fc4f1f: '../../ip/mpsim/dpic_Threshold/aoc_sim_component_dpi_controller_10/sim/aoc_sim_stream_sink_dpi_bfm.sv:38'
# 8 0x00007feff1fc65ef: '../../ip/mpsim/dpic_Threshold/aoc_sim_component_dpi_controller_10/sim/aoc_sim_stream_sink_dpi_bfm.sv:70'
# 9 0x00007feff1fc77ce: '../../ip/mpsim/dpic_Threshold/aoc_sim_component_dpi_controller_10/sim/aoc_sim_stream_sink_dpi_bfm.sv:185'
# 10 0x00000000023e53b2: '<unknown (@0x23e53b2)>'
# 11 0x00000000004df304: '<unknown (@0x4df304)>'
# 12 0x000000000074da63: '<unknown (@0x74da63)>'
# 13 0x0000000000ca58ad: '<unknown (@0xca58ad)>'
# 14 0x0000000000caabd0: '<unknown (@0xcaabd0)>'
# 15 0x0000000000cac54e: '<unknown (@0xcac54e)>'
# 16 0x0000000000f9bd2d: '<unknown (@0xf9bd2d)>'
# 17 0x000000000287a82d: '<unknown (@0x287a82d)>'
# 18 0x000000000287ec86: '<unknown (@0x287ec86)>'
# 19 0x0000000002880371: '<unknown (@0x2880371)>'
# 20 0x00000000028806d6: '<unknown (@0x28806d6)>'
# 21 0x0000000002881df3: '<unknown (@0x2881df3)>'
# 22 0x00000000028825b1: '<unknown (@0x28825b1)>'
# 23 0x0000000000c6c700: '<unknown (@0xc6c700)>'
# 24 0x0000000000c6e315: '<unknown (@0xc6e315)>'
# End of Stack Trace
o