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

📄 top.vhd

📁 用于视频运动图像编码的HUFFMAN编码
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
use work.roms.all;
use work.MYfunction.all;
entity ROM_TOP is
	port(	ADDR:in std_logic_vector(2 downto 0);
		RD,CLK:in std_logic;
		DATA_OUT:out std_logic_vector(7 downto 0));
end ROM_TOP;

architecture BEHAVIOR of ROM_TOP is
		component REG_8		port(	CLK:	in 	std_logic;			D:	in 	std_logic_vector(7 downto 0);			Q:	out 	std_logic_vector(7 downto 0));	end component;			component  HuffROM 		port(	ADDR:in std_logic_vector(2 downto 0);
			RD:in std_logic;
			DATA:out std_logic_vector(7 downto 0));
	end component;		signal BUS1:
std_logic_vector(7 downto 0);		for U1: HuffROM use entity work.HuffROM(behavior);	for U2:REG_8 use entity work.REG_8(BEHAVIORAL);	begin
	U1: HuffROM port map(ADDR,RD,BUS1);	U2:REG_8 port map (CLK,BUS1,DATA_OUT);end BEHAVIOR;
--configuration cfg of BEHAVIOR	--for BEHAVIOR	--end for;--end cfg;				

⌨️ 快捷键说明

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