Flip-flops joined in a ring pass a value along on each clock edge. With one inversion in the ring, the ring fills with ones and then with zeros, so two flip-flops step through four states.
Hint
Join QN1 to D0 and Q0 to D1. The two outputs become square waves at a quarter of the clock frequency, a quarter period apart.
Solution
This is the game's reference drawing for the puzzle. It meets the goal and passes the design rules. Other drawings can pass as well.
Top View of the solved die, captured from the game. Paths that carry a high level at the moment shown are lit. The Side View below cuts through the row between the dashed lines.The whole game window in Isometric View. The scope on the right compares each output with its target band, and the message above it confirms that the drawing passes.The solution on the grid. Squares are numbered from the top left corner, so you can count them. The dashed outline marks the squares you draw, change, or erase; the rest is drawn when the puzzle opens.
Legend
Metal226 squares
Polysilicon60 squares
Contact40 squares
N active22 squares
P active22 squares
N well90 squares
Metal 2295 squares
Via53 squares
Input padCLK, CLKN
Output padQ0, Q1
Supply padVDD, VDD
Ground padGND, GND
Squares you draw, change, or erase113 squares
About the drawing
The drawing uses 491 of the die's 870 squares.
Part of the drawing is in place when the puzzle opens. To finish it, paint 104 empty squares and change 9 drawn squares.
It forms 16 transistors: 8 N transistors and 8 P transistors. Each one is a place where polysilicon crosses active silicon.
40 contacts join metal to the polysilicon or active silicon under it.
53 vias join metal 2 to the metal under it.
The drawing when the puzzle opens. The dashed outline marks the squares the solution changes.