Transaction-Level Modeling Framework for Space Applications
The AHBIN model generates input data for the AHB bus. The input data consists of fixed size random data frames, which are written to a certain address in a certain interval. The class inherits from the AHBMaster
and CLKDevice
classes. The model can be seen as a reference implementation of an AHB Master, since it is very simple. It has no VHDL reference in the Gaisler Library.
This component provides the typical AHB master generics refactored as constructor parameters of the class AHBOut
. An overview about the available parameters is given in table 41.
Parameter | Description |
---|---|
name | SystemC name of the module |
hindex | The master index for registering with the AHB |
hirq | The number of the IRQ raised for available data |
framesize | The size of the data frame to be generated |
frameaddr | The address the data is supposed to be copied |
interval | The interval between data frames |
pow_mon | Enable power monitoring |
ambaLayer | TLM abstraction layer |
This example shows how to instantiate the module AHBIN. In line 590 the constructor is called to create the new object. In line 601 the module is connected to the bus and in the next line the clock is set. In line 605 the interrupt output is connected via Signalkit.