|Non-Confidential||PDF version||ARM 100965_1101_00_en|
|Home > SystemC Export with Multiple Instantiation > SystemC Export generated ports > Protocol definition|
The ports of the top level Fast Models component, used to create SystemC ports, have protocols.
The behaviors in a Fast Models protocol definition must match exactly the functions in the SystemC port class. System Canvas does not check this for consistency, but the C++ compiler can find inconsistencies when compiling the generated SystemC component.
The set of functions and behaviors, their arguments, and their return value must be the same. The order of the functions and behaviors does not matter.
All behaviors in the Fast Models protocol must be slave behaviors. There is no corresponding concept of master behaviors.
The protocol definition also contains a properties section that contains the properties that describe the SystemC C++ classes that implement the corresponding ports on the SystemC side.