Professional Documents
Culture Documents
Signature:__________________________________________ Date:_______________
Objective:
Part I
Introduction to hardware description language (HDL).
Introduction to Verilog HDL.
Part II
Verilog simulation of D-flip flop.
Report
Theory:
D-flip flop: The flip flop is a basic building block of sequential logic circuits. The basic D Flip Flop
has a D (data) input and a clock input and outputs Q and Q’ (the inverse of Q). Optionally it may also
include the PR (Preset) and CLR (Clear) control inputs.
This flip-flop is a positive edge-triggered flip flop. This means that the flip flop changes output value
only when the clock is at a positive edge (or rising clock edge).
Verilog code:
Simulation:
Discussion: