Karan Diwan

Harvard Processor

View →

A parameterized multi-cycle Harvard-architecture processor built from 12 RTL modules, with an Amdahl's Law-backed study of a control-path optimization.

Verilog, cocotb, Sky130HD, Amdahl's Law

High-Performance Adder Architectures

View →

Six 64-bit adder topologies characterized on identical terms, from Ripple-Carry to Kogge-Stone, mapping the area/speed/power trade-off in carry computation.

Verilog, Sky130HD, Nangate45, PPA analysis

High-Performance Multipliers

View →

Four 32-bit multiplier architectures compared by latency and throughput rather than clock speed alone, including the effect of the final adder stage.

Verilog, Sky130HD, throughput analysis

Hopfield Network

View →

A parameterized binary Hopfield neural network in SystemVerilog, taken from RTL through synthesis and physical implementation to GDSII, recovering stored patterns from noisy or incomplete inputs.

SystemVerilog, Yosys, OpenROAD, Sky130HD, GDSII

Gate-Level Cybernetic Classifier

View →

A binary classifier that corrects its own decision boundary from feedback in pure deterministic hardware, with two algorithms and formal convergence proofs.

Verilog, Logisim, Sky130HD

FIFO Architectures

View →

Synchronous, asynchronous, and elastic FIFOs in Chisel, showing how the architecture changes with clocking, clock-domain crossing, and control flow.

Chisel, Scala, SystemVerilog, Sky130HD

Repeated Arithmetic Machine

View →

A 4-bit feedback-driven machine that evolves across five versions, from a single self-correcting adder to a stored-program automaton executing instructions from memory.

Verilog, Logisim, Yosys, OpenSTA

Assembler

View →

A custom assembly language and Python assembler for the machine above, with lexical, syntax, and semantic analysis built up across three versions.

Python, custom ISA, lexer/parser

Artificial Neuron

View →

A gate-level McCulloch–Pitts neuron in Verilog, reproducing AND, OR, and NOT through threshold and inhibitory-weight adjustment alone.

Verilog, Yosys, GTKWave