Failed to compile with an error: CGIR assertion 'ValidCore violated'

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

Failed to compile with an error: CGIR assertion 'ValidCore violated'

369 Views
wsung
Contributor I

Hi community,
I'm trying to deploy battery management system algorithms on NXP S32K from Simulink, following the training
https://www.nxp.com/design/training/deploying-battery-management-system-algorithms-on-nxp-s32k-from-...
I run into a compile error on SOC_Estimation that says
CGIR assertion 'ValidCore violated: Failed assertion: StaticMatrixType::isa(assignExprType) == StaticMatrixType::isa(rhsType)' failed in 'B:\matlab\src\cg_ir\util_cg\sanity\CheckSanityOfAssignExpr.cpp:136'
...
### Build procedure for SOC_Estimation aborted due to an error.
Do you have any idea on what can cause this error?
The only difference between the training and my development environment lays on the target board to deploy.
While the training uses S32K144EVB, I'm using one of the variants: S32K146EVB.
Do you think this difference can make that failure on the stage of code generation?
Thanks for your interest.

0 Kudos
Reply
0 Replies