Copyright © 2015, 2019 Waleed A. Yousef. All Rights Reserved.
3.2.2 Three-VariableMap........................................................................ 39
3.3 Four-VariableMap ................................................................................ 45
3.4 Five-VariableMap ................................................................................ 48
3.5 Product-of-SumsSimplifications ....................................................................... 50
3.6 Don’t-CareConditions.............................................................................. 52
3.6.1 More Examples on K-Map Simplifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.7 Two-Level Implementation in NAND and NOR ................................................................ 54
3.7.1 NORImplementation....................................................................... 56
3.9 Exclusive-OR (XOR)Function:revisit ..................................................................... 57
3.9.1 ParityGenerationandChecking ................................................................ 60
3.10 HardwareDescriptiveLanguage(HDL).................................................................... 61
4 Combinational Logic 66
4.1 Introduction:typesoflogiccircuits ...................................................................... 67
4.2 CombinationalCircuits ............................................................................. 68
4.3 AnalysisProcedure................................................................................ 69
4.4 DesignProcedure................................................................................. 70
4.4.1 CodeConversionExample.................................................................... 70
4.5 BinaryAdder-Subtractor ............................................................................ 72
4.5.1 HalfAdder.............................................................................. 72
4.5.2 FullAdder.............................................................................. 73
4.5.3 Implementing FA using ONLY HA => modular design => very interesting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
4.5.4 Binary Adder: => more modular design => wonderful! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.5.5 Carry Propagation: complexity-speed trade off! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
4.5.6 BinarySubtractor ......................................................................... 78
4.5.7 BinaryAdder-Subtractor ..................................................................... 79
4.6 DecimalAdder .................................................................................. 80
4.7 BinaryMultiplier ................................................................................. 84
4.7.1 2-bitx2-bitMultiplier....................................................................... 84
4.7.2 3-bit x 4-bit Multiplier: How many bits? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
4.8 4-bitx4-bitMagnitudeComparator...................................................................... 86
4.9 n×2nDecoder: Di=mi............................................................................ 89
4.10 2nto nEncoders ................................................................................. 92
4.10.1 PriorityEncoder:4x2....................................................................... 93
4.11 Multiplexers: 2n×1................................................................................ 94
4.11.1 Two-to-one-lineMux ....................................................................... 94
4.11.2 Four-to-one-lineMux....................................................................... 95
4.11.3 Quadrable two-to-one-line Mux (block-reuse design) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4.11.4 Boolean Function Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
4.12 Demultiplexers(DEMUX)............................................................................ 99
4.13 HDLModelsofCombinationalCircuits....................................................................100
iv