The alpha, twice a week
That was 5 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Dwarkesh Podcast · 5 min · May 22, 2026
FPGA lookup tables spend extra gates for flexibility
An FPGA's lookup table implements a gate by selecting from a truth table, which uses far more gates than a fixed ASIC circuit.
The episode’s best minutes
Full analysis- 16:00Moving data can cost more than doing the computation6 min
- 25:20Systolic arrays reuse weights to reduce data movement7 min
- 58:43FPGA lookup tables spend extra gates for flexibilityPro pick 5 min
- 5 more moments in the full episode
“using a LUT, I can also implement it, but it's going to take these 32 gates instead of three.”
Reiner Popeat 1:02:33 · Dwarkesh PodcastTakeaways Pro pick
- A four-input lookup table can represent any Boolean function.
- A four-way AND takes three gates in an ASIC but 32 in a LUT.
- Listing every truth-table output is less compact than building the gate.
One of Pro's picks, open to you here. Try Pro free for 7 days
One of Pro's picks. The rest of the summary and the 3 takeaways are in Real Alpha Pro; the video, the quote and the transcript stay free.
Read it with Pro, 7 days freeAbout this segment
An FPGA's lookup table implements a gate by selecting from a truth table, which uses far more gates than a fixed ASIC circuit. That flexibility comes with a hardware-efficiency cost.
Reiner Pope is CEO of MatX.
Co-founded MatX to design chips for LLMs, betting on HBM and SRAM; former Google TPU architect.

Dwarkesh Patel, Host · Host, Dwarkesh Podcast
Co-wrote The Scaling Era, an oral history of AI; named to TIME100 AI.
From “Chip design from the bottom up – Reiner Pope”, May 22, 2026. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 58:50
And so instead of a lookup table, it just thinks like a programmable gate. That's right. And so, I mean, one of the things you can do here is you can see why the rule of thumb that an FPGA is like an order of magnitude more expensive than an ASIC comes from, is to count how many gates would be inside this lookup table. So we can view this lookup table essentially as one of these muxes. And so it is a mux with, has to select between 16 different values.
- 59:19
and so it is a MUX with sort of n equals 16 options p equals 1 bits and so what we saw way earlier is that this circuit costs like n times p many gates and so it's like so it costs like n times p equals 16 AND gates, and also 16 ORs. This circuit being the mux. Yeah, exactly. The mux. The mux is the core. The mux that goes into the lookup table. So the lookup table itself, you can think of as being actually a big mux that selects from all 16 rows down to one output.
- 1:00:03
Yeah, okay. That is the lookup table. But the way you've drawn it here, there's like a mux and then a lookup table. It's muxes all the way down. So I mean, there is a second mux that is inside here. This mux is this mux. Got it. Okay. And then the other mux is just saying... Where it came from in this sort of mess of gates. Right. And then the second MUX is, okay, now you have one value, but that value is still a four-bit value.
- 1:00:29
Yeah, so I've selected four bits from the soup. Right. And then I use those four bits to select which entry in the lookup table I'm going to use. Right, okay. So, like, suppose in the first MUX there's, like, eight nearby, you're pulling from eight nearby registers as input. um and so that's like a total of like 32 bits going in um and then out of that uh four bits come out those four bits go into the second mux which is inside the lookup table so actually i would say in yeah in this case these registers are single bit registers so if there are eight like eight nearby registers and lookup tables then i have eight bits total coming in in in nearby i select from eight down to four different values so there's actually like four different muxes one associated with each of these input like little mucks associated with each of these input bits each of them is selecting one out of eight
- 1:01:25
and where are those eight coming from nearby registers and other lots and each register is one bit yes yeah and so i guess you amd or whoever makes these um uh fpgs still has to be opinionated about what registers should connect to which registers. And then you can program in the actual gates, but they add a wire in the connection, like the communication topology, right? Yeah, so there's the sort of like, you get flexibility in a local grain thing.
- 1:01:56
There's a sort of nearby neighborhood where you can select from, but then more grossly, like more coarsely, longer distant connections, they form an opinion on that. Right, yeah. And the reason it's 10x slower is why? So if you look at the cost of like building this lookup table, it's like 32 gates. Yeah. And then it can give me the equivalent of like, what's an interesting thing I can do here? I can do a four-way and gate.
- 1:02:21
And so that's like, I am using 32 gates of lookup table to sort of implement like a four-way and means like, what is a four-way and I would do like and, and, and then and of and. And so this is a circuit that I could implement in an ASIC directly using these three AND gates, but using a LUT, I can also implement it, but it's going to take these 32 gates instead of three. And so the overhead is really coming from the fact that the lookup table, the mux in the lookup table is, there's a more concise way to describe a truth table than listing out every single possible combination of inputs, which is just to like write out the gate.
- 1:03:08
Yeah, like to like place down the polysilicon and the lines and so on. Yeah, yeah. Interesting. One important point he made to me is that the reason they prefer FPGAs to CPUs is because they get deterministic clock cycles. They know when a packet will