Skip to content
1 viewer
Circuit
Custom chips from quartz

Chip factoryEach chip is one record: its job, its register map, its die and its route through wafer steps, probe, dicing, packaging and test. Robot, vehicle and satellite factories take chips in by part id. Each chip's transistor budget is assumed until its synthesized cell count replaces it. The die is calculated from the budget, the pin count and the twin's sizing figures at 130 nm; the defect density is assumed. Nothing was fabricated.

Each chip from quartz to a tested part, and the factories that take it in.

CRE8 M1 motor controllerCRE8 E1 engine controllerCRE8 P1 hash coreWafer fab twin
Part id
ecu-asic
Die side, computed
1.39 mm
Good die a wafer, computed
14843
Transistors, assumed
24000
Pins
44
The wafer steps, in order
StepOperations
Isolation and wellsoxidize field oxide; lithography: active; etch oxide; lithography: n-well; implant phosphorus; drive-in anneal
Gate stackoxidize gate oxide; deposit polysilicon; lithography: poly; etch polysilicon
Sources and drainslithography: n-select; implant arsenic; lithography: p-select; implant boron; activation anneal
Contacts and metaldeposit dielectric; lithography: contact; etch contacts; sputter metal; lithography: metal; etch metal; repeat for each metal layer
Passivation and padsdeposit nitride; lithography: pad; etch pad openings
5 rows
What is not drawn yet
InputPer chipWhat is missing
Epoxy mould compound0.0002 kgsilica-filled epoxy; formulation not disclosed
Dopant sources0.0001 waferboron, phosphorus and arsenic sources; their chains are not drawn
Aluminium sputter target0.0001 waferhigh-purity aluminium for the metal layers; its chain is not drawn
CRE8 E1 engine controller layout0.0001 wafer's shareno layout exists: the design stops at a netlist, and place and route on the PDK has not run
Fab gases, acids and photoresist0.0001 kgper-wafer loadings vary by node and fab; not disclosed
Mask blanks and writer time0.0001 wafer's sharethe mask shop's inputs are not drawn
Hydrogen chloride and hydrogen0.0000 kgthe chlor-alkali and hydrogen plants behind them are not drawn yet
7 rows
3. The shared parts: who takes this chip in
Part idTaken in byWhat forStatusRef in its graph
ecu-asicvehicle-factoryone on the van's engine control unit boardin its graphmake:ecu-asic/ecu-asic
ecu-asicengine dutythe controller the duty page names for the designed enginein its graphmake:ecu-asic/ecu-asic
2 rows
Register map, SPI, 16-bit words
OffsetRegisterBitsAccessMeaning
0x00CTRL8rwbit 0 run, bit 1 fuel enable, bit 2 spark enable
0x01STATUS8rbit 0 synced to the crank, bit 1 knock seen, bit 2 over-speed cut
0x02RPM16rengine speed
0x03LOAD8wload index the host measures (manifold pressure or throttle)
0x04TABLE_ADDR8wcell of the 16 by 16 tables the next write goes to
0x05FUEL_CELL16winjector pulse width at that cell, microseconds
0x06SPARK_CELL8wspark advance at that cell, half degrees
0x07KNOCK_STEP8rwretard on one knock event, half degrees
0x08REV_LIMIT16rwspeed at which fuel is cut
0x09PULSE16rthe pulse width now applied
0x0aADVANCE8rthe advance now applied
0x0bCYLINDERS8rwcylinders fired, 1 to 6, and the firing order in the high bits
0x0cSENSOR_ADDR8wsensor channel, 0 to 15, the next read of SENSOR returns
0x0dSENSOR16rlast scanned value of that channel
0x0eKNOCK_B016wband-pass gain b0, Q14; the filter's b2 is -b0
0x0fKNOCK_A116wband-pass feedback a1, Q14, signed
0x10KNOCK_A216wband-pass feedback a2, Q14, signed
0x11KNOCK_WINDOW16rwwindow after top dead centre: start in the high byte, length in the low byte, half degrees
0x12KNOCK_LEVEL16rband energy added up in the last window
0x13KNOCK_THRESHOLD16rwlevel above which the window counts as one knock event
0x14KNOCK_CHANNEL8rwthe sensor channel, 0 to 15, the knock sensor is on
21 rows
The synthesis of CRE8 E1 fuel and spark step
FigureValue
Receiptecu-step has no synthesis receipt yet.
1 row

Book the design: CRE8 E1 fuel and spark step

The synthesis of CRE8 E1 knock filter sample
FigureValueBasisHow it is made
Verilogsha256 aa896baa4a30…, 3081 bytescomputedone always @(*) block computes the result through 30 temporaries, with no state machine and no write to an input; the clocked block also resets those 30 temporaries, so each has two drivers (a CRE8VM Verilog emitter defect: a Yosys or Icarus run must fix it first)
Native netlist cells0computedCRE8VM's native exporter left 9 of the data inputs unconnected: it does not see this datapath, so it gives no gate count
ASIC handoff lintrisk highcomputedundriven consumer nets 65; floating producer-only nets 579
Golden-model check96 of 96 samples agreesimulatedCRE8VM VerilogSim through Circuit.Simulate (it runs the IR the Verilog emitter lowers), one cycle a sample
Gate equivalents, at the register widths7644 (30575 transistors)assumedthe operator census and a gate-equivalent model per operator; cell areas from the RV32I signoff receipt
Cell area, at the register widths0.0555 mm²assumedgate equivalents × the IHP SG13G2 NAND2 area; no placement or routing
Longest path, at the register widths94 ns typical, 158 ns slow corner (304 stages)assumedripple carries with no overlap, two stages a carry, times the RV32I path's mean stage delay
Gate equivalents, as emitted (64-bit)57760 (231040 transistors)assumedthe operator census and a gate-equivalent model per operator; cell areas from the RV32I signoff receipt
Cell area, as emitted (64-bit)0.4192 mm²assumedgate equivalents × the IHP SG13G2 NAND2 area; no placement or routing
Longest path, as emitted (64-bit)277 ns typical, 467 ns slow corner (896 stages)assumedripple carries with no overlap, two stages a carry, times the RV32I path's mean stage delay
Against the chip's transistor budget30575 for this block, 24000 for the whole chipassumedthe block as one combinational window against the record's budget; one multiplier used three times a sample needs about a third of the multiplier logic
Sample budget126 samples of logic delay in one 20 µs sample periodassumeda 50 kHz knock-sensor sample (assumed) over the slow-corner path at the register widths
12 rows

Book the design: CRE8 E1 knock filter sample

4. How each figure is made
FigureBasisFrom
Busy, lots a day, cycle time, WIP, bottlenecksimulatedthe wafer fab twin's discrete-event line, bundled run
Busy at the release ratecomputedthe production-line model over the same run (chipfab_line)
Die side, gross die, yield, good diecomputedthe die formula in asic.rs, from the figures below
Transistor budget, defect density, pad pitchassumeduntil a synthesized cell count and a signoff replace them
Verilog, native netlist, lint of a chip programcomputedCircuit.Synthesize and Circuit.AsicHandoff on a live node (asic_synth receipt)
Golden-model check of a chip programsimulatedCircuit.Simulate, sample by sample, against a model of the same arithmetic
Gate equivalents, cell area, longest pathassumedan operator census and a gate model; cell areas and stage delay from the RV32I signoff receipt
Any figure from a real linemeasurednone: no chip was fabricated
8 rows

CRE8 E1 engine controller

The chip controls the timing of an engine with up to six cylinders. It decodes the crank wheel and the cam, finds the gap and measures the speed. It interpolates the fuel pulse width and the spark advance from a load and speed table. A band-pass filter on the knock sensor channel adds up the band energy in a crank-angle window after each firing. When that level is above the threshold, the chip retards the spark of that cylinder. The chip drives one injector and one coil for each cylinder at its crank angle. It scans 16 sensor channels from an ADC on its second SPI port. The host writes the tables and reads the state.

1. The line

The chip goes through Wafer fab line, lab-1500nm (line:fab-line-lab-1500nm), as every chip the factory makes: 3.69 lots a day, 95.4 h cycle time, bottleneck implanter (simulated). The chip factory page shows each station.

The die

The core needs 0.085 mm² for 24000 transistors (assumed) at 130 nm. The 44 pads need a side of 1.39 mm, thus the pads set the die, not the logic. A 200 mm wafer holds 14988 whole die. At 99.0% yield and 0.5 defects a cm² (assumed), 14843 die are good (computed). Each chip's transistor budget is assumed until its synthesized cell count replaces it. The die is calculated from the budget, the pin count and the twin's sizing figures at 130 nm; the defect density is assumed. Nothing was fabricated.

Walk the fab in Virtual

Open Virtual, type plant load chipfab, then plant play. The floor runs the wafer fab twin's line, whose die are sized for the RV32I core; the twin does not size these chips yet.

2. One unit: from quartz to a tested chip

Quartz (raw): 0.000031 kg per CRE8 E1 engine controller; quarried: high-purity quartz lump.QuartzCoal (raw): 0.0000155 kg per CRE8 E1 engine controller; mined: bituminous coal.CoalMetallurgical silicon (material): Reduce quartz to silicon, bought. 0.0000111 runs per CRE8 E1 engine controller; described.Metallurgical siliconHydrogen chloride and hydrogen (opaque): 0.00000511 kg per CRE8 E1 engine controller; the chlor-alkali and hydrogen plants behind them are not drawn yet.Hydrogen chloride and…Polysilicon (material): Refine silicon to polysilicon, bought. 0.00000852 runs per CRE8 E1 engine controller; described.PolysiliconSingle-crystal silicon ingot (material): Grow a single-crystal ingot, bought. 0.00000741 runs per CRE8 E1 engine controller; described.Single-crystal silico…CRE8 E1 engine controller layout (opaque): 0.0000674 wafer's share per CRE8 E1 engine controller; no layout exists: the design stops at a netlist, and place and route on the PDK has not run.CRE8 E1 engine contro…Mask blanks and writer time (opaque): 0.0000674 wafer's share per CRE8 E1 engine controller; the mask shop's inputs are not drawn.Mask blanks and write…Fab gases, acids and photoresist (opaque): 0.0000674 kg per CRE8 E1 engine controller; per-wafer loadings vary by node and fab; not disclosed.Fab gases, acids and …Silicon wafer, 200 mm (part): Slice and polish wafers, bought. 0.0000674 runs per CRE8 E1 engine controller; described.Silicon wafer, 200 mmCRE8 E1 engine controller mask set (part): Write the CRE8 E1 engine controller mask set, bought; meant to be made by a partner (mask_shop). 0.0000674 runs per CRE8 E1 engine controller; described.CRE8 E1 engine contro…Dopant sources (opaque): 0.000135 wafer per CRE8 E1 engine controller; boron, phosphorus and arsenic sources; their chains are not drawn.Dopant sourcesCRE8 E1 engine controller wafer, isolation and wells (part): Isolation and wells, bought; meant to be made by a partner (open_pdk_foundry). 0.0000674 runs per CRE8 E1 engine controller; described.CRE8 E1 engine contro…CRE8 E1 engine controller wafer, gate stack (part): Gate stack, bought; meant to be made by a partner (open_pdk_foundry). 0.0000674 runs per CRE8 E1 engine controller; described.CRE8 E1 engine contro…CRE8 E1 engine controller wafer, sources and drains (part): Sources and drains, bought; meant to be made by a partner (open_pdk_foundry). 0.0000674 runs per CRE8 E1 engine controller; described.CRE8 E1 engine contro…Aluminium sputter target (opaque): 0.0000674 wafer per CRE8 E1 engine controller; high-purity aluminium for the metal layers; its chain is not drawn.Aluminium sputter tar…CRE8 E1 engine controller wafer, contacts and metal (part): Contacts and metal, bought; meant to be made by a partner (open_pdk_foundry). 0.0000674 runs per CRE8 E1 engine controller; described.CRE8 E1 engine contro…Copper ore (raw): 0.0297 kg per CRE8 E1 engine controller; mined: porphyry copper ore, about 0.6 % Cu.Copper oreCRE8 E1 engine controller wafer, passivation and pads (part): Passivation and pads, bought; meant to be made by a partner (open_pdk_foundry). 0.0000674 runs per CRE8 E1 engine controller; described.CRE8 E1 engine contro…Copper concentrate (material): Crush, grind and float copper ore, bought. 0.000572 runs per CRE8 E1 engine controller; described.Copper concentrateCRE8 E1 engine controller wafer, probed (part): Probe every die on the wafer, bought; meant to be made by a partner (wafer_probe). 0.0000674 runs per CRE8 E1 engine controller; described.CRE8 E1 engine contro…Copper cathode (material): Smelt, convert and electrorefine copper, bought. 0.000155 runs per CRE8 E1 engine controller; described.Copper cathodeCRE8 E1 engine controller die (part): Saw the wafer into die, bought; meant to be made by a partner (chip_packaging). 0.0000674 runs per CRE8 E1 engine controller; described.CRE8 E1 engine contro…Copper strip (material): Cast and roll copper strip, bought. 0.00015 runs per CRE8 E1 engine controller; described.Copper stripEpoxy mould compound (opaque): 0.0002 kg per CRE8 E1 engine controller; silica-filled epoxy; formulation not disclosed.Epoxy mould compoundCRE8 E1 engine controller in its package (part): Package in LQFP-44, 10 mm, bought; meant to be made by a partner (chip_packaging). 1 run per CRE8 E1 engine controller; described.CRE8 E1 engine contro…CRE8 E1 engine controller (component): Final test, bought; meant to be made here on chip_tester. 1 run per CRE8 E1 engine controller; described.CRE8 E1 engine contro…
made hereby a partnerboughtrawrecoveredopaque: make not knownstripe: who is meant to make itnot disclosedwhere buying starts