NewsCrawler.org

Solving Jane Street's reverse engineering challenge for an ASIC chip

The Warmup GDS File
Annotated
Many Attempts on a Shift Register
Bug Report
Image: jestoph.com

The author describes solving Jane Street's reverse engineering challenge, which asks participants to take an ASIC[1] and work out what it does. The challenge gives a GDS[2] file that describes the chip, and the goal is to work backwards to its function, possibly to find a password. The warmup version comes with much more information, including the chip's design, while the main puzzle gives far less.

The author first explored the files alone and found labels such as clk, rst, VGND and VPWR, along with cells named with the sky130[3] prefix. A Python library read 27 elements from the warmup file. In the main puzzle's VCD file, a small C program printed "TRY AGAIN", which showed that the circuit contains messages.

The author spent several days building a circuit simulator and related tools, then dropped them and read the sky130 documentation. Using the docs and the labels from the SVG output, they mapped the chip's geometry to its inputs and outputs. They then built a graph of touching wires, merging connected wire segments into single wires, in a file with 1k paths and almost 17k polygons after filtering.

Read the original jestoph.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page