Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
UNIDAD 3
TAREA 3
CIRCUITOS SECUENCIALES
GRUPO: 243004_45
TUTOR
CARLOS AUGUSTO FAJARDO
-------------------------------------------------
-------------------------------
-- Nombre: Oswaldo Noe Martinez
Araujo
-- Documento: 77170862
-- Fecha: 5/11/2019
-- Proyecto: Tarea 3 – Actividad 1
----------------------------------------------
----------------------------------
library IEEE;
use IEEE.std_logic_1164.all;
entity flip_flop_tipo_D is
Port ( clk : in STD_LOGIC;
Reset : in STD_LOGIC;
D : in STD_LOGIC;
Enable : in STD_LOGIC;
Q : in STD_LOGIC);
end flip_flop_tipo_D;
architecture Behavioral of
flip_flop_tipo_D is
begin
process (clk)
begin
if clk'event and clk='1' then
if reset='1' then
Q<='0';
elsif enable ='1' then
Q<=D;
end if;
end if;
end process;
end Behavioral;
begin
process (clk)
begin
D <= Entrada;
Salida <= Q,
end Behavioral;
3. Diseñe un flip-flop tipo T con enable.
a. Un diagrama de bloques.
entity flipfloptt_bits is
Port ( clk : in STD_LOGIC;
Reset : in STD_LOGIC;
Enable : in STD_LOGIC;
T : : in STD_LOGIC;
Q : out STD_LOGIC);
end flipfloptt;
begin
process (clk)
begin
end Behavioral;
entity flipfloptt_bits is
Port ( clk : in STD_LOGIC;
Reset : in STD_LOGIC;
Enable : in STD_LOGIC;
T : : in STD_LOGIC;
Q : out STD_LOGIC);
end flipfloptt;
begin
process (clk)
begin
if clk’event and clk=’1’ then
if reset=’1’ then
Q <= ’0’;
elsif enable =’1’ then
Q <= not(T);
end if;
end if;
end process;
end Behavioral;