bespoke-silicon-group / bsg_replicant

BSG Replicant: Cosimulation and Emulation Infrastructure for HammerBlade
BSD 3-Clause "New" or "Revised" License
26 stars 20 forks source link

[WIP] Host stream #816

Open dpetrisko opened 1 year ago

dpetrisko commented 1 year ago

WIP -- not ready for review yet.

This PR adds a test demonstrating concurrent host<->mc communication. The goal is not maximizing throughput, but instead streaming data in a consistent and predictable fashion while also tolerating fluctuations in network latency. The test added here streams data from host->mc->mc->mc->mc->host, moving over circular buffers several times.

This required a few changes to the libraries.

This relies on #808