Tutor profile: Sumedh R.
In a 5-stage pipelined MIPS processor, a data hazard occurs if previous instruction result is used by the current instruction (as data in register file is not updated right away). Suggest a strategy to overcome this issue.
We can add a new hardware unit that pushes the previous instruction result instead of data from the register file if a data hazard occurs. Hence, this hardware unit detects hazards if previous instruction result/destination is same as operands of the current instruction. Hence, it compares the destination register no. (e.g R3) with register no. of the operands.
Subject: Electrical Engineering
What are the golden rules of ideal Op-Amps?
The golden rules for an Ideal Op-Amp are: 1. Voltage at the Inverting and Non-Inverting Input are equal. 2. Current entering/leaving the Op-Amp at the inputs is zero.
Subject: Assembly Language
What are the different types of memory models used by assembly level languages?
There are many models used in assembly languages: 1. Tiny: All code and data stored in a single segment. Segment size is less than 64kB. 2.Small: This provides support for ONE data segment and ONE code segment. 3.Large: This provides support for Multiple data and Multiple code segments. 4.Medium: This provides support for ONE data segment and Multiple code segments. 5.Compact: This provides support for Multiple data segments and ONE code segment.
needs and Sumedh will reply soon.