§ 02

All projects

Every design is a set of constraints

Chip layout of the SPI-PWM peripheral: rows of standard cells with metal routing, rendered from the GDS file Featured ASIC Explore the layout in 3D GDS · Sky130
RTL design · Verilog · cocotb

SPI-controlled PWM peripheral - ASIC

Sixteen independently controllable PWM outputs driven over three pins. Verilog RTL on a Tiny Tapeout tile.

Constraint
SPI arrives with no relationship to the chip’s 10 MHz clock. Sampling it directly risks metastability and a corrupted register on silicon that can’t be patched.
Solution
Two-flop synchronizers, with SCLK oversampled rather than used as a clock, so the whole design stays in one clock domain.
PWM outputs
SPI pins
Duty cycle
FPGA
VHDL · Quartus · Intel MAX10

4-bit ALU on FPGA

A modular ALU built from multiplexers, logic units and a ripple-carry adder, taken from RTL to real hardware.

Constraint
Prove it works on silicon, not only in simulation.
Solution
Testbenches first, then Quartus Fmax and critical-path analysis, then a MAX10 driving LEDs and 7-segment displays.
FPGA
VHDL · Moore FSM · FPGA

Traffic light controller

Dual-direction traffic control with pedestrian override, as a multi-state Moore FSM.

Constraint
A pedestrian button is an asynchronous input that can land mid-cycle, metastable.
Solution
2-DFF synchronizers and holding registers in front of the FSM.
PCB
Altium Designer · Power conversion

Buck converter PCB

A 12 V → 3.3 V, 2 A synchronous buck converter for a 10–15 V battery input, from datasheet calculations to a DRC-clean two-layer board.

Constraint
Switching regulators are noisy: fast current edges in the input loop and switch node radiate if the layout is careless.
Solution
Minimized switch-node area and input-loop inductance, with dual-sided ground pours and stitching vias.