74181

First arithmetic logic unit (ALU) on a single chip


title: "74181" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["computer-related-introductions-in-1970", "bit-slice-chips", "digital-circuits", "history-of-computing-hardware", "texas-instruments-hardware"] description: "First arithmetic logic unit (ALU) on a single chip" topic_path: "technology/computing" source: "https://en.wikipedia.org/wiki/74181" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary First arithmetic logic unit (ALU) on a single chip ::

::figure[src="https://upload.wikimedia.org/wikipedia/commons/d/d7/SN74S181N.JPG" caption="The 74S181 4-bit ALU bitslice resting on a page from the datasheet"] ::

The 74181 is a 4-bit slice arithmetic logic unit (ALU), implemented as a 7400 series TTL integrated circuit. Introduced by Texas Instruments in February 1970, it was the first complete ALU on a single chip. It was used as the arithmetic/logic core in the CPUs of many historically significant minicomputers and other devices.

The 74181 represents an evolutionary step between the CPUs of the 1960s, which were constructed using discrete logic gates, and single-chip microprocessors of the 1970s. Although no longer used in commercial products, the 74181 later was used in hands-on computer architecture courses and is still referenced in textbooks and technical papers.

Specifications

::figure[src="https://upload.wikimedia.org/wikipedia/commons/c/c0/74181aluschematic.png" caption="The combinational logic circuitry of the 74181 integrated circuit"] ::

The 74181 is a 7400 series medium-scale integration (MSI) TTL integrated circuit, containing the equivalent of 75 logic gates{{cite report |first1=Miles|last1=Murdocca|first2=Apostolos|last2=Gerasoulis|first3=Saul|last3=Levy |url=https://apps.dtic.mil/sti/citations/ADA244057|title=Novel Optical Computer Architecture Utilizing Reconfigurable Interconnects |date=October 1, 1991 |page=23 |quote=Logic diagram for the 74181 ... There are 63 logic gates.}} and most commonly packaged as a 24-pin DIP. The 4-bit wide ALU can perform all the traditional add / subtract / decrement operations with or without carry, as well as AND / NAND, OR / NOR, XOR, and shift. Many variations of these basic functions are available, for a total of 16 arithmetic and 16 logical operations on two four-bit words. Multiply and divide functions are not provided but can be performed in multiple steps using the shift and add or subtract functions.

Shift is not an explicit function but can be derived from several available functions; e.g., selecting function "A plus A" with carry (M=0) will give an arithmetic left shift of the A input. Right shifts are not supported.

The 74181 performs operations on two four-bit operands generating a four-bit result with carry in 22 nanoseconds (45 MHz). The 74S181 performs the same operations in 11 nanoseconds (90 MHz), while the 74F181 performs the operations in 7 nanoseconds (143 MHz) (typical).

Multiple slices can be combined for arbitrarily large word sizes. For example, sixteen 74S181s and five 74S182 look ahead carry generators can be combined to perform the same operations on 64-bit operands in 28 nanoseconds (36 MHz). Although overshadowed by the performance of today's multi-gigahertz 64-bit microprocessors, this was quite impressive when compared to the megahertz clock speeds of the early eight-bit microprocessors.

Implemented functions

The 74181 implements all 16 possible logical functions with two variables. Its arithmetic functions include addition and subtraction with and without carry. It can be used with active-high data, in which a high logic level corresponds to 1, and active-low data, in which a low logic level corresponds to 1.

Inputs and outputs

There are four selection inputs, S0 to S3, to select the function. M is used to select between logical and arithmetic operation, and Cn is the carry-in. A and B is the data to be processed (four bits). F is the number output. There are also P and a G signals for a carry-lookahead adder, which can be implemented via one or several 74182 chips.

Function table for output F

In the following table, AND is denoted as a product, OR with a + sign, XOR with \oplus, logical NOT with an overbar and arithmetic plus and minus using the words plus and minus.

::data[format=table]

HHHHAAA plus 1AA minus 1A
::

Significance

The 74181 greatly simplified the development and manufacture of computers and other devices that required high speed computation during the 1970s through the early 1980s, and is still referenced as a "classic" ALU design.

Prior to the introduction of the 74181, computer CPUs occupied multiple circuit boards and even very simple computers could fill multiple cabinets. The 74181 allowed an entire CPU and in some cases, an entire computer to be constructed on a single large printed circuit board. The 74181 occupies a historically significant stage between older CPUs based on discrete logic functions spread over multiple circuit boards and modern microprocessors that incorporate all CPU functions in a single chip. The 74181 was used in various minicomputers and other devices beginning in the 1970s, but as microprocessors became more powerful the practice of building a CPU from discrete components fell out of favour and the 74181 was not used in any new designs.

Education

By 1994, CPU designs based on the 74181 were not commercially viable due to the comparatively low price and high performance of microprocessors, but it was still useful for teaching computer organization and CPU design because it provided opportunities for hands-on design and experimentation.

Computers

::figure[src="https://upload.wikimedia.org/wikipedia/commons/9/96/Data_General_Nova_1200_CPU.agr.jpg" caption="Nova 1200 CPU [[printed circuit board]]. The 74181 ALU is the large IC center-right. Click to enlarge."] ::

Many computer CPUs and subsystems were based on the 74181, including several historically significant models.

Other uses

References

References

  1. (2017). "Logik, Informationstheorie". De Gruyter.
  2. "Computer Structures: Principles and Examples".
  3. (March 1988). "SN54LS181, SN54S181 SN74LS181, SN 74S181 ARITHMETIC LOGIC UNITS/FUNCTION GENERATORS".
  4. (September 15–17, 1997). "Kestrel: Design of an 8-bit SIMD parallel processor".
  5. Bradford J. Rodriguez. "A Minimal TTL Processor for Architecture Exploration".
  6. "74181 Price & Stock | DigiPart".
  7. "History of the 74181 in commercial minicomputers".
  8. (August 1979). "Computer Engineering: A DEC View of Hardware Systems Design". Digital Press.
  9. Bob Supnik. (August 31, 2004). "Simulators: Virtual Machines of the Past (and Future)". [[ACM Queue]].
  10. "The final demonstration of the Xerox 'Star' Computer". Computer History Museum.
  11. Del Rosso, Tom. (October–December 1994). "IC Corner: Early IC ALU'S In The Xerox Alto". Computer History Association of California.
  12. (30 April 1998). "VAX-11/780, in Digital Computing Timeline, 1977". Digital Information Research Services, via Microsoft Research (research.microsoft.com).
  13. Duell, Tony. (May 1995). "More On The Peripatetic 74x181". Computer History Association of California.
  14. "75-53506 Schematic of LSI-2 CPU". Computer Automation.
  15. "Early PDP-11 peripherals".
  16. (December 1973). "FPP12A floating-point processor user's manual". Digital Equipment Corporation.
  17. "Wang 2200 Microarchitecture Description".
  18. "Wang 2200 Disk Channel Description".
  19. (1 September 1975). "Model 980 Computer Maintenance Manual: Arithmetic Unit And Control Console". [[Texas Instruments]].
  20. (15 June 1980). "Model 990 Computer Family Maintenance Drawings Computer Chassis and Enclosures Volume I". [[Texas Instruments]].
  21. "Datapoint 2200 Version I and II Drawing Package".
  22. "ICL 1501 Intelligent Terminal".
  23. "1982 Synclavier II HxC Retrofit!".
  24. (1980). "Star Castle Op and Maintenance". Cinematronics, Inc..
  25. "NorthStar FP Board".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

computer-related-introductions-in-1970bit-slice-chipsdigital-circuitshistory-of-computing-hardwaretexas-instruments-hardware