-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
Difference between revisions of "boolean algebra/choose function"
m (David moved page choose function to boolean algebra/choose function) |
|||
Line 1: | Line 1: | ||
− | {| class="wikitable" style="float: right;" | + | {{ba title|choose function}}{| class="wikitable" style="float: right;" |
! colspan="3" | Inputs !! Outputs | ! colspan="3" | Inputs !! Outputs | ||
|- | |- | ||
Line 17: | Line 17: | ||
f(x,y,z) = | f(x,y,z) = | ||
\begin{cases} | \begin{cases} | ||
− | y, & \text{if | + | y, & \text{ if } x = 1 \\ |
− | z, & \text{if | + | z, & \text{ if } x = 0 |
\end{cases} | \end{cases} | ||
</math> | </math> |
Revision as of 20:38, 10 December 2015
Inputs | Outputs | ||
---|---|---|---|
X | Y | Z | Q |
0 | X | 0 | 0 |
0 | X | 1 | 1 |
1 | 0 | X | 0 |
1 | 1 | X | 1 |
Choose function (or Ch Function) is a Boolean function that represents a 2:1 MUX. The choose function is frequently found in various cryptographic hash functions.
Which can be implemented as:
See also
- rotate left (ROL)
- rotate right (ROR)
- parity function (PAR)
- majority function (MAJ)