I design digital hardware, and lately I study how AI can help design it.
I'm a Senior FPGA Design Engineer at Cisco, with more than ten years of experience turning specs into working hardware. I care about hardware that is correct, observable, and reliable, and about the tools that help engineers get there faster.
What I'm working on now
FPGAs for networking hardware
At Cisco I own several FPGA and CPLD designs for networking and data-center products, from architecture and RTL through verification, timing closure, and lab bring-up. I also build reusable SystemVerilog IPs and the flows that take designs from code to hardware.
Making hardware easier to debug
I'm interested in hardware that explains itself when something goes wrong. That includes debug and observability features built into the design, and machine learning that spots faults early from hardware telemetry.
Testing how well models write RTL
On my own time I build RTLGym, an environment where language models write SystemVerilog and get graded the way a hardware team would grade it.
Interests
AI for chip design. Language models can write Verilog that compiles and passes a few tests, yet is still wrong. I'm interested in how we measure that gap honestly. That means hidden tests, formal equivalence, synthesis results, and graders that can't be gamed. I'm also interested in how tool feedback and reinforcement learning help close the gap.
Verification and correctness. Most of the risk in hardware sits in what nobody tested. I like methods that cover more than the testbench author imagined: assertions, coverage, and formal checks against a reference.
Reliable hardware. My Ph.D. was on soft errors in nanoscale CMOS, and I still care about how hardware fails, and how to detect it, tolerate it, and debug it in the field.
Hardware for machine learning. As a researcher I worked on in-memory computing, ferroelectric embedded memory, and analog hardware for neural networks. I've also run fixed-point neural-network models on FPGAs in real products.
RTLGym
An open-source environment for evaluating language models that write hardware, built so it can also serve as a reinforcement-learning environment. A model gets a spec, writes a SystemVerilog design, and can revise it after seeing the tools' feedback. It has 32 tasks: 18 design tasks, from an ALU and a FIFO to a 5-port network-on-chip router, an AXI4 burst slave, and a dual-clock FIFO; 8 tasks that repair buggy RTL; and 6 that write checkers to catch planted bugs.
Each attempt is compiled first, then checked four ways in parallel, usually in one to two seconds. A design is accepted only if it passes all hidden tests, is formally equivalent to the reference, and synthesizes without latches. The grader also rejects common reward hacks, like ending the simulation early or reading files.
From 162 paired episodes with Claude Sonnet 5.5 and Haiku 5.5, November 2026. Feedback won 10 of the 11 cases where the two approaches disagreed, all on the router. Before trusting any of this, I audited the grader itself. In the first run, 14 of the 16 rejected first attempts were blocked by a synthesis parser on code that the simulator and linter accepted. In all, I found and fixed eight classes of grader problems.
Expertise
RTL design & architecture
SystemVerilog, Verilog, and VHDL. Parameterized IP, clock-domain crossing, pipelining, interface and PCIe integration.
Verification
UVM, constrained-random tests, assertions, functional coverage, formal equivalence checking, and RTL and gate-level debug.
AI for chip design
Evaluation and RL environments for LLM-written RTL: hidden cocotb testbenches, formal equivalence with Yosys, synthesis-based scoring, reward-hack detection, and paired experiments with exact statistical tests. Also LLM-assisted design and verification flows.
Implementation & timing
Synthesis, place-and-route, constraints, floorplanning, and retiming on AMD/Xilinx, Intel, Lattice, and Microchip devices.
Silicon validation & high-speed links
Post-silicon characterization of multi-GSPS RF transceiver ASICs, JESD204B/C, HBM, IBERT, and eye-margin debug.
Machine learning on hardware
Fault-detection models on sensor telemetry with scikit-learn, and neural-network inference on FPGAs with TensorFlow and Vitis AI.
Reliable design
Soft-error mitigation, radiation-hardened processors, configuration scrubbing, and fault logging in the field.
Design automation
Python, Tcl, and Bash flows for synthesis, place-and-route, and regression on Linux, with Git and CI on GitHub Actions.
Background
I started out building onboard computers for a student satellite at Sharif University of Technology (SharifSat), including a radiation-hardened LEON3 processor. I earned my Ph.D. in Electrical Engineering there as well. I then joined the faculty of Shahid Beheshti University, where I directed the High-Performance Computing Lab, and later did research at the University of Notre Dame on emerging-device circuits for memory, security, and machine learning. In 2021 I moved to industry, first building FPGA platforms to validate RF transceiver ASICs at Jariet Technologies. Since 2024 I have been at Cisco, designing the FPGAs and CPLDs inside its networking and data-center products. The role brings together everything that came before: RTL design, verification, and making hardware work reliably once it ships.
Along the way I published 60+ papers (1,550+ citations) and taught 14 courses including ASIC/FPGA design.