Inside the vintage 74181 ALU chip: how it works and why it’s so strange

Posted on Monday, March 20th, 2017 in Chips, reversed by DP


Ken Shirriff writes:

The 74181 ALU (arithmetic/logic unit) chip powered many of the minicomputers of the 1970s: it provided fast 4-bit arithmetic and logic functions, and could be combined to handle larger words, making it a key part of many CPUs. But if you look at the chip more closely, there are a few mysteries. It implements addition, subtraction, and the Boolean functions you’d expect, but why does it provide several bizarre functions such as “A plus (A and not B)”? And if you look at the circuit diagram (below), why does it look like a random pile of gates rather than being built from standard full adder circuits. In this article, I explain that the 74181’s set of functions isn’t arbitrary but has a logical explanation. And I show how the 74181 implements carry lookahead for high speed, resulting in its complex gate structure.

More details at Ken Shirriff’s blog.

This entry was posted on Monday, March 20th, 2017 at 11:35 pm and is filed under Chips, reversed. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

3 Responses to “Inside the vintage 74181 ALU chip: how it works and why it’s so strange”

  1. Max says:

    Hey, look – an article that isn’t conveniently obfuscated into a video! Something I can actually, you know, _read_!

  2. Daniel says:

    Interesting to read about how they did things in the early days, with space and budget constraints. They really had to try hard to make it all fit and work. Today’s engineers have become lazy with all the headroom they have.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments