13
Fuw-Yi Yang 1 數數數數 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 數數數數數數數數數 Speaker: Fuw-Yi Yang 數數數 數數數數數 , 數數數 數數數 (Chapter 58) 數數數數 數數數 (Chapter 14) 數數數數 , 數數數 數數數數

Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

  • View
    232

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 1

數位系統 Digital Systems 

Department of Computer Science and Information Engineering, Chaoyang University of Technology

朝陽科技大學資工系

Speaker: Fuw-Yi Yang 楊伏夷

伏夷非征番 , 道德經 察政章 (Chapter 58) 伏者潛藏也 道紀章 (Chapter 14) 道無形象 , 視之不可見者曰夷

Page 2: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 2

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

7.4 Show the memory cycle timing waveforms for the write and read operations. Assume a CPU clock of 100 MHz and a memory cycle time of 25 ns.

Page 3: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 3

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

7.4 Show the memory cycle timing waveforms for the write and read operations. Assume a CPU clock of 100 MHz and a memory cycle time of 25 ns.

Page 4: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 4

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

7.6 Enclose the 4 X 4 RAM of Fig. 7.6 in a block diagram showing all inputs and outputs. Assuming three-state outputs, construct an 8 X 8 memory using four 4 X 4 RAM units.

Page 5: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 5

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

7.6 Enclose the 4 X 4 RAM of Fig. 7.6 in a block diagram showing all inputs and outputs. Assuming three-state outputs, construct an 8 X 8 memory using four 4 X 4 RAM units.

Page 6: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 6

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

7.7 A 16K X 4 memory uses coincident decoding by splitting the internal decoder into X-selection and Y-selection.

a. What is the size of each decoder, and how many AND gates are required for decoding the addresses?

b. Determine the X and Y selection lines that are enabled when the input address is the binary equivalent of 6,000.

Page 7: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 7

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

a. What is the size of each decoder, and how many AND gates are required for decoding the addresses?

16K = 27 * 27

Required gates: 2 * 128 = 256 AND gates, each with 7 inputs leads cost = 256 * (7 + 1) = 2048 units For one dimensional decoding Required gates: 16384 AND gates, each with 8 inputs leads cost = 16384 * (8 + 1) = 147456 unitsb. Determine the X and Y selection lines that are enabled when the

input address is the binary equivalent of 6,000. 600010 = 0101110 11100002

Page 8: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 8

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

7.8 a. How many 32K X 8 RAM chips are needed to provide a memory capacity of 256K bytes? b. How many lines of the address must be used to access 256K bytes? How many of these lines are connected to the address inputs of all chips? c. How many lines must be decoded for the chips select inputs? Specify the size of the decoder?

Page 9: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 9

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

a. How many 32K X 8 RAM chips are needed to provide a memory capacity of 256K bytes? 8 chipsb. How many lines of the address must be used to access 256K bytes? How many of these lines are connected to the address inputs of all chips? using 18 address lines to address 256K memory unit using 15 address lines to address 32K memory unit c. How many lines must be decoded for the chips select inputs? Specify the size of the decoder? 3 address lines as inputs to a 3 X 8 decoder

Page 10: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 10

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

Page 11: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 11

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

a. How many 32K X 8 RAM chips are needed to provide a memory capacity of 256K bytes? 8 chipsb. How many lines of the address must be used to access 256K bytes? How many of these lines are connected to the address inputs of all chips? using 18 address lines to address 256K memory unit using 15 address lines to address 32K memory unit c. How many lines must be decoded for the chips select inputs? Specify the size of the decoder? 3 address lines as inputs to a 3 X 8 decoder

Page 12: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 12

Text Book: Digital Design 4th Ed.

Chapter 7 Problems

Page 13: Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi

Fuw-Yi Yang 13

Text Book: Digital Design 4th Ed.

Chapter 7 Problems