gem5  v22.1.0.0
Classes | Typedefs | Functions | Variables
sc_gem5 Namespace Reference

Classes

class  ClockTick
 
class  Channel
 
class  Event
 
class  Kernel
 
struct  ListNode
 
struct  NodeList
 
class  UniqueNameGen
 
class  Module
 
class  Object
 
class  Port
 
class  UnwindExceptionReset
 
class  UnwindExceptionKill
 
struct  BuiltinExceptionWrapper
 
class  ScHalt
 
class  Process
 
class  Reset
 
class  Method
 
class  Thread
 
class  CThread
 
struct  PythonInitFunc
 
class  ScMainFiber
 
class  ScEvent
 
class  Scheduler
 
class  Sensitivity
 
class  DynamicSensitivity
 
class  StaticSensitivity
 
class  SensitivityEvent
 
class  SensitivityEvents
 
class  StaticSensitivityEvent
 
class  StaticSensitivityInterface
 
class  StaticSensitivityPort
 
class  StaticSensitivityExport
 
class  StaticSensitivityFinder
 
class  DynamicSensitivityEvent
 
class  DynamicSensitivityEventOrList
 
class  DynamicSensitivityEventAndList
 
class  ScSignalBase
 
class  ScSignalBaseBinary
 
class  ScSignalBasePicker
 
class  ScSignalBasePicker< bool >
 
class  ScSignalBasePicker< sc_dt::sc_logic >
 
class  WriteChecker
 
class  WriteChecker< sc_core::SC_ONE_WRITER >
 
class  WriteChecker< sc_core::SC_MANY_WRITERS >
 
class  ScSignalBaseT
 
class  ScSignalBinary
 
class  InternalScEvent
 
struct  ProcessFuncWrapper
 
struct  ProcessMemberFuncWrapper
 
struct  ExceptionWrapperBase
 
struct  ExceptionWrapper
 
struct  ProcessObjFuncWrapper
 
struct  ProcessObjRetFuncWrapper
 
class  TraceValFxnumBase
 
struct  enable_if
 
struct  enable_if< true, T >
 
struct  remove_const
 
struct  remove_const< const T >
 
struct  is_same
 
struct  is_same< T, T >
 
struct  is_const
 
struct  is_const< const T >
 
struct  is_more_const
 
struct  special_result
 
struct  remove_special_fptr
 
struct  remove_special_fptr< special_result &(*)(T)>
 
class  ScPortWrapper
 
class  ScInterfaceWrapper
 
class  ScExportWrapper
 
class  Gem5ToTlmBridgeBase
 
class  Gem5ToTlmBridge
 
class  TlmToGem5BridgeBase
 
class  TlmToGem5Bridge
 
class  TlmInitiatorBaseWrapper
 
class  TlmTargetBaseWrapper
 
struct  ReportMsgInfo
 
struct  ReportSevInfo
 
struct  DefaultReportMessages
 
class  TraceValBase
 
class  TraceVal
 
class  TraceVal<::sc_core::sc_signal_in_if< T >, Base >
 
class  TraceVal<::sc_core::sc_event, Base >
 
class  TraceVal<::sc_dt::sc_fxnum, Base >
 
class  TraceVal<::sc_dt::sc_fxnum_fast, Base >
 
class  TraceFile
 
class  VcdTraceValBase
 
class  VcdTraceVal
 
class  VcdTraceValBool
 
class  VcdTraceValFloat
 
class  VcdTraceValScLogic
 
class  VcdTraceValFinite
 
class  VcdTraceValLogic
 
class  VcdTraceValFxval
 
class  VcdTraceValFxnum
 
class  VcdTraceValEvent
 
class  VcdTraceValTime
 
class  VcdTraceValInt
 
class  VcdTraceScope
 
class  VcdTraceFile
 

Typedefs

typedef std::vector< sc_core::sc_event * > Events
 
typedef std::vector< sc_core::sc_object * > Objects
 
typedef Objects::iterator ObjectsIt
 
typedef Events::iterator EventsIt
 
typedef std::list< ScEvent * > ScEvents
 
typedef NodeList< ProcessProcessList
 
typedef NodeList< ChannelChannelList
 
typedef std::vector< DynamicSensitivity * > DynamicSensitivities
 
typedef std::vector< StaticSensitivity * > StaticSensitivities
 
using PacketToPayloadConversionStep = std::function< void(gem5::PacketPtr pkt, tlm::tlm_generic_payload &trans)>
 
using PayloadToPacketConversionStep = std::function< void(gem5::PacketPtr pkt, tlm::tlm_generic_payload &trans)>
 
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
using TlmInitiatorWrapper = TlmInitiatorBaseWrapper< BUSWIDTH, tlm::tlm_fw_transport_if< TYPES >, tlm::tlm_bw_transport_if< TYPES >, N, POL >
 
template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
using TlmTargetWrapper = TlmTargetBaseWrapper< BUSWIDTH, tlm::tlm_fw_transport_if< TYPES >, tlm::tlm_bw_transport_if< TYPES >, N, POL >
 

Functions

EventsIt findEvent (const std::string &name)
 
ModulecurrentModule ()
 
ModulenewModuleChecked ()
 
ModulenewModule ()
 
static ModulepickParentModule ()
 
static void pushParentModule (Module *m)
 
static void popParentModule ()
 
std::string pickUniqueName (::sc_core::sc_object *parent, std::string base)
 
const std::vector< sc_core::sc_object * > & getTopLevelScObjects ()
 
sc_core::sc_objectfindObject (const char *name, const Objects &objects)
 
sc_core::sc_objectpickParentObj ()
 
void pushParentObj (sc_core::sc_object *obj)
 
void popParentObj ()
 
void throw_it_wrapper (Process *p, ExceptionWrapperBase &exc, bool inc_kids)
 
void newReset (const sc_core::sc_port_base *pb, Process *p, bool s, bool v)
 
void newReset (const sc_core::sc_signal_in_if< bool > *sig, Process *p, bool s, bool v)
 
ProcessnewMethodProcess (const char *name, ProcessFuncWrapper *func)
 
ProcessnewThreadProcess (const char *name, ProcessFuncWrapper *func)
 
ProcessnewCThreadProcess (const char *name, ProcessFuncWrapper *func)
 
uint64_t getChangeStamp ()
 
ProcessspawnWork (ProcessFuncWrapper *func, const char *name, const ::sc_core::sc_spawn_options *opts)
 
bool listContains (ListNode *list, ListNode *target)
 
ProcessgetCurrentProcess ()
 
const ::sc_core::sc_report reportifyException ()
 
void newStaticSensitivityEvent (Process *p, const sc_core::sc_event *e)
 
void newStaticSensitivityInterface (Process *p, const sc_core::sc_interface *i)
 
void newStaticSensitivityPort (Process *p, const sc_core::sc_port_base *pb)
 
void newStaticSensitivityExport (Process *p, const sc_core::sc_export_base *exp)
 
void newStaticSensitivityFinder (Process *p, const sc_core::sc_event_finder *f)
 
void newDynamicSensitivityEvent (Process *p, const sc_core::sc_event *e)
 
void newDynamicSensitivityEventOrList (Process *p, const sc_core::sc_event_or_list *eol)
 
void newDynamicSensitivityEventAndList (Process *p, const sc_core::sc_event_and_list *eal)
 
static EventBase::Priority getPriorityOfTlmPhase (const tlm::tlm_phase &phase)
 Helper function to help set priority of phase change events of tlm transactions. More...
 
void addPacketToPayloadConversionStep (PacketToPayloadConversionStep step)
 Notify the Gem5ToTlm bridge that we need an extra step to properly convert a gem5 packet to tlm payload. More...
 
tlm::tlm_generic_payloadpacket2payload (PacketPtr packet)
 Convert a gem5 packet to TLM payload by copying all the relevant information to new payload. More...
 
void setPacketResponse (PacketPtr pkt, tlm::tlm_generic_payload &trans)
 
void addPayloadToPacketConversionStep (PayloadToPacketConversionStep step)
 Notify the Tlm2Gem5 bridge that we need an extra step to properly convert a tlm payload to gem5 packet. More...
 
std::pair< PacketPtr, bool > payload2packet (RequestorID _id, tlm::tlm_generic_payload &trans)
 Convert a TLM payload to gem5 packet by copying all the relevant information to new packet. More...
 
void setPayloadResponse (tlm::tlm_generic_payload &trans, PacketPtr pkt)
 
std::map< std::string, ReportMsgInfo > & reportMsgInfoMap ()
 
std::map< int, std::string > & reportIdToMsgMap ()
 

Variables

std::set< Channel * > allChannels
 
Events topLevelEvents
 
Events allEvents
 
Kernelkernel
 
UniqueNameGen globalNameGen
 
std::list< Module * > allModules
 
Objects topLevelObjects
 
Objects allObjects
 
std::list< Port * > allPorts
 
BuiltinExceptionWrapper< UnwindExceptionResetresetException
 
BuiltinExceptionWrapper< UnwindExceptionKillkillException
 
ScMainFiber scMainFiber
 
Scheduler scheduler
 
const char * TimeUnitNames []
 
const char * TimeUnitConstantNames []
 
double TimeUnitScale []
 
gem5::Tick TimeUnitFrequency []
 
Gem5SystemC::MemoryManager mm
 Instantiate a tlm memory manager that takes care about all the tlm transactions in the system. More...
 
const char * reportSeverityNames []
 
ReportSevInfo reportSevInfos [sc_core::SC_MAX_SEVERITY]
 
int reportVerbosityLevel = sc_core::SC_MEDIUM
 
sc_core::sc_actions reportSuppressedActions = sc_core::SC_UNSPECIFIED
 
sc_core::sc_actions reportForcedActions = sc_core::SC_UNSPECIFIED
 
sc_core::sc_actions reportCatchActions = sc_core::SC_DISPLAY
 
sc_core::sc_report_handler_proc reportHandlerProc
 
std::unique_ptr< sc_core::sc_reportglobalReportCache
 
bool reportWarningsAsErrors = false
 

Typedef Documentation

◆ ChannelList

Definition at line 54 of file scheduler.hh.

◆ DynamicSensitivities

Definition at line 108 of file sensitivity.hh.

◆ Events

Definition at line 54 of file event.hh.

◆ EventsIt

typedef Events::iterator sc_gem5::EventsIt

Definition at line 45 of file object.hh.

◆ Objects

Definition at line 42 of file object.hh.

◆ ObjectsIt

typedef Objects::iterator sc_gem5::ObjectsIt

Definition at line 44 of file object.hh.

◆ PacketToPayloadConversionStep

using sc_gem5::PacketToPayloadConversionStep = typedef std::function<void(gem5::PacketPtr pkt, tlm::tlm_generic_payload &trans)>

Definition at line 77 of file gem5_to_tlm.hh.

◆ PayloadToPacketConversionStep

using sc_gem5::PayloadToPacketConversionStep = typedef std::function<void(gem5::PacketPtr pkt, tlm::tlm_generic_payload &trans)>

Definition at line 78 of file tlm_to_gem5.hh.

◆ ProcessList

Definition at line 53 of file scheduler.hh.

◆ ScEvents

Definition at line 41 of file sched_event.hh.

◆ StaticSensitivities

Definition at line 123 of file sensitivity.hh.

◆ TlmInitiatorWrapper

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
using sc_gem5::TlmInitiatorWrapper = typedef TlmInitiatorBaseWrapper<BUSWIDTH, tlm::tlm_fw_transport_if<TYPES>, tlm::tlm_bw_transport_if<TYPES>, N, POL>

Definition at line 126 of file tlm_port_wrapper.hh.

◆ TlmTargetWrapper

template<unsigned int BUSWIDTH = 32, typename TYPES = tlm::tlm_base_protocol_types, int N = 1, sc_core::sc_port_policy POL = sc_core::SC_ONE_OR_MORE_BOUND>
using sc_gem5::TlmTargetWrapper = typedef TlmTargetBaseWrapper<BUSWIDTH, tlm::tlm_fw_transport_if<TYPES>, tlm::tlm_bw_transport_if<TYPES>, N, POL>

Definition at line 133 of file tlm_port_wrapper.hh.

Function Documentation

◆ addPacketToPayloadConversionStep()

void sc_gem5::addPacketToPayloadConversionStep ( PacketToPayloadConversionStep  step)

Notify the Gem5ToTlm bridge that we need an extra step to properly convert a gem5 packet to tlm payload.

This can be useful when there exists a SystemC extension that requires information in gem5 packet. For example, if a user defined a SystemC extension the carries stream_id, the user may add a step here to read stream_id out and set the extension properly. Steps should be idempotent.

Definition at line 119 of file gem5_to_tlm.cc.

◆ addPayloadToPacketConversionStep()

void sc_gem5::addPayloadToPacketConversionStep ( PayloadToPacketConversionStep  step)

Notify the Tlm2Gem5 bridge that we need an extra step to properly convert a tlm payload to gem5 packet.

This can be useful when there exists a SystemC extension that carries extra information. For example, SystemC user might define an extension to store stream_id, the user may then add an extra step to set the generated request's stream_id accordingly. Steps should be idempotent.

Definition at line 96 of file tlm_to_gem5.cc.

◆ currentModule()

Module * sc_gem5::currentModule ( )

Definition at line 193 of file module.cc.

◆ findEvent()

EventsIt sc_gem5::findEvent ( const std::string &  name)

◆ findObject()

sc_core::sc_object* sc_gem5::findObject ( const char *  name,
const Objects objects 
)

Definition at line 296 of file object.cc.

References allObjects, and name().

Referenced by sc_core::sc_find_object(), and sc_core::sc_hierarchical_name_exists().

◆ getChangeStamp()

uint64_t sc_gem5::getChangeStamp ( )

◆ getCurrentProcess()

Process * sc_gem5::getCurrentProcess ( )

Definition at line 495 of file scheduler.cc.

References sc_gem5::Scheduler::current(), and scheduler.

Referenced by sc_core::sc_signal_rv< W >::write().

◆ getPriorityOfTlmPhase()

static EventBase::Priority sc_gem5::getPriorityOfTlmPhase ( const tlm::tlm_phase phase)
static

Helper function to help set priority of phase change events of tlm transactions.

This is to workaround the uncertainty of gem5 eventq if multiple events are scheduled at the same timestamp.

Definition at line 84 of file gem5_to_tlm.cc.

References gem5::EventBase::Default_Pri, and tlm::END_REQ.

Referenced by sc_gem5::Gem5ToTlmBridge< BITWIDTH >::nb_transport_bw(), and sc_gem5::Gem5ToTlmBridge< BITWIDTH >::recvTimingReq().

◆ getTopLevelScObjects()

const std::vector<sc_core::sc_object *>& sc_gem5::getTopLevelScObjects ( )

Definition at line 290 of file object.cc.

References topLevelObjects.

◆ listContains()

bool sc_gem5::listContains ( ListNode list,
ListNode target 
)

Definition at line 225 of file scheduler.cc.

References sc_dt::list, and gem5::ArmISA::n.

◆ newCThreadProcess()

Process * sc_gem5::newCThreadProcess ( const char *  name,
ProcessFuncWrapper func 
)

◆ newDynamicSensitivityEvent()

void sc_gem5::newDynamicSensitivityEvent ( Process p,
const sc_core::sc_event e 
)

Definition at line 188 of file sensitivity.cc.

Referenced by sc_core::next_trigger(), and sc_core::wait().

◆ newDynamicSensitivityEventAndList()

void sc_gem5::newDynamicSensitivityEventAndList ( Process p,
const sc_core::sc_event_and_list eal 
)

Definition at line 205 of file sensitivity.cc.

Referenced by sc_core::next_trigger(), and sc_core::wait().

◆ newDynamicSensitivityEventOrList()

void sc_gem5::newDynamicSensitivityEventOrList ( Process p,
const sc_core::sc_event_or_list eol 
)

Definition at line 196 of file sensitivity.cc.

Referenced by sc_core::next_trigger(), and sc_core::wait().

◆ newMethodProcess()

Process * sc_gem5::newMethodProcess ( const char *  name,
ProcessFuncWrapper func 
)

◆ newModule()

Module * sc_gem5::newModule ( )

Definition at line 209 of file module.cc.

Referenced by sc_gem5::Object::Object().

◆ newModuleChecked()

Module * sc_gem5::newModuleChecked ( )

Definition at line 201 of file module.cc.

References sc_core::SC_ID_MODULE_NAME_STACK_EMPTY_, and SC_REPORT_ERROR.

◆ newReset() [1/2]

void sc_gem5::newReset ( const sc_core::sc_port_base pb,
Process p,
bool  s,
bool  v 
)

◆ newReset() [2/2]

void sc_gem5::newReset ( const sc_core::sc_signal_in_if< bool > *  sig,
Process p,
bool  s,
bool  v 
)

◆ newStaticSensitivityEvent()

void sc_gem5::newStaticSensitivityEvent ( Process p,
const sc_core::sc_event e 
)

◆ newStaticSensitivityExport()

void sc_gem5::newStaticSensitivityExport ( Process p,
const sc_core::sc_export_base exp 
)

Definition at line 147 of file sensitivity.cc.

Referenced by spawnWork().

◆ newStaticSensitivityFinder()

void sc_gem5::newStaticSensitivityFinder ( Process p,
const sc_core::sc_event_finder f 
)

◆ newStaticSensitivityInterface()

void sc_gem5::newStaticSensitivityInterface ( Process p,
const sc_core::sc_interface i 
)

Definition at line 130 of file sensitivity.cc.

Referenced by sc_core::sc_sensitive::operator<<(), and spawnWork().

◆ newStaticSensitivityPort()

void sc_gem5::newStaticSensitivityPort ( Process p,
const sc_core::sc_port_base pb 
)

Definition at line 138 of file sensitivity.cc.

Referenced by sc_core::sc_sensitive::operator<<(), and spawnWork().

◆ newThreadProcess()

Process * sc_gem5::newThreadProcess ( const char *  name,
ProcessFuncWrapper func 
)

◆ packet2payload()

tlm::tlm_generic_payload * sc_gem5::packet2payload ( PacketPtr  packet)

◆ payload2packet()

std::pair< gem5::PacketPtr, bool > sc_gem5::payload2packet ( RequestorID  _id,
tlm::tlm_generic_payload trans 
)

◆ pickParentModule()

static Module* sc_gem5::pickParentModule ( )
inlinestatic

◆ pickParentObj()

sc_core::sc_object * sc_gem5::pickParentObj ( )

Definition at line 310 of file object.cc.

References sc_gem5::Scheduler::current(), gem5::VegaISA::p, and scheduler.

Referenced by sc_gem5::Object::Object(), and pickParentModule().

◆ pickUniqueName()

std::string sc_gem5::pickUniqueName ( ::sc_core::sc_object parent,
std::string  base 
)

◆ popParentModule()

static void sc_gem5::popParentModule ( )
inlinestatic

◆ popParentObj()

void sc_gem5::popParentObj ( )

Definition at line 323 of file object.cc.

Referenced by popParentModule(), and sc_core::sc_vector_base::unforceParent().

◆ pushParentModule()

static void sc_gem5::pushParentModule ( Module m)
inlinestatic

◆ pushParentObj()

void sc_gem5::pushParentObj ( sc_core::sc_object obj)

Definition at line 322 of file object.cc.

Referenced by sc_core::sc_vector_base::forceParent(), and pushParentModule().

◆ reportIdToMsgMap()

std::map< int, std::string > & sc_gem5::reportIdToMsgMap ( )

◆ reportifyException()

const ::sc_core::sc_report sc_gem5::reportifyException ( )

◆ reportMsgInfoMap()

std::map< std::string, ReportMsgInfo > & sc_gem5::reportMsgInfoMap ( )

◆ setPacketResponse()

void sc_gem5::setPacketResponse ( PacketPtr  pkt,
tlm::tlm_generic_payload trans 
)

◆ setPayloadResponse()

void sc_gem5::setPayloadResponse ( tlm::tlm_generic_payload trans,
PacketPtr  pkt 
)

◆ spawnWork()

Process * sc_gem5::spawnWork ( ProcessFuncWrapper func,
const char *  name,
const ::sc_core::sc_spawn_options opts 
)

◆ throw_it_wrapper()

void sc_gem5::throw_it_wrapper ( Process p,
ExceptionWrapperBase exc,
bool  inc_kids 
)

Definition at line 419 of file process.cc.

References gem5::VegaISA::p.

Referenced by sc_core::sc_process_handle::throw_it().

Variable Documentation

◆ allChannels

std::set< Channel * > sc_gem5::allChannels

◆ allEvents

Events sc_gem5::allEvents

◆ allModules

std::list< Module * > sc_gem5::allModules

◆ allObjects

Objects sc_gem5::allObjects

◆ allPorts

std::list< Port * > sc_gem5::allPorts

◆ globalNameGen

UniqueNameGen sc_gem5::globalNameGen

Definition at line 49 of file module.cc.

Referenced by sc_core::sc_gen_unique_name().

◆ globalReportCache

std::unique_ptr< sc_core::sc_report > sc_gem5::globalReportCache

◆ kernel

Kernel * sc_gem5::kernel

◆ killException

Definition at line 63 of file process.cc.

Referenced by sc_gem5::Process::kill().

◆ mm

Instantiate a tlm memory manager that takes care about all the tlm transactions in the system.

Definition at line 100 of file gem5_to_tlm.cc.

◆ reportCatchActions

sc_core::sc_actions sc_gem5::reportCatchActions = sc_core::SC_DISPLAY

◆ reportForcedActions

sc_core::sc_actions sc_gem5::reportForcedActions = sc_core::SC_UNSPECIFIED

◆ reportHandlerProc

sc_core::sc_report_handler_proc sc_gem5::reportHandlerProc

◆ reportSeverityNames

const char * sc_gem5::reportSeverityNames
Initial value:
= {
[sc_core::SC_INFO] = "Info",
[sc_core::SC_WARNING] = "Warning",
[sc_core::SC_ERROR] = "Error",
[sc_core::SC_FATAL] = "Fatal"
}
@ SC_ERROR
Definition: sc_report.hh:43
@ SC_FATAL
Definition: sc_report.hh:44
@ SC_INFO
Definition: sc_report.hh:41
@ SC_WARNING
Definition: sc_report.hh:42

Definition at line 33 of file report.cc.

Referenced by sc_core::sc_report_compose_message().

◆ reportSevInfos

ReportSevInfo sc_gem5::reportSevInfos

◆ reportSuppressedActions

sc_core::sc_actions sc_gem5::reportSuppressedActions = sc_core::SC_UNSPECIFIED

◆ reportVerbosityLevel

int sc_gem5::reportVerbosityLevel = sc_core::SC_MEDIUM

◆ reportWarningsAsErrors

bool sc_gem5::reportWarningsAsErrors = false

◆ resetException

Definition at line 62 of file process.cc.

Referenced by sc_gem5::Process::reset().

◆ scheduler

Scheduler sc_gem5::scheduler

Definition at line 494 of file scheduler.cc.

Referenced by sc_gem5::Channel::asyncRequestUpdate(), sc_core::sc_clock::before_end_of_elaboration(), sc_gem5::Event::cancel(), sc_gem5::Process::cancelTimeout(), sc_gem5::WriteChecker< sc_core::SC_ONE_WRITER >::checkWriter(), sc_gem5::WriteChecker< sc_core::SC_MANY_WRITERS >::checkWriter(), sc_core::sc_report_handler::clear_cached_report(), sc_gem5::ClockTick::createProcess(), sc_core::sc_report_handler::default_handler(), sc_core::sc_simcontext::elaboration_done(), sc_core::sc_report_handler::get_cached_report(), sc_core::sc_simcontext::get_curr_proc_info(), getChangeStamp(), getCurrentProcess(), sc_gem5::Kernel::init(), sc_gem5::VcdTraceFile::initialize(), sc_gem5::Process::injectException(), sc_gem5::Kernel::Kernel(), sc_gem5::Thread::Context::main(), sc_gem5::ScMainFiber::main(), newCThreadProcess(), newMethodProcess(), newThreadProcess(), sc_core::next_trigger(), sc_gem5::Event::notify(), sc_gem5::Sensitivity::notify(), pickParentObj(), sc_gem5::Scheduler::TimeSlot::process(), sc_gem5::Process::ready(), sc_gem5::Kernel::regStats(), sc_core::sc_report_handler::report(), sc_gem5::Channel::requestUpdate(), sc_gem5::Process::reset(), sc_gem5::Process::resume(), sc_core::sc_delta_count(), sc_core::sc_export_base::sc_export_base(), sc_core::sc_gen_unique_name(), sc_core::sc_get_curr_process_handle(), sc_core::sc_get_current_process_handle(), sc_core::sc_module::sc_module(), sc_core::sc_module_name::sc_module_name(), sc_core::sc_pause(), sc_core::sc_pending_activity_at_current_time(), sc_core::sc_pending_activity_at_future_time(), sc_core::sc_port_base::sc_port_base(), sc_core::sc_prim_channel::sc_prim_channel(), sc_core::sc_report_compose_message(), sc_core::sc_set_location(), sc_core::sc_start(), sc_core::sc_stop(), sc_core::sc_time_stamp(), sc_core::sc_time_to_pending_activity(), sc_gem5::Process::setTimeout(), sc_gem5::Process::signalReset(), spawnWork(), sc_gem5::Kernel::startup(), sc_gem5::Kernel::stopWork(), sc_gem5::Process::suspend(), sc_gem5::Kernel::t0Handler(), sc_gem5::ClockTick::tick(), sc_core::timed_out(), sc_gem5::VcdTraceFile::trace(), sc_gem5::TraceFile::TraceFile(), sc_gem5::Event::triggered(), sc_core::sc_mutex::trylock(), sc_core::sc_mutex::unlock(), sc_core::wait(), sc_core::sc_signal_resolved::write(), sc_gem5::ClockTick::~ClockTick(), sc_gem5::Event::~Event(), sc_core::sc_clock::~sc_clock(), sc_gem5::ScEvent::~ScEvent(), sc_gem5::TraceFile::~TraceFile(), and sc_gem5::VcdTraceFile::~VcdTraceFile().

◆ scMainFiber

ScMainFiber sc_gem5::scMainFiber

◆ TimeUnitConstantNames

const char * sc_gem5::TimeUnitConstantNames
Initial value:
= {
[::sc_core::SC_FS] = "SC_FS",
[::sc_core::SC_PS] = "SC_PS",
[::sc_core::SC_NS] = "SC_NS",
[::sc_core::SC_US] = "SC_US",
[::sc_core::SC_MS] = "SC_MS",
[::sc_core::SC_SEC] = "SC_SEC"
}
@ SC_MS
Definition: sc_time.hh:45
@ SC_PS
Definition: sc_time.hh:42
@ SC_SEC
Definition: sc_time.hh:46
@ SC_FS
Definition: sc_time.hh:41
@ SC_US
Definition: sc_time.hh:44
@ SC_NS
Definition: sc_time.hh:43

Definition at line 44 of file time.cc.

Referenced by sc_core::sc_time::sc_time().

◆ TimeUnitFrequency

gem5::Tick sc_gem5::TimeUnitFrequency
Initial value:
= {
[::sc_core::SC_FS] = 1ULL * 1000 * 1000 * 1000 * 1000 * 1000,
[::sc_core::SC_PS] = 1ULL * 1000 * 1000 * 1000 * 1000,
[::sc_core::SC_NS] = 1ULL * 1000 * 1000 * 1000,
[::sc_core::SC_US] = 1ULL * 1000 * 1000,
[::sc_core::SC_MS] = 1ULL * 1000,
}

Definition at line 62 of file time.cc.

Referenced by sc_core::sc_set_time_resolution().

◆ TimeUnitNames

const char * sc_gem5::TimeUnitNames
Initial value:
= {
[::sc_core::SC_FS] = "fs",
[::sc_core::SC_PS] = "ps",
[::sc_core::SC_NS] = "ns",
[::sc_core::SC_US] = "us",
[::sc_core::SC_MS] = "ms",
}

Definition at line 35 of file time.cc.

Referenced by sc_core::sc_time::sc_time(), sc_gem5::TraceFile::set_time_unit(), and sc_core::sc_time_tuple::unit_symbol().

◆ TimeUnitScale

double sc_gem5::TimeUnitScale
Initial value:
= {
[::sc_core::SC_FS] = 1.0e-15,
[::sc_core::SC_PS] = 1.0e-12,
[::sc_core::SC_NS] = 1.0e-9,
[::sc_core::SC_US] = 1.0e-6,
[::sc_core::SC_MS] = 1.0e-3,
}

Definition at line 53 of file time.cc.

Referenced by sc_core::sc_set_default_time_unit(), sc_core::sc_set_time_resolution(), and sc_gem5::TraceFile::set_time_unit().

◆ topLevelEvents

Events sc_gem5::topLevelEvents

◆ topLevelObjects

Objects sc_gem5::topLevelObjects

Generated on Wed Dec 21 2022 10:25:09 for gem5 by doxygen 1.9.1