Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

To Design D Flip-flop using Verilog and simulate the same using Xilinx ISE, Assignments of Verilog and VHDL

To Design D Flip-flop using Verilog and simulate the same using Xilinx ISE

Typology: Assignments

2012/2013

Available from 04/28/2023

rakeshasery
rakeshasery 🇮🇳

55 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
RAKESH ASERY
Experiment No:-[4a]
Aim: - To Design D Flip-flop using Verilog and simulate the same using Xilinx ISE
Simulator.
TOOLS REQUIRED: - PC, Xilinx ISE.
THEORY: -
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)
pf3

Partial preview of the text

Download To Design D Flip-flop using Verilog and simulate the same using Xilinx ISE and more Assignments Verilog and VHDL in PDF only on Docsity!

Experiment No:-[4a]

Aim: - To Design D Flip-flop using Verilog and simulate the same using Xilinx ISE

Simulator.

TOOLS REQUIRED: - PC, Xilinx ISE.

THEORY: -

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: -