Transaction-Level Modeling Framework for Space Applications
Files | |
file | ahbout.cpp |
file | ahbout.h |
Classes | |
class | AHBOut |
Functions | |
AHBOut::AHBOut (const ModuleName nm, uint16_t haddr_, uint16_t hmask_=0, AbstractionLayer ambaLayer=amba::amba_LT, uint32_t slave_id=0, char *outfile=NULL) | |
Constructor for the test bench memory class. More... | |
AHBOut::~AHBOut () | |
Destructor. More... | |
uint32_t | AHBOut::exec_func (tlm::tlm_generic_payload &gp, sc_time &delay, bool debug=false) |
Encapsulated functionality. More... | |
sc_core::sc_time | AHBOut::get_clock () |
Returns clock cycle time from child. More... | |
AHBOut::AHBOut | ( | const ModuleName | nm, |
uint16_t | haddr_, | ||
uint16_t | hmask_ = 0 , |
||
AbstractionLayer | ambaLayer = amba::amba_LT , |
||
uint32_t | slave_id = 0 , |
||
char * | outfile = NULL |
||
) |
Constructor for the test bench memory class.
Constructor.
Constructor
haddr | AHB address of the AHB slave socket (12 bit) |
hmask | AHB address mask (12 bit) |
ambaLayer | Abstraction layer used (AT/LT) |
slave_id | AHB Slave id |
outfile | File name of a text file to initialize the memory from |
References AHBDevice< BaseModule< DefaultBase > >::get_ahb_base_addr(), AHBDevice< BaseModule< DefaultBase > >::get_ahb_size(), v::info, setup::name, v::outfile, and v::uint32.
|
virtual |
Encapsulated functionality.
Implements AHBSlave<>.
References CLKDevice::clock_cycle, v::error, i, setup::name, v::outfile, and v::warn.
|
virtual |
AHBOut::~AHBOut | ( | ) |
Destructor.
References v::outfile.