7.5.2 TLM 1.0 protocol for an exported SystemC component

Here is an example of a TLM 1.0 signal protocol.

protocol MySignalProtocol 
{ 
  includes 
  { 
    #include <mySystemCClasses.h> 
  } 
  properties 
  { 
    sc_master_port_class_name = "my_signal_base<bool>"; 
    sc_slave_base_class_name = "my_slave_base<bool>"; 
    sc_slave_export_class_name = "my_slave_export<bool>"; 
  } 
  slave behavior set_state(const bool & state); 
}
Non-ConfidentialPDF file icon PDF versionARM 100965_1101_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.