Problem Set 6
| categories: Problem Sets
Due 29 November before midnight.
Problem 1. Out of Control.
![](/~gb/Comp411Fall2011/media/PS6.gif)
Fill in the missing entries of the Control Logic ROM, based on the data path shown above. Everything you need is in lecture 15.
Opcode | PCSEL | WASEL | SEXT | BSEL | WDSEL | ALUFN | Wr | WERF | ASEL | |||
Sub | Bool | Shft | Math | |||||||||
sub | 0 | 0 | X | 0 | 1 | 1 | XX | 0 | 1 | 0 | 1 | 0 |
xor | 0 | 0 | 0 | |||||||||
la | 0 | 0 | ||||||||||
sll | 0 | 0 | X | 0 | 1 | 0 | 1 | |||||
andi | 0 | 0 | ||||||||||
lw | 2 | 0 | ||||||||||
sw | 1 | |||||||||||
j | X | XX | XX | X | 0 | |||||||
jal | X | XX | X | X | 0 | |||||||
lui | 0 |