Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Karolina Silva
Flip flop tipo D
D Q
CLK
D t
Clk
t
Q
t
t=0
Tipo T
Modelado de flip flops en VHDL
Library IEEE;
use IEEE.Std_Logic_1164.all;
entity FLOP is
port ( D, CLK, RESET, SET : in std_logic;
Q : out std_logic);
end FLOP;
architecture A of FLOP is
begin
Fechas entrega:
Durante clase (sin reporte): 29 de Marzo
Por correo (reporte completo): 31 Marzo, el reporte deben incluir la tabla de
verdad del flip-flop descrito, imágenes de la forma de onda claras (como se
pidió en clase), código en VHDL y diagrama lógico.
Registros
entity COUNTER is
port (CLK: in std_logic;
Q : out integer range 0 to 15 );
end COUNTER;
Storage elements
architecture RTL of COUNTER is are synthesized
signal COUNT : integer range 0 to 15 ;
Begin for all signals that
are driven within a
process (CLK)
begin clocked process
if CLK`event and CLK = `1` then
if (COUNT >= 9) then
COUNT <= 0;
else
COUNT <= COUNT +1;
end if;
end if;
end process;
Q <= COUNT ;
end RTL;