3Y设计思想
2016.9.22
-
3Y原则:数字电路设计的3Y原则出自《Digital Design and Computer Architecture》 1.2.3小节,原文是:"In addition to abstraction and discipline, designers use the three "-y's" to manage complexity:
-
hierarchy
-
modularity
-
regularity
-
-
These principles apply to both software and hardware systems."
-
除了抽象和约束之外,设计者还用3Y原则来处理复杂的系统,3Y是:层次化、模块化、标准化,这些原则用在了软件和硬件系统上。
-
层次化 :分层思想,每个层次定义好接口,每个层次只需关注好上下层的接口。不必在意上下层的内部细节。
-
模块化 :分离思想,每个模块,高内聚,低耦合,模块之间通信尽量少。哪个模块坏了换哪一个。
-
标准化 :规整思想,量化成几个等级的统一标准、规格,适合大量生产以及复制。例如衣服的型号、几种规格的电源模块、几种规格的电阻电容、几种型号的CPU。