Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Files | Classes | Functions
AHB Demonstration Input Device

Files

file  ahbin.cpp
 
file  ahbin.h
 

Classes

class  AHBIn
 Definition of class AHBIn. More...
 

Functions

 AHBIn::AHBIn (ModuleName name, unsigned int hindex, unsigned int hirq, unsigned int framesize, unsigned int frameaddr, sc_core::sc_time interval, bool pow_mon, AbstractionLayer ambaLayer)
 Constructor. More...
 
void AHBIn::dorst ()
 Reset function. More...
 
void AHBIn::frame_trigger ()
 Thread for triggering gen_frame (generates new_frame event) More...
 
void AHBIn::gen_frame ()
 Thread for generating the data frame. More...
 
void AHBIn::clkcng ()
 Deal with clock changes. More...
 
sc_core::sc_time AHBIn::get_clock ()
 Returns clock cycle time from master. More...
 

Detailed Description

Function Documentation

AHBIn::AHBIn ( ModuleName  name,
unsigned int  hindex,
unsigned int  hirq,
unsigned int  framesize,
unsigned int  frameaddr,
sc_core::sc_time  interval,
bool  pow_mon,
AbstractionLayer  ambaLayer 
)

Constructor.

References AHBIn::frame_trigger(), AHBIn::gen_frame(), v::info, and setup::name.

Here is the call graph for this function:

void AHBIn::clkcng ( )
virtual

Deal with clock changes.

Reimplemented from CLKDevice.

void AHBIn::dorst ( )
virtual

Reset function.

Reimplemented from CLKDevice.

void AHBIn::frame_trigger ( )

Thread for triggering gen_frame (generates new_frame event)

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

Referenced by AHBIn::AHBIn().

Here is the call graph for this function:

void AHBIn::gen_frame ( )

Thread for generating the data frame.

References AHBMaster<>::ahbwrite(), CLKDevice::clock_cycle, i, v::info, AHBIn::irq, setup::name, and pysc::api::systemc::wait().

Referenced by AHBIn::AHBIn().

Here is the call graph for this function:

sc_core::sc_time AHBIn::get_clock ( )
virtual

Returns clock cycle time from master.

Implements AHBMaster<>.

References CLKDevice::clock_cycle.