74S181 Useful Functions

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Mode Select Inputs Active LOW Operands & Fn Active HIGH Operands & Fn

Outputs Outputs
Logic Arithmetic Logic Arithmetic
S3 S2 S1 S0
(M = H) (M = L) (Cn = L) (M = H) (M = L) (Cn = H)
L L L L NOT A DEC A NOT A
L L L H NAND NOR
L L H L
L L H H
L H L L NOR NAND
L H L H NOT B NOT B
L H H L XNOR SUB XOR SUB
L H H H
H L L L
H L L H XOR ADD XNOR ADD
H L H L BUFFER B BUFFER B
H L H H OR AND
H H L L SHL A SHL A
H H L H
H H H L AND OR
H H H H BUFFER A BUFFER A DEC A

Notes

When the datasheet refers to Subtract Mode, it isn’t clear which mode it’s referring to. Is it
talking about minus 1, AB minus 1, A minus 1, etc… as it turns out, Subtract Mode is the A minus
B minus 1 function, which I’m calling SUB in the table above. So, the Mode Select Inputs should
be LHHL, and the Mode Control Input (M) should be LOW.

Also, the list of functions in the table above are ones that I think could be useful, though I’m still
on the fence as to the usefulness of the BUFFER functions. I think my list is pretty good, but it is
somewhat subjective. I suppose someone else might actually find the (A + B) plus A𝐵 function
useful even though I don’t see any use for it.

You might also like