110 likes | 124 Views
Unit 12 Registers and Counters. Ku-Yaw Chang canseco@mail.dyu.edu.tw Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University. Outline. 12.1 Registers and Register Transfers 12.2 Shift Registers 12.3 Design of Binary Counters
E N D
Unit 12Registers and Counters Ku-Yaw Chang canseco@mail.dyu.edu.tw Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University
Outline 12.1 Registers and Register Transfers 12.2 Shift Registers 12.3 Design of Binary Counters 12.4 Counters for Other Sequences 12.5 Counter Design Using S-R and J-K Flip-Flops 12.6 Derivation of Flip-Flop Input Equations -- Summary Registers and Counters
Registers • Several D flip-flops may be grouped together with a common clock. • Each flip-flop can store one bit of information. • The following register store four bits of information Registers and Counters
Registers • Asynchronous clear inputs • A common clear signal – ClrN, requiring a logic 0 to clear flip-flops • Gating the clock can cause timing problems Registers and Counters
Registers • Flip-flops with clock enable are available • Load = 0 : the clock is disabled, and the register holds its data • Load = 1 : the clock is enabled, and the data applied to the D inputs will be loaded into the flip-flops (after the falling edge) Registers and Counters
Registers • 4-bit register using bus notation Registers and Counters
Data Transfer Between Registers Registers and Counters
Logic Diagram for 8-Bit Register Registers and Counters
Data Transfer Usinga Tri-State Bus Registers and Counters
Parallel Adder with Accumulator Registers and Counters
Adder Cell with Multiplexer Registers and Counters