TLM Component Constructor
The generated TLM component has the following constructor function prototype:
model_name_usertag_tlm(sc_core::sc_module_name module_name, ... eTimingType DefaultTiming = TIMED, eModeType InputDefaultMode = AUTO, eModeType OutputDefaultMode = AUTO);
Where:
module_name
is a sc_core::sc_module_name type. It is a character vector that contains the instance name.DefaultTiming
is an eTimingType {TIMED, UNTIMED}. It determines whether the TLM component is timed or untimed at the beginning of the SystemC™ simulation. By default, the component initializesDefaultTiming
to TIMED, but you can change it to UNTIMED. Also during the simulation, you can change the TLM component timing by calling the function SetTimingParam (eTimingType Type).InputDefaultMode
is an eModeType { MANUAL,AUTO}. It determines whether the TLM component input mode is manual or auto at the beginning of the SystemC simulation (and also after SystemC resets the component). By default, the TLM component initializesInputDefaultMode
to AUTO, but you can change it to MANUAL.OutputDefaultMode
is an eModeType { MANUAL,AUTO}. It determines whether the TLM component output mode is manual or auto at the beginning of the SystemC simulation (and also after SystemC resets the component). By default, the TLM component initializesOutputDefaultMode
to AUTO, but you can change it to MANUAL.