9.5、接口故障..........................................................................................................................12
9.6、干扰信号..........................................................................................................................13
9.7、错误操作..........................................................................................................................13
9.8、监控定时器的设计..........................................................................................................13
9.9、异常保护设计..................................................................................................................13
10、简化设计.................................................................................................................................. .13
10.1、单入和单出....................................................................................................................13
10.2、模块的独立性................................................................................................................13
10.3、模块的扇入扇出............................................................................................................14
10.4、模块耦合方式................................................................................................................14
10.5、模块内聚顺方式............................................................................................................14
10.6、其他特殊考虑................................................................................................................14
11、余量设计...................................................................................................................................14
11.1、资源分配及余量要求....................................................................................................14
11.2、时序安排的余量要求....................................................................................................15
12、数据要求.................................................................................................................................. .15
12.1、数据需求........................................................................................................................15
12.2、属性控制........................................................................................................................15
12.3、数值运算范围控制........................................................................................................15
12.4、合理性检查....................................................................................................................15
13、防错程序设计.......................................................................................................................... .16
13.1、参数化............................................................................................................................16
13.2、公用数据和公共变量....................................................................................................16
13.3、标志................................................................................................................................16
13.4、文件................................................................................................................................16
13.5、非授权存取的限制........................................................................................................16
13.6、无意指令跳转的处理....................................................................................................16
13.7、程序检测点的设置........................................................................................................17
13.8、寻址模式的选用............................................................................................................17
13.9、数据区隔离....................................................................................................................17
13.10、安全关键信息的要求..................................................................................................17
13.11、信息存储要求..............................................................................................................17
13.12、算法选择要求..............................................................................................................17
14、编程要求.................................................................................................................................. .18
14.1、语言要求........................................................................................................................18
14.2、汇编语言编程限制........................................................................................................18
14.3、高级语言的编程限制....................................................................................................18
14.4、圈复杂度指数(McCabe)..........................................................................................18
14.5、软件单元的规模............................................................................................................18
14.6、命名要求........................................................................................................................18
14.7、程序格式要求................................................................................................................19
14.8、程序注释要求与方法....................................................................................................19
14.8.1、注释的一般要求.................................................................................................19
14.8.2、模块头注释要求.................................................................................................19
- 1
- 2
- 3
前往页