Docs / Knowledge Base / Application-specific integrated circuits for hashing
Knowledge Base
Contents
Application-specific integrated circuits for hashing
Part: Computer Science · Chapter: Application-specific integrated circuits for hashing · Edition: 2026-11-23
Keywords: ASIC, SHA-256, data movement, photonics, lithography, MOSFET, EUV
Glossary:ASIC,photolithography,EUV— see GLOSSARY
Overview
- A hashing ASIC wins by keeping the pipeline, the state, and the wires on one die. The expensive part of a commodity design is moving candidates between chips.
- Light in a simple photonic circuit is a poor match for SHA-256, which is a long chain of nonlinear boolean and modular steps.
- Lithography only opens a pattern in photoresist. Deposition, etch, and doping make the transistor. The finished chip computes with electrons, not with the exposure tool.
- Core counts below are approximate figures repeated in open-hardware miner notes. They are illustrations of parallelism, not a measurement made for this chapter.
A hashing ASIC is a chip whose transistors implement one pipeline, here the double SHA-256 used as Bitcoin’s proof of work, instead of a general instruction set. This chapter states what that integration changes, why a photonic substitute is a weak fit for the same workload, and what lithography does not do when the transistor is made. It is orientation. It is not a fabrication recipe, a miner design, or a claim about any asset.
Applications at Keyne Digital Assets
Public discussion of mining hardware often mixes three different objects: the running chip, the optical computer people imagine in its place, and the factory tool that patterned the silicon. Situation Monitor and the rest of our work read public records; they do not manufacture semiconductors. We use this chapter when a claim about hash rate, “light-speed” logic, or lithography needs to be placed against the physical distinction those three objects actually have.
1. What an ASIC changes
Definition (hashing ASIC). An application-specific integrated circuit for hashing is a die on which the arithmetic of one hash, the registers that hold its working state, and the wires between those stages are laid out together.
In a machine built from separate commodity parts, a candidate header is repeatedly loaded from memory, sent across a bus, computed on a CPU, GPU, or FPGA, and written back. Each crossing pays protocol overhead, pin power, and a latency measured in tens to hundreds of nanoseconds. SHA-256 itself is a shallow, regular function. At miner scale the scarce resource is not a clever instruction. It is the energy and the time spent moving the next candidate to the place that can hash it.
An ASIC removes that trip for the inner loop. The working state sits in on-chip registers and SRAM. A new candidate is a local update. Thousands of copies of the same pipeline share one die, so the parallelism is a layout choice rather than a board full of packages.
| Aspect | Dedicated hashing ASIC | Separate commodity parts |
|---|---|---|
| Where the working state sits | On the same die as the pipeline | In other packages, reached by a bus |
| Data movement per candidate | A local update | A transfer on every pass |
| Copies of the pipeline | Thousands of hash cores on one chip | Limited by packages, pins, and boards |
| Energy per hash | Set by the on-chip pipeline | Dominated by movement between chips |
Putting queues or stacks in external DRAM does not close this gap. A queue can hide some scheduling overhead. The word still has to cross the memory bus, and that hop remains far slower than a register on the hashing die. The useful comparison is on-chip state against an external round trip, not a smarter layout of the same external memory.
2. Speed inside the die
Nothing in the chip outruns light in vacuum. A signal on a metal interconnect travels in a dielectric, so its speed is a fraction of that vacuum speed, about one half to one third, or roughly . “A fraction of the speed of light” means slower than light in vacuum, not faster.
For a simple dielectric the wave speed is
Where is the relative permittivity of the medium. A typical on-chip delay quoted for this regime is about 50 to 150 picoseconds per millimetre. Distances inside one hashing pipeline are millimetres or less, so the flight time is small next to a DRAM round trip.
Flight time is not usually the term that sets the clock. Over short wires, resistance, capacitance, and the depth of the logic dominate. The engineering point stands either way: the pipeline does not wait on an external bus, and it does not beat the vacuum speed of light.
The switching event is also not a mechanical motion. In a MOSFET, voltage on the gate changes the electric field in a silicon channel and thereby the flow of charge between source and drain. There is no moving part inside the transistor tracking the hash.
3. Photonic alternatives
Definition (photonic integrated circuit). A photonic integrated circuit guides light in on-chip waveguides and uses interference, resonance, and detection to process that light.
Linear optical operations are natural in that medium.
| Optical mechanism | Linear role |
|---|---|
| Interference | Sum and difference of fields |
| Beam splitters and Mach–Zehnder interferometers | Multiplication by weights, including matrix products |
| Microrings and other resonators | Filtering and weighting |
| Diffraction and free-space optics | Linear transforms across a spatial mode |
SHA-256 is a poor fit for that list. Its compression rounds are built from XOR, rotations, majority and choice functions, and modular integer addition. Those operations are nonlinear. A square root is the textbook witness that a function can fail linearity: , while . Nonlinear optical effects exist, but in ordinary materials they are weak and expensive in power. A photonic chip made from simple materials therefore has no cheap equivalent of the transistor’s on/off nonlinearity.
Memory does not repair the mismatch. Purely optical storage is still limited to short delay lines, resonators, and experimental phase-change or memristive devices. The memory actually used beside photonic processors is usually electronic. A photodetector converts light to current; it does not evaluate a boolean round. A phototransistor is still an electronic device that happens to accept light as an input. If each nonlinear step converts light back to electrons, the machine is an electronic pipeline with an optical link, not a photonic hasher.
Suppose, for the sake of the comparison, that a photonic transistor existed and that one SHA-256 round were placed in hardware beside an FPGA. The professional electronic mining ASIC would still lead on density, energy per terahash, maturity, and throughput. An FPGA already gives up area and energy to an ASIC on a fixed function. Implementing a single round, rather than a deep unrolled pipeline, cuts the number of hashes completed per second still further. Double SHA-256 is not “two operations.” Each compression applies 64 rounds, and the header requires more than one compression, as the next section records.
4. The hashing workload
Bitcoin’s proof of work, described in Nakamoto’s 2008 paper, searches for a block header whose double SHA-256 digest falls under a target. The header is 80 bytes. The nonce field inside it is a 32-bit integer, so it alone has values (0 through 4,294,967,295). At modern hash rates that field is exhausted quickly. Miners also vary the extra nonce in the coinbase transaction and the timestamp, which changes the Merkle root or the time field and opens a new 32-bit nonce sweep. The search has no useful shortcut: a one-bit change in the input avalanches through the digest.
Each SHA-256 compression runs 64 rounds. An 80-byte header, once padded, occupies two 512-bit blocks, so the first hash performs two compressions. The second hash consumes the 32-byte digest and performs one more. A miner therefore repeats a deep nonlinear pipeline, not a pair of isolated evaluations. Doing that conversion between light and electrons inside the rounds multiplies the overhead by the number of rounds and by the trillions of candidates tested each second.
5. Parallel cores
The ASIC answer to that repetition is spatial parallelism. One modern mining die holds on the order of a thousand to several thousand small hash cores. Figures repeated in open-hardware miner documentation around 2026, and used here only as illustrations, are:
| Chip | Small cores (approx.) | Hash rate per chip (approx.) | Where it shows up |
|---|---|---|---|
| BM1368 | 1,280 | 0.63 TH/s | Antminer S21 class. One S21 uses 324 of these chips, 108 on each of three boards |
| BM1370 | 2,040 | 1.07 TH/s | Later S21 Pro class, at commonly cited factory settings |
| BM1373 | 6,700 | 2.2 TH/s | A later, wider chip in the same secondary literature |
Three hundred and twenty-four BM1368 chips, at about 1,280 cores each, are on the order of small cores in one machine. The later chips raise the per-die rate; they are not the chip inside the original S21. Treat every count in the table as approximate. Vendors do not publish a single audited core census for this chapter to copy.
6. Two histories
The people who shipped mining ASICs are not the people who built the lithography scanners, and the dates are not the same.
Commercial mining ASICs reached customers in early 2013. The first widely delivered machine was Avalon, from Yifu Guo and Canaan Creative; contemporary reporting placed the first customer shipments in January and February of that year. The BM-series chips that later dominated volume come from Bitmain. Micree Zhan, a technical co-founder of that company, is the engineer usually credited with that line of designs. Those facts are about a hashing product. They are not a history of nanoscale CMOS.
The first commercial processors on a process node below 100 nm were the 90 nm generation, shipping around 2004. The scanners of that era, from ASML, Nikon, and Canon, were optical steppers and scanners using 193 nm light. Extreme-ultraviolet scanners, at a wavelength of 13.5 nm, entered high-volume manufacturing around 2018–2019 and are the tools used for the most advanced nodes, including 7 nm-class production and below. The public picture of an EUV scanner is a tin-plasma light source, multilayer mirrors rather than refractive lenses, a reflective mask, and a vacuum path. The control laws and the exact process window are industrial secrets. None of that apparatus evaluates SHA-256.
7. Lithography and the transistor
Definition (photolithography). Photolithography exposes a pattern into photoresist so that a later etch, implant, or lift-off step affects only the opened regions.
The exposure does not deposit metal, does not dope the silicon, and does not carry data while the chip runs. A bus is a path used by signals in the finished circuit. Lithography is a factory step that is over before the die is packaged. Using light in both places does not make them the same machine. After the chip is finished, the hash is a motion of charge in the transistors the exposure helped define.
XOR is not “drawn” as a photonic trick. Lithography defines transistors and wires. Transistors are wired into logic gates. The gates compute XOR, rotations, and the rest of the round. Two chips can share a lithographic process and still compute by different physics once they leave the fab. An electronic hasher moves electrons. A photonic circuit, if it computes at all, moves fields in a waveguide.
A MOSFET, in the shortest honest sequence, is made as follows.
- Start with a silicon wafer.
- Grow or deposit an oxide or other dielectric.
- Expose and develop photoresist so the gate region is defined, then form the gate. Lithography sets the shape; it does not supply the gate material.
- Further exposures define source and drain.
- Dope those regions by ion implantation.
- Open contacts and deposit metal for the interconnect, by chemical or physical vapour deposition, atomic-layer deposition, or electroplating.
- Repeat metal and via layers until the pipeline is wired.
At the dimensions of a current logic process the exposure is extreme-ultraviolet light at 13.5 nm, focused with multilayer mirrors, onto a resist that can hold the pattern. Placement is controlled to picometres. Films that must be a few atoms thick are grown by atomic-layer deposition, and the dopant arrives as a controlled ion beam. The material lands on the whole wafer at once, from a vapour, a plasma, or that ion beam. There is no mechanical arm and no needle placing one transistor at a time. Lithography decides where the blanket film stays and where it is removed.
8. Consequences
| Topic | What holds |
|---|---|
| Commodity parts | The bottleneck is the trip between packages |
| Hashing ASIC | On-chip state and many copies of one pipeline remove that trip |
| On-chip wires | Slower than light in vacuum; still local compared with DRAM |
| Photonics | Strong on linear transforms; weak on SHA-256’s nonlinear rounds |
| Lithography | Patterns the resist. It does not hash, and it is not the bus |
| Transistor | Gate field, doping, and deposited films. No moving part and no placement needle |
| Mining machines | Throughput comes from a very wide array of small hash cores |
See also
Glossary terms introduced: ASIC, photolithography, EUV.
References
On this page