10. MISRA-C 履歴
MISRA C:第一版, 1998 C90対応
MISRA C:第二版, 2004, C90対応
MISRA Autocode, 2007/2009
MISRA C++ Guidelines for the use of
the C++ language in critical systems:
2008
MISRA C:第三版, 2012, C90/C99
base
11. MISRA Autocode
MISRA AC INT: Introduction to the MISRA guidelines for the use of
automatic code generation in automotive systems,2007.
MISRA AC TL: Modelling style guidelines for the application of
TargetLink in the context of automatic code generation, November
2007.
MISRA AC AGC: Guidelines for the application of MISRA-C:2004
in the context of automatic code generation,November2007.
MISRA AC GMG: Generic modelling design and style
guidelines, May 2009.
MISRA AC SLSF: Modelling design and style guidelines for the
application of Simulink and Stateflow, May 2009.
模擬試験の浮動小数点を自動生成で固定小数点に変換
◦ 誤差・桁落ちを少なくするキャスト
◦ 0割にならないように=>この規則ではできない=>他の検
証、証明が必要
14. Essential Type-MISRAC:2012
第二版では潜在型(Underlying type)と呼んでいた
CPUでレジスタ幅の拡張を想定した型規則?
CPUでレジスタをbitifieldで処理する際の型?
演算、関数、マクロで暗黙、明示の型変換を説明
する際の用語
Boolea characte
n
r
singed
unsigned
_Bool
signed char
unsigned char
singed short
unsigned short
singed int
unsigned int
signed long
signed long
unsigned long
unsigned long
char
enum<i>
named
enum
floating
float
double
long
double
20. .net micro Framework基礎
256 KBytes of flash and 64 KBytes of
RAM. I
a subset of the .NET
シミュレータデバッグ機能
.net micro frameworkは.NET Frameworkの
.NET基礎は.net
micro framework
部分集合−>
(最後の行は仮説)