Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Files | Namespaces | Classes | Macros | Typedefs | Enumerations | Functions | Variables
Common
Collaboration diagram for Common:

Files

file  apbslave.h
 
file  base.h
 
file  common.h
 
file  msb_lsb.h
 
file  msclogger.cpp
 
file  msclogger.h
 
file  powermonitor.cpp
 
file  powermonitor.h
 
file  reliabilitymanager.h
 
file  sc_api.h
 
file  sc_find.h
 
file  socrocket.h
 
file  sr_param_operator_macros.h
 
file  sr_param_t.h
 
file  sr_registry.cpp
 
file  timingmonitor.cpp
 
file  timingmonitor.h
 
file  vendian.h
 
file  verbose.cpp
 
file  verbose.h
 Implements a unified output system for messages and debunging.
 
file  vmap.h
 
file  waf.cpp
 
file  waf.h
 

Namespaces

 v
 

Classes

class  BAR
 
class  sr_register_amba_socket< BUSWIDTH, ADDR_TYPE, DATA_TYPE >
 
class  APBSlaveSocket< BUSWIDTH, ADDR_TYPE, DATA_TYPE >
 
class  APBSlave
 
class  BaseModule< BASE >
 
class  msclogger
 
class  powermonitor
 
class  FaultDectect_if
 
struct  ReliabilityCell< WIDTH >
 
class  ReliabilityManager
 
struct  t_snoop
 
class  sr_param_t< T >
 Template specialized base class for configuration parameters. More...
 
class  sr_register_field< T >
 
class  sr_register_callback_base
 
class  sr_register_callback< OWNER >
 
class  sr_register< DATA_TYPE >
 
class  sr_register_bank< ADDR_TYPE, DATA_TYPE >
 
class  SrModuleRegistry
 
class  sr_report
 
class  sr_report_handler
 
class  TimingMonitor
 

Macros

#define GC_RETURN_OK   gs::cnf::return_nothing
 
#define GC_SPECIALISATIONS_DECREMENT_OPERATORS
 
#define GC_SPECIALISATIONS_INCREMENT_OPERATORS
 
#define GC_SPECIALISATIONS_ARITHMETIC_OPERATORS_
 
#define GC_SPECIALISATIONS_BINARY_OPERATORS
 
#define SR_HAS_MODULE_GENERATOR(type, factory, isinstance)
 
#define SR_HAS_MODULE(type)
 
#define SR_INCLUDE_MODULE(type)
 
#define _GET_MACRO_(dummy, _1, NAME,...)   NAME
 
#define _GET_MACRO_2_(dummy, _1, _2, NAME,...)   NAME
 
#define srDebug(...)
 
#define srDebug_0()
 
#define srDebug_1(id)
 
#define srConfig(...)   _GET_MACRO_(dummy,##__VA_ARGS__,srConfig_1(__VA_ARGS__),srConfig_0())
 
#define srConfig_0()
 
#define srConfig_1(id)
 
#define srReport(...)   _GET_MACRO_(dummy,##__VA_ARGS__,srReport_1(__VA_ARGS__),srReport_0())
 
#define srReport_0()
 
#define srReport_1(id)
 
#define srAnalyse(...)
 
#define srAnalyse_0()
 
#define srAnalyse_1(id)
 
#define srInfo(...)
 
#define srInfo_0()
 
#define srInfo_1(id)
 
#define srMessage(...)   _GET_MACRO_2_(dummy,##__VA_ARGS__,srMessage_2(__VA_ARGS__),srMessage_1(__VA_ARGS__))
 
#define srMessage_1(verbosity)
 
#define srMessage_2(id, verbosity)
 
#define srWarn(...)   _GET_MACRO_(dummy,##__VA_ARGS__,srWarn_1(__VA_ARGS__),srWarn_0())
 
#define srWarn_0()
 
#define srWarn_1(id)
 
#define srError(...)   _GET_MACRO_(dummy,##__VA_ARGS__,srError_1(__VA_ARGS__),srError_0())
 
#define srError_0()
 
#define srError_1(id)
 
#define srFatal(...)   _GET_MACRO_(dummy,##__VA_ARGS__,srFatal_1(__VA_ARGS__),srFatal_0())
 
#define srFatal_0()
 
#define srFatal_1(id)
 
#define srCommand(...)   _GET_MACRO_2_(dummy,##__VA_ARGS__,srCommand_2(__VA_ARGS__),srCommand_1(__VA_ARGS__))
 
#define srCommand_1(type)
 
#define srCommand_2(id, type)
 
#define vmap   std::map
 

Typedefs

typedef amba::amba_layer_ids AbstractionLayer
 
typedef sc_core::sc_module_name ModuleName
 
typedef sc_core::sc_module DefaultBase
 
typedef gs::cnf::cnf_api ParameterAPI
 
typedef gs::cnf::gs_param_array ParameterArray
 

Enumerations

enum  AMBADeviceType { NONE = 0, APBIO = 1, AHBMEM = 2, AHBIO = 3 }
 
enum  sr_register_callback_type {
  SR_PRE_READ, SR_POST_READ, SR_PRE_WRITE, SR_POST_WRITE,
  SR_PRE_READ, SR_POST_READ, SR_PRE_WRITE, SR_POST_WRITE
}
 

Functions

void sr_hierarchy_push (sc_core::sc_object *obj)
 
void sr_hierarchy_pop ()
 
 BaseModule< BASE >::BaseModule (ModuleName mn)
 
virtual BaseModule< BASE >::~BaseModule ()
 
virtual void BaseModule< BASE >::init_generics ()
 
virtual void BaseModule< BASE >::init_registers ()
 
virtual void BaseModule< BASE >::init_counters ()
 
virtual void BaseModule< BASE >::init_power ()
 
void vwait (sc_core::sc_time &delay)
 
void await (sc_core::sc_time time)
 
template<uint32_t w, class T >
msb_lsb (T a)
 
sc_core::sc_object * sc_find_by_name (const char *name, sc_core::sc_object *node=0)
 
void swap_Endianess (uint64_t &datum)
 
void swap_Endianess (uint32_t &datum)
 
void swap_Endianess (uint16_t &datum)
 
void swap_Endianess (uint8_t &datum)
 
boost::filesystem::path findPath (std::string filename, std::string start)
 
std::map< std::string,
std::string > * 
readLockFile (std::string top)
 
std::map< std::string,
std::string > * 
getWafConfig (std::string top)
 
 powermonitor::powermonitor (sc_core::sc_module_name name, sc_core::sc_time m_report_time=sc_core::SC_ZERO_TIME, bool exram=false)
 
void powermonitor::report_trigger ()
 
std::string powermonitor::get_model_name (std::string &param)
 
std::vector< std::string > powermonitor::get_IP_params (std::vector< std::string > &params)
 
void powermonitor::gen_report ()
 
void powermonitor::end_of_simulation ()
 
 ReliabilityCell< WIDTH >::ReliabilityCell ()
 
void SrModuleRegistry::included ()
 
 SrModuleRegistry::SrModuleRegistry (std::string group, std::string type, factory_f factory, isinstance_f isinstance, std::string file)
 
static sc_core::sc_object * SrModuleRegistry::create_object_by_name (std::string group, std::string type, std::string name)
 
static bool SrModuleRegistry::is_type (std::string group, std::string type, sc_core::sc_object *obj)
 
static std::set< std::string > SrModuleRegistry::get_module_files (std::string group)
 
static std::set< std::string > SrModuleRegistry::get_module_names (std::string group)
 
static std::set< std::string > SrModuleRegistry::get_group_names ()
 
static void sr_report_handler::default_handler (const sc_core::sc_report &rep, const sc_core::sc_actions &actions)
 
void sr_report::operator() (const std::string &name="")
 
static void TimingMonitor::phase_start_timing (const unsigned int id, const char *name="")
 Create a new timing record and set starting time. More...
 
static void TimingMonitor::phase_end_timing (const unsigned int id)
 Enter phase finishing time. More...
 
static sc_core::sc_time TimingMonitor::phase_systime (const unsigned int id)
 Return simulation time of phase id. More...
 
static double TimingMonitor::phase_realtime (const unsigned int id)
 Return real time for processing phase id. More...
 
static const charTimingMonitor::phase_get_name (const unsigned int id)
 Return name of phase id. More...
 
static void TimingMonitor::report_timing ()
 Generate timing report for all phases at 'info' level. More...
 

Variables

ParameterAPIBaseModule< BASE >::m_api
 Internal module gs param api instance. More...
 
ParameterArray BaseModule< BASE >::m_generics
 Configuration generic container. More...
 
ParameterArray BaseModule< BASE >::m_counters
 Performance counter container. More...
 
ParameterArray BaseModule< BASE >::m_power
 Power counters container. More...
 
std::ofstream msc
 
sc_core::sc_time msclogger_start
 
sc_core::sc_time msclogger_end
 
std::ofstream msc
 
sc_core::sc_time msclogger_start
 
sc_core::sc_time msclogger_end
 
ReliabilityManagerRM
 
std::map< std::string,
std::string > * 
wafConfigMap = NULL
 
static t_timing_map TimingMonitor::timing_map
 The map for tracking phases & time. More...
 

Detailed Description

Macro Definition Documentation

#define _GET_MACRO_ (   dummy,
  _1,
  NAME,
  ... 
)    NAME
#define _GET_MACRO_2_ (   dummy,
  _1,
  _2,
  NAME,
  ... 
)    NAME
#define GC_RETURN_OK   gs::cnf::return_nothing
#define GC_SPECIALISATIONS_ARITHMETIC_OPERATORS_
#define GC_SPECIALISATIONS_BINARY_OPERATORS
#define GC_SPECIALISATIONS_DECREMENT_OPERATORS
Value:
inline my_type& \
operator -- () \
{ \
val_type tmp_val = getValue(); \
--tmp_val; \
this->setValue( tmp_val ); \
return *this; \
} \
\
inline val_type \
operator -- (int) \
{ \
val_type tmp_old_val = getValue(); \
val_type tmp_set_val = tmp_old_val; \
tmp_set_val--; \
this->setValue( tmp_set_val ); \
return tmp_old_val; \
} \
#define GC_SPECIALISATIONS_INCREMENT_OPERATORS
Value:
inline my_type& \
operator ++ () \
{ \
val_type tmp_val = getValue(); \
++tmp_val; \
this->setValue( tmp_val ); \
return *this; \
} \
\
inline val_type \
operator ++ (int) \
{ \
val_type tmp_old_val = getValue(); \
val_type tmp_set_val = tmp_old_val; \
tmp_set_val++; \
this->setValue( tmp_set_val); \
return tmp_old_val; \
}
#define SR_HAS_MODULE (   type)
Value:
sc_core::sc_object *create_##type(sc_core::sc_module_name mn) { \
return new type(mn); \
} \
bool isinstance_of_##type(sc_core::sc_object *obj) { \
return dynamic_cast<type *>(obj) != NULL; \
} \
SR_HAS_MODULE_GENERATOR(type, create_##type, isinstance_of_##type);
#define SR_HAS_MODULE_GENERATOR(type, factory, isinstance)
Definition: sr_registry.h:52
#define SR_HAS_MODULE_GENERATOR (   type,
  factory,
  isinstance 
)
Value:
static SrModuleRegistry __sr_module_registry_##type##__("module", #type, &factory, &isinstance, __FILE__); \
volatile SrModuleRegistry *__sr_module_registry_##type = &__sr_module_registry_##type##__;
Definition: sr_registry.h:28
#define SR_INCLUDE_MODULE (   type)
Value:
extern SrModuleRegistry *__sr_module_registry_##type; \
(__sr_module_registry_##type)->included();
Definition: sr_registry.h:28

Referenced by sc_main().

#define srAnalyse (   ...)
Value:
if(4 >= VERBOSITY) {} else \
_GET_MACRO_(dummy,##__VA_ARGS__,srAnalyse_1(__VA_ARGS__),srAnalyse_0())
#define srAnalyse_0()
Definition: sr_report.h:415
#define VERBOSITY
Definition: sr_report.h:38
#define _GET_MACRO_(dummy, _1, NAME,...)
Definition: sr_report.h:366
#define srAnalyse_1(id)
Definition: sr_report.h:420

Referenced by Memory::b_transport(), vectorcache::mem_read(), and vectorcache::mem_write().

#define srAnalyse_0 ( )
Value:
sc_core::SC_INFO, this, this->name(), "", \
sc_core::SC_FULL, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srAnalyse_1 (   id)
Value:
sc_core::SC_INFO, NULL, id, "", \
sc_core::SC_FULL, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srCommand (   ...)    _GET_MACRO_2_(dummy,##__VA_ARGS__,srCommand_2(__VA_ARGS__),srCommand_1(__VA_ARGS__))
#define srCommand_1 (   type)
Value:
sc_core::SC_MAX_SEVERITY, NULL, this->name(), "command", \
0x0FFFFFFF, __FILE__, __LINE__)("typename", type)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srCommand_2 (   id,
  type 
)
Value:
sc_core::SC_MAX_SEVERITY, NULL, id, "command", \
0x0FFFFFFF, __FILE__, __LINE__)("typename", type)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srConfig (   ...)    _GET_MACRO_(dummy,##__VA_ARGS__,srConfig_1(__VA_ARGS__),srConfig_0())
#define srConfig_0 ( )
Value:
sc_core::SC_INFO, this, this->name(), "", \
sc_core::SC_MEDIUM, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srConfig_1 (   id)
Value:
sc_core::SC_INFO, NULL, id, "", \
sc_core::SC_MEDIUM, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srDebug (   ...)
#define srDebug_0 ( )
Value:
sc_core::SC_INFO, this, this->name(), "", \
sc_core::SC_DEBUG, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srDebug_1 (   id)
Value:
sc_core::SC_INFO, NULL, id, "", \
sc_core::SC_DEBUG, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srError (   ...)    _GET_MACRO_(dummy,##__VA_ARGS__,srError_1(__VA_ARGS__),srError_0())
#define srError_0 ( )
Value:
sc_core::SC_ERROR, this, this->name(), "", \
sc_core::SC_LOW, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srError_1 (   id)
Value:
sc_core::SC_ERROR, NULL, id, "", \
sc_core::SC_LOW, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srFatal (   ...)    _GET_MACRO_(dummy,##__VA_ARGS__,srFatal_1(__VA_ARGS__),srFatal_0())
#define srFatal_0 ( )
Value:
sc_core::SC_FATAL, this, this->name(), "", \
sc_core::SC_LOW, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srFatal_1 (   id)
Value:
sc_core::SC_FATAL, NULL, id, "", \
sc_core::SC_LOW, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srInfo (   ...)
#define srInfo_0 ( )
Value:
sc_core::SC_INFO, this, this->name(), "", \
sc_core::SC_LOW, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srInfo_1 (   id)
Value:
sc_core::SC_INFO, NULL, id, "", \
sc_core::SC_LOW, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srMessage (   ...)    _GET_MACRO_2_(dummy,##__VA_ARGS__,srMessage_2(__VA_ARGS__),srMessage_1(__VA_ARGS__))
#define srMessage_1 (   verbosity)
Value:
sc_core::SC_INFO, this, this->name(), "", \
verbosity, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srMessage_2 (   id,
  verbosity 
)
Value:
sc_core::SC_INFO, NULL, id, "", \
verbosity, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srReport (   ...)    _GET_MACRO_(dummy,##__VA_ARGS__,srReport_1(__VA_ARGS__),srReport_0())
#define srReport_0 ( )
Value:
sc_core::SC_INFO, this, this->name(), "", \
sc_core::SC_MEDIUM, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srReport_1 (   id)
Value:
sc_core::SC_INFO, NULL, id, "", \
sc_core::SC_MEDIUM, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define srWarn (   ...)    _GET_MACRO_(dummy,##__VA_ARGS__,srWarn_1(__VA_ARGS__),srWarn_0())
#define srWarn_0 ( )
Value:
sc_core::SC_WARNING, this, this->name(), "", \
sc_core::SC_MEDIUM, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
string name
Definition: setup.py:15
#define srWarn_1 (   id)
Value:
sc_core::SC_WARNING, NULL, id, "", \
sc_core::SC_MEDIUM, __FILE__ , __LINE__)
static sr_report report(sc_severity severity_, const sc_core::sc_object *obj, const char *msg_type_, const char *msg_, int verbosity_, const char *file_, int line_)
Definition: sr_report.h:276
#define vmap   std::map

Typedef Documentation

typedef amba::amba_layer_ids AbstractionLayer
typedef sc_core::sc_module DefaultBase
typedef sc_core::sc_module_name ModuleName
typedef gs::cnf::cnf_api ParameterAPI
typedef gs::cnf::gs_param_array ParameterArray

Enumeration Type Documentation

Device type See grlib manual for more information Section 4.2.3

Enumerator
NONE 

Bar is not existing.

APBIO 

Bar is an APB Device.

AHBMEM 

Bar is absolute addressed to 0 at AHB Bus.

AHBIO 

Bar is relative to AHBIO region.

Enumerator
SR_PRE_READ 
SR_POST_READ 
SR_PRE_WRITE 
SR_POST_WRITE 
SR_PRE_READ 
SR_POST_READ 
SR_PRE_WRITE 
SR_POST_WRITE 

Function Documentation

void await ( sc_core::sc_time  time)
inline

References pysc::api::systemc::wait().

Here is the call graph for this function:

template<class BASE = DefaultBase>
BaseModule< BASE >::BaseModule ( ModuleName  mn)
inline
sc_core::sc_object * SrModuleRegistry::create_object_by_name ( std::string  group,
std::string  type,
std::string  name 
)
static
void sr_report_handler::default_handler ( const sc_core::sc_report &  rep,
const sc_core::sc_actions &  actions 
)
static

References v::pair::BOOL, v::pair::DOUBLE, v::pair::INT32, v::pair::INT64, sr_report::pairs, sr_report::set_msg(), v::pair::STRING, v::pair::TIME, v::pair::UINT32, and v::pair::UINT64.

Referenced by sc_main().

Here is the call graph for this function:

void powermonitor::end_of_simulation ( )

References powermonitor::gen_report(), and powermonitor::m_report_time.

Here is the call graph for this function:

boost::filesystem::path findPath ( std::string  filename,
std::string  start 
)

References usi.cci.parameter::exists, and file.

Referenced by readLockFile().

void powermonitor::gen_report ( )

References powermonitor::get_IP_params(), powermonitor::get_model_name(), i, v::info, powermonitor::m_exram, and setup::name.

Referenced by powermonitor::end_of_simulation(), and powermonitor::report_trigger().

Here is the call graph for this function:

std::set< std::string > SrModuleRegistry::get_group_names ( )
static

References result.

std::vector< std::string > powermonitor::get_IP_params ( std::vector< std::string > &  params)

References powermonitor::get_model_name().

Referenced by powermonitor::gen_report().

Here is the call graph for this function:

std::string powermonitor::get_model_name ( std::string &  param)
std::set< std::string > SrModuleRegistry::get_module_files ( std::string  group)
static

References result.

std::set< std::string > SrModuleRegistry::get_module_names ( std::string  group)
static

References result.

std::map< std::string, std::string > * getWafConfig ( std::string  top)

References readLockFile(), and wafConfigMap.

Referenced by PythonModule::PythonModule().

Here is the call graph for this function:

void SrModuleRegistry::included ( )
template<class BASE = DefaultBase>
virtual void BaseModule< BASE >::init_counters ( )
inlinevirtual
template<class BASE = DefaultBase>
virtual void BaseModule< BASE >::init_generics ( )
inlinevirtual
template<class BASE = DefaultBase>
virtual void BaseModule< BASE >::init_power ( )
inlinevirtual
template<class BASE = DefaultBase>
virtual void BaseModule< BASE >::init_registers ( )
inlinevirtual

Reimplemented in GPTimer, Mctrl, Irqmp, and APBUART.

Referenced by BaseModule< DefaultBase >::BaseModule().

bool SrModuleRegistry::is_type ( std::string  group,
std::string  type,
sc_core::sc_object *  obj 
)
static
template<uint32_t w, class T >
T msb_lsb ( a)

References b1, b2, h, i, and r.

void sr_report::operator() ( const std::string &  name = "")
inline

References sr_report::actions, sr_report::enabled, and sr_report::set_msg().

Here is the call graph for this function:

void TimingMonitor::phase_end_timing ( const unsigned int  id)
static
const char * TimingMonitor::phase_get_name ( const unsigned int  id)
static

Return name of phase id.

References v::error, and TimingMonitor::timing_map.

double TimingMonitor::phase_realtime ( const unsigned int  id)
static

Return real time for processing phase id.

References v::error, and TimingMonitor::timing_map.

Referenced by TimingMonitor::report_timing().

void TimingMonitor::phase_start_timing ( const unsigned int  id,
const char name = "" 
)
static
sc_core::sc_time TimingMonitor::phase_systime ( const unsigned int  id)
static

Return simulation time of phase id.

References v::error, and TimingMonitor::timing_map.

Referenced by TimingMonitor::report_timing().

powermonitor::powermonitor ( sc_core::sc_module_name  name,
sc_core::sc_time  m_report_time = sc_core::SC_ZERO_TIME,
bool  exram = false 
)

References powermonitor::report_trigger().

Here is the call graph for this function:

std::map< std::string, std::string > * readLockFile ( std::string  top)

References findPath(), flags, result, and start.

Referenced by getWafConfig().

Here is the call graph for this function:

template<uint32_t >
ReliabilityCell< uint32_t >::ReliabilityCell ( )
void TimingMonitor::report_timing ( )
static

Generate timing report for all phases at 'info' level.

References setup::name, TimingMonitor::phase_realtime(), TimingMonitor::phase_systime(), v::report, TimingMonitor::t_timing_rec::st_end, TimingMonitor::t_timing_rec::st_start, and TimingMonitor::timing_map.

Here is the call graph for this function:

void powermonitor::report_trigger ( )

References powermonitor::gen_report(), powermonitor::m_report_time, and pysc::api::systemc::wait().

Referenced by powermonitor::powermonitor().

Here is the call graph for this function:

sc_core::sc_object* sc_find_by_name ( const char name,
sc_core::sc_object *  node = 0 
)
inline

References i, and setup::name.

Referenced by PyScObjectGenerator::find_object_by_name().

void sr_hierarchy_pop ( )
inline
void sr_hierarchy_push ( sc_core::sc_object *  obj)
inline
SrModuleRegistry::SrModuleRegistry ( std::string  group,
std::string  type,
SrModuleRegistry::factory_f  factory,
SrModuleRegistry::isinstance_f  isinstance,
std::string  file 
)
void swap_Endianess ( uint64_t datum)
inline
void swap_Endianess ( uint32_t datum)
inline

References i.

void swap_Endianess ( uint16_t datum)
inline

References i.

void swap_Endianess ( uint8_t datum)
inline
void vwait ( sc_core::sc_time &  delay)
inline

References pysc::api::systemc::wait().

Here is the call graph for this function:

template<class BASE = DefaultBase>
virtual BaseModule< BASE >::~BaseModule ( )
inlinevirtual

Variable Documentation

template<class BASE = DefaultBase>
ParameterAPI* BaseModule< BASE >::m_api
protected

Internal module gs param api instance.

Referenced by BaseModule< DefaultBase >::BaseModule().

template<class BASE = DefaultBase>
ParameterArray BaseModule< BASE >::m_counters
protected

Performance counter container.

template<class BASE = DefaultBase>
ParameterArray BaseModule< BASE >::m_generics
protected

Configuration generic container.

template<class BASE = DefaultBase>
ParameterArray BaseModule< BASE >::m_power
protected

Power counters container.

std::ofstream msc
std::ofstream msc
sc_core::sc_time msclogger_end
sc_core::sc_time msclogger_end
sc_core::sc_time msclogger_start
sc_core::sc_time msclogger_start
TimingMonitor::t_timing_map TimingMonitor::timing_map
static
std::map<std::string, std::string>* wafConfigMap = NULL

Referenced by getWafConfig().