720 likes | 899 Views
Digital Design – Optimizations and Tradeoffs. Chapter 6 - Optimizations and Tradeoffs. Digital Design Optimizations and Tradeoffs. Figure 6.1 A circuit transformation that improves both size and delay, i.e., an optimization. Digital Design Optimizations and Tradeoffs.
E N D
Digital Design – Optimizations and Tradeoffs Chapter 6 - Optimizations and Tradeoffs
Digital DesignOptimizations and Tradeoffs Figure 6.1 A circuit transformation that improves both size and delay, i.e., an optimization.
Digital DesignOptimizations and Tradeoffs Figure 6.2 A circuit transformation that improves size but worsens delay, i.e., a tradeoff.
Digital DesignOptimizations and Tradeoffs Figure 6.3 Optimizations (left) versus tradeoffs (right).
Digital DesignOptimizations and Tradeoffs Figure 6.4 Three-variable K-map.
Digital DesignOptimizations and Tradeoffs Figure 6.5 Minimizing a three-variable function using a K-map.
Digital DesignOptimizations and Tradeoffs Figure 6.6 Four adjacent 1s. Figure 6.7 Non-optimal circles.
Digital DesignOptimizations and Tradeoffs Figure 6.8 Four adjacent 1s. Figure 6.9 Circling a 1 twice.
Digital DesignOptimizations and Tradeoffs Figure 6.10 An unnecessary term. Figure 6.11 Sides are adjacent.
Digital DesignOptimizations and Tradeoffs Figure 6.12 Invalid circle. Figure 6.13 Four adjacent 1s.
Digital DesignOptimizations and Tradeoffs Figure 6.14 Four-variable K-map.
Digital DesignOptimizations and Tradeoffs Figure 6.15 Eight adjacent cells.
Digital DesignOptimizations and Tradeoffs Figure 6.16 w’xz and yz terms.
Digital DesignOptimizations and Tradeoffs Figure 6.17 Terms on the K-map. Figure 6.18 A cover.
Digital DesignOptimizations and Tradeoffs Figure 6.19 K-map example.
Digital DesignOptimizations and Tradeoffs Figure 6.20 Map with don’t cares. Figure 6.21 Wasteful use of X’s.
Digital DesignOptimizations and Tradeoffs Figure 6.22 Sliding switch example. Figure 6.23 Without don’t cares. Figure 6.24 With don’t cares.
Digital DesignOptimizations and Tradeoffs Figure 6.25 A cover is not necessarily optimal -- the top cover uses more terms.
Digital DesignOptimizations and Tradeoffs Figure 6.26 Implicants. Figure 6.27 Essential prime-implicants.
Digital DesignOptimizations and Tradeoffs Table 6.1 Heuristic for two-level logic size optimization starting with a K-map.
Digital DesignOptimizations and Tradeoffs Figure 6.28 All prime implicants (top); including essential prime implicants in the cover (middle); covering remaining 1s (bottom).
Digital DesignOptimizations and Tradeoffs Figure 6.30 Multi-level logic to tradeoff performance and size: (a) two-level circuit, (b) multi-level circuit with fewer transistors, (c) illustration of the size versus delay tradeoff. Numbers inside gates represent transistor counts.
Digital DesignOptimizations and Tradeoffs Figure 6.31 Multi-level logic to tradeoff performance and size: (a) two-level circuit, (b) multi-level circuit with fewer transistors, (c) tradeoff of size vs. delay. Numbers inside gates represent transistor counts.
Digital DesignOptimizations and Tradeoffs Figure 6.32 Multi-level optimization that reduces size without increasing delay, by altering a non-critical path: (a) original circuit, (b) new circuit with fewer transistors but same delay, (c) illustration of the size optimization with no tradeoff with delay.
Digital DesignOptimizations and Tradeoffs Figure 6.33 Eliminating redundant states.
Digital DesignOptimizations and Tradeoffs Figure 6.34 Laser timer state diagram with alternative binary state encoding.
Digital DesignOptimizations and Tradeoffs Table 6.2 State table for laser timer controller with alternative encoding.
Digital DesignOptimizations and Tradeoffs Figure 6.35 FSM for given sequence.
Digital DesignOptimizations and Tradeoffs Table 6.3 State table using binary encoding. Table 6.4 State table using one-hot encoding.
Digital DesignOptimizations and Tradeoffs Figure 6.36 One-hot encoding can reduce delay: (a) minimum binary encoding, (b) one-hot encoding, (c) though total sizes may be roughly equal (one-hot encoding uses fewer gates but more flip-flops), one-hot yields a shorter critical path.
Digital DesignOptimizations and Tradeoffs Figure 6.37 One-hot encoding of laser timer.
Digital DesignOptimizations and Tradeoffs Table 6.5 State table for laser timer controller with one-hot encoding.
Digital DesignOptimizations and Tradeoffs Figure 6.38 FSM for given sequence.
Digital DesignOptimizations and Tradeoffs Figure 6.39 Sequence generator FSM.
Digital DesignOptimizations and Tradeoffs Table 6.6 Partial state table for sequence generator controller using output encoding.
Digital DesignOptimizations and Tradeoffs Figure 6.40 Sequence generator controller with output encoding.
Digital DesignOptimizations and Tradeoffs Figure 6.41 Standard controller architecture -- general view.
Digital DesignOptimizations and Tradeoffs Figure 6.42 Moore (a) versus Mealy (b) FSM controller architectures.
Digital DesignOptimizations and Tradeoffs Figure 6.43 A Mealy FSM associates outputs with transistions, not states.
Digital DesignOptimizations and Tradeoffs Figure 6.44 Capturing desired behavior using a: (a) Moore FSM, (b) Mealy FSM.
Digital DesignOptimizations and Tradeoffs Figure 6.45 4-bit carry-ripple adder, with the longest path (the critical path) shown.
Digital DesignOptimizations and Tradeoffs Figure 6.46 8-bit adder built from two 4-bit adders.
Digital DesignOptimizations and Tradeoffs Figure 6.47 Adding two binary numbers by a naive inefficient carry lookahead scheme -- each stage looks at all earlier bits and computes whether the carry-in bit to that stage would be a 1.
Digital DesignOptimizations and Tradeoffs Figure 6.48 Adding two binary numbers using a fast carry-lookahead scheme.
Digital DesignOptimizations and Tradeoffs Figure 6.48 Adding two binary numbers using a fast carry-lookahead scheme. (cont.)
Digital DesignOptimizations and Tradeoffs Figure 6.49 High-level view of a 4-bit carry-lookahead adder.
Digital DesignOptimizations and Tradeoffs Figure 6.50 Gate size problem.
Digital DesignOptimizations and Tradeoffs Figure 6.51 16-bit adder implemented using four 4-bit adders connected in a carry-ripple manner.
Digital DesignOptimizations and Tradeoffs Figure 6.52 16-bit adder implemented using four CLA 4-bit adders and a second level of lookahead.
Digital DesignOptimizations and Tradeoffs Figure 6.53 Simplified view of multi-level carry-lookahead, showing tree structure, which enables fast addition with reasonable numbers and sizes of gates. Each level adds only two gate-delays.