# Traceability Report for Inverter_000_test

### Eliminated / Virtual Blocks

Block Name | Comment
--- | ---
<Root>/ADC | Not traceable
<Root>/Demux9 | Demux
<Root>/From10 | From
<Root>/From2 | From
<Root>/From3 | From
<Root>/Goto | Goto
<Root>/Goto1 | Goto
<Root>/Goto2 | Goto
<Root>/Goto4 | Goto
<Root>/Goto9 | Goto
<Root>/InverterPWM | Virtual SubSystem
<Root>/Modulation1 | Virtual SubSystem
<Root>/Modulation3 | Virtual SubSystem
<Root>/Rate Transition4 | Eliminated since input and output rates are identical
<Root>/Rate Transition6 | Not traceable
<Root>/Rate Transition61 | Unused code path elimination
<Root>/Rate Transition62 | Unused code path elimination
<Root>/Rate Transition7 | Not traceable
<Root>/Rate Transition8 | Not traceable
<Root>/Reference | Virtual SubSystem
<Root>/Scope3 | Not traceable
<Root>/Scope7 | Not traceable
<Root>/Scope8 | Not traceable
<Root>/Scope9 | Not traceable
<Root>/Selector | Selector
<Root>/Selector1 | Selector
<S1>/PWM | Inport
<S1>/DeadBand | Inport
<S1>/Demux5 | Demux
<S2>/Vcontrol | Inport
<S2>/VDC | Inport
<S2>/Carrier1 | Virtual SubSystem
<S2>/Carrier2 | Virtual SubSystem
<S2>/Demux4 | Demux
<S2>/Mux6 | Mux
<S2>/Mux7 | Mux
<S2>/VPWM | Outport
<S3>/Vcontrol | Inport
<S3>/VDC | Inport
<S3>/Add16 | Not traceable
<S3>/Add17 | Not traceable
<S3>/Add18 | Not traceable
<S3>/Carrier1 | Virtual SubSystem
<S3>/Constant1 | Not traceable
<S3>/Constant48 | Not traceable
<S3>/Demux4 | Demux
<S3>/Float to IQN1 | Not traceable
<S3>/Gain | Not traceable
<S3>/IQN // IQN | Not traceable
<S3>/IQN // IQN1 | Not traceable
<S3>/IQN // IQN2 | Not traceable
<S3>/Mux6 | Mux
<S3>/Mux7 | Mux
<S3>/Switch1 | Not traceable
<S3>/VPWM | Outport
<S4>/Vac Ref | Inport
<S4>/Inverse Park Transformation | Masked SubSystem
<S4>/Mux2 | Mux
<S4>/Ramp Generator1 | Masked SubSystem
<S4>/abc | Outport
<S4>/angle | Outport
<S4>/dq0 | Outport
<S5>/In1 | Inport
<S5>/MATLAB Function | Not traceable
<S5>/Out1 | Outport
<S6>/In1 | Inport
<S6>/Constant1 | Not traceable
<S6>/Data Type Conversion | Not traceable
<S6>/Data Type Conversion1 | Not traceable
<S6>/Gain | Not traceable
<S6>/Gain1 | Not traceable
<S6>/Logical Operator | Not traceable
<S6>/Logical Operator1 | Not traceable
<S6>/Logical Operator2 | Not traceable
<S6>/MATLAB Function | Not traceable
<S6>/MATLAB Function1 | Not traceable
<S6>/MinMax | Not traceable
<S6>/MinMax1 | Not traceable
<S6>/Mux | Mux
<S6>/Scope | Not traceable
<S6>/Sum | Not traceable
<S6>/Sum1 | Not traceable
<S6>/Switch | Not traceable
<S6>/Switch1 | Not traceable
<S6>/Switch2 | Not traceable
<S6>/Vmax<0 | Masked SubSystem
<S6>/Vmin>0 | Masked SubSystem
<S6>/Out1 | Outport
<S7>:1 | EMChart eliminated by optimization
<S8>:1 | EMChart eliminated by optimization
<S9>:1 | EMChart eliminated by optimization
<S10>/In1 | Inport
<S10>/Constant1 | Not traceable
<S10>/Gain | Not traceable
<S10>/Gain1 | Not traceable
<S10>/Logical Operator | Not traceable
<S10>/Logical Operator1 | Not traceable
<S10>/Logical Operator2 | Not traceable
<S10>/MinMax | Not traceable
<S10>/MinMax1 | Not traceable
<S10>/Sum | Not traceable
<S10>/Sum1 | Not traceable
<S10>/Switch | Not traceable
<S10>/Switch1 | Not traceable
<S10>/Switch2 | Not traceable
<S10>/Vmax<0 | Masked SubSystem
<S10>/Vmin>0 | Masked SubSystem
<S10>/Out1 | Outport
<S11>/DQ0 | Inport
<S11>/theta | Inport
<S11>/ 2 | Eliminated by code generation optimization
<S11>/Demux | Demux
<S11>/Mux | Mux
<S11>/ABC | Outport
<S12>/Gain | Inport
<S12>/Offset | Inport
<S12>/Freq | Inport
<S12>/Convert Param To fix-pt with floor rounding mode | Masked SubSystem
<S12>/Subsystem | Virtual SubSystem
<S12>/Subsystem1 | Virtual SubSystem
<S12>/Out1 | Outport
<S13>/In1 | Inport
<S13>/Embedded MATLAB Function | Eliminated by code generation optimization
<S13>/Out1 | Outport
<S14>/In1 | Inport
<S14>/Data Type Conversion Inherited | Masked SubSystem
<S14>/Out1 | Outport
<S15>/In2 | Inport
<S15>/Out2 | Outport
<S16>:1 | EMChart eliminated by optimization
<S17>/DTS reference | Inport
<S17>/u | Inport
<S17>/Conversion | Eliminate redundant data type conversion
<S17>/Data Type Duplicate | Unused code path elimination
<S17>/y | Outport

### Traceable Simulink Blocks / Stateflow Objects / MATLAB Functions

#### Root system: Inverter_000_test

Object Name | Code Location
--- | ---
<Root>/Bias1 | Inverter_000_test.c:569, 571, 572 Inverter_000_test.h:165 Inverter_000_test_data.c:177
<Root>/Bias2 | Inverter_000_test.c:706, 710, 711, 712 Inverter_000_test.h:180 Inverter_000_test_data.c:202
<Root>/Constant | Inverter_000_test.c:420, 422 Inverter_000_test.h:87 Inverter_000_test_data.c:47
<Root>/Constant14 | Inverter_000_test.c:728, 731 Inverter_000_test.h:183 Inverter_000_test_data.c:207
<Root>/Constant2 | Inverter_000_test.c:601, 614, 615, 631, 644, 645, 660, 673, 674, 689, 702, 703, 777, 985, 1193, 1401 Inverter_000_test.h:177 Inverter_000_test_data.c:197
<Root>/Constant3 | Inverter_000_test.c:372, 375, 377, 379 Inverter_000_test.h:105 Inverter_000_test_data.c:77
<Root>/Constant8 | Inverter_000_test.c:487, 489, 492, 496 Inverter_000_test.h:96 Inverter_000_test_data.c:62
<Root>/DAC | Inverter_000_test.c:568, 571, 572, 573, 574, 575, 577, 580, 583, 585, 773, 774
<Root>/DAC1 | Inverter_000_test.c:705, 710, 711, 712, 713, 714, 715, 717, 720, 723, 725, 1608, 1609
<Root>/DAC2 | Inverter_000_test.c:419, 422, 423, 424, 425, 427, 430, 433, 435, 1611, 1612
<Root>/Data Type Conversion2 | Inverter_000_test.c:405, 406, 407, 408
<Root>/Data Type Conversion3 | Inverter_000_test.c:707, 710
<Root>/Digital Output | Inverter_000_test.c:381, 382, 383, 384, 385, 386, 387, 755, 756, 757, 758, 759
<Root>/Digital Output1 | Inverter_000_test.c:389, 390, 391, 392, 393, 394, 395, 761, 762, 763, 764, 765
<Root>/Digital Output2 | Inverter_000_test.c:397, 398, 399, 400, 401, 402, 403, 767, 768, 769, 770, 771
<Root>/Gain2 | Inverter_000_test.c:708, 710, 711 Inverter_000_test.h:162 Inverter_000_test_data.c:172
<Root>/Rate Transition1 | Inverter_000_test.c:133, 134, 135, 136, 139, 727, 730, 751, 752, 753, 1614, 1615, 1616 Inverter_000_test.h:57, 66, 141 Inverter_000_test_data.c:137
<Root>/Rate Transition5 | Inverter_000_test.c:410, 411, 412, 413, 414, 417 Inverter_000_test.h:58
<Root>/Rate Transition60 | Inverter_000_test.c:362, 363, 364, 365, 366, 369 Inverter_000_test.h:59
<Root>/Relational Operator2 | Inverter_000_test.c:371, 374, 376, 378 Inverter_000_test.h:60
<Root>/Saturation4 | Inverter_000_test.c:453, 454, 455, 456, 457, 458, 459, 461, 464, 465, 466, 467, 468, 469, 471, 474, 475, 476, 477, 478, 479, 481, 484 Inverter_000_test.h:90, 93 Inverter_000_test_data.c:52, 57
<Root>/Saturation5 | Inverter_000_test.c:486, 489, 490, 491, 492, 493, 494, 496, 499 Inverter_000_test.h:99, 102 Inverter_000_test_data.c:67, 72

#### Subsystem: Inverter_000_test/InverterPWM

Object Name | Code Location
--- | ---
<S1>/Add | Inverter_000_test.c:652, 654
<S1>/Add13 | Inverter_000_test.c:622, 625, 626
<S1>/Add14 | Inverter_000_test.c:681, 683
<S1>/Add15 | Inverter_000_test.c:592, 595, 596
<S1>/Constant13 | Inverter_000_test.c:588, 597, 618, 627, 648, 656, 677, 685 Inverter_000_test.h:171 Inverter_000_test_data.c:187
<S1>/Constant14 | Inverter_000_test.c:589, 598, 619, 628, 649, 657, 678, 686 Inverter_000_test.h:174 Inverter_000_test_data.c:192
<S1>/Constant15 | Inverter_000_test.c:590, 596, 620, 626, 650, 655, 679, 684 Inverter_000_test.h:168 Inverter_000_test_data.c:182
<S1>/Product | Inverter_000_test.c:651, 655
<S1>/Product15 | Inverter_000_test.c:647, 654, 656
<S1>/Product16 | Inverter_000_test.c:621, 626
<S1>/Product17 | Inverter_000_test.c:617, 625, 627
<S1>/Product18 | Inverter_000_test.c:680, 684
<S1>/Product19 | Inverter_000_test.c:676, 683, 685
<S1>/Product20 | Inverter_000_test.c:591, 596
<S1>/Product21 | Inverter_000_test.c:587, 595, 597
<S1>/ePWM | Inverter_000_test.c:600, 605, 606, 607, 610, 611, 612, 614, 615, 776, 779, 780, 781, 782, 785, 796, 799, 804, 807, 816, 822, 823, 824, 825, 826, 829, 830, 835, 841, 850, 851, 852, 872, 873, 882, 885, 886, 896, 906, 916, 926, 940, 948, 956, 957, 958, 963, 969, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982
<S1>/ePWM1 | Inverter_000_test.c:630, 635, 636, 637, 640, 641, 642, 644, 645, 984, 987, 988, 989, 990, 993, 1004, 1007, 1012, 1015, 1024, 1030, 1031, 1032, 1033, 1034, 1037, 1038, 1043, 1049, 1058, 1059, 1060, 1080, 1081, 1090, 1093, 1094, 1104, 1114, 1124, 1134, 1148, 1156, 1164, 1165, 1166, 1171, 1177, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190
<S1>/ePWM2 | Inverter_000_test.c:659, 664, 665, 666, 669, 670, 671, 673, 674, 1192, 1195, 1196, 1197, 1198, 1201, 1212, 1215, 1220, 1223, 1232, 1238, 1239, 1240, 1241, 1242, 1245, 1246, 1251, 1257, 1266, 1267, 1268, 1288, 1289, 1298, 1301, 1302, 1312, 1322, 1332, 1342, 1356, 1364, 1372, 1373, 1374, 1379, 1385, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398
<S1>/ePWM3 | Inverter_000_test.c:688, 693, 694, 695, 698, 699, 700, 702, 703, 1400, 1403, 1404, 1405, 1406, 1409, 1420, 1423, 1428, 1431, 1440, 1446, 1447, 1448, 1449, 1450, 1453, 1454, 1459, 1465, 1474, 1475, 1476, 1496, 1497, 1506, 1509, 1510, 1520, 1530, 1540, 1550, 1564, 1572, 1580, 1581, 1582, 1587, 1593, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606

#### Subsystem: Inverter_000_test/Modulation1

Object Name | Code Location
--- | ---
<S2>/Add16 | Inverter_000_test.c:593, 595
<S2>/Add17 | Inverter_000_test.c:565, 566
<S2>/Add18 | Inverter_000_test.c:623, 625
<S2>/Float to IQN1 | Inverter_000_test.c:505, 507, 508, 509, 510 Inverter_000_test.h:84 Inverter_000_test_data.c:42
<S2>/Gain | Inverter_000_test.c:501, 502, 503 Inverter_000_test.h:132 Inverter_000_test_data.c:122
<S2>/IQN // IQN | Inverter_000_test.c:512, 514, 515, 516, 517
<S2>/IQN // IQN1 | Inverter_000_test.c:519, 521, 522, 523, 524
<S2>/IQN // IQN2 | Inverter_000_test.c:526, 528, 529, 530, 531

#### Subsystem: Inverter_000_test/Modulation3

No traceable objects in this Subsystem.

#### Subsystem: Inverter_000_test/Reference

Object Name | Code Location
--- | ---
<S4>/Constant10 | Inverter_000_test.c:153, 163 Inverter_000_test.h:153 Inverter_000_test_data.c:157
<S4>/Constant11 | Inverter_000_test.c:178, 180 Inverter_000_test.h:108 Inverter_000_test_data.c:82
<S4>/Constant13 | Inverter_000_test.c:154, 159 Inverter_000_test.h:147 Inverter_000_test_data.c:147
<S4>/Constant14 | Inverter_000_test.c:155, 161 Inverter_000_test.h:150 Inverter_000_test_data.c:152
<S4>/Constant8 | Inverter_000_test.c:183, 185 Inverter_000_test.h:111 Inverter_000_test_data.c:87
<S4>/Constant9 | Inverter_000_test.c:188, 190 Inverter_000_test.h:114 Inverter_000_test_data.c:92
<S4>/Float to IQN | Inverter_000_test.c:165, 167, 168, 169, 170, 171, 172 Inverter_000_test.h:75 Inverter_000_test_data.c:27
<S4>/Float to IQN1 | Inverter_000_test.c:265, 267, 268, 269, 270 Inverter_000_test.h:78 Inverter_000_test_data.c:32
<S4>/Float to IQN2 | Inverter_000_test.c:145, 147, 148, 149, 150 Inverter_000_test.h:72 Inverter_000_test_data.c:22
<S4>/Gain2 | Inverter_000_test.c:262, 263 Inverter_000_test.h:156 Inverter_000_test_data.c:162
<S4>/Gain3 | Inverter_000_test.c:141, 142, 143 Inverter_000_test.h:144 Inverter_000_test_data.c:142
<S4>/IQN to Float3 | Inverter_000_test.c:255, 257, 258, 259, 260
<S4>/Product5 | Inverter_000_test.c:152, 157, 158, 160, 162

#### Subsystem: Inverter_000_test/Modulation1/Carrier1

Object Name | Code Location
--- | ---
<S5>/Gain | Inverter_000_test.c:545, 546 Inverter_000_test.h:135 Inverter_000_test_data.c:127
<S5>/Gain1 | Inverter_000_test.c:561, 563 Inverter_000_test.h:138 Inverter_000_test_data.c:132
<S5>/MinMax | Inverter_000_test.c:533, 534, 535, 536, 539, 540, 543
<S5>/MinMax1 | Inverter_000_test.c:548, 549, 550, 551, 554, 555, 558
<S5>/Sum | Inverter_000_test.c:560, 563

#### Subsystem: Inverter_000_test/Modulation1/Carrier2

No traceable objects in this Subsystem.

#### MATLAB Function: Inverter_000_test/Modulation1/Carrier1/MATLAB Function

| Script | Code Location
--- | --- | ---
1 |
    function y = fcn(In1, In2)
2 |
3 |
    temp_min = -0.5 * In1; % min
4 |
    temp_max = -0.5 * In2; % max
5 |
    temp_mid = temp_min + temp_max; % min
6 |
7 |
    y = temp_mid;
8 |

#### MATLAB Function: Inverter_000_test/Modulation1/Carrier2/MATLAB Function

| Script | Code Location
--- | --- | ---
1 |
    function y = fcn(In1, In2)
2 |
3 |
    temp_min = -0.5 * In1; % min
4 |
    temp_max = -0.5 * In2; % max
5 |
    temp_mid = temp_min + temp_max; % min
6 |
7 |
    y = temp_mid;
8 |

#### MATLAB Function: Inverter_000_test/Modulation1/Carrier2/MATLAB Function1

| Script | Code Location
--- | --- | ---
1 |
    function y = fcn(In1, In2)
2 |
3 |
    temp_min = -0.5 * In1; % min
4 |
    temp_max = -0.5 * In2; % max
5 |
    temp_mid = temp_min + temp_max; % min
6 |
7 |
    if temp_min > 0
8 |
        temp_out1 = temp_max * 0.0;
9 |
    else
10 |
        temp_out1 = temp_max;
11 |
    end
12 |
    if temp_max < 0
13 |
        temp_out2 = temp_min * 0.0;
14 |
    else
15 |
        temp_out2 = temp_min;
16 |
    end
17 |
    if ~(temp_min > 0) && ~(temp_max < 0)
18 |
        temp_out3 = temp_mid * 0.0;
19 |
    else
20 |
        temp_out3 = temp_mid;
21 |
    end
22 |
23 |
    temp_out = temp_out1 + temp_out2 + te ...
24 |
25 |
    y = temp_out;
26 |

#### Subsystem: Inverter_000_test/Modulation3/Carrier1

No traceable objects in this Subsystem.

#### Subsystem: Inverter_000_test/Reference/Inverse Park Transformation

Object Name | Code Location
--- | ---
<S11>/ | Inverter_000_test.c:174, 175
<S11>/ 1 | Inverter_000_test.c:282, 283
<S11>/ 3 | Inverter_000_test.c:295, 296
<S11>/Constant | Inverter_000_test.c:302, 307 Inverter_000_test.h:159 Inverter_000_test_data.c:167
<S11>/Float to IQN | Inverter_000_test.c:301, 305, 306, 307, 308 Inverter_000_test.h:81 Inverter_000_test_data.c:37
<S11>/Product2 | Inverter_000_test.c:279, 280
<S11>/Product3 | Inverter_000_test.c:292, 293
<S11>/Product4 | Inverter_000_test.c:320, 321
<S11>/Product5 | Inverter_000_test.c:330, 331
<S11>/Product6 | Inverter_000_test.c:346, 347
<S11>/Product7 | Inverter_000_test.c:356, 357
<S11>/Sum | Inverter_000_test.c:336, 337
<S11>/Sum1 | Inverter_000_test.c:298, 299
<S11>/Sum3 | Inverter_000_test.c:310, 311
<S11>/Sum4 | Inverter_000_test.c:333, 334
<S11>/Sum5 | Inverter_000_test.c:359, 360
<S11>/cos IQN | Inverter_000_test.c:272, 274, 275, 276, 277
<S11>/cos IQN1 | Inverter_000_test.c:313, 315, 316, 317, 318
<S11>/cos IQN2 | Inverter_000_test.c:339, 341, 342, 343, 344
<S11>/sin IQN | Inverter_000_test.c:285, 287, 288, 289, 290
<S11>/sin IQN1 | Inverter_000_test.c:323, 325, 326, 327, 328
<S11>/sin IQN2 | Inverter_000_test.c:349, 351, 352, 353, 354

#### Subsystem: Inverter_000_test/Reference/Ramp Generator1

Object Name | Code Location
--- | ---
<S12>/ | Inverter_000_test.c:177, 180
<S12>/ 1 | Inverter_000_test.c:182, 185
<S12>/ 2 | Inverter_000_test.c:187, 190
<S12>/Product1 | Inverter_000_test.c:192, 193
<S12>/Product2 | Inverter_000_test.c:224, 227
<S12>/Sum1 | Inverter_000_test.c:229, 230
<S12>/Sum2 | Inverter_000_test.c:195, 198
<S12>/Unit Delay | Inverter_000_test.c:196, 216, 219, 225, 227, 1618, 1619, 1620 Inverter_000_test.h:65, 117 Inverter_000_test_data.c:97

#### Subsystem: Inverter_000_test/Reference/Ramp Generator1/Convert Param To fix-pt with floor rounding mode

No traceable objects in this Subsystem.

#### Subsystem: Inverter_000_test/Reference/Ramp Generator1/Subsystem

Object Name | Code Location
--- | ---
<S14>/-1 | Inverter_000_test.c:212, 218 Inverter_000_test.h:123 Inverter_000_test_data.c:107
<S14>/1 | Inverter_000_test.c:201, 205, 206, 213, 219 Inverter_000_test.h:120 Inverter_000_test_data.c:102
<S14>/Relational Operator | Inverter_000_test.c:202, 205
<S14>/Relational Operator1 | Inverter_000_test.c:214, 218
<S14>/Sum1 | Inverter_000_test.c:215
<S14>/Sum2 | Inverter_000_test.c:203
<S14>/Switch | Inverter_000_test.c:200, 205, 206, 209
<S14>/Switch1 | Inverter_000_test.c:211, 218, 219, 222

#### Subsystem: Inverter_000_test/Reference/Ramp Generator1/Subsystem1

Object Name | Code Location
--- | ---
<S15>/-1 | Inverter_000_test.c:244, 249 Inverter_000_test.h:129 Inverter_000_test_data.c:117
<S15>/1 | Inverter_000_test.c:233, 237, 238, 245, 250 Inverter_000_test.h:126 Inverter_000_test_data.c:112
<S15>/Relational Operator2 | Inverter_000_test.c:234, 237
<S15>/Relational Operator3 | Inverter_000_test.c:246, 249
<S15>/Sum3 | Inverter_000_test.c:247
<S15>/Sum4 | Inverter_000_test.c:235
<S15>/Switch2 | Inverter_000_test.c:232, 237, 238, 241
<S15>/Switch3 | Inverter_000_test.c:243, 249, 250, 253

#### MATLAB Function: Inverter_000_test/Reference/Ramp Generator1/Convert Param To fix-pt with floor rounding mode/Embedded MATLAB Function

| Script | Code Location
--- | --- | ---
1 |
    function y = fcn(paramVal,v)
3 |
4 |
    Ty = numerictype(v);
5 |
    y = fi(paramVal,Ty,'RoundMode','floor ...

#### Subsystem: Inverter_000_test/Reference/Ramp Generator1/Subsystem/Data Type Conversion Inherited

No traceable objects in this Subsystem.