50.002 1D
ISTD Class 3 Group 1
Members:
Daniel Chin
Gionnieve Lim
John Chan
Yang Lujia
Project Summary:
8-Bit Arithmetic Logic Unit implementing the following:
- Addition, subtraction, multiplication(8-bit output);
- Bitwise boolean and, nand, or, nor, xor, xnor, 'A' ,and 'B';
- Shift left, shift right, shift right arithmetic;
- Compare equals, compare less than, compare less than or equals.
Operation | ALUFN[5:0] | hex
- ADD | 000000 | 0x00
- SUB | 000001 | 0x01
- MUL | 000010 | 0x02
- AND | 011000 | 0x18
- NAND | 010111 | 0x17
- OR | 011110 | 0x1E
- NOR | 010001 | 0x11
- XOR | 010110 | 0x16
- XNOR | 011001 | 0x19
- 'A' | 011010 | 0x1A
- 'B' | 010101 | 0x15
- SHL | 100000 | 0x20
- SHR | 100001 | 0x21
- SRA | 100011 | 0x23
- RL | 100100 | 0x24
- RR | 100101 | 0x25
- RLC | 101100 | 0x2C
- RRC | 101101 | 0x2D
- CMPEQ | 110011 | 0x33
- CMPLT | 110101 | 0x35
- CMPLE | 110111 | 0x37