I'm studying for CS 271 right now..

Zach

Diamond Member
Oct 11, 1999
3,400
1
81
Computer Architecture and Assembly Language. Mostly based around the emulated (via Java) Mic1 assembly language and "processor". IJVM assembly language, integer only. No multiplication too..

Anyone else in the same boat as me? We could have an online study group. My question first: Define "Data hazard". I missed that lecture (or it aint tested anymore, I'm using a sample from last Spring).

Anyone? Anyone? Pitty me! Help!
 

graen drol

Member
Feb 10, 2000
94
0
0
A data hazard happens in a pipelined processor. Say you want to use a value stored in register 1, for example. Well a data hazard is when the value calculated in register 1 reaches register 1 **after** the value is read out. Say you have a add with the value stored in reg 1 right before a add with reg 1 as an input. Data forwarding fixes this by feeding the new value into the datapath where it should be instead of the old register value. By the way I just had a test over this today. But it was in ece 3055: Computer Architecture and Operating Systems.
 

Zach

Diamond Member
Oct 11, 1999
3,400
1
81
That makes sense.. he did talk about that a little.

I'm at OSU, the Oregon one.