aes128Pkg

A package for the 128-bit version of the Advanced Encryption Standard (AES) design.  A couple of types, constants, and functions are defined herein, which are used throughout the whole design.

General Information

Fileaes128Pkg.sv
TitleAES-128 package
ProjectVLSI Book AES-128 Example
AuthorMichael Muehlberghuber (mb.nosp@m.gh@iis.ee..nosp@m.ethz.ch)
CompanyIntegrated Systems Laboratory, ETH Zurich
CopyrightCopyright © 2014 Integrated Systems Laboratory, ETH Zurich
File Created2014-10-16
Last Updated2014-10-16
PlatformSimulation=QuestaSim; Synthesis=Synopsys
StandardSystemVerilog 1800-2009

Revision Control System Information

File ID$Id: aes128Pkg.sv 33 2014-10-22 07:26:02Z u59323933 $
Revision$Revision: 33 $
Local Date$Date: 2014-10-22 09:26:02 +0200 (Wed, 22 Oct 2014) $
Modified By$Author: u59323933 $

Major Revisions

2014-10-16 (v1.0)Created (mbgh)
Summary
aes128PkgA package for the 128-bit version of the Advanced Encryption Standard (AES) design.
Types
ByteA synonym for a logic[7:0].
WordA word made up of four Bytes.
MatrixA matrix made up of four Words.
roundkeyArrayTypeAn array for holding 11 round keys (each of them represented using a logic[127:0]).
Methods
to_wordConverts a Word to a logic[31:0].
shift_rowsShifts the rows of a provided Matrix as defined for AES.
xor_matrix_logicPerform an XOR operation given a Matrix and a logic[127:0].

Types

Byte

A synonym for a logic[7:0].

Word

A word made up of four Bytes.

Matrix

A matrix made up of four Words.

roundkeyArrayType

An array for holding 11 round keys (each of them represented using a logic[127:0]).

Methods

to_word

function automatic Word to_word

Converts a Word to a logic[31:0].

shift_rows

function automatic Matrix shift_rows

Shifts the rows of a provided Matrix as defined for AES.

xor_matrix_logic

function automatic Matrix xor_matrix_logic

Perform an XOR operation given a Matrix and a logic[127:0].

A synonym for a logic[7:0].
A word made up of four Bytes.
function automatic Word to_word
Converts a Word to a logic[31:0].
function automatic Matrix shift_rows
Shifts the rows of a provided Matrix as defined for AES.
function automatic Matrix xor_matrix_logic
Perform an XOR operation given a Matrix and a logic[127:0].
Close