MISRA Discussion Forums

Full Version: Misra-C Coding Rule Divide by Safety Integrity Level
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi !!!
I have a question.

I Knew MISRA-C Coding Rule is consist of about 140 Coding Rules.
I Wonder this!
Can We devide 140 MISRA-C Coding Rule by Safety Integrity Level 0,1,2,3,4 ?
If We can do above, Could tell me the way?

Please give us an answer !!

Thank you !!!
liner Wrote:Hi !!!
I have a question.

I Knew MISRA-C Coding Rule is consist of about 140 Coding Rules.
I Wonder this!
Can We devide 140 MISRA-C Coding Rule by Safety Integrity Level 0,1,2,3,4 ?
If We can do above, Could tell me the way?

Please give us an answer !!

Thank you !!!

What you are asking is not possible.

if you have to ask the question then the answer is :
ALL MISRA-C rules apply from SIL0 to SIL4
MISRA-C forms a language subset.

IEC61508 Part 7 Table C.1 line 10 states that \"C with subset and coding standard, and use of static analysis tools\" is highly recommended at SIL1 thru SIL4.

Our experience is that once people learn how to write MISRA-C conformant code, they just do not think in terms of not writing MISRA-C code.

Given this, I think that MISRA-C should be consistently applied across projects regardless of SIL.

IMHO.