The data latches that make up the shift register are all driven by a common clock (Clk) signal, making it a synchronous device. For example, two binary numbers can be stored before being added, or data can be converted from serial to parallel or parallel or parallel-serial format. Shift registers are used for data storage or data movement, so they are usually used inside calculators or computers. Shift registers can be used to register codes, and can also be used to implement the serial-parallel conversion of data, numerical operations, and data processing. The data can be input in parallel, output in parallel, input in serial, output in serial, input in parallel, and output in serial, input in serial, output in parallel. The data in the shift register can be shifted bit by bit to the right or left under the action of the shift pulse. A shift register is basically composed of several single-bit "D-Latches", each data bit represents a logic "0" or "1", connected in a serial daisy-chain together, so that the output from one data latch becomes the input to the next latch. It loads the input data and then moves or "shifts" it to its output every clock cycle, so it is called a shift register. The shift register is a sequential logic circuit that can be used to store or transmit data in the form of binary numbers. According to its function, it can be divided into a basic register and a shift register. A flip-flop can store one bit of binary code, and then register that stores the N bit of binary code needs n flip-flops to form. The register is a combination of flip-flops with a storage function. In digital circuits, the circuits used to store binary data or codes are called registers.
0 Comments
Leave a Reply. |