Chapter 11- Design Technology.ppt
《Chapter 11- Design Technology.ppt》由会员分享,可在线阅读,更多相关《Chapter 11- Design Technology.ppt(57页珍藏版)》请在麦多课文档分享上搜索。
1、1,Chapter 11: Design Technology,2,Outline,Automation: synthesis Verification: hardware/software co-simulation Reuse: intellectual property cores Design process models,3,Design task Define system functionality Convert functionality to physical implementation while Satisfying constrained metrics Optim
2、izing other design metrics Designing embedded systems is hard Complex functionality Millions of possible environment scenarios Competing, tightly constrained metrics Productivity gap As low as 10 lines of code or 100 transistors produced per day,Introduction,4,Improving productivity,Design technolog
3、ies developed to improve productivity We focus on technologies advancing hardware/software unified view Automation Program replaces manual design Synthesis Reuse Predesigned components Cores General-purpose and single-purpose processors on single IC Verification Ensuring correctness/completeness of
4、each design step Hardware/software co-simulation,5,Automation: synthesis,Early design mostly hardware Software complexity increased with advent of general-purpose processor Different techniques for software design and hardware design Caused division of the two fields Design tools evolve for higher l
5、evels of abstraction Different rate in each field Hardware/software design fields rejoining Both can start from behavioral description in sequential program model 30 years longer for hardware design to reach this step in the ladder Many more design dimensions Optimization critical,6,Hardware/softwar
6、e parallel evolution,Software design evolution Machine instructions Assemblers convert assembly programs into machine instructions Compilers translate sequential programs into assembly Hardware design evolution Interconnected logic gates Logic synthesis converts logic equations or FSMs into gates Re
7、gister-transfer (RT) synthesis converts FSMDs into FSMs, logic equations, predesigned RT components (registers, adders, etc.) Behavioral synthesis converts sequential programs into FSMDs,7,Increasing abstraction level,Higher abstraction level focus of hardware/software design evolution Description s
8、maller/easier to capture E.g., Line of sequential program code can translate to 1000 gates Many more possible implementations available (a) Like flashlight, the higher above the ground, the more ground illuminated Sequential program designs may differ in performance/transistor count by orders of mag
9、nitude Logic-level designs may differ by only power of 2 (b) Design process proceeds to lower abstraction level, narrowing in on single implementation,8,Synthesis,Automatically converting systems behavioral description to a structural implementation Complex whole formed by parts Structural implement
10、ation must optimize design metrics More expensive, complex than compilers Cost = $100s to $10,000s User controls 100s of synthesis options Optimization critical Otherwise could use software Optimizations different for each user Run time = hours, days,9,Gajskis Y-chart,Each axis represents type of de
11、scription Behavioral Defines outputs as function of inputs Algorithms but no implementation Structural Implements behavior by connecting components with known behavior Physical Gives size/locations of components and wires on chip/board Synthesis converts behavior at given level to structure at same
12、level or lower E.g., FSM gates, flip-flops (same level) FSM transistors (lower level) FSM X registers, FUs (higher level) FSM X processors, memories (higher level),10,Logic synthesis,Logic-level behavior to structural implementation Logic equations and/or FSM to connected gates Combinational logic s
13、ynthesis Two-level minimization (Sum of products/product of sums) Best possible performance Longest path = 2 gates (AND gate + OR gate/OR gate + AND gate) Minimize size Minimum cover Minimum cover that is prime Heuristics Multilevel minimization Trade performance for size Pareto-optimal solution Heu
14、ristics FSM synthesis State minimization State encoding,11,Two-level minimization,Represent logic function as sum of products (or product of sums) AND gate for each product OR gate for each sum Gives best possible performance At most 2 gate delay Goal: minimize size Minimum cover Minimum # of AND ga
15、tes (sum of products) Minimum cover that is prime Minimum # of inputs to each AND gate (sum of products),12,Minimum cover,Minimum # of AND gates (sum of products) Literal: variable or its complement a or a, b or b, etc. Minterm: product of literals Each literal appears exactly once abcd, abcd, abcd,
16、 etc. Implicant: product of literals Each literal appears no more than once abcd, acd, etc. Covers 1 or more minterms acd covers abcd and abcd Cover: set of implicants that covers all minterms of function Minimum cover: cover with minimum # of implicants,13,Minimum cover: K-map approach,Karnaugh map
17、 (K-map) 1 represents minterm Circle represents implicant Minimum cover Covering all 1s with min # of circles Example: direct vs. min cover Less gates 4 vs. 5 Less transistors 28 vs. 40,F=abcd + acd + abcd,2 4-input AND gate 1 3-input AND gates 1 4 input OR gate 28 transistors,K-map: sum of products
18、,K-map: minimum cover,Minimum cover,Minimum cover implementation,14,Minimum cover that is prime,Minimum # of inputs to AND gates Prime implicant Implicant not covered by any other implicant Max-sized circle in K-map Minimum cover that is prime Covering with min # of prime implicants Min # of max-siz
19、ed circles Example: prime cover vs. min cover Same # of gates 4 vs. 4 Less transistors 26 vs. 28,15,Minimum cover: heuristics,K-maps give optimal solution every time Functions with 6 inputs too complicated Use computer-based tabular method Finds all prime implicants Finds min cover that is prime Als
20、o optimal solution every time Problem: 2n minterms for n inputs 32 inputs = 4 billion minterms Exponential complexity Heuristic Solution technique where optimal solution not guaranteed Hopefully comes close,16,Heuristics: iterative improvement,Start with initial solution i.e., original logic equatio
21、n Repeatedly make modifications toward better solution Common modifications Expand Replace each nonprime implicant with a prime implicant covering it Delete all implicants covered by new prime implicant Reduce Opposite of expand Reshape Expands one implicant while reducing another Maintains total #
22、of implicants Irredundant Selects min # of implicants that cover from existing implicants Synthesis tools differ in modifications used and the order they are used,17,Multilevel logic minimization,Trade performance for size Increase delay for lower # of gates Gray area represents all possible solutio
23、ns Circle with X represents ideal solution Generally not possible 2-level gives best performance max delay = 2 gates Solve for smallest size Multilevel gives pareto-optimal solution Minimum delay for a given size Minimum size for a given delay,size,delay,multi-level minim.,2-level minim.,18,Example,
24、Minimized 2-level logic function: F = adef + bdef + cdef + gh Requires 5 gates with 18 total gate inputs 4 ANDS and 1 OR After algebraic manipulation: F = (a + b + c)def + gh Requires only 4 gates with 11 total gate inputs 2 ANDS and 2 ORs Less inputs per gate Assume gate inputs = 2 transistors Redu
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CHAPTER11DESIGNTECHNOLOGYPPT
