Documentos de Académico
Documentos de Profesional
Documentos de Cultura
entity contdos is
end contdos;
begin
process(clk)
begin
count <=count+1;
count <=1;
if (deci=5 and pulso=9) then deci <= deci-5; hora<=hora+1; end if;
if (hora=9 and deci=5 and pulso=9) then hora <= hora-9; decihora<=decihora+1; end if;
if (decihora="0010" and hora="0011" and deci="0101" and pulso="1001") then pulso<="0000"; deci<="0000";
hora<="0000";decihora<="0000"; end if;
end if;
end if;
end process;
process(clk)
begin
count2 <=count2+1;
count2 <=1;
end if;
end if;
end process;
process(puls)begin
end if;
end process;
end Behavioral;
divisor jk
entity ffdivisor is
j,k: in std_logic;
reset:in std_logic;
clock_enable:in std_logic;
clock:in std_logic;
clk : in std_logic);
end ffdivisor;
begin
process(clk) begin
count <=count+1;
count <=1;
end if;
end if;
end process;
if reset='0' then
temp<='0';
temp<='1';
temp<= '1';
end if;
end if;
if reset='0' then
temp1<='0';
temp1<='1';
temp1<= '1';
end if;
end if;
if reset='0' then
temp2<='0';
temp2<='1';
temp2<= '1';
end if;
end if;
if reset='0' then
temp3<='0';
temp3<='1';
temp3<= '1';
end if;
end if;
end Behavioral;