comse6998 / spring2024

Repository for COMSE6998 in the Spring 2024 term
2 stars 20 forks source link

Infinite loop #158

Open lafis002 opened 4 months ago

lafis002 commented 4 months ago

Several (if not all) traces are stuck in an infinite loop of the run program. Some Instruction seem to be stuck in the pipeline...

tengjiang commented 4 months ago

I just saw the latest commits from the professor, and it seems to be that some stages do not initialize correctly (for example, the init function of FP is defined but not called (my bad), and also the LD stage), so that, the indexes of both FP stage are all initialized to zero, so that the IQstage always check the FP[0]'s scoreboard, but only FP[1]'s scoreboard keeps moving - no those FP operations never get issued and are stuck inside IQstage.

Also some register mappings of LD stage is wrong.