Building an Op-Amp from Silicon Up: Designing and Testing a Custom Chip with Open-Source Tools

Open on YouTube ↗
Overview

Electronics creator Ichiken has previously built an operational amplifier out of discrete transistor components. In this video they take the same idea much further: they design an op-amp at the transistor level, lay it out on a silicon chip, have it fabricated at a semiconductor foundry, and then test the chip on the bench. The video covers two things. The first is how an individual hobbyist got through the design, layout, and fabrication process with open-source tools and community support. The second is how well the resulting op-amp actually performs.

13 min read
2:06

Timeline and Community Support

Design work began around June 2025, and the deadline for submitting design data was in early August. Ichiken says this meant learning op-amp design methodology, the design software, and semiconductor layout "at a fairly rapid pace." They credit the ISHI-kai (ISHI Association), an open-source semiconductor community, with a great deal of help throughout the project. They point viewers to the video description for materials on the group's activities and on semiconductor design methods. Because the full project covered too much to show in one video, Ichiken presents only the parts they consider most important.

3:31

The Design Flow and the Open-Source Toolchain

Ichiken describes the basic flow as four steps: draw a schematic, simulate it, create the layout, and verify the layout. They compare this to ordinary electronic circuit design. In their view, anyone who has used the circuit simulator LTspice or drawn a circuit in the PCB CAD program KiCad could manage a simple op-amp's circuit design and layout. The main hurdle is learning the specific software, and parts of it can be somewhat difficult. For newcomers, Ichiken suggests starting with a logic NOT circuit (an inverter), which they think will help people keep up with the process.

Commercial semiconductor design software is generally expensive. Ichiken stresses that open-source simulators and layout tools can be used for free, and that volunteers have packaged them so the software is easy to set up. Semiconductor design also requires a Process Design Kit (PDK), and one is available as well. Ichiken says they are grateful that the whole environment can be put together easily. Setup procedures are linked in the description.

4:06

More Design Freedom, More Difficulty

Ichiken contrasts discrete design with transistor-level design. When you build with discrete semiconductors, each component's performance is fixed, and you make adjustments with external resistors and similar parts. In transistor-level design, you set the performance of each transistor yourself, which gives you much more design freedom.

That freedom sounds appealing, but for a beginner like themselves Ichiken says it makes things harder, because they didn't know what values to choose for transistor performance. They settled on approximate values with a lot of guidance from ISHI-kai members. They add that a viewer could probably do something similar by following the PDF documents linked in the description.

The chip was designed in a CMOS process, and Ichiken highlights one consequence. PMOS transistors perform worse than NMOS, so a PMOS device needs roughly twice the area of an NMOS device to reach the same performance. This shows up later in the layout. With discrete components you can simply use a complementary pair, and Ichiken says there are few situations where you have to think much about that performance gap. When you design from a lower layer, as in this project, it becomes something you must account for.

Circuit Structure and Test Benches

The finished schematic divides into blocks: an input differential amplifier stage, an output stage, and a reference current source. Ichiken's process was to split the circuit into small blocks and build a test bench for each one. Once every block worked on its own, they combined everything and simulated the whole circuit to confirm it worked without problems. Only then did they move on to transistor layout.

5:43

Layout Techniques

Ichiken found transistor layout "very deep," something they only realized while doing this project. The finished layout contains the input differential amplifier, the reference current source, the phase-compensation circuitry, and the output circuit. They admit that a quick glance at it doesn't reveal much, even though they worked hard on it. They then walk through several techniques they used.

Common centroid. The transistors in the differential amplifier are arranged point-symmetrically. For FETs used in pairs, as in a differential amplifier, this layout technique keeps temperature differences from arising between transistors A and B, which Ichiken says gives better temperature characteristics.

Dummy polysilicon. Ichiken explains that during manufacturing, the silicon at the edges apparently gets scraped away. If this happens to a working transistor, the circuit drifts from its designed characteristics. To prevent this, extra transistors that do not contribute to circuit operation are placed at the ends, which protects the transistors that do affect the internal circuit.

Double vias and double contacts. Vias and contacts have high resistance compared with wiring, so using several of them in parallel lowers resistance. Because these structures are extremely fine, a single via or contact may also fail because of a manufacturing defect. Multiple vias and contacts let the circuit keep working if one fails. Ichiken notes this is the same idea as using multiple vias on a printed circuit board to reduce resistance.

Wider current-carrying traces. Wiring that carries current was made thicker throughout.

7:56

Verification and Where the Time Went

After layout, the design must be checked in two ways: the layout has to match the schematic, and it must not violate any design rules. If the layout is wrong or breaks a rule, Ichiken warns, you may have to delete work that took a long time and start over. They call this quite a time-consuming process. Circuit design itself did not take long. Layout and verification took the most time, which they estimate at about 30 hours.

8:30

Fabrication Through a Shuttle Service

The finished data went to a foundry, in this case Phenitec Semiconductor. The chip was made through a shuttle service, in which multiple designs from different people share a single wafer to cut costs. On this wafer, one area belonged to the ISHI-kai and another was used by a different company. The idea is to pack as many designs as possible onto one wafer so prototypes can be made economically.

This chip was part of a 2025 shuttle. Design data was due in August and finished chips arrived around the end of December, roughly four months in total. Ichiken says the chip showed up just as they had almost forgotten about it.

Ichiken found the cost much lower than they expected. Twenty bare chips cost 210,000 yen. Adding the option to assemble them in LQFP packages brought the total to 300,000 yen. Because the chip also holds circuits designed by other people, splitting the cost among participants brings it down to tens of thousands of yen per person. Ichiken also mentions that manufacturing costs for this run were covered by Sanken Electric. With free open-source design tools as well, they feel the barrier to producing an original chip has come down considerably. The process node is 0.6 μm, which they believe is sufficient for analog semiconductors like this op-amp. They also note that this foundry is not the only one running domestic shuttle services like this.

10:17

Inspecting the Chip

Ichiken received both bare chips and packaged versions. The packaged ones look just like an ordinary IC. The bare chip is too small to see much with a camera, so they examined it under a microscope. The die holds circuits from other contributors alongside Ichiken's own. The IC's pin count is fixed and pins were divided among everyone, so some circuits had too few pins and are not connected to the lead frame at all. The ISHI-kai and Sanken Electric logos sit in the middle, and Ichiken's op-amp is in the upper left. Ichiken believes it was manufactured exactly as designed.

11:19

Test Setup

For testing, the IC went into a clamshell-type socket jig, with the circuit built on a breadboard. The relevant pins are:

  • power supply pins
  • a pin for attaching an external phase-compensation capacitor
  • a dedicated VDD terminal for Ichiken's circuit
  • terminals for the current source and the current mirror
  • the op-amp inputs and output

The current source and current mirror have separate pins, and for this test they are shorted together. The separation is a fallback: if the on-chip current source doesn't work, current can be supplied from outside so the op-amp can still run.

11:53

First Test: Buffer Operation and Current Consumption

The first circuit was a voltage buffer running from a 5 V supply. The op-amp is single-supply, so the AC input was centered at 2.5 V, half the supply, with an amplitude of 1 V peak-to-peak. When power was applied, the output (red trace) tracked the input (yellow trace), and the op-amp worked. The video also includes footage of a measurement session held with the people who helped with the design.

Ichiken measured current consumption at 0.15 mA, which they consider quite low. For comparison they cite the NJM3404, a single-supply op-amp sold at shops such as Akizuki, whose current consumption they give as 2 mA. Even if their op-amp can't match its performance, they call the result reasonable.

13:11

Output Swing

Next Ichiken increased the input amplitude, keeping it centered at 2.5 V, to find where the output clips. Clipping began at about 4 V peak-to-peak input, with a maximum output of about 4.4 V. The top of the waveform clipped first, while the bottom held all the way down to 0 V.

Frequency Behavior and Slew Rate

Starting from 1 kHz, Ichiken raised the input frequency. At 10 kHz and 100 kHz the waveform showed no distortion. At 200 kHz the top began to distort. At 300 kHz the output became almost a triangle wave, which Ichiken attributes to a slew-rate limitation. Sweeping back down from 300 kHz toward 10 kHz, they concluded the op-amp is usable up to about 200 kHz. At that frequency the peaks are slightly distorted, which they consider acceptable.

Square-Wave Response and Phase Compensation

With a square-wave input, the output showed some ringing. A phase-compensation capacitor is built into the chip, and this was the part Ichiken felt worked "pretty well." Because the design also brings out a pin for an external capacitor, compensation can be strengthened further. Adding an external capacitor of about 10 pF greatly reduced the ringing, and removing it brought the ringing back.

15:32

Non-Inverting and Inverting Amplifiers

Configured as a non-inverting amplifier with a gain of two, the op-amp amplified the input as expected. As the input grew, the positive peaks began to clip, with output clipping at about 3.2 V. Ichiken takes this to mean the internal design still falls short in this area.

As an inverting amplifier, the circuit also inverted and amplified correctly. Past a certain amplitude, though, the output no longer reached the expected size and began to clip. Once the input exceeded 2.9 V, the output waveform was already wrong.

16:44

Load Drive

Finally Ichiken tested how much load the op-amp could drive, attaching resistive loads to the buffer circuit. It could not drive 10 kΩ. They explain that the output buffer inside this op-amp was not strengthened, so heavy loads are beyond it. Driving heavy loads would require adding a buffer stage after the output during design. Even an 80 kΩ load distorted the output, so Ichiken concludes it can only drive very light loads. With a smaller input amplitude it could handle somewhat heavier loads, but 10 kΩ still did not work.

17:41

Lessons: Layout Consumes Unlimited Time

Ichiken's conclusion is that the op-amp was designed and fabricated at the chip level and works as an op-amp without problems. The biggest lesson was how much time design and especially layout demand. They describe time "melting away" during layout. A connection drawn simply on a schematic can be placed and routed in many ways at the transistor level, and it is not clear whether a given arrangement will perform well, or which arrangement will best resist the effects of the foundry's process. Layout techniques that don't appear on the schematic at all add even more work, and in their words no amount of time is enough.

Fabrication runs have fixed deadlines, so when time runs short a layout may have to go to production with some compromises. Ichiken suspects this also happens in real industry. Some parts of their own layout got less attention than they wanted and ended up compromised to a degree. Even so, the chip worked as an op-amp. For viewers interested in semiconductor design and layout, Ichiken points to the documentation linked in the video description.