Senin, 25 Oktober 2010

D Flip- Flop pada VHDL

Sebuah contoh program vhdl dari D flip-flop edge triggered positif dengan asynchronous Reset:

library ieee;
use ieee.std_logic_1164.all;
entity DFF_RST is
port (CLK, RESET, D : in std_logic;
Q : out std_logic);
end DFF_RST;

architecture BEHAV_DFF of DFF_RST is
begin
DFF_PROCESS: process (CLK, RESET)
begin
if (RESET = ‘1’) then
Q <= ‘0’;
elsif (CLK’event and CLK = ‘1’) then
Q <= D;
end if;
end process;
end BEHAV_DFF;

Related Post



Share This
Subscribe Here

0 komentar:

Poskan Komentar

Kritik, Usul, Saran, atau Pujian?
semua Kami terima dengan tangan terbuka!
**TIADA KESAN TANPA KOMEN KAMU!**

Terima Kasih atas Kunjungannya di KID -OEST NEWS.
Share and Comment with me. No spam!

 

Kid-oest News Copyright © 2009 DarkfolioZ is Designed by Bie Blogger Template for Ipietoon
In Collaboration With fifa