74181

Last updated
The 74S181 4-bit ALU bitslice resting on a page from the datasheet SN74S181N.JPG
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, [1] it was the first complete ALU on a single chip. [2] It was used as the arithmetic/logic core in the CPUs of many historically significant minicomputers and other devices.

Contents

The 74181 represents an evolutionary step between the CPUs of the 1960s, which were constructed using discrete logic gates, and today's single-chip microprocessor CPUs. Although no longer used in commercial products, the 74181 is still referenced in computer organization textbooks and technical papers. It is also sometimes used in "hands-on" college courses to train future computer architects.

Specifications

The combinational logic circuitry of the 74181 integrated circuit 74181aluschematic.png
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 [3] 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.

The 74181 performs these 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 sub-megahertz clock speeds of the early four- and 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. [4]

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 , logical NOT with an overbar and arithmetic plus and minus using the words plus and minus.

SelectionActive-low dataActive-high data
Logic M = HArithmetic M = LLogic M = HArithmetic M = L
S3S2S1S0Cn = L (no carry)Cn = H (carry)Cn = H (no carry)Cn = L (carry)
LLLL minus plus 1
LLLH minus plus
LLHL minus plus 1
LLHHLogical 1 (two's complement) (zero)Logical 0 (two's complement) (zero)
LHLL plus plus plus plus plus plus
LHLH plus plus plus plus plus plus
LHHL minus minus minus minus minus minus
LHHH plus minus 1
HLLL plus plus plus plus plus plus
HLLH plus plus plus plus plus plus
HLHL plus plus plus plus plus plus
HLHH plus minus 1
HHLLLogical 0 plus plus plus Logical 1 plus plus plus
HHLH plus plus plus plus plus plus
HHHL plus plus plus plus plus plus
HHHH plus minus

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. [5]

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.

Today

By 1994, CPU designs based on the 74181 were not commercially viable due to the comparatively low price and high performance of microprocessors. However, the 74181 is still of interest in the teaching of computer organization and CPU design because it provides opportunities for hands-on design and experimentation that are rarely available to students. [6]

Computers

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

Other uses

See also

Related Research Articles

<span class="mw-page-title-main">Central processing unit</span> Central computer component which executes instructions

A central processing unit (CPU), also called a central processor, main processor, or just processor, is the most important processor in a given computer. Its electronic circuitry executes instructions of a computer program, such as arithmetic, logic, controlling, and input/output (I/O) operations. This role contrasts with that of external components, such as main memory and I/O circuitry, and specialized coprocessors such as graphics processing units (GPUs).

<span class="mw-page-title-main">Intel 8086</span> 16-bit microprocessor

The 8086 is a 16-bit microprocessor chip designed by Intel between early 1976 and June 8, 1978, when it was released. The Intel 8088, released July 1, 1979, is a slightly modified chip with an external 8-bit data bus, and is notable as the processor used in the original IBM PC design.

<span class="mw-page-title-main">Microprocessor</span> Computer processor contained on an integrated-circuit chip

A microprocessor is a computer processor for which the data processing logic and control is included on a single integrated circuit (IC), or a small number of ICs. The microprocessor contains the arithmetic, logic, and control circuitry required to perform the functions of a computer's central processing unit (CPU). The IC is capable of interpreting and executing program instructions and performing arithmetic operations. The microprocessor is a multipurpose, clock-driven, register-based, digital integrated circuit that accepts binary data as input, processes it according to instructions stored in its memory, and provides results as output. Microprocessors contain both combinational logic and sequential digital logic, and operate on numbers and symbols represented in the binary number system.

<span class="mw-page-title-main">VAX</span> Line of computers sold by Digital Equipment Corporation

VAX is a series of computers featuring a 32-bit instruction set architecture (ISA) and virtual memory that was developed and sold by Digital Equipment Corporation (DEC) in the late 20th century. The VAX-11/780, introduced October 25, 1977, was the first of a range of popular and influential computers implementing the VAX ISA. The VAX family was a huge success for DEC, with the last members arriving in the early 1990s. The VAX was succeeded by the DEC Alpha, which included several features from VAX machines to make porting from the VAX easier.

In computer architecture, 8-bit integers or other data units are those that are 8 bits wide. Also, 8-bit central processing unit (CPU) and arithmetic logic unit (ALU) architectures are those that are based on registers or data buses of that size. Memory addresses for 8-bit CPUs are generally larger than 8-bit, usually 16-bit. 8-bit microcomputers are microcomputers that use 8-bit microprocessors.

Transistor–transistor logic (TTL) is a logic family built from bipolar junction transistors. Its name signifies that transistors perform both the logic function and the amplifying function, as opposed to earlier resistor–transistor logic (RTL) and diode–transistor logic (DTL).

<span class="mw-page-title-main">Microcomputer</span> Small computer with a CPU made out of a microprocessor

A microcomputer is a small, relatively inexpensive computer having a central processing unit (CPU) made out of a microprocessor. The computer also includes memory and input/output (I/O) circuitry together mounted on a printed circuit board (PCB). Microcomputers became popular in the 1970s and 1980s with the advent of increasingly powerful microprocessors. The predecessors to these computers, mainframes and minicomputers, were comparatively much larger and more expensive. Many microcomputers are also personal computers. An early use of the term "personal computer" in 1962 predates microprocessor-based designs. (See "Personal Computer: Computers at Companies" reference below). A "microcomputer" used as an embedded control system may have no human-readable input and output devices. "Personal computer" may be used generically or may denote an IBM PC compatible machine.

<span class="mw-page-title-main">Intel 8008</span> 8-bit microprocessor

The Intel 8008 is an early 8-bit microprocessor capable of addressing 16 KB of memory, introduced in April 1972. The 8008 architecture was designed by Computer Terminal Corporation (CTC) and was implemented and manufactured by Intel. While the 8008 was originally designed for use in CTC's Datapoint 2200 programmable terminal, an agreement between CTC and Intel permitted Intel to market the chip to other customers after Seiko expressed an interest in using it for a calculator.

<span class="mw-page-title-main">Datapoint 2200</span> Personal computer and terminal

The Datapoint 2200 was a mass-produced programmable terminal usable as a computer, designed by Computer Terminal Corporation (CTC) founders Phil Ray and Gus Roche and announced by CTC in June 1970. It was initially presented by CTC as a versatile and cost-efficient terminal for connecting to a wide variety of mainframes by loading various terminal emulations from tape rather than being hardwired as most contemporary terminals, including their earlier Datapoint 3300. However, Dave Gust, a CTC salesman, realized that the 2200 could meet Pillsbury Foods's need for a small computer in the field, after which the 2200 was marketed as a stand-alone computer. Its industrial designer John "Jack" Frassanito has later claimed that Ray and Roche always intended the Datapoint 2200 to be a full-blown personal computer, but that they chose to keep quiet about this so as not to concern investors and others. Also significant is the fact that the terminal's multi-chip CPU (processor)'s instruction set became the basis of the Intel 8008 instruction set, which inspired the Intel 8080 instruction set and the x86 instruction set used in the processors for the original IBM PC and its descendants.

Bit slicing is a technique for constructing a processor from modules of processors of smaller bit width, for the purpose of increasing the word length; in theory to make an arbitrary n-bit central processing unit (CPU). Each of these component modules processes one bit field or "slice" of an operand. The grouped processing components would then have the capability to process the chosen full word-length of a given software design.

<span class="mw-page-title-main">AMD Am2900</span>

Am2900 is a family of integrated circuits (ICs) created in 1975 by Advanced Micro Devices (AMD). They were constructed with bipolar devices, in a bit-slice topology, and were designed to be used as modular components each representing a different aspect of a computer control unit (CCU). By using the bit slicing technique, the Am2900 family was able to implement a CCU with data, addresses, and instructions to be any multiple of 4 bits by multiplying the number of ICs. One major problem with this modular technique was that it required a larger number of ICs to implement what could be done on a single CPU IC. The Am2901 chip included an arithmetic logic unit (ALU) and 16 4-bit processor register slices, and was the "core" of the series. It could count using 4 bits and implement binary operations as well as various bit-shifting operations. The Am2909 was a 4-bit-slice address sequencer that could generate 4-bit addresses on a single chip, and by using n of them, it was able to generate 4n-bit addresses. It had a stack that could store a microprogram counter up to 4 nest levels, as well as a stack pointer.

<span class="mw-page-title-main">CVAX</span> Microprocessor chipset

The CVAX is a microprocessor chipset developed and fabricated by Digital Equipment Corporation (DEC) that implemented the VAX instruction set architecture (ISA). The chipset consisted of the CVAX 78034 CPU, CFPA floating-point accelerator, CVAX clock chip, and the associated support chips, the CVAX System Support Chip (CSSC), CVAX Memory Controller (CMCTL), and CVAX Q-Bus Interface Chip (CQBIC).

<span class="mw-page-title-main">History of general-purpose CPUs</span>

The history of general-purpose CPUs is a continuation of the earlier history of computing hardware.

<span class="mw-page-title-main">VAX 8000</span> Family of superminicomputers by Digital Equipment Corporation

The VAX 8000 is a discontinued family of superminicomputers developed and manufactured by Digital Equipment Corporation (DEC) using processors implementing the VAX instruction set architecture (ISA).

<span class="mw-page-title-main">General Instrument CP1600</span>

The CP1600 is a 16-bit microprocessor created in a partnership between General Instrument and Honeywell, introduced in February 1975. It is one of the first single-chip 16-bit processors. The overall design bears a strong resemblance to the PDP-11.

In computer architecture, 16-bit integers, memory addresses, or other data units are those that are 16 bits wide. Also, 16-bit central processing unit (CPU) and arithmetic logic unit (ALU) architectures are those that are based on registers, address buses, or data buses of that size. 16-bit microcomputers are microcomputers that use 16-bit microprocessors.

<span class="mw-page-title-main">Arithmetic logic unit</span> Combinational digital circuit

In computing, an arithmetic logic unit (ALU) is a combinational digital circuit that performs arithmetic and bitwise operations on integer binary numbers. This is in contrast to a floating-point unit (FPU), which operates on floating point numbers. It is a fundamental building block of many types of computing circuits, including the central processing unit (CPU) of computers, FPUs, and graphics processing units (GPUs).

<span class="mw-page-title-main">Texas Instruments SBP0400</span>

The Texas Instruments SBP0400, also known as SBC 0400 and X0400, is a microprogrammable 4-bit slice processor that was introduced in 1976. It was one of the first LSI processors and was the first device in the USA based on I²L technology. It was used for research and teaching purposes in the aerospace industry (NASA) and in the learning computer LCM-1001. This microprocessor learning computer was probably the company's first.

The Fairchild 9440 MICROFLAME, also known as the F9440 and μFLAME, was a 16-bit microprocessor introduced by Fairchild Semiconductor in 1977. The 9440 implemented the Data General Nova 2's instruction set in a single-chip 40-pin DIP. The name "MICROFLAME" was part of a wider branding exercise called "FIRE", which was a development software system.

The Simple-As-Possible (SAP) computer is a simplified computer architecture designed for educational purposes and described in the book Digital Computer Electronics by Albert Paul Malvino and Jerald A. Brown. The SAP architecture serves as an example in Digital Computer Electronics for building and analyzing complex logical systems with digital electronics.

References

  1. Höltgen, Stefan, ed. (2017). Logik, Informationstheorie [Logic, Information Theory] (in German). De Gruyter. p. 115. ISBN   9783110477504 via Google Books.
  2. Daniel P. Sieworek; C. Gordon Bell; Allen Newell. "Chapter 6: Structure". Computer Structures: Principles and Examples (PDF). p. 63. The earliest and most famous chip, the 74181 arithmetic logic unit (ALU), provided up to 32 functions of two 4-bit variables.
  3. Murdocca, Miles; Gerasoulis, Apostolos; Levy, Saul (October 1, 1991). Novel Optical Computer Architecture Utilizing Reconfigurable Interconnects (Report). p. 23. Logic diagram for the 74181 ... There are 63 logic gates.
  4. "SN54LS181, SN54S181 SN74LS181, SN 74S181 ARITHMETIC LOGIC UNITS/FUNCTION GENERATORS" (PDF). Texas Instruments . March 1988.
  5. Kestrel: Design of an 8-bit SIMD parallel processor (PDF). Proc. 17th Conf. on Advanced Research in VLSI. September 15–17, 1997. p. 11.
  6. Bradford J. Rodriguez. A Minimal TTL Processor for Architecture Exploration. Proceedings of the 1994 ACM Symposium on Applied Computing. The study of computer architecture is often an abstract, paper exercise. Students cannot probe the inner workings of a single-chip microprocessor, and few discrete-logic machines are open to student inspection.
  7. "History of the 74181 in commercial minicomputers". Archived from the original on 2019-11-02.
  8. C. Gordon Bell; J. Craig Mudge; John E. McNamara (August 1979). Computer Engineering: A DEC View of Hardware Systems Design. Digital Press. p. 335,336. ISBN   0-932376-00-2.
  9. 1 2 Bob Supnik (August 31, 2004). "Simulators: Virtual Machines of the Past (and Future)". ACM Queue . 2 (5).
  10. "The final demonstration of the Xerox 'Star' Computer". Computer History Museum. Archived from the original on 2007-11-15. Retrieved 2007-10-28.
  11. Del Rosso, Tom (October–December 1994). "IC Corner: Early IC ALU'S In The Xerox Alto" (PDF). The Analytical Engine. 2 (2). Computer History Association of California: 17.
  12. "VAX-11/780, in Digital Computing Timeline, 1977". Digital Information Research Services, via Microsoft Research (research.microsoft.com). 30 April 1998. Retrieved 2007-11-02.
  13. Duell, Tony (May 1995). "More On The Peripatetic 74x181" (PDF). The Analytical Engine. 2 (3). Computer History Association of California: 27.
  14. "Early PDP-11 peripherals". Archived from the original on 2011-07-25. Retrieved 2007-10-28.
  15. FPP12A floating-point processor user's manual (PDF). Digital Equipment Corporation. December 1973. p. 5-24. DEC-12-HFPPA-A-D.
  16. "Wang 2200 Microarchitecture Description".
  17. "Wang 2200 Disk Channel Description".
  18. Datapoint 2200 Version I and II Drawing Package (PDF). p. 36.
  19. "ICL 1501 Intelligent Terminal". Allard's Computer Museum Groningen. Archived from the original on 23 April 2015. Retrieved 23 April 2015.
  20. Star Castle Op and Maintenance. Cinematronics, Inc. 1980.

Manufacturer's data sheets:

Explanation of how the chip works