Semiconductor Tooling | Software | 2025
Maximising Dies Per Wafer (DPW) is a standard challenge in semiconductor fabrication. As die sizes shrink and wafer densities increase, the complexity of finding the optimal grid offset scales significantly. Manual calculation becomes impractical when accounting for the intersection of thousands of die corners against a circular boundary, edge exclusion zones, and wafer flats.
DieOpt is a lightweight Python utility that handles this geometry for you. Built on numpy, it quickly iterates through various grid offsets to find the alignment that squeezes the most usable dies into the available area. It's designed to be readily integrable into a GDSpy or similar pipeline, returning the optimal die coordinates.
Comparison solution) with identical relative dimensions for die placement.Install DieOpt using pip:
pip install die-opt
Alternatively, clone the repository:
git clone https://github.com/BjornFS/DieOpt.git
Example 1: Finding the optimal die count and coordinates:
from dieopt import get_solution
# Get list of (x, y) coordinates for the best layout
coords = get_solution(
wafer_diameter=200.0,
edge_exclusion=3.0,
width=10.0,
height=10.0,
scribe=0.2,
solution="optimal"
)
print(f"Optimal Die Count: {len(coords)}")
Example 2: Comparing grid strategies visually:
from dieopt import show_solution
# This generates a 3-panel plot comparing center vs. offset strategies
show_solution(
wafer_diameter=150.0,
edge_exclusion=5.0,
width=12.5,
height=8.0,
scribe=0.15,
solution="comparison"
)