util/systemc/systemc_within_gem5/systemc_simple_object/printer.cc
// This "create" method bridges the python configuration and the systemc
// objects. It instantiates the Printer object and sets it up using the
// parameter values from the config, just like it would for a SimObject. The
// systemc object could accept those parameters however it likes, for instance
// through its constructor or by assigning them to a member variable.
This "create" method bridges the python configuration and the systemc
objects. It instantiates the Printer object and sets it up using the
parameter values from the config, just like it would for a SimObject. The
systemc object could accept those parameters however it likes, for instance
through its constructor or by assigning them to a member variable.
This " create " method bridges the python configuration and the systemc objects . It instantiates the Printer object and sets it up using the parameter values from the config just like it would for a SimObject . The systemc object could accept those parameters however it likes for instance through its constructor or by assigning them to a member variable .
Printer *
gem5::SystemC_PrinterParams::create() const
{
    Printer *printer = new Printer(name.c_str());
    printer->prefix = prefix;
    return printer;
}
Printer * gem5 :: SystemC_PrinterParams :: create ( ) const { Printer * printer = new Printer ( name . c_str ( ) ) ; printer -> prefix = prefix ; return printer ; }
This "create" method bridges the python configuration and the systemc
objects.
This " create " method bridges the python configuration and the systemc objects .