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
The 74181 is a 7400 seriesmedium-scale integration (MSI)TTLintegrated 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.
Selection
Active-low data
Active-high data
Logic M = H
Arithmetic M = L
Logic M = H
Arithmetic M = L
S3
S2
S1
S0
Cn = L (no carry)
Cn = H (carry)
Cn = H (no carry)
Cn = L (carry)
L
L
L
L
minus
plus 1
L
L
L
H
minus
plus
L
L
H
L
minus
plus 1
L
L
H
H
Logical 1
(two's complement)
(zero)
Logical 0
(two's complement)
(zero)
L
H
L
L
plus
plus plus
plus
plus plus
L
H
L
H
plus
plus plus
plus
plus plus
L
H
H
L
minus minus
minus
minus minus
minus
L
H
H
H
plus
minus 1
H
L
L
L
plus
plus plus
plus
plus plus
H
L
L
H
plus
plus plus
plus
plus plus
H
L
H
L
plus
plus plus
plus
plus plus
H
L
H
H
plus
minus 1
H
H
L
L
Logical 0
plus
plus plus
Logical 1
plus
plus plus
H
H
L
H
plus
plus plus
plus
plus plus
H
H
H
L
plus
plus plus
plus
plus plus
H
H
H
H
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.
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.[6]
Digital Electronics with VHDL (Quartus II Version)review in Journal of Modern Engineering, Volume 7, Number 2, Spring 2007.
APOLLO181 (by Gianluca.G, Italy 2012): a homemade educational processor made of TTL logics and bipolar memories, based upon the Bugbook I and II chips, in particular on the 74181.
Many computer CPUs and subsystems were based on the 74181, including several historically significant models.
NOVA – First widely available 16-bitminicomputer manufactured by Data General. The NOVA 1200 was the first commercial minicomputer in 1970 to use the 74181.[7]
Honeywell option 1100 – The so-called "scientific unit" option for Honeywell H200/H2000 series mainframes.
Datapoint 2200 Version II[18] and follow-on machines, the Datapoint 5500, 6600, and 1800/3800 – The computer that defined the architecture for the Intel 8008.
^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.