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

📄 meno.vhd

📁 simple thermometr in vhdl
💻 VHD
字号:
------------------------------------------------------------------------------------ Company: -- Engineer: -- -- Create Date:    22:37:02 11/20/2007 -- Design Name: -- Module Name:    ena - Behavioral -- Project Name: -- Target Devices: -- Tool versions: -- Description: ---- Dependencies: ---- Revision: -- Revision 0.01 - File Created-- Additional Comments: ------------------------------------------------------------------------------------library IEEE;use IEEE.STD_LOGIC_1164.ALL;use IEEE.STD_LOGIC_ARITH.ALL;use IEEE.STD_LOGIC_UNSIGNED.ALL;---- Uncomment the following library declaration if instantiating---- any Xilinx primitives in this code.--library UNISIM;--use UNISIM.VComponents.all;entity meno is    Port ( clk : in  STD_LOGIC;           add_linea : in  STD_LOGIC_VECTOR (8 downto 0);           D_OUT : out  STD_LOGIC_VECTOR (18 downto 0));end meno;architecture Behavioral of meno isbeginprocess(clk,add_linea)beginif ( clk'event and clk ='1') then   case add_linea iswhen "011101110" => D_OUT <= "1111111111111111111";when "011101111" => D_OUT <= "1111111111111111111";when "011110000" => D_OUT <= "1111111111111111111";when "011110001" => D_OUT <= "1111111111111111111";     when others => D_OUT <= "0000000000000000000";   end case;end if;end process;end Behavioral;

⌨️ 快捷键说明

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