AI Engine-ML v2 Intrinsics User Guide  v2025.1
Loading...
Searching...
No Matches

Packet headers

These intrinsics are designed to facilitate the headers creation. They write directly to a stream

void put_ms_packet_header (int tlast, unsigned dstID, unsigned pcktType)
 Generate a packet header and write to it to the output stream port.
 
void put_ms_packet_header (unsigned dstID, unsigned pcktType)
 Generate a packet header and write to it to the output stream port.
 
void put_ms_nb_packet_header (int tlast, unsigned dstID, unsigned pcktType, bool &success)
 Generate a packet header and write to it to the output stream port.
 
void put_ms_nb_packet_header (unsigned dstID, unsigned pcktType, bool &success)
 Generate a packet header and write to it to the output stream port.
 
void put_ms_ctrl_packet_header (int tlast, unsigned Addr, unsigned n_words, unsigned op_type, unsigned rspID)
 Generate a control packet header and write it to the output stream port.
 
void put_ms_ctrl_packet_header (unsigned Addr, unsigned n_words, unsigned op_type, unsigned rspID)
 Generate a control packet header and write it to the output stream port.
 
void put_ms_nb_ctrl_packet_header (int tlast, unsigned Addr, unsigned n_words, unsigned op_type, unsigned rspID, bool &success)
 Generate a control packet header and write it to the output stream port.
 
void put_ms_nb_ctrl_packet_header (unsigned Addr, unsigned n_words, unsigned op_type, unsigned rspID, bool &success)
 Generate a control packet header and write it to the output stream port.
 

Packet headers (deprecated)

These intrinsics are designed to facilitate the headers creation. They do not write directly to a stream and should always be combined with a "put_ms" call.

unsigned int packet_header (unsigned dstID, unsigned pcktType)
 Generate a packet header.
 
unsigned int ctrl_packet_header (unsigned Addr, unsigned n_words, unsigned op_type, unsigned rspID)
 Generate a control packet header.
 

Write Single word to 32-bit streams

void put_ms (int val)
 Write a 32-bit value to the output stream port.
 
void put_ms (int val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (int val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (int val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (int val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (unsigned int val)
 Write a 32-bit value to the output stream port.
 
void put_ms (unsigned int val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (unsigned int val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (unsigned int val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (unsigned int val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (float val)
 Write a 32-bit value to the output stream port.
 
void put_ms (float val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (float val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (float val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (float val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (v8int4 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (v8int4 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v8int4 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v8int4 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (v8int4 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (v8uint4 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (v8uint4 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v8uint4 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v8uint4 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (v8uint4 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (v4int8 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (v4int8 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v4int8 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v4int8 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (v4int8 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (v4uint8 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (v4uint8 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v4uint8 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v4uint8 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (v4uint8 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (v2int16 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (v2int16 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v2int16 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v2int16 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (v2int16 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (v2uint16 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (v2uint16 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v2uint16 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v2uint16 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (v2uint16 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (cint16 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (cint16 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (cint16 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (cint16 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (cint16 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (v2bfloat16 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (v2bfloat16 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v2bfloat16 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v2bfloat16 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (v2bfloat16 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 
void put_ms (v2float16 val)
 Write a 32-bit value to the output stream port.
 
void put_ms (v2float16 val, int tlast)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v2float16 val, int tlast, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms_nb (v2float16 val, bool &success)
 Write a 32-bit value to the output stream port. Non-blocking read.
 
void put_ms (v2float16 val, int en, int tlast)
 Write a 32-bit value to the output stream port.
 

Write 128-bit vector to 32-bit streams

void put_ms (v4int32 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4int32 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v32int4 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v32int4 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v32uint4 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v32uint4 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v16int8 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v16int8 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v16uint8 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v16uint8 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v8int16 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v8int16 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v8uint16 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v8uint16 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4cint16 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4cint16 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4uint32 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4uint32 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v2cint32 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v2cint32 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v2cfloat a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v2cfloat a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4cbfloat16 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4cbfloat16 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v8bfloat16 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v8bfloat16 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v8float16 a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v8float16 a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4float a, int tlast)
 Write a 128-bit vector value to the output stream port.
 
void put_ms (v4float a, int en, int tlast)
 Write a 128-bit vector value to the output stream port.
 

Write 256-bit vector to 32-bit streams

void put_ms (v8int32 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8int32 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v64int4 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v64int4 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v64uint4 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v64uint4 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v32int8 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v32int8 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v32uint8 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v32uint8 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v16int16 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v16int16 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v16uint16 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v16uint16 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8cint16 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8cint16 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8uint32 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8uint32 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v4cint32 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v4cint32 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v4cfloat a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v4cfloat a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8cbfloat16 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8cbfloat16 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v16bfloat16 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v16bfloat16 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v16float16 a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v16float16 a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8float a, int tlast)
 Write a 256-bit vector value to the output stream port.
 
void put_ms (v8float a, int en, int tlast)
 Write a 256-bit vector value to the output stream port.
 

Write 512-bit vector to 32-bit streams

void put_ms (v16int32 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16int32 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v128int4 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v128int4 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v128uint4 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v128uint4 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v64int8 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v64int8 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v64uint8 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v64uint8 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v32int16 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v32int16 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v32uint16 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v32uint16 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16cint16 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16cint16 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16uint32 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16uint32 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v8cint32 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v8cint32 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v8cfloat a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v8cfloat a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16cbfloat16 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16cbfloat16 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v32bfloat16 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v32bfloat16 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v32float16 a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v32float16 a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16float a, int tlast)
 Write a 512-bit vector value to the output stream port.
 
void put_ms (v16float a, int en, int tlast)
 Write a 512-bit vector value to the output stream port.
 

Write 1024-bit vector to 32-bit streams

void put_ms (v32int32 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32int32 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v256int4 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v256int4 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v256uint4 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v256uint4 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v128int8 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v128int8 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v128uint8 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v128uint8 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v64int16 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v64int16 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v64uint16 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v64uint16 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32cint16 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32cint16 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32uint32 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32uint32 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v16cint32 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v16cint32 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v16cfloat a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v16cfloat a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32cbfloat16 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32cbfloat16 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v64bfloat16 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v64bfloat16 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v64float16 a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v64float16 a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32float a, int tlast)
 Write a 1024-bit vector value to the output stream port.
 
void put_ms (v32float a, int en, int tlast)
 Write a 1024-bit vector value to the output stream port.
 

Detailed Description

Function Documentation

◆ ctrl_packet_header()

unsigned int ctrl_packet_header ( unsigned Addr,
unsigned n_words,
unsigned op_type,
unsigned rspID )

Generate a control packet header.

Parameters
Addrunsigned Local Byte Address (two LSB not used). Accesses are 128 bit aligned.
n_wordsunsigned 2 bits. 1 to 4 words of 32 bit data to follow. This must be a compile time constant.
op_typeunsigned Operation modes - 2 bit (LSB). 3 modes. 0 - Write without return, 1 - Read with return, 2 - Write with return. The response to a read will be a packet switched stream header and 1 to 4 32 bit word data. The response to a write will be a packet switched stream header. This must be a compile time constant.
rspIDunsigned Response ID: 5 bit (LSB). Identifies the return destination for operation modes with a return. (The return packet's header's 'dstID' is set to this).

This intrinsic takes an address, number of words, operation type and response ID and returns a control packet header.

Note
Parameters 'n_words' and 'op_type' must be compile time constants.
Deprecated
Please use one variant of 'put_ms_ctrl_packet_header' instead

◆ packet_header()

unsigned int packet_header ( unsigned dstID,
unsigned pcktType )

Generate a packet header.

Parameters
dstIDunsigned 5 bit (LSB). Identifies the destination of the packet. Should be unique amongst all streams it shares ports with. Can be 32 destinations or more with nested headers.
pcktTypeunsigned 3 bit (LSB). Can be used to distinguish packets with the same source and destination. Control packets set this to 7 if there is an error. This must be a compile time constant.

This intrinsic takes a destination ID and a packet type and returns a packet header.

Note
Parameter 'pcktType' must be a compile time constant.
A packet with nested headers has a number of headers at the beginning (instead of the usual single header). For every level of header nesting, the number of possible destinations is multiplied by 32, thus for a two-nested header approach, the number of destinations is already 1024.
Deprecated
Please use one variant of put_ms_packet_header instead

◆ put_ms() [1/156]

void put_ms ( cint16 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [2/156]

void put_ms ( cint16 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(cint16 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [3/156]

void put_ms ( cint16 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [4/156]

void put_ms ( float val)

Write a 32-bit value to the output stream port.

◆ put_ms() [5/156]

void put_ms ( float val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(float val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [6/156]

void put_ms ( float val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [7/156]

void put_ms ( int val)

Write a 32-bit value to the output stream port.

◆ put_ms() [8/156]

void put_ms ( int val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(int val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [9/156]

void put_ms ( int val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [10/156]

void put_ms ( unsigned int val)

Write a 32-bit value to the output stream port.

◆ put_ms() [11/156]

void put_ms ( unsigned int val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(unsigned int val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [12/156]

void put_ms ( unsigned int val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [13/156]

void put_ms ( v128int4 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v128int4 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [14/156]

void put_ms ( v128int4 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [15/156]

void put_ms ( v128int8 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v128int8 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [16/156]

void put_ms ( v128int8 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [17/156]

void put_ms ( v128uint4 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v128uint4 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [18/156]

void put_ms ( v128uint4 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [19/156]

void put_ms ( v128uint8 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v128uint8 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [20/156]

void put_ms ( v128uint8 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [21/156]

void put_ms ( v16bfloat16 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16bfloat16 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [22/156]

void put_ms ( v16bfloat16 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [23/156]

void put_ms ( v16cbfloat16 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16cbfloat16 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [24/156]

void put_ms ( v16cbfloat16 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [25/156]

void put_ms ( v16cfloat a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16cfloat val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [26/156]

void put_ms ( v16cfloat a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [27/156]

void put_ms ( v16cint16 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16cint16 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [28/156]

void put_ms ( v16cint16 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [29/156]

void put_ms ( v16cint32 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16cint32 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [30/156]

void put_ms ( v16cint32 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [31/156]

void put_ms ( v16float a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16float val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [32/156]

void put_ms ( v16float a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [33/156]

void put_ms ( v16float16 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16float16 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [34/156]

void put_ms ( v16float16 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [35/156]

void put_ms ( v16int16 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16int16 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [36/156]

void put_ms ( v16int16 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [37/156]

void put_ms ( v16int32 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16int32 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [38/156]

void put_ms ( v16int32 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [39/156]

void put_ms ( v16int8 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16int8 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [40/156]

void put_ms ( v16int8 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [41/156]

void put_ms ( v16uint16 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16uint16 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [42/156]

void put_ms ( v16uint16 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [43/156]

void put_ms ( v16uint32 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16uint32 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [44/156]

void put_ms ( v16uint32 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [45/156]

void put_ms ( v16uint8 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v16uint8 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [46/156]

void put_ms ( v16uint8 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [47/156]

void put_ms ( v256int4 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v256int4 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [48/156]

void put_ms ( v256int4 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [49/156]

void put_ms ( v256uint4 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v256uint4 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [50/156]

void put_ms ( v256uint4 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [51/156]

void put_ms ( v2bfloat16 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [52/156]

void put_ms ( v2bfloat16 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(v2bfloat16 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [53/156]

void put_ms ( v2bfloat16 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [54/156]

void put_ms ( v2cfloat a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v2cfloat val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [55/156]

void put_ms ( v2cfloat a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [56/156]

void put_ms ( v2cint32 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v2cint32 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [57/156]

void put_ms ( v2cint32 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [58/156]

void put_ms ( v2float16 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [59/156]

void put_ms ( v2float16 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(v2float16 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [60/156]

void put_ms ( v2float16 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [61/156]

void put_ms ( v2int16 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [62/156]

void put_ms ( v2int16 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(v2int16 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [63/156]

void put_ms ( v2int16 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [64/156]

void put_ms ( v2uint16 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [65/156]

void put_ms ( v2uint16 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(v2uint16 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [66/156]

void put_ms ( v2uint16 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [67/156]

void put_ms ( v32bfloat16 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32bfloat16 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [68/156]

void put_ms ( v32bfloat16 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [69/156]

void put_ms ( v32cbfloat16 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32cbfloat16 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [70/156]

void put_ms ( v32cbfloat16 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [71/156]

void put_ms ( v32cint16 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32cint16 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [72/156]

void put_ms ( v32cint16 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [73/156]

void put_ms ( v32float a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32float val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [74/156]

void put_ms ( v32float a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [75/156]

void put_ms ( v32float16 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32float16 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [76/156]

void put_ms ( v32float16 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [77/156]

void put_ms ( v32int16 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32int16 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [78/156]

void put_ms ( v32int16 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [79/156]

void put_ms ( v32int32 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32int32 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [80/156]

void put_ms ( v32int32 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [81/156]

void put_ms ( v32int4 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32int4 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [82/156]

void put_ms ( v32int4 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [83/156]

void put_ms ( v32int8 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32int8 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [84/156]

void put_ms ( v32int8 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [85/156]

void put_ms ( v32uint16 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32uint16 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [86/156]

void put_ms ( v32uint16 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [87/156]

void put_ms ( v32uint32 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32uint32 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [88/156]

void put_ms ( v32uint32 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [89/156]

void put_ms ( v32uint4 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32uint4 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [90/156]

void put_ms ( v32uint4 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [91/156]

void put_ms ( v32uint8 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v32uint8 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [92/156]

void put_ms ( v32uint8 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [93/156]

void put_ms ( v4cbfloat16 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v4cbfloat16 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [94/156]

void put_ms ( v4cbfloat16 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [95/156]

void put_ms ( v4cfloat a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v4cfloat val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [96/156]

void put_ms ( v4cfloat a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [97/156]

void put_ms ( v4cint16 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v4cint16 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [98/156]

void put_ms ( v4cint16 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [99/156]

void put_ms ( v4cint32 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v4cint32 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [100/156]

void put_ms ( v4cint32 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [101/156]

void put_ms ( v4float a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v4float val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [102/156]

void put_ms ( v4float a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [103/156]

void put_ms ( v4int32 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v4int32 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [104/156]

void put_ms ( v4int32 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [105/156]

void put_ms ( v4int8 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [106/156]

void put_ms ( v4int8 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(v4int8 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [107/156]

void put_ms ( v4int8 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [108/156]

void put_ms ( v4uint32 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v4uint32 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [109/156]

void put_ms ( v4uint32 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [110/156]

void put_ms ( v4uint8 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [111/156]

void put_ms ( v4uint8 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(v4uint8 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [112/156]

void put_ms ( v4uint8 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [113/156]

void put_ms ( v64bfloat16 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v64bfloat16 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [114/156]

void put_ms ( v64bfloat16 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [115/156]

void put_ms ( v64float16 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v64float16 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [116/156]

void put_ms ( v64float16 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [117/156]

void put_ms ( v64int16 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v64int16 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [118/156]

void put_ms ( v64int16 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [119/156]

void put_ms ( v64int4 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v64int4 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [120/156]

void put_ms ( v64int4 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [121/156]

void put_ms ( v64int8 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v64int8 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [122/156]

void put_ms ( v64int8 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [123/156]

void put_ms ( v64uint16 a,
int en,
int tlast )

Write a 1024-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v64uint16 val, int tlast)' instead.
Parameters
a1024-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [124/156]

void put_ms ( v64uint16 a,
int tlast )

Write a 1024-bit vector value to the output stream port.

Parameters
a1024-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [125/156]

void put_ms ( v64uint4 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v64uint4 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [126/156]

void put_ms ( v64uint4 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [127/156]

void put_ms ( v64uint8 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v64uint8 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [128/156]

void put_ms ( v64uint8 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [129/156]

void put_ms ( v8bfloat16 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8bfloat16 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [130/156]

void put_ms ( v8bfloat16 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [131/156]

void put_ms ( v8cbfloat16 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8cbfloat16 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [132/156]

void put_ms ( v8cbfloat16 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [133/156]

void put_ms ( v8cfloat a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8cfloat val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [134/156]

void put_ms ( v8cfloat a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [135/156]

void put_ms ( v8cint16 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8cint16 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [136/156]

void put_ms ( v8cint16 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [137/156]

void put_ms ( v8cint32 a,
int en,
int tlast )

Write a 512-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8cint32 val, int tlast)' instead.
Parameters
a512-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [138/156]

void put_ms ( v8cint32 a,
int tlast )

Write a 512-bit vector value to the output stream port.

Parameters
a512-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [139/156]

void put_ms ( v8float a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8float val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [140/156]

void put_ms ( v8float a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [141/156]

void put_ms ( v8float16 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8float16 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [142/156]

void put_ms ( v8float16 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [143/156]

void put_ms ( v8int16 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8int16 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [144/156]

void put_ms ( v8int16 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [145/156]

void put_ms ( v8int32 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8int32 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [146/156]

void put_ms ( v8int32 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [147/156]

void put_ms ( v8int4 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [148/156]

void put_ms ( v8int4 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(v8int4 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [149/156]

void put_ms ( v8int4 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms() [150/156]

void put_ms ( v8uint16 a,
int en,
int tlast )

Write a 128-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8uint16 val, int tlast)' instead.
Parameters
a128-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [151/156]

void put_ms ( v8uint16 a,
int tlast )

Write a 128-bit vector value to the output stream port.

Parameters
a128-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [152/156]

void put_ms ( v8uint32 a,
int en,
int tlast )

Write a 256-bit vector value to the output stream port.

Deprecated
Please use 'void put_ms(v8uint32 val, int tlast)' instead.
Parameters
a256-bit vector
enEnable input
tlastLast word in a packet and the default is false.

◆ put_ms() [153/156]

void put_ms ( v8uint32 a,
int tlast )

Write a 256-bit vector value to the output stream port.

Parameters
a256-bit vector
tlastLast word in a packet and the default is false.

◆ put_ms() [154/156]

void put_ms ( v8uint4 val)

Write a 32-bit value to the output stream port.

◆ put_ms() [155/156]

void put_ms ( v8uint4 val,
int en,
int tlast )

Write a 32-bit value to the output stream port.

Deprecated
Please use 'void put_ms(v8uint4 val, int tlast)' instead.
Parameters
val32-bit value datatype
enEnable input
tlastSuccess of transfer.

◆ put_ms() [156/156]

void put_ms ( v8uint4 val,
int tlast )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastLast word in a packet and the default is fals

◆ put_ms_ctrl_packet_header() [1/2]

void put_ms_ctrl_packet_header ( int tlast,
unsigned Addr,
unsigned n_words,
unsigned op_type,
unsigned rspID )

Generate a control packet header and write it to the output stream port.

Parameters
tlasttlast
Addrunsigned Local Byte Address (two LSB not used). Accesses are 128 bit aligned.
n_wordsunsigned 2 bits. 1 to 4 words of 32 bit data to follow. This must be a compile time constant.
op_typeunsigned Operation modes - 2 bit (LSB). 3 modes. 0 - Write without return, 1 - Read with return, 2 - Write with return. The response to a read will be a packet switched stream header and 1 to 4 32 bit word data. The response to a write will be a packet switched stream header. This must be a compile time constant.
rspIDunsigned Response ID: 5 bit (LSB). Identifies the return destination for operation modes with a return. (The return packet's header's 'dstID' is set to this).

This intrinsic takes an address, number of words, operation type and response ID and returns a control packet header.

Note
Parameters 'n_words' and 'op_type' must be compile time constants.

◆ put_ms_ctrl_packet_header() [2/2]

void put_ms_ctrl_packet_header ( unsigned Addr,
unsigned n_words,
unsigned op_type,
unsigned rspID )

Generate a control packet header and write it to the output stream port.

Parameters
Addrunsigned Local Byte Address (two LSB not used). Accesses are 128 bit aligned.
n_wordsunsigned 2 bits. 1 to 4 words of 32 bit data to follow. This must be a compile time constant.
op_typeunsigned Operation modes - 2 bit (LSB). 3 modes. 0 - Write without return, 1 - Read with return, 2 - Write with return. The response to a read will be a packet switched stream header and 1 to 4 32 bit word data. The response to a write will be a packet switched stream header. This must be a compile time constant.
rspIDunsigned Response ID: 5 bit (LSB). Identifies the return destination for operation modes with a return. (The return packet's header's 'dstID' is set to this).

This intrinsic takes an address, number of words, operation type and response ID and returns a control packet header.

Note
Parameters 'n_words' and 'op_type' must be compile time constants.

◆ put_ms_nb() [1/24]

void put_ms_nb ( cint16 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [2/24]

void put_ms_nb ( cint16 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [3/24]

void put_ms_nb ( float val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [4/24]

void put_ms_nb ( float val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [5/24]

void put_ms_nb ( int val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [6/24]

void put_ms_nb ( int val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [7/24]

void put_ms_nb ( unsigned int val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [8/24]

void put_ms_nb ( unsigned int val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [9/24]

void put_ms_nb ( v2bfloat16 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [10/24]

void put_ms_nb ( v2bfloat16 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [11/24]

void put_ms_nb ( v2float16 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [12/24]

void put_ms_nb ( v2float16 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [13/24]

void put_ms_nb ( v2int16 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [14/24]

void put_ms_nb ( v2int16 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [15/24]

void put_ms_nb ( v2uint16 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [16/24]

void put_ms_nb ( v2uint16 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [17/24]

void put_ms_nb ( v4int8 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [18/24]

void put_ms_nb ( v4int8 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [19/24]

void put_ms_nb ( v4uint8 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [20/24]

void put_ms_nb ( v4uint8 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [21/24]

void put_ms_nb ( v8int4 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [22/24]

void put_ms_nb ( v8int4 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb() [23/24]

void put_ms_nb ( v8uint4 val,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
successSuccess of transfer.

◆ put_ms_nb() [24/24]

void put_ms_nb ( v8uint4 val,
int tlast,
bool & success )

Write a 32-bit value to the output stream port. Non-blocking read.

Parameters
val32-bit value datatype
tlastlast word in a packet and the default is fals
successSuccess of transfer.

◆ put_ms_nb_ctrl_packet_header() [1/2]

void put_ms_nb_ctrl_packet_header ( int tlast,
unsigned Addr,
unsigned n_words,
unsigned op_type,
unsigned rspID,
bool & success )

Generate a control packet header and write it to the output stream port.

Parameters
tlasttlast
Addrunsigned Local Byte Address (two LSB not used). Accesses are 128 bit aligned.
n_wordsunsigned 2 bits. 1 to 4 words of 32 bit data to follow. This must be a compile time constant.
op_typeunsigned Operation modes - 2 bit (LSB). 3 modes. 0 - Write without return, 1 - Read with return, 2 - Write with return. The response to a read will be a packet switched stream header and 1 to 4 32 bit word data. The response to a write will be a packet switched stream header. This must be a compile time constant.
rspIDunsigned Response ID: 5 bit (LSB). Identifies the return destination for operation modes with a return. (The return packet's header's 'dstID' is set to this).
successsuccess of transfer

This intrinsic takes an address, number of words, operation type and response ID and returns a control packet header.

Note
Parameters 'n_words' and 'op_type' must be compile time constants.

◆ put_ms_nb_ctrl_packet_header() [2/2]

void put_ms_nb_ctrl_packet_header ( unsigned Addr,
unsigned n_words,
unsigned op_type,
unsigned rspID,
bool & success )

Generate a control packet header and write it to the output stream port.

Parameters
Addrunsigned Local Byte Address (two LSB not used). Accesses are 128 bit aligned.
n_wordsunsigned 2 bits. 1 to 4 words of 32 bit data to follow. This must be a compile time constant.
op_typeunsigned Operation modes - 2 bit (LSB). 3 modes. 0 - Write without return, 1 - Read with return, 2 - Write with return. The response to a read will be a packet switched stream header and 1 to 4 32 bit word data. The response to a write will be a packet switched stream header. This must be a compile time constant.
rspIDunsigned Response ID: 5 bit (LSB). Identifies the return destination for operation modes with a return. (The return packet's header's 'dstID' is set to this).
successsuccess of transfer

This intrinsic takes an address, number of words, operation type and response ID and returns a control packet header.

Note
Parameters 'n_words' and 'op_type' must be compile time constants.

◆ put_ms_nb_packet_header() [1/2]

void put_ms_nb_packet_header ( int tlast,
unsigned dstID,
unsigned pcktType,
bool & success )

Generate a packet header and write to it to the output stream port.

Parameters
tlasttlast
dstIDunsigned 5 bit (LSB). Identifies the destination of the packet. Should be unique amongst all streams it shares ports with. Can be 32 destinations or more with nested headers.
pcktTypeunsigned 3 bit (LSB). Can be used to distinguish packets with the same source and destination. Control packets set this to 7 if there is an error. This must be a compile time constant.
successsuccess of transfer

This intrinsic takes a destination ID and a packet type and returns a packet header.

Note
Parameter 'pcktType' must be a compile time constant.
A packet with nested headers has a number of headers at the beginning (instead of the usual single header). For every level of header nesting, the number of possible destinations is multiplied by 32, thus for a two-nested header approach, the number of destinations is already 1024.

◆ put_ms_nb_packet_header() [2/2]

void put_ms_nb_packet_header ( unsigned dstID,
unsigned pcktType,
bool & success )

Generate a packet header and write to it to the output stream port.

Parameters
dstIDunsigned 5 bit (LSB). Identifies the destination of the packet. Should be unique amongst all streams it shares ports with. Can be 32 destinations or more with nested headers.
pcktTypeunsigned 3 bit (LSB). Can be used to distinguish packets with the same source and destination. Control packets set this to 7 if there is an error. This must be a compile time constant.
successsuccess of transfer

This intrinsic takes a destination ID and a packet type and returns a packet header.

Note
Parameter 'pcktType' must be a compile time constant.
A packet with nested headers has a number of headers at the beginning (instead of the usual single header). For every level of header nesting, the number of possible destinations is multiplied by 32, thus for a two-nested header approach, the number of destinations is already 1024.

◆ put_ms_packet_header() [1/2]

void put_ms_packet_header ( int tlast,
unsigned dstID,
unsigned pcktType )

Generate a packet header and write to it to the output stream port.

Parameters
tlasttlast
dstIDunsigned 5 bit (LSB). Identifies the destination of the packet. Should be unique amongst all streams it shares ports with. Can be 32 destinations or more with nested headers.
pcktTypeunsigned 3 bit (LSB). Can be used to distinguish packets with the same source and destination. Control packets set this to 7 if there is an error. This must be a compile time constant.

This intrinsic takes a destination ID and a packet type and returns a packet header.

Note
Parameter 'pcktType' must be a compile time constant.
A packet with nested headers has a number of headers at the beginning (instead of the usual single header). For every level of header nesting, the number of possible destinations is multiplied by 32, thus for a two-nested header approach, the number of destinations is already 1024.

◆ put_ms_packet_header() [2/2]

void put_ms_packet_header ( unsigned dstID,
unsigned pcktType )

Generate a packet header and write to it to the output stream port.

Parameters
dstIDunsigned 5 bit (LSB). Identifies the destination of the packet. Should be unique amongst all streams it shares ports with. Can be 32 destinations or more with nested headers.
pcktTypeunsigned 3 bit (LSB). Can be used to distinguish packets with the same source and destination. Control packets set this to 7 if there is an error. This must be a compile time constant.

This intrinsic takes a destination ID and a packet type and returns a packet header.

Note
Parameter 'pcktType' must be a compile time constant.
A packet with nested headers has a number of headers at the beginning (instead of the usual single header). For every level of header nesting, the number of possible destinations is multiplied by 32, thus for a two-nested header approach, the number of destinations is already 1024.