mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 09:53:59 +09:00
1344 lines
42 KiB
Plaintext
1344 lines
42 KiB
Plaintext
|
|
Analyzing function: Emergency_Stop_Mode_Func.part.0/69
|
|
;; 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/69 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/7
|
|
;; 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/7 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/4 function not considered for inlining
|
|
loop depth: 0 freq:0.11 size: 1 time: 10
|
|
Mannual_Mode_Func/3 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/6 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
Operation_IDB_RWA/5 function not considered for inlining
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
|
|
Analyzing function: Vehicle_Environment/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: Vehicle_Environment
|
|
|
|
IPA function summary for Vehicle_Environment/6 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/5
|
|
;; 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/5 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/4
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4 5 6
|
|
;; 2 succs { 3 6 }
|
|
;; 3 succs { 4 6 }
|
|
;; 4 succs { 5 6 }
|
|
;; 5 succs { 6 }
|
|
;; 6 succs { 1 }
|
|
|
|
Analyzing function body size: Emergency_Stop_Mode_Func
|
|
|
|
IPA function summary for Emergency_Stop_Mode_Func/4 inlinable
|
|
global time: 22.500000
|
|
self size: 18
|
|
global size: 0
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:13.000000, time:9.250000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
Emergency_Stop_Mode_Func.part.0/69 function not considered for inlining
|
|
loop depth: 0 freq:0.12 size: 1 time: 10callee size: 3 stack: 0
|
|
HV_OFF_FUNC/20 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
|
|
|
|
Analyzing function: Mannual_Mode_Func/3
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2
|
|
;; 2 succs { 1 }
|
|
|
|
Analyzing function body size: Mannual_Mode_Func
|
|
fp_expression set
|
|
|
|
IPA function summary for Mannual_Mode_Func/3 inlinable fp_expression
|
|
global time: 33.000000
|
|
self size: 16
|
|
global size: 0
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:11.000000, time:11.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
RC_Motor_Logic/34 function body not available
|
|
loop depth: 0 freq:1.00 size: 1 time: 10
|
|
HV_ON_FUNC/26 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/30 function body not available
|
|
loop depth: 0 freq:0.47 size: 1 time: 10
|
|
HV_ON_FUNC/26 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/20 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/69 (Emergency_Stop_Mode_Func.part.0) @06a501c0
|
|
Type: function definition analyzed
|
|
Visibility: prevailing_def_ironly artificial
|
|
References: GV_Out_Lamp_BRAKE_CMD/21 (write)GV_Out_Lamp_Hazard_CMD/22 (write)GV_VCU_RC_Emergency_Stop/25 (write)GV_VCU_Drive_Mode/11 (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/4 (134217728 (estimated locally),0.12 per call)
|
|
Calls:
|
|
GV_Env_384_TimestampYear/68 (GV_Env_384_TimestampYear) @06a4cea0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampSecond/67 (GV_Env_384_TimestampSecond) @06a4ce58
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampMonth/66 (GV_Env_384_TimestampMonth) @06a4ce10
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampMinute/65 (GV_Env_384_TimestampMinute) @06a4cdc8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampHour/64 (GV_Env_384_TimestampHour) @06a4cd80
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_TimestampDay/63 (GV_Env_384_TimestampDay) @06a4cd38
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_EnvironmentTemperatureValid/62 (GV_Env_384_EnvironmentTemperatureValid) @06a4ccf0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Env_384_EnvironmentTemperature/61 (GV_Env_384_EnvironmentTemperature) @06a4cca8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Vehicle_Environment/6 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS2_310_ModeCommand/60 (GV_RWS2_310_ModeCommand) @06a4cb88
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS2_310_WakeupCommand/59 (GV_RWS2_310_WakeupCommand) @06a4cb40
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS2_040_RackAngleCmdValid/58 (GV_RWS2_040_RackAngleCmdValid) @06a4caf8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS1_310_ModeCommand/57 (GV_RWS1_310_ModeCommand) @06a4cab0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS1_310_WakeupCommand/56 (GV_RWS1_310_WakeupCommand) @06a4ca68
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWS1_040_RackAngleCmdValid/55 (GV_RWS1_040_RackAngleCmdValid) @06a4ca20
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA2_310_WakeupCommand/54 (GV_RWA2_310_WakeupCommand) @06a4c9d8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA2_310_ModeCommand/53 (GV_RWA2_310_ModeCommand) @06a4c990
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA_310_WakeupCommand/52 (GV_RWA_310_WakeupCommand) @06a4c948
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA_310_ModeCommand/51 (GV_RWA_310_ModeCommand) @06a4c900
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA2_040_RackAngleCmdValid/50 (GV_RWA2_040_RackAngleCmdValid) @06a4c8b8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA_040_RackAngleCmdValid/49 (GV_RWA_040_RackAngleCmdValid) @06a4c870
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RCU_033_WakeUpCommand/48 (GV_RCU_033_WakeUpCommand) @06a4c828
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_IDB_032_WakeUpCommand/47 (GV_IDB_032_WakeUpCommand) @06a4c7e0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RCU_GearPosition/46 (GV_RCU_GearPosition) @06a4c798
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RCU_PowertrainMode/45 (GV_RCU_PowertrainMode) @06a4c750
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_GearPosition/44 (GV_GearPosition) @06a4c708
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_PowertrainMode/43 (GV_PowertrainMode) @06a4c6c0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_DriveTorqueCommandValid/42 (GV_DriveTorqueCommandValid) @06a4c678
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_DriveTorqueCommand/41 (GV_DriveTorqueCommand) @06a4c630
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_IDB_RWA/5 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_Vx_Limit/40 (GV_VCU_Vx_Limit) @06a4c0d8
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_VX_Limit/39 (GV_RC_VX_Limit) @06a4c090
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_GearSelStat/38 (GV_RC_GearSelStat) @06a4c048
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_BrakeTorqueCommand/37 (GV_RC_BrakeTorqueCommand) @06a4c000
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_RWA_Rack_Fbk/36 (GV_VCU_RWA_Rack_Fbk) @06a4af78
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RWA1_RackAngleFbk/35 (GV_RWA1_RackAngleFbk) @06a4af30
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
RC_Motor_Logic/34 (RC_Motor_Logic) @06a209a0
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Mannual_Mode_Func/3 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
GV_RC_RWA_RackAngleCommand/33 (GV_RC_RWA_RackAngleCommand) @06a4aea0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_ACU_BrakeTorqueCommand/32 (GV_ACU_BrakeTorqueCommand) @06a4ab40
|
|
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/31 (GV_ACU_VCU_GearPos) @06a4aaf8
|
|
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/30 (ACU_Motor_Logic) @06a20000
|
|
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/29 (GV_VCU_GearSelStat) @06a4aa68
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Mannual_Mode_Func/3 (write)Autonomous_Mode_Func/2 (read)Autonomous_Mode_Func/2 (write)Operation_IDB_RWA/5 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_ACU_RWS_cmd_deg/28 (GV_ACU_RWS_cmd_deg) @06a4aa20
|
|
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/27 (GV_ACU_RWA_cmd_deg) @06a4a9d8
|
|
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/26 (HV_ON_FUNC) @06a20e00
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Mannual_Mode_Func/3 (1073741824 (estimated locally),1.00 per call) Autonomous_Mode_Func/2 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
GV_VCU_RC_Emergency_Stop/25 (GV_VCU_RC_Emergency_Stop) @06a4a558
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Autonomous_Mode_Func/2 (write)Mannual_Mode_Func/3 (write)Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func.part.0/69 (write)Emergency_Stop_Mode_Func/4 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_Lamp_BRAKE_CMD/24 (GV_RC_Lamp_BRAKE_CMD) @06a4a510
|
|
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/23 (GV_RC_Lamp_Hazard_CMD) @06a4a4c8
|
|
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/22 (GV_Out_Lamp_Hazard_CMD) @06a4a480
|
|
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/69 (write)Emergency_Stop_Mode_Func/4 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Out_Lamp_BRAKE_CMD/21 (GV_Out_Lamp_BRAKE_CMD) @06a4a438
|
|
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/69 (write)Emergency_Stop_Mode_Func/4 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
HV_OFF_FUNC/20 (HV_OFF_FUNC) @06a20b60
|
|
Type: function
|
|
Visibility: external public
|
|
References:
|
|
Referring:
|
|
Availability: not_available
|
|
Function flags: optimize_size
|
|
Called by: Emergency_Stop_Mode_Func/4 (1073741824 (estimated locally),1.00 per call) Default_Mode_Func/1 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
GV_MASTER_RWS_RackAngleCommand/19 (GV_MASTER_RWS_RackAngleCommand) @06a4a3a8
|
|
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/18 (GV_MASTER_RWA_RackAngleCommand) @06a4a360
|
|
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/3 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_VCU_TrqCmd/17 (GV_VCU_TrqCmd) @06a4a318
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Default_Mode_Func/1 (write)Emergency_Stop_Mode_Func/4 (write)Operation_IDB_RWA/5 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_MASTER_CLMAP_FORCE/16 (GV_MASTER_CLMAP_FORCE) @06a4a2d0
|
|
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/3 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Charging_Status_val/15 (GV_Charging_Status_val) @06a4a000
|
|
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/14 (GV_Operation_Mode) @06a1df78
|
|
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/7 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_Drive_Mode/13 (GV_RC_Drive_Mode) @06a1df30
|
|
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/12 (GV_ACU_Drive_mode) @06a1dee8
|
|
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/11 (GV_VCU_Drive_Mode) @06a1dea0
|
|
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/69 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_ACU_Emergency_Stop/10 (GV_ACU_Emergency_Stop) @06a1de58
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Operation_Mode_Check/0 (read)Emergency_Stop_Mode_Func/4 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
EMEMERGNECY_BUTTEN/9 (EMEMERGNECY_BUTTEN) @06a1de10
|
|
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/4 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_RC_Emergency_Stop/8 (GV_RC_Emergency_Stop) @06a1ddc8
|
|
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/4 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
Operation_Mode_Func/7 (Operation_Mode_Func) @06a20460
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_Operation_Mode/14 (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/4 (116136926 (estimated locally),0.11 per call) Mannual_Mode_Func/3 (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/6 (1073741824 (estimated locally),1.00 per call) Operation_IDB_RWA/5 (1073741824 (estimated locally),1.00 per call)
|
|
Vehicle_Environment/6 (Vehicle_Environment) @06a201c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_Env_384_EnvironmentTemperature/61 (write)GV_Env_384_EnvironmentTemperatureValid/62 (write)GV_Env_384_TimestampDay/63 (write)GV_Env_384_TimestampHour/64 (write)GV_Env_384_TimestampMinute/65 (write)GV_Env_384_TimestampMonth/66 (write)GV_Env_384_TimestampSecond/67 (write)GV_Env_384_TimestampYear/68 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Operation_IDB_RWA/5 (Operation_IDB_RWA) @06a19e00
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_VCU_TrqCmd/17 (read)GV_DriveTorqueCommand/41 (write)GV_DriveTorqueCommandValid/42 (write)GV_PowertrainMode/43 (write)GV_VCU_GearSelStat/29 (read)GV_GearPosition/44 (write)GV_RCU_PowertrainMode/45 (write)GV_RCU_GearPosition/46 (write)GV_IDB_032_WakeUpCommand/47 (write)GV_RCU_033_WakeUpCommand/48 (write)GV_RWA_040_RackAngleCmdValid/49 (write)GV_RWA2_040_RackAngleCmdValid/50 (write)GV_RWA_310_ModeCommand/51 (write)GV_RWA_310_WakeupCommand/52 (write)GV_RWA2_310_ModeCommand/53 (write)GV_RWA2_310_WakeupCommand/54 (write)GV_RWS1_040_RackAngleCmdValid/55 (write)GV_RWS1_310_WakeupCommand/56 (write)GV_RWS1_310_ModeCommand/57 (write)GV_RWS2_040_RackAngleCmdValid/58 (write)GV_RWS2_310_WakeupCommand/59 (write)GV_RWS2_310_ModeCommand/60 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Emergency_Stop_Mode_Func/4 (Emergency_Stop_Mode_Func) @06a198c0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_Out_Lamp_BRAKE_CMD/21 (write)GV_Out_Lamp_Hazard_CMD/22 (write)GV_VCU_RC_Emergency_Stop/25 (write)GV_VCU_TrqCmd/17 (write)EMEMERGNECY_BUTTEN/9 (read)GV_RC_Emergency_Stop/8 (read)GV_ACU_Emergency_Stop/10 (read)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (116136926 (estimated locally),0.11 per call)
|
|
Calls: Emergency_Stop_Mode_Func.part.0/69 (134217728 (estimated locally),0.12 per call) HV_OFF_FUNC/20 (1073741824 (estimated locally),1.00 per call)
|
|
Mannual_Mode_Func/3 (Mannual_Mode_Func) @06a197e0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_RC_RWA_RackAngleCommand/33 (read)GV_MASTER_RWA_RackAngleCommand/18 (write)GV_RWA1_RackAngleFbk/35 (read)GV_VCU_RWA_Rack_Fbk/36 (write)GV_RC_BrakeTorqueCommand/37 (read)GV_MASTER_CLMAP_FORCE/16 (write)GV_RC_GearSelStat/38 (read)GV_VCU_GearSelStat/29 (write)GV_VCU_RC_Emergency_Stop/25 (write)GV_RC_VX_Limit/39 (read)GV_VCU_Vx_Limit/40 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (145607981 (estimated locally),0.14 per call)
|
|
Calls: RC_Motor_Logic/34 (1073741824 (estimated locally),1.00 per call) HV_ON_FUNC/26 (1073741824 (estimated locally),1.00 per call)
|
|
Autonomous_Mode_Func/2 (Autonomous_Mode_Func) @06a19540
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_ACU_RWA_cmd_deg/27 (read)GV_MASTER_RWA_RackAngleCommand/18 (write)GV_ACU_RWS_cmd_deg/28 (read)GV_MASTER_RWS_RackAngleCommand/19 (write)GV_VCU_GearSelStat/29 (read)GV_VCU_RC_Emergency_Stop/25 (write)GV_ACU_VCU_GearPos/31 (read)GV_VCU_GearSelStat/29 (write)GV_ACU_BrakeTorqueCommand/32 (read)GV_MASTER_CLMAP_FORCE/16 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (354334802 (estimated locally),0.33 per call)
|
|
Calls: ACU_Motor_Logic/30 (508506948 (estimated locally),0.47 per call) HV_ON_FUNC/26 (1073741824 (estimated locally),1.00 per call)
|
|
Default_Mode_Func/1 (Default_Mode_Func) @06a19d20
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_MASTER_CLMAP_FORCE/16 (write)GV_VCU_TrqCmd/17 (write)GV_MASTER_RWA_RackAngleCommand/18 (write)GV_MASTER_RWS_RackAngleCommand/19 (write)EMEMERGNECY_BUTTEN/9 (read)GV_RC_Emergency_Stop/8 (read)GV_Out_Lamp_BRAKE_CMD/21 (write)GV_Out_Lamp_Hazard_CMD/22 (write)GV_RC_Lamp_Hazard_CMD/23 (write)GV_RC_Lamp_BRAKE_CMD/24 (write)GV_VCU_RC_Emergency_Stop/25 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (92630812 (estimated locally),0.09 per call)
|
|
Calls: HV_OFF_FUNC/20 (1073741824 (estimated locally),1.00 per call)
|
|
Operation_Mode_Check/0 (Operation_Mode_Check) @06a19a80
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_RC_Emergency_Stop/8 (read)EMEMERGNECY_BUTTEN/9 (read)GV_ACU_Emergency_Stop/10 (read)GV_VCU_Drive_Mode/11 (write)GV_ACU_Drive_mode/12 (read)GV_VCU_Drive_Mode/11 (read)GV_VCU_Drive_Mode/11 (write)GV_RC_Drive_Mode/13 (read)GV_VCU_Drive_Mode/11 (read)GV_VCU_Drive_Mode/11 (write)GV_VCU_Drive_Mode/11 (read)GV_VCU_Drive_Mode/11 (write)GV_VCU_Drive_Mode/11 (read)GV_VCU_Drive_Mode/11 (write)GV_VCU_Drive_Mode/11 (read)GV_Operation_Mode/14 (write)GV_Charging_Status_val/15 (read)GV_Operation_Mode/14 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Operation_Mode_Func/7 (1073741824 (estimated locally),1.00 per call)
|
|
Calls:
|
|
Emergency_Stop_Mode_Func.part.0 ()
|
|
{
|
|
<bb 4> [local count: 1073741824]:
|
|
|
|
<bb 2> [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;
|
|
|
|
<bb 3> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Operation_Mode_Func ()
|
|
{
|
|
unsigned char GV_Operation_Mode.32_1;
|
|
|
|
<bb 2> [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.32_1 = GV_Operation_Mode;
|
|
if (GV_Operation_Mode.32_1 == 0)
|
|
goto <bb 3>; [33.00%]
|
|
else
|
|
goto <bb 4>; [67.00%]
|
|
|
|
<bb 3> [local count: 354334802]:
|
|
# DEBUG BEGIN_STMT
|
|
Autonomous_Mode_Func ();
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 4> [local count: 719407023]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_Operation_Mode.32_1 == 1)
|
|
goto <bb 5>; [20.24%]
|
|
else
|
|
goto <bb 6>; [79.76%]
|
|
|
|
<bb 5> [local count: 145607981]:
|
|
# DEBUG BEGIN_STMT
|
|
Mannual_Mode_Func ();
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 6> [local count: 573799041]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_Operation_Mode.32_1 == 2)
|
|
goto <bb 7>; [20.24%]
|
|
else
|
|
goto <bb 8>; [79.76%]
|
|
|
|
<bb 7> [local count: 116136926]:
|
|
# DEBUG BEGIN_STMT
|
|
Emergency_Stop_Mode_Func ();
|
|
goto <bb 10>; [100.00%]
|
|
|
|
<bb 8> [local count: 457662114]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_Operation_Mode.32_1 == 3)
|
|
goto <bb 9>; [20.24%]
|
|
else
|
|
goto <bb 10>; [79.76%]
|
|
|
|
<bb 9> [local count: 92630812]:
|
|
# DEBUG BEGIN_STMT
|
|
Default_Mode_Func ();
|
|
|
|
<bb 10> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Vehicle_Environment ()
|
|
{
|
|
<bb 2> [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.29_1;
|
|
long unsigned int _2;
|
|
long unsigned int GV_VCU_GearSelStat.30_3;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_TrqCmd.29_1 = GV_VCU_TrqCmd;
|
|
_2 = (long unsigned int) GV_VCU_TrqCmd.29_1;
|
|
GV_DriveTorqueCommand = _2;
|
|
# DEBUG BEGIN_STMT
|
|
GV_DriveTorqueCommandValid = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_PowertrainMode = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_GearSelStat.30_3 = GV_VCU_GearSelStat;
|
|
GV_GearPosition = GV_VCU_GearSelStat.30_3;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RCU_PowertrainMode = 1;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RCU_GearPosition = GV_VCU_GearSelStat.30_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.26_1;
|
|
long unsigned int GV_RC_Emergency_Stop.27_2;
|
|
long unsigned int GV_ACU_Emergency_Stop.28_3;
|
|
|
|
<bb 2> [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.26_1 = EMEMERGNECY_BUTTEN;
|
|
if (EMEMERGNECY_BUTTEN.26_1 == 0)
|
|
goto <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
GV_RC_Emergency_Stop.27_2 = GV_RC_Emergency_Stop;
|
|
if (GV_RC_Emergency_Stop.27_2 == 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 4> [local count: 268435456]:
|
|
GV_ACU_Emergency_Stop.28_3 = GV_ACU_Emergency_Stop;
|
|
if (GV_ACU_Emergency_Stop.28_3 == 0)
|
|
goto <bb 5>; [50.00%]
|
|
else
|
|
goto <bb 6>; [50.00%]
|
|
|
|
<bb 5> [local count: 134217728]:
|
|
Emergency_Stop_Mode_Func.part.0 ();
|
|
|
|
<bb 6> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
Mannual_Mode_Func ()
|
|
{
|
|
float GV_RC_RWA_RackAngleCommand.21_1;
|
|
float GV_RWA1_RackAngleFbk.22_2;
|
|
float GV_RC_BrakeTorqueCommand.23_3;
|
|
long unsigned int GV_RC_GearSelStat.24_4;
|
|
long unsigned int GV_RC_VX_Limit.25_5;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
HV_ON_FUNC ();
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_RWA_RackAngleCommand.21_1 = GV_RC_RWA_RackAngleCommand;
|
|
GV_MASTER_RWA_RackAngleCommand = GV_RC_RWA_RackAngleCommand.21_1;
|
|
# DEBUG BEGIN_STMT
|
|
RC_Motor_Logic ();
|
|
# DEBUG BEGIN_STMT
|
|
GV_RWA1_RackAngleFbk.22_2 = GV_RWA1_RackAngleFbk;
|
|
GV_VCU_RWA_Rack_Fbk = GV_RWA1_RackAngleFbk.22_2;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_BrakeTorqueCommand.23_3 = GV_RC_BrakeTorqueCommand;
|
|
GV_MASTER_CLMAP_FORCE = GV_RC_BrakeTorqueCommand.23_3;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_GearSelStat.24_4 = GV_RC_GearSelStat;
|
|
GV_VCU_GearSelStat = GV_RC_GearSelStat.24_4;
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_RC_Emergency_Stop = 0;
|
|
# DEBUG BEGIN_STMT
|
|
GV_RC_VX_Limit.25_5 = GV_RC_VX_Limit;
|
|
GV_VCU_Vx_Limit = GV_RC_VX_Limit.25_5;
|
|
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;
|
|
|
|
<bb 2> [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 <bb 4>; [20.24%]
|
|
else
|
|
goto <bb 3>; [79.76%]
|
|
|
|
<bb 3> [local count: 856416480]:
|
|
if (GV_VCU_GearSelStat.17_3 == 3)
|
|
goto <bb 4>; [34.00%]
|
|
else
|
|
goto <bb 5>; [66.00%]
|
|
|
|
<bb 4> [local count: 508506948]:
|
|
# DEBUG BEGIN_STMT
|
|
ACU_Motor_Logic ();
|
|
|
|
<bb 5> [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;
|
|
|
|
<bb 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 <bb 3>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 3> [local count: 536870913]:
|
|
GV_RC_Emergency_Stop.14_2 = GV_RC_Emergency_Stop;
|
|
if (GV_RC_Emergency_Stop.14_2 == 0)
|
|
goto <bb 4>; [50.00%]
|
|
else
|
|
goto <bb 5>; [50.00%]
|
|
|
|
<bb 4> [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;
|
|
|
|
<bb 5> [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;
|
|
|
|
<bb 2> [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 <bb 5>; [34.00%]
|
|
else
|
|
goto <bb 3>; [66.00%]
|
|
|
|
<bb 3> [local count: 708669605]:
|
|
EMEMERGNECY_BUTTEN.1_2 = EMEMERGNECY_BUTTEN;
|
|
if (EMEMERGNECY_BUTTEN.1_2 == 1)
|
|
goto <bb 5>; [34.00%]
|
|
else
|
|
goto <bb 4>; [66.00%]
|
|
|
|
<bb 4> [local count: 467721939]:
|
|
GV_ACU_Emergency_Stop.2_3 = GV_ACU_Emergency_Stop;
|
|
if (GV_ACU_Emergency_Stop.2_3 == 1)
|
|
goto <bb 5>; [34.00%]
|
|
else
|
|
goto <bb 6>; [66.00%]
|
|
|
|
<bb 5> [local count: 765045346]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 2;
|
|
goto <bb 18>; [100.00%]
|
|
|
|
<bb 6> [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 <bb 7>; [34.00%]
|
|
else
|
|
goto <bb 9>; [66.00%]
|
|
|
|
<bb 7> [local count: 104956803]:
|
|
GV_VCU_Drive_Mode.4_5 = GV_VCU_Drive_Mode;
|
|
if (GV_VCU_Drive_Mode.4_5 == 3)
|
|
goto <bb 8>; [34.00%]
|
|
else
|
|
goto <bb 9>; [66.00%]
|
|
|
|
<bb 8> [local count: 35685313]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 0;
|
|
goto <bb 18>; [100.00%]
|
|
|
|
<bb 9> [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 <bb 10>; [34.00%]
|
|
else
|
|
goto <bb 12>; [66.00%]
|
|
|
|
<bb 10> [local count: 92823797]:
|
|
GV_VCU_Drive_Mode.6_7 = GV_VCU_Drive_Mode;
|
|
if (GV_VCU_Drive_Mode.6_7 == 3)
|
|
goto <bb 11>; [34.00%]
|
|
else
|
|
goto <bb 12>; [66.00%]
|
|
|
|
<bb 11> [local count: 31560091]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 1;
|
|
goto <bb 18>; [100.00%]
|
|
|
|
<bb 12> [local count: 241451076]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_ACU_Drive_mode.3_4 == 0)
|
|
goto <bb 13>; [50.00%]
|
|
else
|
|
goto <bb 15>; [50.00%]
|
|
|
|
<bb 13> [local count: 120725538]:
|
|
GV_VCU_Drive_Mode.8_8 = GV_VCU_Drive_Mode;
|
|
if (GV_VCU_Drive_Mode.8_8 == 0)
|
|
goto <bb 14>; [50.00%]
|
|
else
|
|
goto <bb 15>; [50.00%]
|
|
|
|
<bb 14> [local count: 60362769]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 3;
|
|
goto <bb 18>; [100.00%]
|
|
|
|
<bb 15> [local count: 181088307]:
|
|
# DEBUG BEGIN_STMT
|
|
if (GV_RC_Drive_Mode.5_6 == 0)
|
|
goto <bb 16>; [50.00%]
|
|
else
|
|
goto <bb 18>; [50.00%]
|
|
|
|
<bb 16> [local count: 90544153]:
|
|
GV_VCU_Drive_Mode.10_9 = GV_VCU_Drive_Mode;
|
|
if (GV_VCU_Drive_Mode.10_9 == 1)
|
|
goto <bb 17>; [34.00%]
|
|
else
|
|
goto <bb 18>; [66.00%]
|
|
|
|
<bb 17> [local count: 30785012]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_VCU_Drive_Mode = 3;
|
|
|
|
<bb 18> [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 <bb 19>; [41.00%]
|
|
else
|
|
goto <bb 20>; [59.00%]
|
|
|
|
<bb 19> [local count: 440234147]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Operation_Mode = 3;
|
|
|
|
<bb 20> [local count: 1073741823]:
|
|
return;
|
|
|
|
}
|
|
|
|
|