Abstract
This report presents the complete Register-Transfer Level (RTL) design, functional simulation,debugging, and verification of a Hardware-Accelerated AES-GCM Cryptographic Data
Transmission Engine. The engine integrates four primary components: a synthesizable AES-128
encryption core, a GHASH authentication unit operating over the Galois Field GF(2¹²⁸), a FIFO-
based input buffer for flow control and burst decoupling, and a custom Direct Memory Access
(DMA) controller for autonomous plaintext data movement. The entire design is implemented in
Verilog and SystemVerilog and simulated using the Cadence Xcelium simulator.
The project proceeded through three major phases. First, a systematic debugging effort resolvedseven distinct RTL and verification bugs identified across the AES core, the AES-GCM integration
layer, the GHASH unit, and the testbench infrastructure. Each bug is documented with root cause
analysis and the precise corrective action applied. Second, a layered verification strategy was
implemented starting with Known-Answer Tests (KATs) against NIST FIPS-197 and SP-800-38D vectors for the AES core, progressing through standalone FIFO and DMA unit tests, and
culminating in a full end-to-end system integration test that verified the complete pipeline: plaintext
loaded into DMA memory, streamed through the input FIFO, encrypted and authenticated by the
AES-GCM core, and compared against Python-computed reference outputs. Third, the UVM
verification environment was extended to cover the NIST GCM test vector and a simple streaming
scenario.
Final simulation results show that all implemented directed tests passed for the selected verificationtargets. The AES core achieves 6/6 NIST KAT passes; the FIFO testbench achieves 22/22 passes;
the DMA integration test achieves 24/24 passes; and the full system integration test achieves 4/4
passes with ciphertext and authentication tag matching reference values exactly. In the current
implementation, there is no output FIFO; ciphertext is available only as a one-cycle pulse, which
is a current limitation for downstream consumers. The design is structured for scalability toward
FPGA synthesis, UVM-based constrained-random verification, and extension to larger AES-GCM
payload sizes.