Chargement…
Chargement…
L'ALU effectue 4 opérations sur deux opérandes 8 bits selon le code i_op :
"00" : addition"01" : soustraction"10" : ET logique"11" : OU logiqueLe flag o_carry est actif pour les opérations arithmétiques. Le circuit est purement combinatoire.
| Signal | Direction | Largeur | Description |
|---|---|---|---|
i_a | Entrée | 8 bits | Opérande A |
i_b | Entrée | 8 bits | Opérande B |
i_op | Entrée | 2 bits | Code opération |
o_result | Sortie | 8 bits | Résultat |
o_carry | Sortie | 1 bit | Retenue / emprunt |