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::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth > Class Template Reference
Inheritance diagram for Connections::OutNetwork< 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

 OutNetwork (sc_module_name name)
 
void line_trace ()
 

Public Attributes

sc_in_clk clk
 
sc_in< bool > rst
 
In< Message > enq
 
Out< Packet_tdeq
 
In< sc_lv< DestWidthPerHop *MaxHops > > route
 
In< sc_lv< PacketIdWidth > > id
 
sc_signal< sc_lv< DestWidthPerHop *MaxHops > > route_state
 
sc_signal< sc_lv< PacketIdWidth > > id_state
 

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 ()
 
void TieToHigh ()
 
void SetState ()
 

Detailed Description

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

Definition at line 128 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::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::WMessage

Definition at line 133 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::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::MsgBits

Definition at line 135 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::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::Packet_t

Definition at line 137 of file nvhls_connections_network.h.

Constructor & Destructor Documentation

◆ OutNetwork() [1/2]

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

Definition at line 151 of file nvhls_connections_network.h.

◆ OutNetwork() [2/2]

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

Definition at line 158 of file nvhls_connections_network.h.

Member Function Documentation

◆ Init()

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

Definition at line 163 of file nvhls_connections_network.h.

◆ AssignMsg()

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

Definition at line 188 of file nvhls_connections_network.h.

◆ AssignVal()

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

Definition at line 202 of file nvhls_connections_network.h.

◆ AssignRdy()

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

Definition at line 203 of file nvhls_connections_network.h.

◆ TieToHigh()

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

Definition at line 205 of file nvhls_connections_network.h.

◆ SetState()

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

Definition at line 210 of file nvhls_connections_network.h.

◆ line_trace()

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

Definition at line 228 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::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::kDebugLevel = 3
static

Definition at line 132 of file nvhls_connections_network.h.

◆ width

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

Definition at line 134 of file nvhls_connections_network.h.

◆ clk

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

Definition at line 140 of file nvhls_connections_network.h.

◆ rst

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

Definition at line 141 of file nvhls_connections_network.h.

◆ enq

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

Definition at line 142 of file nvhls_connections_network.h.

◆ deq

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

Definition at line 143 of file nvhls_connections_network.h.

◆ route

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
In<sc_lv<DestWidthPerHop * MaxHops> > Connections::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::route

Definition at line 144 of file nvhls_connections_network.h.

◆ id

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
In<sc_lv<PacketIdWidth> > Connections::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::id

Definition at line 145 of file nvhls_connections_network.h.

◆ route_state

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
sc_signal<sc_lv<DestWidthPerHop * MaxHops> > Connections::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::route_state

Definition at line 148 of file nvhls_connections_network.h.

◆ id_state

template<typename Message , unsigned int DestWidthPerHop, unsigned int MaxHops, unsigned int PacketIdWidth>
sc_signal<sc_lv<PacketIdWidth> > Connections::OutNetwork< Message, DestWidthPerHop, MaxHops, PacketIdWidth >::id_state

Definition at line 149 of file nvhls_connections_network.h.


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