⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sincronismo.vhd

📁 simple thermometr in vhdl
💻 VHD
字号:
----------------------------------------------------------------------------------
-- Bufon, Ferluga
-- Progetto elettronica 2 FPGA
-- Termometro visualizzato su VGA
----------------------------------------------------------------------------------

--Blocco che sincronizza l'uscita con il reset

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

--Dichiarazione variabili d'ingresso e di uscita:

entity Sincronismo is
port(clk : in std_logic;
	cfr1_in :in std_logic_vector (3 downto 0);
	cfr2_in :in std_logic_vector (3 downto 0);
	cfr3_in :in std_logic_vector (3 downto 0);
	cfr1_out :out std_logic_vector (3 downto 0);
	cfr2_out :out std_logic_vector (3 downto 0);
	cfr3_out :out std_logic_vector (3 downto 0));
end Sincronismo;

architecture Behavioral of Sincronismo is

begin
  process(clk)
  begin
  if(clk='1' and clk' event)then
  cfr1_out <= cfr1_in;
  cfr2_out <= cfr2_in;
  cfr3_out <= cfr3_in;
  end if;
  end process;
end Behavioral;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -