Verilog, Processors, Engineering, Enjoy Writing, Tech.
data. Source 2 also acts as the immediate value in some instructions. At first, we are going to design and build our alu part. We need to do 5 alu operations such as move(used in loadi and move instructions), add, sub & or. Here is a simple diagram of our alu. AluOp is the 3-bit signal which is