Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

VHDL for FPGA Design/D Flip Flop

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Synchronous Positive Edge Triggered D Flip-Flop with Active-High Reset, Preset, and Clock Enable library IEEE; use IEEE.STD_LOGIC_1164.ALL; entity D_FF_VHDL is port ( clk : in std_logic; rst : in std_logic; pre : in std_logic; ce : in std_logic; d : in std_logic; q : out std_logic ); end entity D_FF_VHDL; architecture Behavioral of D_FF_VHDL is begin process (clk) is begin if rising_edge(clk) then if (rst='1') then q <= '0'; elsif (pre='1') then q <= '1'; elsif (ce='1') then if (d ='1') then q <= '1'; elsif (d ='0') then q<= '0'; end if; end if; end if; end process; end architecture Behavioral; Simulation Results Image:DFF Final.png Generated Symbol Image:D FF SCH F.png fi:VHDL-kieli FPGA-suunnittelussa/D-kiikku