22C:160/55:132 Homework 2 sample solutions
These are sample solutions, and there are other correct solutions too.
a) No additional components needed.
IR <= Memory[PC];
PC <= PC + 4;
A <= Reg[IR[25:21];
22C:160/55:132 Homework 5 sample solutions
First distribute the calculation of A(j ) and B (j ) to module j . Then use the divide and conquer
approach to minimize memory location contention.
Initially Sum = 0
f or(j = 1; j < 64; j