Posts

Showing posts from March, 2018

verilog code for shift register IC7495

Image
VERILOG CODE FOR SHIFT REGISTER IC 7495:       Shift register is a sequential logic circuit, which is used for digital data storage. It consists of a group of flip-flops connected in a chain so that the output from one flip-flop is connected to the input of next flip-flop. All the flip-flops are driven by a common clock, and all are set or reset simultaneously. The fundamental shift registers are classified as Serial In - Serial Out, Serial In - Parallel Out, Parallel In - Serial Out, Parallel In - Parallel Out, and bidirectional shift registers. IC7495: It is a  4-Bit Shift Register with serial and parallel synchronous operating modes.  It has one serial input (DS) and four Parallel data inputs(P0-P3) and four parallel data outputs (Q0 - Q3).  The serial or parallel mode of operation is controlled by a mode control input (S) and two clock Inputs (CP1) and (CP2). For serial mode, S=0 and for parallel mode, S=1. The serial or parallel data transfers occur synchronous w