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

📄 mult1.vhd

📁 this is the multiplier 1 module for the reed solomon encoder
💻 VHD
字号:
---------------------------------------------------------------------------------------------------
--
-- Title       : mult1
-- Design      : design2
-- Author      : aks
-- Company     : home
--
---------------------------------------------------------------------------------------------------
--
-- File        : mult1.vhd
-- Generated   : Mon Mar  9 11:14:12 2009
-- From        : interface description file
-- By          : Itf2Vhdl ver. 1.20
--
---------------------------------------------------------------------------------------------------
--
-- Description : 
--
---------------------------------------------------------------------------------------------------

--{{ Section below this comment is automatically maintained
--   and may be overwritten
--{entity {mult1} architecture {mult1}}

library IEEE;
use IEEE.STD_LOGIC_1164.all;

entity gf0 is
	port(
	fb:in bit_vector(0 to 2);
	pd:out bit_vector(0 to 2)
	);
end entity;
architecture gf0 of gf0 is	


begin 
	process(fb)	
	begin
	case fb is
		when "100"=>pd<="110";
		when "010"=>pd<="011";
		when "001"=>pd<="111";
		when "110"=>pd<="101";
		when "011"=>pd<="100";
		when "111"=>pd<="010";
		when "101"=>pd<="001";
		when others=>pd<="000";
		
	end case;  
	end process;
end gf0;

⌨️ 快捷键说明

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