Professional Documents
Culture Documents
DSD CW1
DSD CW1
1. (a) SR latch
(b) SR latch with Enable input
2. (a) D latch
(b) JK latch
- Often used to store a collection of related bits (such as a byte of data in a computer).
Dear Sir
Greetings!
D Q D Q D Q yesterdayD(24 March
Q
The mobile app for attendance continued to have some technical error 2022) also. Therefor
Shift Registers
- At each clock tick the values stored are shifted from one flip-flop to the adjacent.
- The effect is to transfer data along the register, one flip-flop per clock cycle.
- This type of register is called a serial input - serial output (SISO) shift register.
D Q D Q D Q D Q
Example:
Applications of a basic shift register:
- A ring counter with feedback through an XOR gate makes a simple pseudo-random number
generator.
- Pseudo-random sequences of 1's and 0's have many applications such as in encryption.
- They appear to be random over 'short' times but the sequence finally repeats, hence the
Q. The circuit above has a period of (2^4)-1 = 15 (and not 16). Which state is
- Ring counter
- Johnson counter