Posts

RTL Design Practice Guide I - Sequential Logic - D flip-flop

Image
  2.2 Flip-Flops 2.2.1 D Flip-Flop A D flip-flop, also known as data flip-flop or delay flip-flop, is a fundamental building block in digital logic design. It is a sequential logic device that stores and transfers a single data bit. The D flip-flop is widely used in various digital systems, including microprocessors, memories, and communication circuits. The D flip-flop consists of a data input (D), a clock input (CLK), and an output (Q). The data input (D) represents the bit of information that we want to store or transfer. The clock input (CLK) serves as a control signal to synchronize the operation of the flip-flop. When a rising or falling edge of the clock signal occurs, the value present at the input is captured and stored. The behaviour of a D flip-flop can be summarized as follows: When the clock signal transitions, the stored value at the data input (D) is transferred to the output (Q) of the flip-flop. This transfer happens instantly, making the output reflect the val

RTL Design Practice Guide I - Sequential Logic - D Latch

Image
  2.1 Latch PLEASE CLICK TO GET RTL DESIGN PRACTICE GUIDE - US PLEASE CLICK TO GET RTL DESIGN PRACTICE GUIDE - IN 2.1.1 D Latch A D latch is a type of digital circuit that is used to store a single bit of information. It has only one input, which is called the ‘din’ input. When the latch is enabled, the output of the latch is set to the value of the data input. When the latch is disabled, the output of the latch remains in its previous state. A D latch can be constructed using logic gates such as NAND gates or NOR gates. In RTL (Register Transfer Level) design practice, the D latch can be designed using Verilog or VHDL, and simulate to test its functionality. D latches are commonly used in digital systems for various purposes, such as holding data, buffering signals, and synchronizing signals between different parts of the system. They can also be combined with other digital circuits, such as flip-flops and counters, to create more complex digital designs. Overall, understandin