Using the simulation program (Altera Quartus), it is required to make an execution unit that able to do the following commands:
- Move Value to Register
- Move Register to Register
- Add Value to Register
- Add Register to Register
- AND Value to Register
- AND Register to Register
- Clone the repository
git clone https://github.com/EslamAsHhraf/Execution_Unit
- Main File is
Execution_Unit/Execution Unit/ExecutionUnit.bdf
-
How many commands does the execution unit have?
6 commands:
- Move Value to Register
- Move Register to Register
- Add Value to Register
- Add Register to Register
- AND Value to Register
- AND Register to Register
-
How many bits are required for the user input command?
10 bits:
1. [1..0] destination (00,01,10) 2. [3..2] source (00 A, 01 B, 10 C, 11 input) 3. [5..4] operation (00 MOV ,10 ADD ,11 AND) 4. [9..6] input -
How many forbidden input commands do execution unit have?
EX: 1111010011 (invalid)1. [1..0]= `11` the input can’t be destination 2. [5..4]=`01` there is no operation
Eslam Ashraf |