bytepermutation.vhd
来自「VHDL实现128bitAES加密算法 LOW AREA节约成本的实现 DATA」· VHDL 代码 · 共 38 行
VHD
38 行
-------------------------------------------------------------------------------
-- Title : A compact 8bit AES encryption core
-------------------------------------------------------------------------------
-- File : bytepermutation.vhd
-- Author : Timo Alho <timo.a.alho@tut.fi>
-- Date : 27.2.2006
-------------------------------------------------------------------------------
-- Description: BytePermutation entity
-------------------------------------------------------------------------------
-- Disclaimer: The AES encryption core provided here is distributed AS
-- IS without any warranty of any kind either expressed or implied,
-- including, without limitation, warranties of merchantability,
-- fitness for a particular purpose or non infringement of
-- intellectual property rights.
-------------------------------------------------------------------------------
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
entity bytepermutation is
port(
clk : in std_logic;
-- data input and output
data_in : in std_logic_vector (7 downto 0);
data_out : out std_logic_vector (7 downto 0);
-- control signals
inverse_in : in std_logic; -- '1' = inverse operation
seq_in : in std_logic_vector(3 downto 0); -- sequence counter
shift_in : in std_logic;
load_in : in std_logic -- "external" load
);
end bytepermutation;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?