How baladhinesh/accelerating_standard_and_modified_aes128 works
Project type and purpose
• This is a hardware‐software co-design project for accelerating AES and two Modified-AES variants on an FPGA (Artix-7 or Zynq) using Verilog IP cores wrapped by a MicroBlaze (or Zynq PS) CPU.
• It includes:
• Baseline and two Modified AES implementations in Verilog (with testbenches)
• A VitisIDE C application (aes_encryption.c) running on the soft CPU to feed plaintext and key and read ciphertext via UART/JTAG
• A Python script to compute Hamming distance and plot Avalanche effect
• An exploration of OpenLane/SiliconCompiler flows
File structure
• Baseline-AES/Modified-AES-V1/Modified-AES-V2: each contains the Verilog modules (aes_top, round iteration, sub_bytes, shift_rows, mix_columns, generate_key, last_round, forward_substitution_box), plus version-specific key_schedule or modulo/addition blocks and testbench.v
• ip_repo/myip_aes_bram_1.0:
• hdl/: AES core RTL wrapped with AXI-lite slave interface
• drivers/: C driver for bare-metal access
• example_designs/: Vivado project TCL for simulation/hardware test benches
• VitisIDE/: contains aes_encryption.c which instantiates the IP via Xil_In32/Xil_Out32 over AXI, uses UART for console I/O
• Hamming_Data/: data files and a Python script for post-processing AES outputs
Insights from the README
• The block design (Vivado IP Integrator) ties together: MicroBlaze CPU, AXI Interconnect, AES BRAM IP, Block RAM for data buffering, UART (via JTAG), DDR controller
• Performance comparisons between software simulation on PC and hardware acceleration
• Use of Vitis to build the firmware (C code) and download bitstream
Final pointers
• Be exhaustive: show all 4 AES sub-modules under the AES IP if clarity is needed, or collapse them into one “AES Round Pipeline” block
• Confidence/status/control signals (start, done, interrupt) between CPU and AES IP
• If depicting the open-source ASIC flow, show a side path from Verilog RTL → Yosys → OpenRoad → GDSII
• This level of detail will give a clear, accurate view of both the hardware and software components, their interactions, and the data flow from plaintext in the PC all the way to encrypted ciphertext and post-analysis.