Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Signal naming convention in MISRA guidelines
#1
Hi,

That is my first message on this bulletin, so I am not sure whether this is the right place for my question. If not please direct me to the right thread.

I work in the automotive sector and more specifically in safety critical automotive control design with Simulink etc. So far in my team, we haven't started using an established signal name convention in Simulink that complies with a standard like MISRA. My question is, do you know if there is any of the MISRA documents that provides signal name convention for automotive systems?

In Autosar there is such a keyword list as you can see in the end of this document https://www.autosar.org/fileadmin/user_u...deling.pdf

For example if I want to name a signal with the name vehicle longitudinal velocity. Should it be vhllongvel or vehlngvl or vehllongvel etc. You get the picture.

thanks in advance,

ILIAS
Reply
#2
Hello Illias,

There are currently no MISRA documents that identify a naming convention for signals (and there are no current plans to do so).

MISRA AC GMG:2023 and MISRA AC SLSF:2023 have rules that depend on there being naming conventions within a project for all identifiers (variables, signal names and block names) and block annotations, and place some constraints on identifiers. However, it is not currently considered appropriate to give further guidance on formats, standard terms or abbreviations.

Please note that, although the MISRA Autocode guidelines originated in the automotive sector, they are not intended to be specific to that industry.
Posted by and on behalf of the MISRA AC Working Group
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)