Intel® Quartus® Prime Pro Edition User Guide: Debug Tools
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: mwh1410384260637
Ixiasoft
Visible to Intel only — GUID: mwh1410384260637
Ixiasoft
8.5.8. Using the Bytestream Service
Bytestream Service
The following code finds the bytestream service for your interface and opens it:
set bytestream_index 0 set bytestream [lindex [get_service_paths bytestream] $bytestream_index] set claimed_bytestream [claim_service bytestream $bytestream mylib]
To specify the outgoing data as a list of bytes and send it through the opened service:
set payload [list 1 2 3 4 5 6 7 8] bytestream_send $claimed_bytestream $payload
Incoming data also comes as a list of bytes:
set incoming_data [list] while {[llength $incoming_data] ==0} { set incoming_data [bytestream_receive $claimed_bytestream 8] }
Close the service when done:
close_service bytestream $claimed_bytestream