Transaction-Level Modeling Framework for Space Applications
The AHBMEM model provides a simple flat memory implementation bound to an AHB slave interface. The class inherits from the AHBSlave and CLKDevice classes.
In the manner of the GRLIB VHDL models this component provides the typical AHB Slave Generics refactored as Constructor parameters of the class AHBMem. An overview about the available parameters is given in table 42.
Parameter | Description |
---|---|
nm | SystemC name of the module |
haddr | AHB address of the AHB slave socket (12 bit) |
hmask | AHB address mask (12 bit) |
ambaLayer | Abstraction layer used (AT/LT) |
slave_id | The AHB slave bus index |
cachable | Device cacheable or not |
wait_states | Number of wait states to be inserted for each transfer |
pow_mon | Enable power monitoring |
This example shows how to instantiate the module AHBMEM. In line 547 the constructor is called to create the new object. In line 559 the module is connected to the bus and in the next line the clock is set.