ClockUpdateSimTraceEnable (Clock_Ip_NameType clockName, boolean gate) { struct Clock_Ip_GateConfigType config; : config.name = clockName_3(D); if (gate_5(D) != 0) goto ; [INV] else goto ; [INV] : config.enable = 0; goto ; [INV] : config.enable = 1; : ClockSetSimTraceEnable (&config); config ={v} {CLOBBER}; return; } ClockSetSimTraceEnable (const struct Clock_Ip_GateConfigType * config) { : ClockSetSimTraceEnable_TrustedCall (config_2(D)); return; } ClockSetSimTraceEnable_TrustedCall (const struct Clock_Ip_GateConfigType * config) { uint32 regValue; struct SIM_Type * _1; short unsigned int _2; struct SIM_Type * _3; : _1 = 1074036736B; regValue_6 ={v} _1->CLKDIV4; _2 = config_7(D)->enable; if (_2 == 1) goto ; [INV] else goto ; [INV] : regValue_9 = regValue_6 | 268435456; goto ; [INV] : regValue_8 = regValue_6 & 4026531839; : # regValue_4 = PHI _3 = 1074036736B; _3->CLKDIV4 ={v} regValue_4; return; } ClockUpdateSimGate (Clock_Ip_NameType clockName, boolean gate) { struct Clock_Ip_GateConfigType config; : config.name = clockName_3(D); if (gate_5(D) != 0) goto ; [INV] else goto ; [INV] : config.enable = 0; goto ; [INV] : config.enable = 1; : ClockSetSimGate (&config); config ={v} {CLOBBER}; return; } ClockSetSimGate (const struct Clock_Ip_GateConfigType * config) { : ClockSetSimGate_TrustedCall (config_2(D)); return; } ClockSetSimGate_TrustedCall (const struct Clock_Ip_GateConfigType * config) { uint32 regValue; uint32 gateIndex; uint32 enable; short unsigned int _1; _2; unsigned char _3; struct SIM_Type * _4; long unsigned int _5; long unsigned int _6; long unsigned int _7; struct SIM_Type * _8; : _1 = config_10(D)->enable; enable_11 = (uint32) _1; _2 = config_10(D)->name; _3 = clockFeatures[_2][6]; gateIndex_12 = (uint32) _3; _4 = 1074036736B; regValue_13 ={v} _4->PLATCGC; _5 = 1 << gateIndex_12; _6 = ~_5; regValue_14 = regValue_13 & _6; _7 = enable_11 << gateIndex_12; regValue_15 = regValue_14 | _7; _8 = 1074036736B; _8->PLATCGC ={v} regValue_15; return; } ClockUpdatePccCgcEnable (Clock_Ip_NameType clockName, boolean gate) { struct Clock_Ip_GateConfigType config; : config.name = clockName_3(D); if (gate_5(D) != 0) goto ; [INV] else goto ; [INV] : config.enable = 0; goto ; [INV] : config.enable = 1; : ClockSetPccCgcEnable (&config); config ={v} {CLOBBER}; return; } ClockSetPccCgcEnable (const struct Clock_Ip_GateConfigType * config) { : ClockSetPccCgcEnable_TrustedCall (config_2(D)); return; } ClockSetPccCgcEnable_TrustedCall (const struct Clock_Ip_GateConfigType * config) { uint32 regValue; struct PCC_Type * _1; _2; unsigned char _3; int _4; short unsigned int _5; long unsigned int _6; long unsigned int _7; struct PCC_Type * _8; _9; unsigned char _10; int _11; : _1 = 1074155520B; _2 = config_13(D)->name; _3 = clockFeatures[_2][6]; _4 = (int) _3; regValue_14 ={v} _1->PCCn[_4]; regValue_15 = regValue_14 & 3221225471; _5 = config_13(D)->enable; _6 = (long unsigned int) _5; _7 = _6 << 30; regValue_16 = regValue_15 | _7; _8 = 1074155520B; _9 = config_13(D)->name; _10 = clockFeatures[_9][6]; _11 = (int) _10; _8->PCCn[_11] ={v} regValue_16; return; } ClockUpdateSimClkoutEnable (Clock_Ip_NameType clockName, boolean gate) { struct Clock_Ip_GateConfigType config; : config.name = clockName_3(D); if (gate_5(D) != 0) goto ; [INV] else goto ; [INV] : config.enable = 0; goto ; [INV] : config.enable = 1; : ClockSetSimClkoutEnable (&config); config ={v} {CLOBBER}; return; } ClockSetSimClkoutEnable (const struct Clock_Ip_GateConfigType * config) { : ClockSetSimClkoutEnable_TrustedCall (config_2(D)); return; } ClockSetSimClkoutEnable_TrustedCall (const struct Clock_Ip_GateConfigType * config) { uint32 regValue; struct SIM_Type * _1; short unsigned int _2; long unsigned int _3; long unsigned int _4; struct SIM_Type * _5; : _1 = 1074036736B; regValue_7 ={v} _1->CHIPCTL; regValue_8 = regValue_7 & 4294965247; _2 = config_9(D)->enable; _3 = (long unsigned int) _2; _4 = _3 << 11; regValue_10 = regValue_8 | _4; _5 = 1074036736B; _5->CHIPCTL ={v} regValue_10; return; } ClockUpdateSimLPO32KEnable (Clock_Ip_NameType clockName, boolean gate) { struct Clock_Ip_GateConfigType config; : config.name = clockName_3(D); if (gate_5(D) != 0) goto ; [INV] else goto ; [INV] : config.enable = 0; goto ; [INV] : config.enable = 1; : ClockSetSimLPO32KEnable (&config); config ={v} {CLOBBER}; return; } ClockSetSimLPO32KEnable (const struct Clock_Ip_GateConfigType * config) { : ClockSetSimLPO32KEnable_TrustedCall (config_2(D)); return; } ClockSetSimLPO32KEnable_TrustedCall (const struct Clock_Ip_GateConfigType * config) { uint32 regValue; struct SIM_Type * _1; short unsigned int _2; long unsigned int _3; long unsigned int _4; struct SIM_Type * _5; : _1 = 1074036736B; regValue_7 ={v} _1->LPOCLKS; regValue_8 = regValue_7 & 4294967293; _2 = config_9(D)->enable; _3 = (long unsigned int) _2; _4 = _3 << 1; regValue_10 = regValue_8 | _4; _5 = 1074036736B; _5->LPOCLKS ={v} regValue_10; return; } ClockUpdateSimLPO1KEnable (Clock_Ip_NameType clockName, boolean gate) { struct Clock_Ip_GateConfigType config; : config.name = clockName_3(D); if (gate_5(D) != 0) goto ; [INV] else goto ; [INV] : config.enable = 0; goto ; [INV] : config.enable = 1; : ClockSetSimLPO1KEnable (&config); config ={v} {CLOBBER}; return; } ClockSetSimLPO1KEnable (const struct Clock_Ip_GateConfigType * config) { : ClockSetSimLPO1KEnable_TrustedCall (config_2(D)); return; } ClockSetSimLPO1KEnable_TrustedCall (const struct Clock_Ip_GateConfigType * config) { uint32 regValue; struct SIM_Type * _1; short unsigned int _2; long unsigned int _3; struct SIM_Type * _4; : _1 = 1074036736B; regValue_6 ={v} _1->LPOCLKS; regValue_7 = regValue_6 & 4294967294; _2 = config_8(D)->enable; _3 = (long unsigned int) _2; regValue_9 = regValue_7 | _3; _4 = 1074036736B; _4->LPOCLKS ={v} regValue_9; return; } ClockUpdateGateEmpty (Clock_Ip_NameType clockName, boolean gate) { : return; } ClockSetGateEmpty (const struct Clock_Ip_GateConfigType * config) { : return; }