

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
To Design D Flip-flop using Verilog and simulate the same using Xilinx ISE
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!
Simulator.
It is also known as a "data" or "delay" flip-flop. The D flip-flop captures the value of the D-input at a definite portion of the clock cycle (such as the rising edge of the clock). That captured value becomes the Q output. At other times, the output Q does not change. The D flip-flop can be viewed as a memory cell, a zero-order hold, or a delay line. If clock=1 then Output Q=D. VERILOG CODE BEHAVIOURAL: - module RAKSHKDFF(Q, CLK, D); output Q,CLK,D; reg Q; initial Q=0; always@(CLK or D) if(CLK)
begin if(D) Q<=1; else Q<=0; end endmodule SCHEMATIC DIAGRAM: -