| |||
| Home > SystemC Export > Using the generated ports | |||
The generated SystemC component must have SystemC ports to enable communication with the SystemC world. These ports are generated automatically from the Fast Models ports of the top-level component.
The SystemC export feature automatically generates port wrappers that bind the SystemC domain to the Fast Models virtual platform as shown in Figure 5.2.
Each master port in the Fast Models top level component results in a master port on the SystemC side. Each slave port in the Fast Models top level component results in a slave port (export) on the SystemC side.
For Fast Models to instantiate and use the ports, it requires protocol definitions that:
correspond to the equivalent SystemC port classes
refer to the name of these SystemC port classes.
This effectively describes the mapping from Fast Models port types (protocols) to SystemC port types (port classes).
For a list of supported protocols, their associated definitions, and bridges to the AMBA-PV protocol, see the Fast Model Portfolio Peripheral Components Reference Manual.