Skip to content

RTL implementation for Advanced Encryption Standard (AES) in Verilog. Synthesis Done in Synopsys DC.

Notifications You must be signed in to change notification settings

tatan432/AES_ENCODER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AES_ENCODER

Introduction:

The part of work is related to 128-bit AES encryption algorithm RTL design. There are three parts to the design-

  1. SISO : Single Input and Single output
  2. MIMO : Multiple input Multiple output
  3. N_CHANNEL : N Channel serial input and N channel serial output. Sometimes it is termed as N-Slowing.

RTL is written in verilog, where as the testbench is written in system verilog.

Running The Simulation:

The simulation environment where it is tested is DC compiler. In every part (SISO/MIMO/N-CHANNEL), there is a VCS folder. Type command: 'make all' to run the simulation. The Simulation takes the data from the ref folder. Ref folder keeps the golden data for each round as well.

Synthesis Procedure:

Few points to be noted. The constraint in the syntheis is in the unit of ns for time and fF for capacitance (as governed by our library). To run synthesis:

  1. Got to syn folder.
  2. dc_shell-xg-t -f synthesis.tcl | tee -i syn.log

To View the Design:

  1. Go to syn folder.
  2. Invoke Design Design Vision. (Command: design_vision-xg-t)
  3. Load AES_top.ddc

To View the waveform:

  1. Go to vcs folder.
  2. Run Command : dve -full64 -vpd results.vpd &

Acknowledgement:

The test bench aes_sbox.v and matrix_mult.v is written by Saurabh Jain(User: @srbhjn459)

Resources

Best way to learn about these concepts is :

  1. VLSI digital signal processing systems: design and implementation by Keshab K Parhi
  2. AES Encryption Algorithm