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

📄 habilitador.vhd

📁 Image_Filter_An_Image_halftone is performed over data loaded into the on board RAM and presented on
💻 VHD
字号:
-- Para habilitar la lectura o escritura de la RAM, 
-- eligiendo entre las habilitaciones procedentes 
-- de los dos subtops
library IEEE;
use IEEE.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity habilitador is
    port (
        elige: in STD_LOGIC_VECTOR(1 downto 0); 
        			-- Control de la seleccion 
        orout: out STD_LOGIC;
	proc: in STD_LOGIC;	-- Procedente de Toptrata
	imag: in STD_LOGIC	-- Procedente de Topcom
    );
end habilitador;

architecture habilitador_arch of habilitador is

begin
   
process(elige, imag, proc)
begin
  case elige is
	when "00" => orout<=imag;	-- Cuando ninguna de las
					-- maquinas de estado de 
					-- toptrata esta trabajando,
					-- dejamos pasar la habilitacion
					-- procedente de Topcom 
	when others => orout<=proc; 
  end case;
end process;	
                
end habilitador_arch;

⌨️ 快捷键说明

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