이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
SIL(Software-in-the-Loop) 시뮬레이션
SIL(Software-in-the-Loop) 시뮬레이션은 생성된 소스 코드를 컴파일하고 호스트 컴퓨터에서 별도의 프로세스로 코드를 실행합니다. 일반 시뮬레이션 결과와 SIL 시뮬레이션 결과를 비교하여 모델과 생성된 코드의 수치적 동등성을 테스트할 수 있습니다. SIL 시뮬레이션 동안 생성된 코드에 대한 코드 커버리지와 실행 시간 메트릭을 수집할 수 있습니다.
앱
| SIL/PIL 관리자 | 생성된 코드 확인 |
도움말 항목
- SIL 및 PIL 시뮬레이션
SIL(Software-in-the-Loop) 및 PIL(Processor-in-the-Loop) 시뮬레이션에 대한 개요.
- SIL 또는 PIL 접근법 선택
최상위 모델, 참조 모델 및 서브시스템에서 생성된 코드를 테스트
- SIL 시뮬레이션 구성 및 실행
최상위 모델 SIL 및 Model 블록 SIL 시뮬레이션을 설정하고 실행합니다.
- SIL/PIL 관리자를 사용한 서브시스템 코드 단위 테스트
SIL/PIL 관리자를 사용하여 Atomic Subsystem에 대한 단위 테스트를 수행합니다.
- SIL/PIL Manager Verification Workflow
A simplified workflow for verifying generated code.
- Simulation Mode Override Behavior in Model Reference Hierarchy
How the simulation mode of the top model or parent model determines the simulation behavior of a model hierarchy.
- SIL and PIL Limitations
Modeling and code generation features that are not supported or partially supported by SIL and PIL simulations.
문제 해결
SIL 또는 PIL 시뮬레이션 중 코드 생성 과정 디버깅
디버거를 사용하여 생성된 코드의 동작을 파악하십시오.
SIL 및 PIL 파일을 포함하는 코드 생성 리포트와 정적 코드 메트릭을 생성합니다.
Numerical Consistency of Model and Generated Code Simulation Results
Determine whether model and generated code simulation results are numerically consistent. Investigate discrepancies.
