


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A university homework assignment from the university of california, santa barbara's department of electrical and computer engineering, for the computer architecture course (ece154). The assignment involves adding new instructions to a single cycle processor datapath and describes the necessary modifications to the datapath and control signals. The instructions include 'split register' and 'load word, variable offset' (lwvo), as well as references to multiple cycle processor concepts. Students are expected to understand and implement these changes.
Typology: Assignments
1 / 4
This page cannot be seen from the preview
Don't miss anything!



University of California, Santa Barbara Dept. of Electrical and Computer Engineering ECE154 – Computer Architecture Homework #4 – due Friday, November 9, 2007
Single Cycle Processor
a. (15 points) "Split Register": This instruction would read an operand from $rs and move its lower half to $rd with the upper half set to zero. It would also take the upper half of $rs, shift it right 16 bits (with zero fill), and write it to $rt.
b. (20 points) “Load Word, Variable Offset” lwvo $rd, $rs($rt) would form an address by adding $t1 and $t2, then use that address to read a word from data memory into $t0. Registers $t0, $t1, and $t2 are just examples; the instruction should work with any combination of three GPR's. Briefly explain the changes required to support swvo (store word, variable offset") instruction that added two GPR's to form an address and used a third GPR as a data source.
Multiple Cycle Processor