Archivo:2-bit ALU.png
Ver la imagen en su resolución original (2042 × 2166 píxeles; tamaño de archivo: 51 kB; tipo MIME: image/png)
Este es un archivo de Wikimedia Commons, un depósito de contenido libre hospedado por la Fundación Wikimedia. Más abajo se reproduce su página de descripción con la información sobre su origen y licencia. |
Sumario
Resumen
Descripción2-bit ALU.png |
English: A simple example arithmetic logic unit (ALU) that does AND, OR, XOR, and addition.
Español: Un ejemplo sencillo de una Unidad Aritmética Lógica (ALU) que realiza operaciones AND, OR, XOR, y adición.
Eesti: Näidis aritmeerika-loogikaplokk mis teeb AND, OR, XOR ja liitmise opratsioone |
||||||||
Fecha | |||||||||
Fuente |
English: Own work created with Eagle by Cadsoft
Español: Trabajo hecho bajo Eagle por Cadsoft
Eesti: Üleslaadija oma töö, tehtud Cadsofti Eagle'iga |
||||||||
Autor | en:User:Cburnett | ||||||||
Permiso (Reutilización de este archivo) |
|
||||||||
Otras versiones |
|
EN
This ALU is a 2-bit ALU with two inputs (operands) named A and B: A[0] & B[0] are the least-significant bits and A[1] & B[1] are the most-significant bits.
Each bit of this ALU is identical with the exception of the handling of the carry bit. The handling of one bit is explained below.
The A & B inputs lead into the four gates on the left (from top to bottom): XOR, AND, OR, and XOR. The top three gates perform XOR, AND, and OR operations on A & B. The last gate is the initial gate into a full adder.
The final step to each bit is the multiplexer at the end. The 3-bit OP input (from the control unit) determines which of the functions is outputted:
- OP = 000 → XOR
- OP = 001 → AND
- OP = 010 → OR
- OP = 011 → Addition
Clearly, the last four inputs of the multiplexer are free for other functions (subtraction, multiplication, division, NOT A, NOT B, etc.). Although OP[2] is not currently used (though it is included and connected), it will be needed in order to use more than the 4 operations listed above.
Ted flags, are typically connected to some form of a status register.
ES
Esta ALU es una ALU de 2-bits con dos entradas (operandos) llamadas A y B: A[0] y B[0] corresponden al bit menos significativo y A[1] y B[1] corresponden al bit más significativo.
Cada bit de esta ALU es idéntico con la excepción del direccionamiento del bit del acarreo. El manejo de este bit es explicado más adelante.
Las entradas A y B van hacia las cuatro puertas de la izquierda (de arriba a abajo): XOR, AND, OR, y XOR. Las tres primeras puertas realizan las operaciones XOR, AND, y OR sobre los datos A y B. La última puerta es la puerta inicial de un sumador completo.
El paso final de las operaciones sobre cada bit es la multiplexación de los datos. La entrada OP de 3-bits (desde la unidad de control) determina cual de las funciones se van a realizar:
- OP = 000 → XOR
- OP = 001 → AND
- OP = 010 → OR
- OP = 011 → Adición
Claramente se ve que las otras cuatro entradas del multiplexor están libres para otras operaciones (sustracción, multiplicación, división, NOT A, NOT B, etc.). Aunque OP[2] actualmente no es usada en este montaje (a pesar de estar incluída y conectada), ésta sería usada en el momento de realizar otras operaciones además de las 4 operaciones listadas arriba.
Los datos de acarreo de entrada y acarreo de salida, llamados flags (banderas), son típicamente conectados a algún tipo de registro de estado.
ET
See ALU on 2-bitine ALU, millel on 2 sisendit A ja B: A[0] & B[0] on vähima kaaluga bitt ja A[1] & B[1] suurima kaaluga bit. Iga ALU bitt peale ülekandebiti on identsed.
A & B sisendid ühendavad 4 elementi vasakul (ülevalt alla): XOR, AND, OR, ja XOR. 3 ülemist elementi teostavad XOR, AND ja OR operatsioone A & B peal. Viimane element on algne element summatorile.
Iga biti viimane samm on multiplekser lõpus. 3-bitine OP sisend (kontrollblokist)määrab, milline funktsioon läheb väljundisse :
- OP = 000 → XOR
- OP = 001 → AND
- OP = 010 → OR
- OP = 011 → Liitmine
Multiplekseri 4 viimast sisendit on vabad muude operatsioonide jaoks (lahutamine, korrutamine, jagamine, NOT A, NOT B, jne). Kuigi OP[2] ei kasutata (kuigi see on ühendatud ja skeemis olemas) läheb seda vaja täiendavate funktsioonide kasutamiseks kui eelpool ära toodud.
Ülekandebitid on tüüpiliselt ühendatud mingisuguse olekuregistriga.
Licencia
Se autoriza la copia, distribución y modificación de este documento bajo los términos de la licencia de documentación libre GNU, versión 1.2 o cualquier otra que posteriormente publique la Fundación para el Software Libre; sin secciones invariables, textos de portada, ni textos de contraportada. Se incluye una copia de la dicha licencia en la sección titulada Licencia de Documentación Libre GNU.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
Este archivo se encuentra bajo la licencia Creative Commons Genérica de Atribución/Compartir-Igual 3.0. | ||
| ||
Esta etiqueta de licencia fue agregada a este archivo como parte de la actualización de la licencia GFDL.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
Elementos representados en este archivo
representa a
16 nov 2006
image/png
090c7cab17e66509cda0b0e362dc5dd5a3f36822
52 070 byte
2166 píxel
2042 píxel
Historial del archivo
Haz clic sobre una fecha y hora para ver el archivo tal como apareció en ese momento.
Fecha y hora | Miniatura | Dimensiones | Usuario | Comentario | |
---|---|---|---|---|---|
actual | 13:55 5 ene 2007 | 2042 × 2166 (51 kB) | Cburnett | The C input was not connected to OP[2] on the top multiplexer | |
05:42 17 nov 2006 | 2045 × 2166 (46 kB) | Cburnett | {{Information |Description='''en:''' An simple example arithmetic logic unit (ALU) that does AND, OR, XOR, and addition. |Source=Own work created with Eagle by Cadsoft |Date=November 16, 2006 |Author=en:User:Cburnett |Permission=GFDL |other_v |
Usos del archivo
No hay páginas que enlacen a este archivo.
Uso global del archivo
Las wikis siguientes utilizan este archivo:
- Uso en ca.wikipedia.org
- Uso en fr.wikipedia.org