PtP< FlitWidth > Class Template Reference

#include <PtP.h>

List of all members.

Public Member Functions

 SC_HAS_PROCESS (PtP)
 PtP (sc_module_name n, TechnologyNode tech, int layer, double length)
double GetDynamicPower ()
double GetLeakagePower ()
void Transfer ()

Public Attributes

sc_in< sc_bv< FlitWidth > > DataIn
sc_in< bool > ValidIn
sc_out< bool > AckOut
sc_out< bool > FullOut
sc_out< sc_bv< FlitWidth > > DataOut
sc_out< bool > ValidOut
sc_in< bool > AckIn
sc_in< bool > FullIn
TechnologyNode _tech
int _layer
double _length
double total_sw_energy
double total_sc_energy
double total_leak_energy
double total_energy

Private Attributes

sc_bv< FlitWidth > _prev_word
bool _prev_valid
bool _prev_ack
bool _prev_full
double _prev_time


Detailed Description

template<int FlitWidth>
class PtP< FlitWidth >

This class implement a point-to-point connection. The model is word accurate where the word width is determined by a definition stored in the common.h file.

Author:
Alessandro Pinto,

apinto@eecs.berkeley.edu,

EECS Grad Student,

211 Cory Hall #1772,

Berkeley, CA, 94720-1772

(510)-6429670

Version:
Id
PtP.h,v 1.2 2008/08/22 00:16:21 apinto Exp

Constructor & Destructor Documentation

template<int FlitWidth>
PtP< FlitWidth >::PtP ( sc_module_name  n,
TechnologyNode  tech,
int  layer,
double  length 
) [inline]

There is only one method that accounts for delay and energy consumption.


Member Function Documentation

template<int FlitWidth>
PtP< FlitWidth >::SC_HAS_PROCESS ( PtP< FlitWidth >   ) 

template<int FlitWidth>
double PtP< FlitWidth >::GetDynamicPower (  )  [inline]

template<int FlitWidth>
double PtP< FlitWidth >::GetLeakagePower (  )  [inline]

template<int FlitWidth>
void PtP< FlitWidth >::Transfer (  )  [inline]


Member Data Documentation

template<int FlitWidth>
sc_in< sc_bv< FlitWidth > > PtP< FlitWidth >::DataIn

Input ports

template<int FlitWidth>
sc_in< bool > PtP< FlitWidth >::ValidIn

template<int FlitWidth>
sc_out< bool > PtP< FlitWidth >::AckOut

template<int FlitWidth>
sc_out< bool > PtP< FlitWidth >::FullOut

template<int FlitWidth>
sc_out< sc_bv< FlitWidth > > PtP< FlitWidth >::DataOut

Output ports

template<int FlitWidth>
sc_out< bool > PtP< FlitWidth >::ValidOut

template<int FlitWidth>
sc_in< bool > PtP< FlitWidth >::AckIn

template<int FlitWidth>
sc_in< bool > PtP< FlitWidth >::FullIn

template<int FlitWidth>
TechnologyNode PtP< FlitWidth >::_tech

template<int FlitWidth>
int PtP< FlitWidth >::_layer

template<int FlitWidth>
double PtP< FlitWidth >::_length

template<int FlitWidth>
double PtP< FlitWidth >::total_sw_energy

template<int FlitWidth>
double PtP< FlitWidth >::total_sc_energy

template<int FlitWidth>
double PtP< FlitWidth >::total_leak_energy

template<int FlitWidth>
double PtP< FlitWidth >::total_energy

template<int FlitWidth>
sc_bv< FlitWidth > PtP< FlitWidth >::_prev_word [private]

template<int FlitWidth>
bool PtP< FlitWidth >::_prev_valid [private]

template<int FlitWidth>
bool PtP< FlitWidth >::_prev_ack [private]

template<int FlitWidth>
bool PtP< FlitWidth >::_prev_full [private]

template<int FlitWidth>
double PtP< FlitWidth >::_prev_time [private]


The documentation for this class was generated from the following file:
  • libraries/onchipcommunication/systemc/PtP.h

Generated on Sun Sep 7 18:37:45 2008 for COSI by  doxygen 1.5.4
Contact 
©2002-2018 U.C. Regents