Youssef Elhagrasy's
Portfolio

Engineering Physics Student with Experience in Hardware, ML, FPGAs & PCBs

LinkedIn

Resume

Attention Accelerator:
Python → CUDA → RTL

I am building a single-head scaled dot-product attention engine, the math behind every transformer, from a Python golden model down to synthesizable SystemVerilog, rebuilding the same operation at six levels of abstraction and diffing each against the last. The CUDA kernels hit float32 machine epsilon (1.19e-7); the RTL core is under way. A running dev-blog covers every milestone and bug.

Six abstraction levels of the attention accelerator from Python float to FlashAttention-lite

FPGA & ML:
Neural Network Acceleration

Hardware Implementation of a neural network on a ZuBoard FPGA for inference. I managed to achieve 300% faster inference on my FPGA compared to my laptop for basic NIST dataset. Click below for more information.

PCBs for Robot
Competition

Designed power boards, actuator boards, sensor boards, H-bridge boards & Wi-Fi communication for the winning robot in the UBC Engineering Physics Robot Summer competition.

DFT Block for Wearout IP

I made an open-source IEEE 1500 Compliant Design For Test Block for Wearout Sensor IP developed by Prof. Andre Ivanov's SoC Lab. I got to work with Verilog & MultiSim to develop a compliant wrapper.

Football Match
Computer Vision

Using YOLO inference model and K-means, I was able to create a football tracking tool that takes in a clip and outputs an annotated clip that extracts basic statistics. This project showcases basic Computer Vision tools and will continue to be expanded.