D flip-flop with asynchronous reset
📖 Scenario: You are designing a simple digital circuit component called a D flip-flop. This flip-flop stores a single bit of data and can be reset asynchronously.
🎯 Goal: Build a Verilog module for a D flip-flop with an asynchronous reset input.
📋 What You'll Learn
Create a module named
d_flip_flop with inputs d, clk, and reset, and output q.Implement asynchronous reset that sets
q to 0 immediately when reset is high.On the rising edge of
clk, if reset is low, q should take the value of d.💡 Why This Matters
🌍 Real World
D flip-flops are basic building blocks in digital circuits used for storing bits and synchronizing data.
💼 Career
Understanding flip-flops is essential for hardware design engineers working with FPGAs, ASICs, and digital systems.
Progress0 / 4 steps