7-8 BUS-Based Transfer A more efficient scheme for transferring data between registers is a system that shared transfer path called BUS. A block diagram.

Slides:



Advertisements
Similar presentations
Part 4: combinational devices
Advertisements

EKT 221 : Digital 2 MUX-based Transfer
Registers and Counters
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Princess Sumaya University
Chapter 9 Computer Design Basics. 9-2 Datapaths Reminding A digital system (or a simple computer) contains datapath unit and control unit. Datapath: A.
Random access memory Sequential circuits all depend upon the presence of memory. A flip-flop can store one bit of information. A register can store a single.
Overview Part 2 – Combinational Logic
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
Memory and Programmable Logic
Chapter 7. Register Transfer and Computer Operations
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Chapter 7 - Part 2 1 CPEN Digital System Design Chapter 7 – Registers and Register Transfers Part 2 – Counters, Register Cells, Buses, & Serial Operations.
Combinational Logic Building Blocks
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
Multiplexer MUX. 2 Multiplexer Multiplexer (Selector)  2 n data inputs,  n control inputs,  1 output  Used to connect 2 n points to a single point.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
KU College of Engineering Elec 204: Digital Systems Design
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Chapter 1_4 Part II Counters
Chapter 4 Register Transfer and Microoperations
CHAPTER 12 REGISTERS AND COUNTERS
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
CSC321 Where We’ve Been Binary representations Boolean logic Logic gates – combinational circuits Flip-flops – sequential circuits Complex gates – modules.
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Kuliah Rangkaian Digital Kuliah 6: Blok Pembangun Logika Kombinasional Teknik Komputer Universitas Gunadarma.
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part3.
Computer System Architecture © Korea Univ. of Tech. & Edu. Dept. of Info. & Comm. Chap. 4 Register Transfer and Microoperations 4-1 Chap. 4 Register Transfer.
Chapter
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Chap 7. Register Transfers and Datapaths. 7.1 Datapaths and Operations Two types of modules of digital systems –Datapath perform data-processing operations.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
Chap 5. Registers and Counters. Chap Definition of Register and Counter l a clocked sequential circuit o consist of a group of flip-flops & combinational.
CS 105 DIGITAL LOGIC DESIGN Chapter 4 Combinational Logic 1.
BR 8/991 Combinational Building Blocks 2/1 Multiplexor (MUX) I0 I1 Y S if S = 0, then Y = I0 if S = 1, then Y = I1 Y = I0 S’ + I1 S I0 I1 Y S A[3:0] B[3:0]
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
1 CS 151: Introduction to Digital Design Chapter 2-10 High Impedance Outputs.
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Three-state devices Multiplexers.
Combinational Circuits by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
1 Outline Bus Transfer Memory Transfer Microoperations.
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Decoders. A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the.
Chapter 3: Combinational Functions and Circuits 3-5 to 3-7: Decoders
9-4 The Shifter  Shifter shifts the value on Bus B  Right shift and Left shift Bidirectional shift register with parallel load First clock pulse 에 Bus.
Lecture 10: Computer Design Basics: The ALU and the Shifter Soon Tee Teoh CS 147.
Chapter 7 Register & Register Transfer 7-1 Register and Register Enable 7-2 Register Transfers 7-3 Register Transfer Operations 7-5 Microoperations 7-6.
1 COMP541 Datapaths I Montek Singh Mar 8, Topics  Over next 2/3 classes: datapaths  Basic register operations Book sections 7-2 to 7-6 and 7-8.
Digital Design Lecture 8 Combinatorial Logic (Continued)
Chap 5. Registers and Counters
Topic: N-Bit parallel and Serial adder
Computer Design Basics
Chap 7. Register Transfers and Datapaths
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
Basics of digital systems
Register Transfer and Microoperations
REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
FIGURE 4.1 Block diagram of combinational circuit
FIGURE 10.1 Rectangular‐shape graphic symbols for gates
Chapter 1_5 register Cell Design
SYEN 3330 Digital Systems Chapter 7 – Part 1 SYEN 3330 Digital Systems.
Overview Last lecture Digital hardware systems Today
Computer Design Basics
XOR Function Logic Symbol  Description  Truth Table 
Instruction execution and ALU
Computer Architecture
Presentation transcript:

7-8 BUS-Based Transfer A more efficient scheme for transferring data between registers is a system that shared transfer path called BUS. A block diagram for transfer between three registers ; Three n-bit 2-to-1 MUX 가 있음. ; Each MUX has select signal. ; Each register has its own LOAD signal Fig.7-19

Single BUS (Fig.7-19) The same system based on a BUS can be implemented by using a single n-bit 3-to-1 MUX and parallel load register. Single BUS

Single BUS를 이용한 transfer에 대한 예제 Register Transfer Select S1 S0 Load L2 L1 L0 R0  R2 1 0 0 0 1 R0  R1, R2  R1 0 1 1 0 1 R0  R1, R1  R0 Impossible 세 번째 예는 in a single clock cycle 에서는 불가능 since it requires simultaneous sources R0, R1, on the single BUS. 따라 서 두 개의 BUS 혹은 Fig.7-19 (a) 와 같은 dedicated MUX 가 필요.

MUX와 BUS의 비교 (H/W 측면에서) Fig.7-19 (a) 의 MUX 의 경우 ; 2n AND gates and n OR gate, for total of 9n AND gates Fig.7-19(b) 의 MUX 의 경우 ; 3n AND gates and n OR gate, for total of 4n gates

Three-State Buffers Two of the states are logic "1" and logic "0". The third state is high-impedance(Hi- Z) state. ; Behave like an open-circuit. 즉 출력 이 disconnected 된 것처럼 보임. If EN = 1, OUT is equal to IN. If EN = 0. OUT is Hi-Z, regardless of the value IN. Logic Symbol Truth Table

3 상태 버퍼를 사용하여 구성한 다중출력선 OL (Fig.2-34) 3 state-Buffer의 출력은 다중화 출력이 가능하도록 서로 연결될 수 있다.

Multiplexed Output of 3-state Buffer This conflict results in electrical current flowing from the buffer output that is at "1" into the buffer output that is at "0". 이 전류는 회로에 열을 발생시킬 정도로 커서 회로를 손상시킬 수 있다. BUS를 이러한 구조를 이용하여 설계할 경우 주의 할 점. 1. EN1 = EN0 = 1 이 되는 것을 피할 것. 오직 하나의 EN 만이 “1”이 되게 하고, 나머지 EN은 “0” 으로 할 것. 2. Decoder를 사용하여 EN 신호를 발생시키면 됨. 3. A set of n three-state buffers with their outputs connected together and EN inputs driven by a decoder provides n-to-1 selection, just as an n-to-1 line multiplexer does. RAM chip들의 출력에 이러한 three-state buffer를 사용하게 되면, RAM 출력에 연결된 bit line 으로부터 읽혀지는 chip들로부터 word를 얻어낼 수 있 다. chip select 가 EN 신호에 해당된다.

Tri-State Buffer

Three-State BUS BUS can be constructed with the three-state buffers instead of MUX 왜 ? ; Many tri-state buffer outputs can be connected to form a bit line of BUS and this bus is implemented using only one level of logic gates. 반면에 MUX의 경우 ; Such a large number of sources means a high fan-in OR, which requires multiple levels of OR gates, introducing more logic and increasing delay. Tri-state buffer 의 경우 Signals can travel in two directions . 즉 양방향으로 사용 가능하다. ; Fig.7-20 (a) 참조 ; If the buffers are enabled, then the lines are outputs. If the buffers are disabled, then the lines are inputs.

Tri-State BUS와 Multiplexer BUS 를 사용한 경우 비교 (Fig.7-20) Six data connections per bit to the set of register block. Three data connections per bit to the set of register block.

7-9 Serial Transfer & Microoperation C input = Shift + Clock Shift determines when and how many times the registers are shifted. Block diagram Timing diagram

Serial Transfer Example (표7-14)

Serial Addition (Fig.7-22) One Full Adder, One F/F for carry, and Two Shift Registers

Serial Addition (Fig.7-22) - Parallel 과 Serial Adders의 space-time trade-off. ; P-adder in space is n times larger than the S-adder, but it is n times faster. S-adder, although it is n times slower, is n times smaller in space.

Serial Addition (Fig.7-22)