Processor-in-the-Loop (PIL)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Processor-in-the-Loop (PIL)

Processor-in-the-Loop (PIL)

2

Introduction


A virtual vehicle can reproduce vehicle dynamics, driver inputs, road scenarios, sensor stimuli, and network communication long before the complete physical vehicle is available. However, a successful desktop simulation answers only one part of the engineering question: does the algorithm behave correctly as a model?

Processor-in-the-Loop (PIL) adds the target processor to the validation loop. The plant, scenario, and test harness remain in MATLAB® and Simulink®, while selected generated algorithm code is cross-compiled, downloaded, and executed on the NXP processor. Inputs are sent from the host to the target, and the computed outputs are returned to the simulation for comparison and analysis.

This makes PIL the bridge between a virtual vehicle that behaves correctly on the development computer and embedded software that must produce equivalent results on its intended processor. It also provides target-based execution-time measurements, helping engineers assess whether an algorithm is not only functionally correct, but also suitable for its timing budget.

3

Overview


This article presents how Processor-in-the-Loop fits into a Model-Based Design workflow for virtual vehicle development. The goal is to show where PIL adds value between desktop simulation and deeper hardware integration, and how the same virtual vehicle and scenario can be reused to validate generated code on the target processor.

In this workflow, the model remains the starting point. The virtual vehicle provides the plant behavior, the simulated environment provides repeatable driving conditions, and the selected algorithm is generated and executed on target hardware. PIL therefore supports a controlled transition from model behavior to target implementation behavior.

vladmitroi_0-1784549882563.png

 

Figure 1. PIL connects virtual vehicle simulation with generated algorithm execution on target hardware.

4

Context


The practical context for this article is the Hello World with the Model-Based Design Toolbox — Model. Generate. Drive. project. In that setup, driver inputs come from a physical steering wheel and pedals, the vehicle is driven through a RoadRunner simulated environment, and an S32N processor communicates with the host simulation while making vehicle-level decisions.

The virtual vehicle is created with MathWorks tools and reused as the common integration point for driver inputs, vehicle behavior, RoadRunner scene interaction, Unreal Engine visualization, CAN communication, and closed-loop feedback from the physical setup.

From that perspective, PIL is not used to move the entire virtual world to the processor. Instead, the virtual vehicle and simulated scenario remain on the host while selected generated algorithms are executed on the target. This keeps the environment flexible and repeatable while bringing processor behavior into the validation loop.

5

Component Overview


A PIL-enabled virtual vehicle workflow combines the following elements:

  • Virtual vehicle - represents vehicle dynamics, driver interaction, powertrain, steering, braking, CAN communication, and feedback paths.
  • Virtual scene and scenario - provides roads, lanes, signs, intersections, actors, traffic movement, and repeatable test conditions using RoadRunner and Unreal Engine.
  • PIL component - contains the selected generated algorithm code that is cross-compiled and executed on the target processor.
  • S32N main node - acts as an aggregator and decision-maker, receiving information from sensing nodes and sending high-level commands to actuator nodes.
S32N positioning: S32N is a suitable solution for running complex central-compute algorithms in PIL because it is positioned at the point where vehicle-level decisions, aggregated data, CAN communication, and actuator commands come together.
6

Design and Implementation


A practical PIL workflow starts by selecting a bounded algorithm and keeping the plant, scene, and test harness on the host. This makes the test setup easier to control and keeps the comparison focused on the generated target implementation.

6.1 Select the algorithm boundary

Relevant candidates include data aggregation, vehicle-level decision logic, Automated Emergency Braking logic, actuator command generation, CAN signal processing, and telemetry preparation.

6.2 Create repeatable virtual tests

Use the simulated environment to define controlled driving conditions such as road geometry, actors, traffic movement, obstacle placement, and driver commands. The same scenario can be replayed for model and PIL execution.

6.3 Establish the model baseline

Run the selected scenario with the original Simulink implementation and log the component inputs, outputs, and vehicle-level signals required for comparison.

6.4 Run the generated implementation in PIL

Generate and build the selected component for the supported S32N5 target configuration. During the PIL run, Simulink sends test vectors to the target and receives the target results while the rest of the virtual vehicle continues to execute on the host.

6.5 Compare and profile

Compare model and PIL outputs using the acceptance criteria defined for the algorithm. Where supported, collect target-side execution-time data to evaluate whether the generated component fits its timing budget.

(view in My Videos)

PIL Setup on S32N5.

7

Results


The result of this workflow is a direct comparison between model behavior and generated code running on the target. A useful result set shows whether target outputs remain equivalent to model outputs, whether decision thresholds and state transitions occur under the same scenario conditions, and whether the target-side execution time fits the assigned budget.

Because the virtual scenes are controlled and repeatable, failing cases can be preserved as regression scenarios and rerun after model, configuration, or implementation changes.


(view in My Videos)

8

Common Pitfalls & Troubleshooting


  • The PIL boundary is too large - keep the virtual world, visualization, and detailed plant on the host.
  • Simulation time is confused with target execution time - use target-side profiling for algorithm timing conclusions.
  • Model and target interfaces differ - keep signal definitions, data types, scaling, units, and sample times consistent.
  • CAN definitions are inconsistent - reuse the same DBC definitions across the simulation and physical network.
  • PIL is treated as complete system validation - PIL validates selected generated code on the processor; full distributed-system behavior still requires later integration stages.
9

Summary & Next Steps


PIL connects the virtual vehicle, simulated scenarios, and S32N5 target execution into one validation flow. The host continues to simulate the driver, vehicle, road, actors, and environment, while selected generated main-node algorithms execute on the S32N5.

A practical next step is to select one bounded S32N5 function, define its acceptance criteria, and replay a representative RoadRunner scenario first with the model and then in PIL. Suitable starting points include data aggregation, AEB decision logic, high-level actuator command generation, or CAN signal processing.

%3CLINGO-SUB%20id%3D%22lingo-sub-2396799%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EProcessor-in-the-Loop%20(PIL)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396799%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3C!--%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%20%20NXP%20MBDT%20COMMUNITY%20ARTICLE%0A%20%20Title%3A%20Processor-in-the-Loop%0A%20%20Context%3A%20Hello%20World%20virtual%20vehicle%2C%20virtual%20scenes%2C%20S32N55%20communication%20hub%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A--%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E1%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--463206951%22%20id%3D%22toc-hId--463206216%22%3ETable%20of%20Contents%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CUL%20style%3D%22list-style%3A%20none%3B%20padding%3A%200%200%200%204px%3B%20margin%3A%200%3B%20color%3A%20%231565c0%3B%22%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part2%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EIntroduction%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part3%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EOverview%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part4%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EContext%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part5%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EComponent%20Overview%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part6%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EDesign%20and%20Implementation%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part7%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EResults%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part8%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ECommon%20Pitfalls%20%26amp%3B%20Troubleshooting%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part9%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESummary%20%26amp%3B%20Next%20Steps%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part10%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EReferences%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E2%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part2%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-2024305882%22%20id%3D%22toc-hId-2024306617%22%3EIntroduction%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EA%20virtual%20vehicle%20can%20reproduce%20vehicle%20dynamics%2C%20driver%20inputs%2C%20road%20scenarios%2C%20sensor%20stimuli%2C%20and%20network%20communication%20long%20before%20the%20complete%20physical%20vehicle%20is%20available.%20However%2C%20a%20successful%20desktop%20simulation%20answers%20only%20one%20part%20of%20the%20engineering%20question%3A%20%3CSTRONG%3Edoes%20the%20algorithm%20behave%20correctly%20as%20a%20model%3F%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3E%3CSTRONG%3EProcessor-in-the-Loop%20(PIL)%3C%2FSTRONG%3E%20adds%20the%20target%20processor%20to%20the%20validation%20loop.%20The%20plant%2C%20scenario%2C%20and%20test%20harness%20remain%20in%20MATLAB%3CSUP%3E%C2%AE%3C%2FSUP%3E%20and%20Simulink%3CSUP%3E%C2%AE%3C%2FSUP%3E%2C%20while%20selected%20generated%20algorithm%20code%20is%20cross-compiled%2C%20downloaded%2C%20and%20executed%20on%20the%20NXP%20processor.%20Inputs%20are%20sent%20from%20the%20host%20to%20the%20target%2C%20and%20the%20computed%20outputs%20are%20returned%20to%20the%20simulation%20for%20comparison%20and%20analysis.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EThis%20makes%20PIL%20the%20bridge%20between%20a%20virtual%20vehicle%20that%20behaves%20correctly%20on%20the%20development%20computer%20and%20embedded%20software%20that%20must%20produce%20equivalent%20results%20on%20its%20intended%20processor.%20It%20also%20provides%20target-based%20execution-time%20measurements%2C%20helping%20engineers%20assess%20whether%20an%20algorithm%20is%20not%20only%20functionally%20correct%2C%20but%20also%20suitable%20for%20its%20timing%20budget.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E3%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part3%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-216851419%22%20id%3D%22toc-hId-216852154%22%3EOverview%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EThis%20article%20presents%20how%20Processor-in-the-Loop%20fits%20into%20a%20Model-Based%20Design%20workflow%20for%20virtual%20vehicle%20development.%20The%20goal%20is%20to%20show%20where%20PIL%20adds%20value%20between%20desktop%20simulation%20and%20deeper%20hardware%20integration%2C%20and%20how%20the%20same%20virtual%20vehicle%20and%20scenario%20can%20be%20reused%20to%20validate%20generated%20code%20on%20the%20target%20processor.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EIn%20this%20workflow%2C%20the%20model%20remains%20the%20starting%20point.%20The%20virtual%20vehicle%20provides%20the%20plant%20behavior%2C%20the%20simulated%20environment%20provides%20repeatable%20driving%20conditions%2C%20and%20the%20selected%20algorithm%20is%20generated%20and%20executed%20on%20target%20hardware.%20PIL%20therefore%20supports%20a%20controlled%20transition%20from%20model%20behavior%20to%20target%20implementation%20behavior.%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22vladmitroi_0-1784549882563.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22vladmitroi_0-1784549882563.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392659i1ABAA96F289A7934%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22vladmitroi_0-1784549882563.png%22%20alt%3D%22vladmitroi_0-1784549882563.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CP%20style%3D%22text-align%3A%20center%3B%20margin%3A%204px%200%2012px%200%3B%20color%3A%20%235f6368%3B%22%3E%3CEM%3EFigure%201.%20PIL%20connects%20virtual%20vehicle%20simulation%20with%20generated%20algorithm%20execution%20on%20target%20hardware.%3C%2FEM%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E4%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part4%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--1590603044%22%20id%3D%22toc-hId--1590602309%22%3EContext%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EThe%20practical%20context%20for%20this%20article%20is%20the%20%3CSTRONG%3EHello%20World%20with%20the%20Model-Based%20Design%20Toolbox%20%E2%80%94%20Model.%20Generate.%20Drive.%3C%2FSTRONG%3E%20project.%20In%20that%20setup%2C%20driver%20inputs%20come%20from%20a%20physical%20steering%20wheel%20and%20pedals%2C%20the%20vehicle%20is%20driven%20through%20a%20RoadRunner%20simulated%20environment%2C%20and%20an%20S32N%20processor%20communicates%20with%20the%20host%20simulation%20while%20making%20vehicle-level%20decisions.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EThe%20virtual%20vehicle%20is%20created%20with%20MathWorks%20tools%20and%20reused%20as%20the%20common%20integration%20point%20for%20driver%20inputs%2C%20vehicle%20behavior%2C%20RoadRunner%20scene%20interaction%2C%20Unreal%20Engine%20visualization%2C%20CAN%20communication%2C%20and%20closed-loop%20feedback%20from%20the%20physical%20setup.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EFrom%20that%20perspective%2C%20PIL%20is%20not%20used%20to%20move%20the%20entire%20virtual%20world%20to%20the%20processor.%20Instead%2C%20the%20virtual%20vehicle%20and%20simulated%20scenario%20remain%20on%20the%20host%20while%20selected%20generated%20algorithms%20are%20executed%20on%20the%20target.%20This%20keeps%20the%20environment%20flexible%20and%20repeatable%20while%20bringing%20processor%20behavior%20into%20the%20validation%20loop.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E5%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part5%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-896909789%22%20id%3D%22toc-hId-896910524%22%3EComponent%20Overview%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EA%20PIL-enabled%20virtual%20vehicle%20workflow%20combines%20the%20following%20elements%3A%3C%2FP%3E%0A%3CUL%20style%3D%22margin%3A%200%200%2012px%200%3B%20padding-left%3A%2022px%3B%20color%3A%20%231a1a1a%3B%22%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3EVirtual%20vehicle%3C%2FSTRONG%3E%20-%20represents%20vehicle%20dynamics%2C%20driver%20interaction%2C%20powertrain%2C%20steering%2C%20braking%2C%20CAN%20communication%2C%20and%20feedback%20paths.%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3EVirtual%20scene%20and%20scenario%3C%2FSTRONG%3E%20-%20provides%20roads%2C%20lanes%2C%20signs%2C%20intersections%2C%20actors%2C%20traffic%20movement%2C%20and%20repeatable%20test%20conditions%20using%20RoadRunner%20and%20Unreal%20Engine.%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3EPIL%20component%3C%2FSTRONG%3E%20-%20contains%20the%20selected%20generated%20algorithm%20code%20that%20is%20cross-compiled%20and%20executed%20on%20the%20target%20processor.%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3ES32N%20main%20node%3C%2FSTRONG%3E%20-%20acts%20as%20an%20aggregator%20and%20decision-maker%2C%20receiving%20information%20from%20sensing%20nodes%20and%20sending%20high-level%20commands%20to%20actuator%20nodes.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20style%3D%22margin%3A%2012px%200%3B%20padding%3A%2010px%2014px%3B%20background%3A%20%23eaf4fb%3B%20border-left%3A%204px%20solid%20%231565C0%3B%20color%3A%20%231a1a1a%3B%22%3E%3CSTRONG%3ES32N%20positioning%3A%3C%2FSTRONG%3E%20S32N%20is%20a%20suitable%20solution%20for%20running%20complex%20central-compute%20algorithms%20in%20PIL%20because%20it%20is%20positioned%20at%20the%20point%20where%20vehicle-level%20decisions%2C%20aggregated%20data%2C%20CAN%20communication%2C%20and%20actuator%20commands%20come%20together.%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E6%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part6%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--910544674%22%20id%3D%22toc-hId--910543939%22%3EDesign%20and%20Implementation%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EA%20practical%20PIL%20workflow%20starts%20by%20selecting%20a%20bounded%20algorithm%20and%20keeping%20the%20plant%2C%20scene%2C%20and%20test%20harness%20on%20the%20host.%20This%20makes%20the%20test%20setup%20easier%20to%20control%20and%20keeps%20the%20comparison%20focused%20on%20the%20generated%20target%20implementation.%3C%2FP%3E%0A%3CH3%20style%3D%22margin%3A%2022px%200%208px%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--219983200%22%20id%3D%22toc-hId--219982465%22%3E6.1%20Select%20the%20algorithm%20boundary%3C%2FH3%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3ERelevant%20candidates%20include%20data%20aggregation%2C%20vehicle-level%20decision%20logic%2C%20Automated%20Emergency%20Braking%20logic%2C%20actuator%20command%20generation%2C%20CAN%20signal%20processing%2C%20and%20telemetry%20preparation.%3C%2FP%3E%0A%3CH3%20style%3D%22margin%3A%2022px%200%208px%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--2027437663%22%20id%3D%22toc-hId--2027436928%22%3E6.2%20Create%20repeatable%20virtual%20tests%3C%2FH3%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EUse%20the%20simulated%20environment%20to%20define%20controlled%20driving%20conditions%20such%20as%20road%20geometry%2C%20actors%2C%20traffic%20movement%2C%20obstacle%20placement%2C%20and%20driver%20commands.%20The%20same%20scenario%20can%20be%20replayed%20for%20model%20and%20PIL%20execution.%3C%2FP%3E%0A%3CH3%20style%3D%22margin%3A%2022px%200%208px%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-460075170%22%20id%3D%22toc-hId-460075905%22%3E6.3%20Establish%20the%20model%20baseline%3C%2FH3%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3ERun%20the%20selected%20scenario%20with%20the%20original%20Simulink%20implementation%20and%20log%20the%20component%20inputs%2C%20outputs%2C%20and%20vehicle-level%20signals%20required%20for%20comparison.%3C%2FP%3E%0A%3CH3%20style%3D%22margin%3A%2022px%200%208px%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--1347379293%22%20id%3D%22toc-hId--1347378558%22%3E6.4%20Run%20the%20generated%20implementation%20in%20PIL%3C%2FH3%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EGenerate%20and%20build%20the%20selected%20component%20for%20the%20supported%20S32N5%20target%20configuration.%20During%20the%20PIL%20run%2C%20Simulink%20sends%20test%20vectors%20to%20the%20target%20and%20receives%20the%20target%20results%20while%20the%20rest%20of%20the%20virtual%20vehicle%20continues%20to%20execute%20on%20the%20host.%3C%2FP%3E%0A%3CH3%20style%3D%22margin%3A%2022px%200%208px%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-444970061%22%20id%3D%22toc-hId-444970796%22%3E6.5%20Compare%20and%20profile%3C%2FH3%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3ECompare%20model%20and%20PIL%20outputs%20using%20the%20acceptance%20criteria%20defined%20for%20the%20algorithm.%20Where%20supported%2C%20collect%20target-side%20execution-time%20data%20to%20evaluate%20whether%20the%20generated%20component%20fits%20its%20timing%20budget.%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20center%3B%20margin%3A%2016px%200%3B%22%3E%3C%2FP%3E%3CDIV%20class%3D%22lia-vid-container%20video-embed-center%22%3E%3CDIV%20id%3D%22lia-vid-6401636318112w386h386r961%22%20class%3D%22lia-video-brightcove-player-container%22%3E%3CVIDEO-JS%20data-video-id%3D%226401636318112%22%20data-account%3D%226153537070001%22%20data-player%3D%22default%22%20data-embed%3D%22default%22%20class%3D%22vjs-fluid%22%20controls%3D%22%22%20data-application-id%3D%22%22%20style%3D%22width%3A%20100%25%3B%20height%3A%20100%25%3B%22%3E%3C%2FVIDEO-JS%3E%3C%2FDIV%3E%3CSCRIPT%20src%3D%22https%3A%2F%2Fplayers.brightcove.net%2F6153537070001%2Fdefault_default%2Findex.min.js%22%3E%3C%2FSCRIPT%3E%3CSCRIPT%3E(function()%20%7B%20%20var%20wrapper%20%3D%20document.getElementById('lia-vid-6401636318112w386h386r961')%3B%20%20var%20videoEl%20%3D%20wrapper%20%3F%20wrapper.querySelector('video-js')%20%3A%20null%3B%20%20if%20(videoEl)%20%7B%20%20%20%20%20if%20(window.videojs)%20%7B%20%20%20%20%20%20%20window.videojs(videoEl).ready(function()%20%7B%20%20%20%20%20%20%20%20%20this.on('loadedmetadata'%2C%20function()%20%7B%20%20%20%20%20%20%20%20%20%20%20this.el().querySelectorAll('.vjs-load-progress%20div%5Bdata-start%5D').forEach(function(bar)%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20bar.setAttribute('role'%2C%20'presentation')%3B%20%20%20%20%20%20%20%20%20%20%20%20%20bar.setAttribute('aria-hidden'%2C%20'true')%3B%20%20%20%20%20%20%20%20%20%20%20%7D)%3B%20%20%20%20%20%20%20%20%20%7D)%3B%20%20%20%20%20%20%20%7D)%3B%20%20%20%20%20%7D%20%20%7D%7D)()%3B%3C%2FSCRIPT%3E%3CA%20class%3D%22video-embed-link%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fvideo%2Fgallerypage%2Fvideo-id%2F6401636318112%22%20target%3D%22_blank%22%3E(view%20in%20My%20Videos)%3C%2FA%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20center%3B%20margin%3A%204px%200%2012px%200%3B%20color%3A%20%235f6368%3B%22%3E%3CEM%3EPIL%20Setup%20on%20S32N5.%3C%2FEM%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E7%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part7%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--1491567121%22%20id%3D%22toc-hId--1491566386%22%3EResults%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EThe%20result%20of%20this%20workflow%20is%20a%20direct%20comparison%20between%20model%20behavior%20and%20generated%20code%20running%20on%20the%20target.%20A%20useful%20result%20set%20shows%20whether%20target%20outputs%20remain%20equivalent%20to%20model%20outputs%2C%20whether%20decision%20thresholds%20and%20state%20transitions%20occur%20under%20the%20same%20scenario%20conditions%2C%20and%20whether%20the%20target-side%20execution%20time%20fits%20the%20assigned%20budget.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EBecause%20the%20virtual%20scenes%20are%20controlled%20and%20repeatable%2C%20failing%20cases%20can%20be%20preserved%20as%20regression%20scenarios%20and%20rerun%20after%20model%2C%20configuration%2C%20or%20implementation%20changes.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CDIV%20class%3D%22lia-vid-container%20video-embed-center%22%3E%3CDIV%20id%3D%22lia-vid-6401636809112w960h540r168%22%20class%3D%22lia-video-brightcove-player-container%22%3E%3CVIDEO-JS%20data-video-id%3D%226401636809112%22%20data-account%3D%226153537070001%22%20data-player%3D%22default%22%20data-embed%3D%22default%22%20class%3D%22vjs-fluid%22%20controls%3D%22%22%20data-application-id%3D%22%22%20style%3D%22width%3A%20100%25%3B%20height%3A%20100%25%3B%22%3E%3C%2FVIDEO-JS%3E%3C%2FDIV%3E%3CSCRIPT%20src%3D%22https%3A%2F%2Fplayers.brightcove.net%2F6153537070001%2Fdefault_default%2Findex.min.js%22%3E%3C%2FSCRIPT%3E%3CSCRIPT%3E(function()%20%7B%20%20var%20wrapper%20%3D%20document.getElementById('lia-vid-6401636809112w960h540r168')%3B%20%20var%20videoEl%20%3D%20wrapper%20%3F%20wrapper.querySelector('video-js')%20%3A%20null%3B%20%20if%20(videoEl)%20%7B%20%20%20%20%20if%20(window.videojs)%20%7B%20%20%20%20%20%20%20window.videojs(videoEl).ready(function()%20%7B%20%20%20%20%20%20%20%20%20this.on('loadedmetadata'%2C%20function()%20%7B%20%20%20%20%20%20%20%20%20%20%20this.el().querySelectorAll('.vjs-load-progress%20div%5Bdata-start%5D').forEach(function(bar)%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20bar.setAttribute('role'%2C%20'presentation')%3B%20%20%20%20%20%20%20%20%20%20%20%20%20bar.setAttribute('aria-hidden'%2C%20'true')%3B%20%20%20%20%20%20%20%20%20%20%20%7D)%3B%20%20%20%20%20%20%20%20%20%7D)%3B%20%20%20%20%20%20%20%7D)%3B%20%20%20%20%20%7D%20%20%7D%7D)()%3B%3C%2FSCRIPT%3E%3CA%20class%3D%22video-embed-link%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fvideo%2Fgallerypage%2Fvideo-id%2F6401636809112%22%20target%3D%22_blank%22%3E(view%20in%20My%20Videos)%3C%2FA%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E8%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part8%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-995945712%22%20id%3D%22toc-hId-995946447%22%3ECommon%20Pitfalls%20%26amp%3B%20Troubleshooting%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CUL%20style%3D%22margin%3A%200%200%2012px%200%3B%20padding-left%3A%2022px%3B%20color%3A%20%231a1a1a%3B%22%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3EThe%20PIL%20boundary%20is%20too%20large%3C%2FSTRONG%3E%20-%20keep%20the%20virtual%20world%2C%20visualization%2C%20and%20detailed%20plant%20on%20the%20host.%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3ESimulation%20time%20is%20confused%20with%20target%20execution%20time%3C%2FSTRONG%3E%20-%20use%20target-side%20profiling%20for%20algorithm%20timing%20conclusions.%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3EModel%20and%20target%20interfaces%20differ%3C%2FSTRONG%3E%20-%20keep%20signal%20definitions%2C%20data%20types%2C%20scaling%2C%20units%2C%20and%20sample%20times%20consistent.%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3ECAN%20definitions%20are%20inconsistent%3C%2FSTRONG%3E%20-%20reuse%20the%20same%20DBC%20definitions%20across%20the%20simulation%20and%20physical%20network.%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CSTRONG%3EPIL%20is%20treated%20as%20complete%20system%20validation%3C%2FSTRONG%3E%20-%20PIL%20validates%20selected%20generated%20code%20on%20the%20processor%3B%20full%20distributed-system%20behavior%20still%20requires%20later%20integration%20stages.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E9%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part9%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--811508751%22%20id%3D%22toc-hId--811508016%22%3ESummary%20%26amp%3B%20Next%20Steps%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EPIL%20connects%20the%20virtual%20vehicle%2C%20simulated%20scenarios%2C%20and%20S32N5%20target%20execution%20into%20one%20validation%20flow.%20The%20host%20continues%20to%20simulate%20the%20driver%2C%20vehicle%2C%20road%2C%20actors%2C%20and%20environment%2C%20while%20selected%20generated%20main-node%20algorithms%20execute%20on%20the%20S32N5.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EA%20practical%20next%20step%20is%20to%20select%20one%20bounded%20S32N5%20function%2C%20define%20its%20acceptance%20criteria%2C%20and%20replay%20a%20representative%20RoadRunner%20scenario%20first%20with%20the%20model%20and%20then%20in%20PIL.%20Suitable%20starting%20points%20include%20data%20aggregation%2C%20AEB%20decision%20logic%2C%20high-level%20actuator%20command%20generation%2C%20or%20CAN%20signal%20processing.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E10%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part10%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-1676004082%22%20id%3D%22toc-hId-1676004817%22%3EReferences%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CUL%20style%3D%22margin%3A%200%200%2012px%200%3B%20padding-left%3A%2022px%3B%20color%3A%20%231a1a1a%3B%22%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Model-Based-Design-Tools%2FHello-World-with-the-Model-Based-Design-Toolbox-Model-Generate%2Fta-p%2F2388812%22%20target%3D%22_blank%22%3EHello%20World%20with%20the%20Model-Based%20Design%20Toolbox%20%E2%80%94%20Model.%20Generate.%20Drive.%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Model-Based-Design-Tools%2FCreating-virtual-vehicle-with-MathWorks-Overview%2Fta-p%2F2392052%22%20target%3D%22_blank%22%3ECreating%20virtual%20vehicle%20with%20MathWorks%20-%20Overview%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Model-Based-Design-Tools%2FCreating-Virtual-Scenes-amp-Scenarios-with-MathWorks-RoadRunner%2Fta-p%2F2337662%22%20target%3D%22_blank%22%3ECreating%20Virtual%20Scenes%20%26amp%3B%20Scenarios%20with%20MathWorks%20(RoadRunner%20%26amp%3B%20Unreal%20Engine)%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22https%3A%2F%2Fwww.mathworks.com%2Fhelp%2Fecoder%2Fprocessor-in-the-loop.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%3EMathWorks%3A%20Processor-in-the-Loop%20Simulation%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
yesterday
Updated by: