Analyzing function: Emergency_Stop_Mode_Func.part.0/80 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 4 2 3 ;; 4 succs { 2 } ;; 2 succs { 3 } ;; 3 succs { 1 } Analyzing function body size: Emergency_Stop_Mode_Func.part.0 IPA function summary for Emergency_Stop_Mode_Func.part.0/80 inlinable global time: 6.000000 self size: 7 global size: 0 min size: 0 self stack: 0 global stack: 0 size:4.000000, time:4.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Analyzing function: Operation_Mode_Func/8 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 8 9 10 ;; 2 succs { 3 4 } ;; 3 succs { 10 } ;; 4 succs { 5 6 } ;; 5 succs { 10 } ;; 6 succs { 7 8 } ;; 7 succs { 10 } ;; 8 succs { 9 10 } ;; 9 succs { 10 } ;; 10 succs { 1 } Analyzing function body size: Operation_Mode_Func IPA function summary for Operation_Mode_Func/8 inlinable global time: 44.861627 self size: 19 global size: 0 min size: 0 self stack: 0 global stack: 0 size:9.000000, time:6.261246 size:3.000000, time:2.000000, executed if:(not inlined) calls: Default_Mode_Func/1 function not considered for inlining loop depth: 0 freq:0.09 size: 1 time: 10 Emergency_Stop_Mode_Func/5 function not considered for inlining loop depth: 0 freq:0.11 size: 1 time: 10 Mannual_Mode_Func/4 function not considered for inlining loop depth: 0 freq:0.14 size: 1 time: 10 Autonomous_Mode_Func/2 function not considered for inlining loop depth: 0 freq:0.33 size: 1 time: 10 Operation_Mode_Check/0 function not considered for inlining loop depth: 0 freq:1.00 size: 1 time: 10 Vehicle_Environment/7 function not considered for inlining loop depth: 0 freq:1.00 size: 1 time: 10 Operation_IDB_RWA/6 function not considered for inlining loop depth: 0 freq:1.00 size: 1 time: 10 Analyzing function: Vehicle_Environment/7 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 ;; 2 succs { 1 } Analyzing function body size: Vehicle_Environment IPA function summary for Vehicle_Environment/7 inlinable global time: 10.000000 self size: 11 global size: 0 min size: 0 self stack: 0 global stack: 0 size:8.000000, time:8.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Analyzing function: Operation_IDB_RWA/6 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 ;; 2 succs { 1 } Analyzing function body size: Operation_IDB_RWA fp_expression set IPA function summary for Operation_IDB_RWA/6 inlinable fp_expression global time: 25.000000 self size: 26 global size: 0 min size: 0 self stack: 0 global stack: 0 size:23.000000, time:23.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Analyzing function: Emergency_Stop_Mode_Func/5 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 ;; 2 succs { 3 7 } ;; 3 succs { 4 7 } ;; 4 succs { 5 7 } ;; 5 succs { 6 7 } ;; 6 succs { 7 } ;; 7 succs { 1 } Analyzing function body size: Emergency_Stop_Mode_Func IPA function summary for Emergency_Stop_Mode_Func/5 inlinable global time: 22.250000 self size: 21 global size: 0 min size: 0 self stack: 0 global stack: 0 size:16.000000, time:9.625000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Emergency_Stop_Mode_Func.part.0/80 function not considered for inlining loop depth: 0 freq:0.06 size: 1 time: 10callee size: 3 stack: 0 HV_OFF_FUNC/21 function body not available loop depth: 0 freq:1.00 size: 1 time: 10 Analyzing function: Mannual_Mode_Func/4 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 8 9 10 11 ;; 2 succs { 3 4 } ;; 3 succs { 4 } ;; 4 succs { 5 6 } ;; 5 succs { 6 } ;; 6 succs { 7 8 } ;; 7 succs { 9 } ;; 8 succs { 9 } ;; 9 succs { 10 11 } ;; 10 succs { 11 } ;; 11 succs { 1 } Analyzing function body size: Mannual_Mode_Func fp_expression set IPA function summary for Mannual_Mode_Func/4 inlinable fp_expression global time: 72.160000 self size: 50 global size: 0 min size: 0 self stack: 0 global stack: 0 size:44.000000, time:40.160000 size:3.000000, time:2.000000, executed if:(not inlined) calls: RC_Motor_Logic/43 function body not available loop depth: 0 freq:1.00 size: 1 time: 10 RateLimiter_step/37 function body not available loop depth: 0 freq:1.00 size: 1 time: 10 HV_ON_FUNC/27 function body not available loop depth: 0 freq:1.00 size: 1 time: 10 Analyzing function: Autonomous_Mode_Func/2 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 ;; 2 succs { 4 3 } ;; 3 succs { 4 5 } ;; 4 succs { 5 } ;; 5 succs { 1 } Analyzing function body size: Autonomous_Mode_Func fp_expression set IPA function summary for Autonomous_Mode_Func/2 inlinable fp_expression global time: 30.331040 self size: 19 global size: 0 min size: 0 self stack: 0 global stack: 0 size:14.000000, time:13.595200 size:3.000000, time:2.000000, executed if:(not inlined) calls: ACU_Motor_Logic/31 function body not available loop depth: 0 freq:0.47 size: 1 time: 10 HV_ON_FUNC/27 function body not available loop depth: 0 freq:1.00 size: 1 time: 10 Analyzing function: Default_Mode_Func/1 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 ;; 2 succs { 3 5 } ;; 3 succs { 4 5 } ;; 4 succs { 5 } ;; 5 succs { 1 } Analyzing function body size: Default_Mode_Func IPA function summary for Default_Mode_Func/1 inlinable global time: 22.500000 self size: 19 global size: 0 min size: 0 self stack: 0 global stack: 0 size:15.000000, time:10.500000 size:3.000000, time:2.000000, executed if:(not inlined) calls: HV_OFF_FUNC/21 function body not available loop depth: 0 freq:1.00 size: 1 time: 10 Analyzing function: Operation_Mode_Check/0 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ;; 2 succs { 5 3 } ;; 3 succs { 5 4 } ;; 4 succs { 5 6 } ;; 5 succs { 18 } ;; 6 succs { 7 9 } ;; 7 succs { 8 9 } ;; 8 succs { 18 } ;; 9 succs { 10 12 } ;; 10 succs { 11 12 } ;; 11 succs { 18 } ;; 12 succs { 13 15 } ;; 13 succs { 14 15 } ;; 14 succs { 18 } ;; 15 succs { 16 18 } ;; 16 succs { 17 18 } ;; 17 succs { 18 } ;; 18 succs { 19 20 } ;; 19 succs { 20 } ;; 20 succs { 1 } Analyzing function body size: Operation_Mode_Check IPA function summary for Operation_Mode_Check/0 inlinable global time: 19.112006 self size: 46 global size: 0 min size: 0 self stack: 0 global stack: 0 size:43.000000, time:17.112006 size:3.000000, time:2.000000, executed if:(not inlined) calls: Symbol table: Emergency_Stop_Mode_Func.part.0/80 (Emergency_Stop_Mode_Func.part.0) @06b90a80 Type: function definition analyzed Visibility: prevailing_def_ironly artificial References: GV_Out_Lamp_BRAKE_CMD/22 (write)GV_Out_Lamp_Hazard_CMD/23 (write)GV_VCU_RC_Emergency_Stop/26 (write)GV_VCU_Drive_Mode/12 (write) Referring: Availability: local Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size Called by: Emergency_Stop_Mode_Func/5 (67108864 (estimated locally),0.06 per call) Calls: GV_Env_384_TimestampYear/79 (GV_Env_384_TimestampYear) @06b58000 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Vehicle_Environment/7 (write) Availability: not_available Varpool flags: GV_Env_384_TimestampSecond/78 (GV_Env_384_TimestampSecond) @06b54f78 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Vehicle_Environment/7 (write) Availability: not_available Varpool flags: GV_Env_384_TimestampMonth/77 (GV_Env_384_TimestampMonth) @06b54f30 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Vehicle_Environment/7 (write) Availability: not_available Varpool flags: GV_Env_384_TimestampMinute/76 (GV_Env_384_TimestampMinute) @06b54ee8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Vehicle_Environment/7 (write) Availability: not_available Varpool flags: GV_Env_384_TimestampHour/75 (GV_Env_384_TimestampHour) @06b54ea0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Vehicle_Environment/7 (write) Availability: not_available Varpool flags: GV_Env_384_TimestampDay/74 (GV_Env_384_TimestampDay) @06b54e58 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Vehicle_Environment/7 (write) Availability: not_available Varpool flags: GV_Env_384_EnvironmentTemperatureValid/73 (GV_Env_384_EnvironmentTemperatureValid) @06b54e10 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Vehicle_Environment/7 (write) Availability: not_available Varpool flags: GV_Env_384_EnvironmentTemperature/72 (GV_Env_384_EnvironmentTemperature) @06b54dc8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Vehicle_Environment/7 (write) Availability: not_available Varpool flags: GV_RWS2_310_ModeCommand/71 (GV_RWS2_310_ModeCommand) @06b54ca8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWS2_310_WakeupCommand/70 (GV_RWS2_310_WakeupCommand) @06b54c60 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWS2_040_RackAngleCmdValid/69 (GV_RWS2_040_RackAngleCmdValid) @06b54c18 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWS1_310_ModeCommand/68 (GV_RWS1_310_ModeCommand) @06b54bd0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWS1_310_WakeupCommand/67 (GV_RWS1_310_WakeupCommand) @06b54b88 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWS1_040_RackAngleCmdValid/66 (GV_RWS1_040_RackAngleCmdValid) @06b54b40 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWA2_310_WakeupCommand/65 (GV_RWA2_310_WakeupCommand) @06b54af8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWA2_310_ModeCommand/64 (GV_RWA2_310_ModeCommand) @06b54ab0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWA_310_WakeupCommand/63 (GV_RWA_310_WakeupCommand) @06b54a68 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWA_310_ModeCommand/62 (GV_RWA_310_ModeCommand) @06b54a20 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWA2_040_RackAngleCmdValid/61 (GV_RWA2_040_RackAngleCmdValid) @06b549d8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RWA_040_RackAngleCmdValid/60 (GV_RWA_040_RackAngleCmdValid) @06b54990 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RCU_033_WakeUpCommand/59 (GV_RCU_033_WakeUpCommand) @06b54948 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_IDB_032_WakeUpCommand/58 (GV_IDB_032_WakeUpCommand) @06b54900 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RCU_GearPosition/57 (GV_RCU_GearPosition) @06b548b8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RCU_PowertrainMode/56 (GV_RCU_PowertrainMode) @06b54870 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_GearPosition/55 (GV_GearPosition) @06b54828 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_PowertrainMode/54 (GV_PowertrainMode) @06b547e0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_DriveTorqueCommandValid/53 (GV_DriveTorqueCommandValid) @06b54798 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_DriveTorqueCommand/52 (GV_DriveTorqueCommand) @06b54750 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_IDB_RWA/6 (write) Availability: not_available Varpool flags: GV_RC_ALV_FLAG/51 (GV_RC_ALV_FLAG) @06b54558 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Emergency_Stop_Mode_Func/5 (read) Availability: not_available Varpool flags: GV_VCU_Vx_Limit/50 (GV_VCU_Vx_Limit) @06b54120 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: GV_RC_VX_Limit/49 (GV_RC_VX_Limit) @06b540d8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (read) Availability: not_available Varpool flags: GV_RC_GearSelStat/48 (GV_RC_GearSelStat) @06b54090 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (read) Availability: not_available Varpool flags: GV_RC_BrakeTorqueCommand/47 (GV_RC_BrakeTorqueCommand) @06b54048 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (read) Availability: not_available Varpool flags: GV_SpeedGoat_BrakeTorqueCommand_master/46 (GV_SpeedGoat_BrakeTorqueCommand_master) @06b54000 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (read) Availability: not_available Varpool flags: GV_VCU_RWA_Rack_Fbk/45 (GV_VCU_RWA_Rack_Fbk) @06b52f78 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: GV_RWA1_RackAngleFbk/44 (GV_RWA1_RackAngleFbk) @06b52f30 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (read) Availability: not_available Varpool flags: RC_Motor_Logic/43 (RC_Motor_Logic) @06a35d20 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Mannual_Mode_Func/4 (1073741824 (estimated locally),1.00 per call) Calls: GV_RWS2_040_RackAngleCmd/42 (GV_RWS2_040_RackAngleCmd) @06b52ea0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: GV_RWS1_040_RackAngleCmd/41 (GV_RWS1_040_RackAngleCmd) @06b52e58 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: GV_RWA2_040_RackAngleCmd/40 (GV_RWA2_040_RackAngleCmd) @06b52e10 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: GV_RWA_040_RackAngleCmd/39 (GV_RWA_040_RackAngleCmd) @06b52dc8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: RateLimiter_Y/38 (RateLimiter_Y) @06b52d80 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (read) Availability: not_available Varpool flags: RateLimiter_step/37 (RateLimiter_step) @06a35c40 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Mannual_Mode_Func/4 (1073741824 (estimated locally),1.00 per call) Calls: GV_VCU_Vx_Fbk/36 (GV_VCU_Vx_Fbk) @06b52cf0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (read) Availability: not_available Varpool flags: RateLimiter_U/35 (RateLimiter_U) @06b52ca8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (write)Mannual_Mode_Func/4 (write)Mannual_Mode_Func/4 (write)Mannual_Mode_Func/4 (write)Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: GV_RC_RWA_RackAngleCommand/34 (GV_RC_RWA_RackAngleCommand) @06b52c60 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (read) Availability: not_available Varpool flags: GV_ACU_BrakeTorqueCommand/33 (GV_ACU_BrakeTorqueCommand) @06b523a8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Autonomous_Mode_Func/2 (read) Availability: not_available Varpool flags: GV_ACU_VCU_GearPos/32 (GV_ACU_VCU_GearPos) @06b52360 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Autonomous_Mode_Func/2 (read) Availability: not_available Varpool flags: ACU_Motor_Logic/31 (ACU_Motor_Logic) @06a359a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Autonomous_Mode_Func/2 (508506948 (estimated locally),0.47 per call) Calls: GV_VCU_GearSelStat/30 (GV_VCU_GearSelStat) @06b522d0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Mannual_Mode_Func/4 (write)Autonomous_Mode_Func/2 (read)Autonomous_Mode_Func/2 (write)Operation_IDB_RWA/6 (read) Availability: not_available Varpool flags: GV_ACU_RWS_cmd_deg/29 (GV_ACU_RWS_cmd_deg) @06b52288 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Autonomous_Mode_Func/2 (read) Availability: not_available Varpool flags: GV_ACU_RWA_cmd_deg/28 (GV_ACU_RWA_cmd_deg) @06b52240 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Autonomous_Mode_Func/2 (read) Availability: not_available Varpool flags: HV_ON_FUNC/27 (HV_ON_FUNC) @06a357e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Mannual_Mode_Func/4 (1073741824 (estimated locally),1.00 per call) Autonomous_Mode_Func/2 (1073741824 (estimated locally),1.00 per call) Calls: GV_VCU_RC_Emergency_Stop/26 (GV_VCU_RC_Emergency_Stop) @06b4dd80 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Autonomous_Mode_Func/2 (write)Mannual_Mode_Func/4 (write)Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func.part.0/80 (write)Emergency_Stop_Mode_Func/5 (write) Availability: not_available Varpool flags: GV_RC_Lamp_BRAKE_CMD/25 (GV_RC_Lamp_BRAKE_CMD) @06b4dd38 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (write) Availability: not_available Varpool flags: GV_RC_Lamp_Hazard_CMD/24 (GV_RC_Lamp_Hazard_CMD) @06b4dcf0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (write) Availability: not_available Varpool flags: GV_Out_Lamp_Hazard_CMD/23 (GV_Out_Lamp_Hazard_CMD) @06b4dca8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func.part.0/80 (write)Emergency_Stop_Mode_Func/5 (write) Availability: not_available Varpool flags: GV_Out_Lamp_BRAKE_CMD/22 (GV_Out_Lamp_BRAKE_CMD) @06b4dc60 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func.part.0/80 (write)Emergency_Stop_Mode_Func/5 (write) Availability: not_available Varpool flags: HV_OFF_FUNC/21 (HV_OFF_FUNC) @06a35540 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Emergency_Stop_Mode_Func/5 (1073741824 (estimated locally),1.00 per call) Default_Mode_Func/1 (1073741824 (estimated locally),1.00 per call) Calls: GV_MASTER_RWS_RackAngleCommand/20 (GV_MASTER_RWS_RackAngleCommand) @06b4dbd0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (write)Autonomous_Mode_Func/2 (write) Availability: not_available Varpool flags: GV_MASTER_RWA_RackAngleCommand/19 (GV_MASTER_RWA_RackAngleCommand) @06b4db88 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (write)Autonomous_Mode_Func/2 (write)Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: GV_VCU_TrqCmd/18 (GV_VCU_TrqCmd) @06b4db40 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func/5 (write)Operation_IDB_RWA/6 (read) Availability: not_available Varpool flags: GV_MASTER_CLMAP_FORCE/17 (GV_MASTER_CLMAP_FORCE) @06b4daf8 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (write)Autonomous_Mode_Func/2 (write)Mannual_Mode_Func/4 (write)Mannual_Mode_Func/4 (write) Availability: not_available Varpool flags: GV_Charging_Status_val/16 (GV_Charging_Status_val) @06b4d828 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_Mode_Check/0 (read) Availability: not_available Varpool flags: GV_Operation_Mode/15 (GV_Operation_Mode) @06b4d7e0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (write)Operation_Mode_Func/8 (read) Availability: not_available Varpool flags: GV_RC_Drive_Mode/14 (GV_RC_Drive_Mode) @06b4d798 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_Mode_Check/0 (read) Availability: not_available Varpool flags: GV_ACU_Drive_mode/13 (GV_ACU_Drive_mode) @06b4d750 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_Mode_Check/0 (read) Availability: not_available Varpool flags: GV_VCU_Drive_Mode/12 (GV_VCU_Drive_Mode) @06b4d708 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Operation_Mode_Check/0 (read)Operation_Mode_Check/0 (write)Emergency_Stop_Mode_Func.part.0/80 (write) Availability: not_available Varpool flags: GV_ACU_Emergency_Stop/11 (GV_ACU_Emergency_Stop) @06b4d6c0 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_Mode_Check/0 (read)Emergency_Stop_Mode_Func/5 (read) Availability: not_available Varpool flags: EMEMERGNECY_BUTTEN/10 (EMEMERGNECY_BUTTEN) @06b4d678 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Operation_Mode_Check/0 (read)Default_Mode_Func/1 (read)Emergency_Stop_Mode_Func/5 (read) Availability: not_available Varpool flags: GV_RC_Emergency_Stop/9 (GV_RC_Emergency_Stop) @06b4d630 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Default_Mode_Func/1 (read)Mannual_Mode_Func/4 (read)Operation_Mode_Check/0 (read)Emergency_Stop_Mode_Func/5 (read) Availability: not_available Varpool flags: Operation_Mode_Func/8 (Operation_Mode_Func) @06a2dee0 Type: function definition analyzed Visibility: externally_visible public References: GV_Operation_Mode/15 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Default_Mode_Func/1 (92630812 (estimated locally),0.09 per call) Emergency_Stop_Mode_Func/5 (116136926 (estimated locally),0.11 per call) Mannual_Mode_Func/4 (145607981 (estimated locally),0.14 per call) Autonomous_Mode_Func/2 (354334802 (estimated locally),0.33 per call) Operation_Mode_Check/0 (1073741824 (estimated locally),1.00 per call) Vehicle_Environment/7 (1073741824 (estimated locally),1.00 per call) Operation_IDB_RWA/6 (1073741824 (estimated locally),1.00 per call) Vehicle_Environment/7 (Vehicle_Environment) @06a2d9a0 Type: function definition analyzed Visibility: externally_visible public References: GV_Env_384_EnvironmentTemperature/72 (write)GV_Env_384_EnvironmentTemperatureValid/73 (write)GV_Env_384_TimestampDay/74 (write)GV_Env_384_TimestampHour/75 (write)GV_Env_384_TimestampMinute/76 (write)GV_Env_384_TimestampMonth/77 (write)GV_Env_384_TimestampSecond/78 (write)GV_Env_384_TimestampYear/79 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Operation_Mode_Func/8 (1073741824 (estimated locally),1.00 per call) Calls: Operation_IDB_RWA/6 (Operation_IDB_RWA) @06a2d380 Type: function definition analyzed Visibility: externally_visible public References: GV_VCU_TrqCmd/18 (read)GV_DriveTorqueCommand/52 (write)GV_DriveTorqueCommandValid/53 (write)GV_PowertrainMode/54 (write)GV_VCU_GearSelStat/30 (read)GV_GearPosition/55 (write)GV_RCU_PowertrainMode/56 (write)GV_RCU_GearPosition/57 (write)GV_IDB_032_WakeUpCommand/58 (write)GV_RCU_033_WakeUpCommand/59 (write)GV_RWA_040_RackAngleCmdValid/60 (write)GV_RWA2_040_RackAngleCmdValid/61 (write)GV_RWA_310_ModeCommand/62 (write)GV_RWA_310_WakeupCommand/63 (write)GV_RWA2_310_ModeCommand/64 (write)GV_RWA2_310_WakeupCommand/65 (write)GV_RWS1_040_RackAngleCmdValid/66 (write)GV_RWS1_310_WakeupCommand/67 (write)GV_RWS1_310_ModeCommand/68 (write)GV_RWS2_040_RackAngleCmdValid/69 (write)GV_RWS2_310_WakeupCommand/70 (write)GV_RWS2_310_ModeCommand/71 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Operation_Mode_Func/8 (1073741824 (estimated locally),1.00 per call) Calls: Emergency_Stop_Mode_Func/5 (Emergency_Stop_Mode_Func) @06a2de00 Type: function definition analyzed Visibility: externally_visible public References: GV_Out_Lamp_BRAKE_CMD/22 (write)GV_Out_Lamp_Hazard_CMD/23 (write)GV_VCU_RC_Emergency_Stop/26 (write)GV_VCU_TrqCmd/18 (write)EMEMERGNECY_BUTTEN/10 (read)GV_RC_Emergency_Stop/9 (read)GV_ACU_Emergency_Stop/11 (read)GV_RC_ALV_FLAG/51 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Operation_Mode_Func/8 (116136926 (estimated locally),0.11 per call) Calls: Emergency_Stop_Mode_Func.part.0/80 (67108864 (estimated locally),0.06 per call) HV_OFF_FUNC/21 (1073741824 (estimated locally),1.00 per call) Mannual_Mode_Func/4 (Mannual_Mode_Func) @06a2db60 Type: function definition analyzed Visibility: externally_visible public References: GV_RC_RWA_RackAngleCommand/34 (read)RateLimiter_U/35 (write)Tunning_Slewrate/3 (read)GV_VCU_Vx_Fbk/36 (read)RateLimiter_U/35 (write)RateLimiter_U/35 (write)RateLimiter_U/35 (write)RateLimiter_U/35 (write)RateLimiter_Y/38 (read)GV_MASTER_RWA_RackAngleCommand/19 (write)GV_RWA_040_RackAngleCmd/39 (write)GV_RWA2_040_RackAngleCmd/40 (write)GV_RWS1_040_RackAngleCmd/41 (write)GV_RWS2_040_RackAngleCmd/42 (write)GV_RWA1_RackAngleFbk/44 (read)GV_VCU_RWA_Rack_Fbk/45 (write)GV_SpeedGoat_BrakeTorqueCommand_master/46 (read)GV_MASTER_CLMAP_FORCE/17 (write)GV_RC_BrakeTorqueCommand/47 (read)GV_MASTER_CLMAP_FORCE/17 (write)GV_RC_GearSelStat/48 (read)GV_VCU_GearSelStat/30 (write)GV_RC_Emergency_Stop/9 (read)GV_VCU_RC_Emergency_Stop/26 (write)GV_RC_VX_Limit/49 (read)GV_VCU_Vx_Limit/50 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Operation_Mode_Func/8 (145607981 (estimated locally),0.14 per call) Calls: RC_Motor_Logic/43 (1073741824 (estimated locally),1.00 per call) RateLimiter_step/37 (1073741824 (estimated locally),1.00 per call) HV_ON_FUNC/27 (1073741824 (estimated locally),1.00 per call) Tunning_Slewrate/3 (Tunning_Slewrate) @06a288b8 Type: variable definition analyzed Visibility: externally_visible public References: Referring: Mannual_Mode_Func/4 (read) Availability: available Varpool flags: initialized Autonomous_Mode_Func/2 (Autonomous_Mode_Func) @06a2d7e0 Type: function definition analyzed Visibility: externally_visible public References: GV_ACU_RWA_cmd_deg/28 (read)GV_MASTER_RWA_RackAngleCommand/19 (write)GV_ACU_RWS_cmd_deg/29 (read)GV_MASTER_RWS_RackAngleCommand/20 (write)GV_VCU_GearSelStat/30 (read)GV_VCU_RC_Emergency_Stop/26 (write)GV_ACU_VCU_GearPos/32 (read)GV_VCU_GearSelStat/30 (write)GV_ACU_BrakeTorqueCommand/33 (read)GV_MASTER_CLMAP_FORCE/17 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Operation_Mode_Func/8 (354334802 (estimated locally),0.33 per call) Calls: ACU_Motor_Logic/31 (508506948 (estimated locally),0.47 per call) HV_ON_FUNC/27 (1073741824 (estimated locally),1.00 per call) Default_Mode_Func/1 (Default_Mode_Func) @06a2d540 Type: function definition analyzed Visibility: externally_visible public References: GV_MASTER_CLMAP_FORCE/17 (write)GV_VCU_TrqCmd/18 (write)GV_MASTER_RWA_RackAngleCommand/19 (write)GV_MASTER_RWS_RackAngleCommand/20 (write)EMEMERGNECY_BUTTEN/10 (read)GV_RC_Emergency_Stop/9 (read)GV_Out_Lamp_BRAKE_CMD/22 (write)GV_Out_Lamp_Hazard_CMD/23 (write)GV_RC_Lamp_Hazard_CMD/24 (write)GV_RC_Lamp_BRAKE_CMD/25 (write)GV_VCU_RC_Emergency_Stop/26 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Operation_Mode_Func/8 (92630812 (estimated locally),0.09 per call) Calls: HV_OFF_FUNC/21 (1073741824 (estimated locally),1.00 per call) Operation_Mode_Check/0 (Operation_Mode_Check) @06a2d2a0 Type: function definition analyzed Visibility: externally_visible public References: GV_RC_Emergency_Stop/9 (read)EMEMERGNECY_BUTTEN/10 (read)GV_ACU_Emergency_Stop/11 (read)GV_VCU_Drive_Mode/12 (write)GV_ACU_Drive_mode/13 (read)GV_VCU_Drive_Mode/12 (read)GV_VCU_Drive_Mode/12 (write)GV_RC_Drive_Mode/14 (read)GV_VCU_Drive_Mode/12 (read)GV_VCU_Drive_Mode/12 (write)GV_VCU_Drive_Mode/12 (read)GV_VCU_Drive_Mode/12 (write)GV_VCU_Drive_Mode/12 (read)GV_VCU_Drive_Mode/12 (write)GV_VCU_Drive_Mode/12 (read)GV_Operation_Mode/15 (write)GV_Charging_Status_val/16 (read)GV_Operation_Mode/15 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Operation_Mode_Func/8 (1073741824 (estimated locally),1.00 per call) Calls: Emergency_Stop_Mode_Func.part.0 () { [local count: 1073741824]: [local count: 1073741824]: # DEBUG BEGIN_STMT GV_Out_Lamp_BRAKE_CMD = 0; # DEBUG BEGIN_STMT GV_Out_Lamp_Hazard_CMD = 0; # DEBUG BEGIN_STMT GV_VCU_RC_Emergency_Stop = 0; # DEBUG BEGIN_STMT GV_VCU_Drive_Mode = 3; [local count: 1073741824]: return; } Operation_Mode_Func () { unsigned char GV_Operation_Mode.42_1; [local count: 1073741824]: # DEBUG BEGIN_STMT Operation_IDB_RWA (); # DEBUG BEGIN_STMT Vehicle_Environment (); # DEBUG BEGIN_STMT Operation_Mode_Check (); # DEBUG BEGIN_STMT GV_Operation_Mode.42_1 = GV_Operation_Mode; if (GV_Operation_Mode.42_1 == 0) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT Autonomous_Mode_Func (); goto ; [100.00%] [local count: 719407023]: # DEBUG BEGIN_STMT if (GV_Operation_Mode.42_1 == 1) goto ; [20.24%] else goto ; [79.76%] [local count: 145607981]: # DEBUG BEGIN_STMT Mannual_Mode_Func (); goto ; [100.00%] [local count: 573799041]: # DEBUG BEGIN_STMT if (GV_Operation_Mode.42_1 == 2) goto ; [20.24%] else goto ; [79.76%] [local count: 116136926]: # DEBUG BEGIN_STMT Emergency_Stop_Mode_Func (); goto ; [100.00%] [local count: 457662114]: # DEBUG BEGIN_STMT if (GV_Operation_Mode.42_1 == 3) goto ; [20.24%] else goto ; [79.76%] [local count: 92630812]: # DEBUG BEGIN_STMT Default_Mode_Func (); [local count: 1073741824]: return; } Vehicle_Environment () { [local count: 1073741824]: # DEBUG BEGIN_STMT GV_Env_384_EnvironmentTemperature = 0; # DEBUG BEGIN_STMT GV_Env_384_EnvironmentTemperatureValid = 0; # DEBUG BEGIN_STMT GV_Env_384_TimestampDay = 21; # DEBUG BEGIN_STMT GV_Env_384_TimestampHour = 0; # DEBUG BEGIN_STMT GV_Env_384_TimestampMinute = 0; # DEBUG BEGIN_STMT GV_Env_384_TimestampMonth = 6; # DEBUG BEGIN_STMT GV_Env_384_TimestampSecond = 0; # DEBUG BEGIN_STMT GV_Env_384_TimestampYear = 24; # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT return; } Operation_IDB_RWA () { float GV_VCU_TrqCmd.39_1; long unsigned int _2; long unsigned int GV_VCU_GearSelStat.40_3; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_VCU_TrqCmd.39_1 = GV_VCU_TrqCmd; _2 = (long unsigned int) GV_VCU_TrqCmd.39_1; GV_DriveTorqueCommand = _2; # DEBUG BEGIN_STMT GV_DriveTorqueCommandValid = 1; # DEBUG BEGIN_STMT GV_PowertrainMode = 1; # DEBUG BEGIN_STMT GV_VCU_GearSelStat.40_3 = GV_VCU_GearSelStat; GV_GearPosition = GV_VCU_GearSelStat.40_3; # DEBUG BEGIN_STMT GV_RCU_PowertrainMode = 1; # DEBUG BEGIN_STMT GV_RCU_GearPosition = GV_VCU_GearSelStat.40_3; # DEBUG BEGIN_STMT GV_IDB_032_WakeUpCommand = 1; # DEBUG BEGIN_STMT GV_RCU_033_WakeUpCommand = 1; # DEBUG BEGIN_STMT GV_RWA_040_RackAngleCmdValid = 1; # DEBUG BEGIN_STMT GV_RWA2_040_RackAngleCmdValid = 1; # DEBUG BEGIN_STMT GV_RWA_310_ModeCommand = 1; # DEBUG BEGIN_STMT GV_RWA_310_WakeupCommand = 1; # DEBUG BEGIN_STMT GV_RWA2_310_ModeCommand = 0; # DEBUG BEGIN_STMT GV_RWA2_310_WakeupCommand = 0; # DEBUG BEGIN_STMT GV_RWS1_040_RackAngleCmdValid = 1; # DEBUG BEGIN_STMT GV_RWS1_310_WakeupCommand = 1; # DEBUG BEGIN_STMT GV_RWS1_310_ModeCommand = 1; # DEBUG BEGIN_STMT GV_RWS2_040_RackAngleCmdValid = 1; # DEBUG BEGIN_STMT GV_RWS2_310_WakeupCommand = 0; # DEBUG BEGIN_STMT GV_RWS2_310_ModeCommand = 0; return; } Emergency_Stop_Mode_Func () { short unsigned int EMEMERGNECY_BUTTEN.35_1; long unsigned int GV_RC_Emergency_Stop.36_2; long unsigned int GV_ACU_Emergency_Stop.37_3; long unsigned int GV_RC_ALV_FLAG.38_4; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_Out_Lamp_BRAKE_CMD = 2; # DEBUG BEGIN_STMT GV_Out_Lamp_Hazard_CMD = 2; # DEBUG BEGIN_STMT GV_VCU_RC_Emergency_Stop = 1; # DEBUG BEGIN_STMT HV_OFF_FUNC (); # DEBUG BEGIN_STMT GV_VCU_TrqCmd = 0.0; # DEBUG BEGIN_STMT EMEMERGNECY_BUTTEN.35_1 = EMEMERGNECY_BUTTEN; if (EMEMERGNECY_BUTTEN.35_1 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: GV_RC_Emergency_Stop.36_2 = GV_RC_Emergency_Stop; if (GV_RC_Emergency_Stop.36_2 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 268435456]: GV_ACU_Emergency_Stop.37_3 = GV_ACU_Emergency_Stop; if (GV_ACU_Emergency_Stop.37_3 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 134217728]: GV_RC_ALV_FLAG.38_4 = GV_RC_ALV_FLAG; if (GV_RC_ALV_FLAG.38_4 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 67108864]: Emergency_Stop_Mode_Func.part.0 (); [local count: 1073741824]: return; } Mannual_Mode_Func () { float GV_RC_RWA_RackAngleCommand.21_1; double _2; int Tunning_Slewrate.22_3; double _4; float GV_VCU_Vx_Fbk.23_5; double _6; double _7; double _8; double _9; double _10; float _11; float GV_RWA1_RackAngleFbk.28_12; float GV_SpeedGoat_BrakeTorqueCommand_master.29_13; float GV_RC_BrakeTorqueCommand.31_14; long unsigned int GV_RC_GearSelStat.32_15; long unsigned int GV_RC_Emergency_Stop.33_16; long unsigned int GV_RC_VX_Limit.34_17; [local count: 1073741824]: # DEBUG BEGIN_STMT HV_ON_FUNC (); # DEBUG BEGIN_STMT GV_RC_RWA_RackAngleCommand.21_1 = GV_RC_RWA_RackAngleCommand; _2 = (double) GV_RC_RWA_RackAngleCommand.21_1; RateLimiter_U.Data_Input = _2; # DEBUG BEGIN_STMT Tunning_Slewrate.22_3 = Tunning_Slewrate; _4 = (double) Tunning_Slewrate.22_3; GV_VCU_Vx_Fbk.23_5 = GV_VCU_Vx_Fbk; _6 = (double) GV_VCU_Vx_Fbk.23_5; _7 = _6 * 6.5e+0; _8 = _4 - _7; _9 = -_8; RateLimiter_U.Down_Slewrate = _9; # DEBUG BEGIN_STMT if (_9 > -1.4e+2) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT RateLimiter_U.Down_Slewrate = -1.4e+2; [local count: 1073741824]: # DEBUG BEGIN_STMT RateLimiter_U.Upper_Slewrate = _8; # DEBUG BEGIN_STMT if (_8 < 1.4e+2) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT RateLimiter_U.Upper_Slewrate = 1.4e+2; [local count: 1073741824]: # DEBUG BEGIN_STMT RateLimiter_step (); # DEBUG BEGIN_STMT _10 = RateLimiter_Y.Data_Output; _11 = (float) _10; GV_MASTER_RWA_RackAngleCommand = _11; # DEBUG BEGIN_STMT GV_RWA_040_RackAngleCmd = _11; # DEBUG BEGIN_STMT GV_RWA2_040_RackAngleCmd = _11; # DEBUG BEGIN_STMT GV_RWS1_040_RackAngleCmd = 0.0; # DEBUG BEGIN_STMT GV_RWS2_040_RackAngleCmd = 0.0; # DEBUG BEGIN_STMT RC_Motor_Logic (); # DEBUG BEGIN_STMT GV_RWA1_RackAngleFbk.28_12 = GV_RWA1_RackAngleFbk; GV_VCU_RWA_Rack_Fbk = GV_RWA1_RackAngleFbk.28_12; # DEBUG BEGIN_STMT GV_SpeedGoat_BrakeTorqueCommand_master.29_13 = GV_SpeedGoat_BrakeTorqueCommand_master; if (GV_SpeedGoat_BrakeTorqueCommand_master.29_13 != 0.0) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT GV_MASTER_CLMAP_FORCE = GV_SpeedGoat_BrakeTorqueCommand_master.29_13; goto ; [100.00%] [local count: 536870913]: # DEBUG BEGIN_STMT GV_RC_BrakeTorqueCommand.31_14 = GV_RC_BrakeTorqueCommand; GV_MASTER_CLMAP_FORCE = GV_RC_BrakeTorqueCommand.31_14; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_RC_GearSelStat.32_15 = GV_RC_GearSelStat; GV_VCU_GearSelStat = GV_RC_GearSelStat.32_15; # DEBUG BEGIN_STMT GV_RC_Emergency_Stop.33_16 = GV_RC_Emergency_Stop; if (GV_RC_Emergency_Stop.33_16 != 1) goto ; [66.00%] else goto ; [34.00%] [local count: 708669605]: # DEBUG BEGIN_STMT GV_VCU_RC_Emergency_Stop = 0; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_RC_VX_Limit.34_17 = GV_RC_VX_Limit; GV_VCU_Vx_Limit = GV_RC_VX_Limit.34_17; return; } Autonomous_Mode_Func () { float GV_ACU_RWA_cmd_deg.15_1; float GV_ACU_RWS_cmd_deg.16_2; long unsigned int GV_VCU_GearSelStat.17_3; long unsigned int GV_ACU_VCU_GearPos.19_4; float GV_ACU_BrakeTorqueCommand.20_5; [local count: 1073741824]: # DEBUG BEGIN_STMT HV_ON_FUNC (); # DEBUG BEGIN_STMT GV_ACU_RWA_cmd_deg.15_1 = GV_ACU_RWA_cmd_deg; GV_MASTER_RWA_RackAngleCommand = GV_ACU_RWA_cmd_deg.15_1; # DEBUG BEGIN_STMT GV_ACU_RWS_cmd_deg.16_2 = GV_ACU_RWS_cmd_deg; GV_MASTER_RWS_RackAngleCommand = GV_ACU_RWS_cmd_deg.16_2; # DEBUG BEGIN_STMT GV_VCU_GearSelStat.17_3 = GV_VCU_GearSelStat; if (GV_VCU_GearSelStat.17_3 == 1) goto ; [20.24%] else goto ; [79.76%] [local count: 856416480]: if (GV_VCU_GearSelStat.17_3 == 3) goto ; [34.00%] else goto ; [66.00%] [local count: 508506948]: # DEBUG BEGIN_STMT ACU_Motor_Logic (); [local count: 1073741824]: # DEBUG BEGIN_STMT GV_VCU_RC_Emergency_Stop = 0; # DEBUG BEGIN_STMT GV_ACU_VCU_GearPos.19_4 = GV_ACU_VCU_GearPos; GV_VCU_GearSelStat = GV_ACU_VCU_GearPos.19_4; # DEBUG BEGIN_STMT GV_ACU_BrakeTorqueCommand.20_5 = GV_ACU_BrakeTorqueCommand; GV_MASTER_CLMAP_FORCE = GV_ACU_BrakeTorqueCommand.20_5; return; } Default_Mode_Func () { short unsigned int EMEMERGNECY_BUTTEN.13_1; long unsigned int GV_RC_Emergency_Stop.14_2; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_MASTER_CLMAP_FORCE = 0.0; # DEBUG BEGIN_STMT GV_VCU_TrqCmd = 0.0; # DEBUG BEGIN_STMT GV_MASTER_RWA_RackAngleCommand = 0.0; # DEBUG BEGIN_STMT GV_MASTER_RWS_RackAngleCommand = 0.0; # DEBUG BEGIN_STMT HV_OFF_FUNC (); # DEBUG BEGIN_STMT EMEMERGNECY_BUTTEN.13_1 = EMEMERGNECY_BUTTEN; if (EMEMERGNECY_BUTTEN.13_1 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: GV_RC_Emergency_Stop.14_2 = GV_RC_Emergency_Stop; if (GV_RC_Emergency_Stop.14_2 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 268435456]: # DEBUG BEGIN_STMT GV_Out_Lamp_BRAKE_CMD = 0; # DEBUG BEGIN_STMT GV_Out_Lamp_Hazard_CMD = 0; # DEBUG BEGIN_STMT GV_RC_Lamp_Hazard_CMD = 0; # DEBUG BEGIN_STMT GV_RC_Lamp_BRAKE_CMD = 0; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_VCU_RC_Emergency_Stop = 0; return; } Operation_Mode_Check () { long unsigned int GV_RC_Emergency_Stop.0_1; short unsigned int EMEMERGNECY_BUTTEN.1_2; long unsigned int GV_ACU_Emergency_Stop.2_3; long unsigned int GV_ACU_Drive_mode.3_4; long unsigned int GV_VCU_Drive_Mode.4_5; long unsigned int GV_RC_Drive_Mode.5_6; long unsigned int GV_VCU_Drive_Mode.6_7; long unsigned int GV_VCU_Drive_Mode.8_8; long unsigned int GV_VCU_Drive_Mode.10_9; long unsigned int GV_VCU_Drive_Mode.11_10; unsigned char _11; unsigned char GV_Charging_Status_val.12_12; unsigned char _13; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_RC_Emergency_Stop.0_1 = GV_RC_Emergency_Stop; if (GV_RC_Emergency_Stop.0_1 == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 708669605]: EMEMERGNECY_BUTTEN.1_2 = EMEMERGNECY_BUTTEN; if (EMEMERGNECY_BUTTEN.1_2 == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 467721939]: GV_ACU_Emergency_Stop.2_3 = GV_ACU_Emergency_Stop; if (GV_ACU_Emergency_Stop.2_3 == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 765045346]: # DEBUG BEGIN_STMT GV_VCU_Drive_Mode = 2; goto ; [100.00%] [local count: 308696480]: # DEBUG BEGIN_STMT GV_ACU_Drive_mode.3_4 = GV_ACU_Drive_mode; if (GV_ACU_Drive_mode.3_4 == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 104956803]: GV_VCU_Drive_Mode.4_5 = GV_VCU_Drive_Mode; if (GV_VCU_Drive_Mode.4_5 == 3) goto ; [34.00%] else goto ; [66.00%] [local count: 35685313]: # DEBUG BEGIN_STMT GV_VCU_Drive_Mode = 0; goto ; [100.00%] [local count: 273011167]: # DEBUG BEGIN_STMT GV_RC_Drive_Mode.5_6 = GV_RC_Drive_Mode; if (GV_RC_Drive_Mode.5_6 == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 92823797]: GV_VCU_Drive_Mode.6_7 = GV_VCU_Drive_Mode; if (GV_VCU_Drive_Mode.6_7 == 3) goto ; [34.00%] else goto ; [66.00%] [local count: 31560091]: # DEBUG BEGIN_STMT GV_VCU_Drive_Mode = 1; goto ; [100.00%] [local count: 241451076]: # DEBUG BEGIN_STMT if (GV_ACU_Drive_mode.3_4 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 120725538]: GV_VCU_Drive_Mode.8_8 = GV_VCU_Drive_Mode; if (GV_VCU_Drive_Mode.8_8 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 60362769]: # DEBUG BEGIN_STMT GV_VCU_Drive_Mode = 3; goto ; [100.00%] [local count: 181088307]: # DEBUG BEGIN_STMT if (GV_RC_Drive_Mode.5_6 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 90544153]: GV_VCU_Drive_Mode.10_9 = GV_VCU_Drive_Mode; if (GV_VCU_Drive_Mode.10_9 == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 30785012]: # DEBUG BEGIN_STMT GV_VCU_Drive_Mode = 3; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_VCU_Drive_Mode.11_10 = GV_VCU_Drive_Mode; _11 = (unsigned char) GV_VCU_Drive_Mode.11_10; GV_Operation_Mode = _11; # DEBUG BEGIN_STMT GV_Charging_Status_val.12_12 = GV_Charging_Status_val; _13 = GV_Charging_Status_val.12_12 + 255; if (_13 <= 1) goto ; [41.00%] else goto ; [59.00%] [local count: 440234147]: # DEBUG BEGIN_STMT GV_Operation_Mode = 3; [local count: 1073741823]: return; }