Saturday, 20 July 2013

Design of D Flip Flop Using Behavior Modeling Style (VHDL Code).







Design of D Flip Flop using Behavior Modeling Style -



Output Waveform :   D- Flip Flop




VHDL Code -



-------------------------------------------------------------------------------
--
-- Title       : d_flip_flop
-- Design      : vhdl_upload 1
-- Author      : Naresh Singh Dobal
-- Company     : nsd 
-- VHDL Tutorials & exercise by Naresh Singh Dobal
--
-------------------------------------------------------------------------------
--
-- File        : D flip flop.vhd


library IEEE;
use IEEE.STD_LOGIC_1164.all;

entity d_flip_flop is
     port(
         din : in STD_LOGIC;
         clk : in STD_LOGIC;
         reset : in STD_LOGIC;
         dout : out STD_LOGIC
         );
end d_flip_flop;

architecture d_flip_flop_arc of d_flip_flop is
begin

    dff : process (din,clk,reset) is
    begin
        if (reset='1') then
            dout <= '0';
        elsif (rising_edge (clk)) then
            dout <= din;
        end if;
    end process dff;

end d_flip_flop_arc;

4 comments :

Anonymous said...

undefined output for fist clock cycle. WHY?

Nur Haque said...

Thanks for nice post.C programming details here

Anonymous said...

Thank u so much!!!

EduDrive Services said...

EduDrive Education Help Services is one of the best premier online education services. The mission of our company is to provide accurate and detailed solutions to the academic problems faced by students.

Currently we are offering two kinds of services: 1) Writing 2) Questions & Answers. We cover all domains in these two services. Our professional experts ensure not only getting good grades in the exams but also the better understanding of the subjects.

We have a dedicated team of professional experts to provide excellent writing services in Engineering (Electrical, Electronics, Computer Science, Mechanical, Civil), Management, Accounting, Finance, Economics, Biology, Physics, Chemistry, Law, Mathematics, Statistics, Geography, Political science, History, English, Law, Pharmacy and many more.

If you want to use our services then email us at edudrive.services@gmail.com or call us at (+91) – 7340527140.

Please Visit our website:

www.edudriveservices.com

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes