MatchLib
All Classes Namespaces Files Functions Modules Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth > Class Template Reference
Inheritance diagram for Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >:

Public Types

typedef Wrapped< Message > WMessage
 
typedef sc_lv< WMessage::width > MsgBits
 
typedef Packet< WMessage::width, DestWidthPerHop, MaxHops, PacketIdWidth > Packet_t
 

Public Member Functions

 InNetwork (sc_module_name name)
 
void line_trace ()
 

Public Attributes

sc_in_clk clk
 
sc_in< bool > rst
 
In< Packet_tenq
 
Out< Message > deq
 

Static Public Attributes

static const int kDebugLevel = 3
 
static const unsigned int width = WMessage::width
 

Protected Member Functions

void Init ()
 
void AssignMsg ()
 
void AssignVal ()
 
void AssignRdy ()
 

Detailed Description

template<typename Message, unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
class Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >

Definition at line 35 of file nvhls_connections_network.h.

Member Typedef Documentation

◆ WMessage

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
typedef Wrapped<Message> Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::WMessage

Definition at line 40 of file nvhls_connections_network.h.

◆ MsgBits

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
typedef sc_lv<WMessage::width> Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::MsgBits

Definition at line 42 of file nvhls_connections_network.h.

◆ Packet_t

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
typedef Packet<WMessage::width, DestWidthPerHop, MaxHops, PacketIdWidth> Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::Packet_t

Definition at line 44 of file nvhls_connections_network.h.

Constructor & Destructor Documentation

◆ InNetwork() [1/2]

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::InNetwork ( )
inline

Definition at line 52 of file nvhls_connections_network.h.

◆ InNetwork() [2/2]

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::InNetwork ( sc_module_name  name)
inline

Definition at line 59 of file nvhls_connections_network.h.

Member Function Documentation

◆ Init()

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
void Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::Init ( )
inlineprotected

Definition at line 64 of file nvhls_connections_network.h.

◆ AssignMsg()

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
void Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::AssignMsg ( )
inlineprotected

Definition at line 80 of file nvhls_connections_network.h.

◆ AssignVal()

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
void Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::AssignVal ( )
inlineprotected

Definition at line 93 of file nvhls_connections_network.h.

◆ AssignRdy()

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
void Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::AssignRdy ( )
inlineprotected

Definition at line 94 of file nvhls_connections_network.h.

◆ line_trace()

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
void Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::line_trace ( )
inline

Definition at line 98 of file nvhls_connections_network.h.

Member Data Documentation

◆ kDebugLevel

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
const int Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::kDebugLevel = 3
static

Definition at line 39 of file nvhls_connections_network.h.

◆ width

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
const unsigned int Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::width = WMessage::width
static

Definition at line 41 of file nvhls_connections_network.h.

◆ clk

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
sc_in_clk Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::clk

Definition at line 47 of file nvhls_connections_network.h.

◆ rst

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
sc_in<bool> Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::rst

Definition at line 48 of file nvhls_connections_network.h.

◆ enq

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
In<Packet_t> Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::enq

Definition at line 49 of file nvhls_connections_network.h.

◆ deq

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
Out<Message> Connections::InNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::deq

Definition at line 50 of file nvhls_connections_network.h.


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