处理器在环测试(或PIL测试)意味着我们要测试的代码使用目标编译器编译并在目标处理器上执行。但是,我们为什幺要这样做呢?无论是在开发手写代码还是在基于模型的环境中(如 Matlab/Simulink)工作,都很可能执行软件在环仿真 (SIL),这些仿真在主机 PC 上的理想化环境中运行。与目标处理器相比,它通常具有更强大的CPU,并使用不同的编译器。
In the early 2000’s growing software complexity motivated us to use Model-Based development approach rather than developing C-Code or Assembler Code as it is closer to human brain.
Model-Based Development promotes Left-Shift approach making the Automotive development life cycle cheaper by finding the issues earlier.
Model-Based Development helps splitting the process into different phases, where different engineers and software developers can work on their core competencies.