MatchLib
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Packet< DataWidth, DestWidthPerHop, MaxHops, 0 > Class Template Reference
Inheritance diagram for Packet< DataWidth, DestWidthPerHop, MaxHops, 0 >:
nvhls_message

Public Types

enum  {
  data_width = DataWidth , dest_width_per_hop = DestWidthPerHop , dest_width = DestWidthPerHop * MaxHops , width = data_width + dest_width ,
  data_start_bit = 0 , data_end_bit = data_width - 1 , dest_start_bit = data_end_bit + 1 , dest_end_bit = dest_start_bit + dest_width - 1
}
 

Public Member Functions

 Packet (const Packet &other)
 
Packet & operator= (const Packet &other)
 
void reset ()
 
 NVUINTW (data_width) data
 
 NVUINTW (dest_width) dest
 
template<unsigned int Size>
void Marshall (Marshaller< Size > &m)
 

Detailed Description

template<int DataWidth, int DestWidthPerHop, int MaxHops>
class Packet< DataWidth, DestWidthPerHop, MaxHops, 0 >

Definition at line 124 of file nvhls_packet.h.

Member Enumeration Documentation

◆ anonymous enum

template<int DataWidth, int DestWidthPerHop, int MaxHops>
anonymous enum

Definition at line 144 of file nvhls_packet.h.

Constructor & Destructor Documentation

◆ Packet() [1/2]

template<int DataWidth, int DestWidthPerHop, int MaxHops>
Packet< DataWidth, DestWidthPerHop, MaxHops, 0 >::Packet ( )
inline

Definition at line 126 of file nvhls_packet.h.

◆ Packet() [2/2]

template<int DataWidth, int DestWidthPerHop, int MaxHops>
Packet< DataWidth, DestWidthPerHop, MaxHops, 0 >::Packet ( const Packet< DataWidth, DestWidthPerHop, MaxHops, 0 > &  other)
inline

Definition at line 128 of file nvhls_packet.h.

Member Function Documentation

◆ operator=()

template<int DataWidth, int DestWidthPerHop, int MaxHops>
Packet & Packet< DataWidth, DestWidthPerHop, MaxHops, 0 >::operator= ( const Packet< DataWidth, DestWidthPerHop, MaxHops, 0 > &  other)
inline

Definition at line 133 of file nvhls_packet.h.

◆ reset()

template<int DataWidth, int DestWidthPerHop, int MaxHops>
void Packet< DataWidth, DestWidthPerHop, MaxHops, 0 >::reset ( )
inline

Definition at line 139 of file nvhls_packet.h.

◆ Marshall()

template<int DataWidth, int DestWidthPerHop, int MaxHops>
template<unsigned int Size>
void Packet< DataWidth, DestWidthPerHop, MaxHops, 0 >::Marshall ( Marshaller< Size > &  m)
inline

Definition at line 159 of file nvhls_packet.h.


The documentation for this class was generated from the following file: