Jump to content

Varun_1

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Varun_1

  1. lot's of stuff is present on google on hardwired logic. You may not find exactly "hardwired decoder" but try understanding it from what is hardwire or microprogrammed logic.
  2. Hi harry, Are you familiar with the 5-stage pipeline which is what in the question here? If you are and you know about what each stage do, then this should be an easy task. I have illustrated here a simple operation as a pipeline diagram. A = B + C First try converting your operation as assembly instructions. As assembly instructions, the above operation can be represented as ( I am using load-store architecture) LD R1,B LD R2,C ADD R3,R1,R2 SD A,R3 ( All variables are in-fact memory locations). Your pipeline diagram is shown. Note: 1. This is the basic execution flow. I have not used bypassing or forwarding here. You must use it in your implementation. 2. As you will see , that even after implementing forwarding, some stalls will still occur. At this point, you can use the independent instructions from your other operation instead of waiting for the stall. Like, you can insert the load operations of your other operation after the load instructions of first operation, so that processor doesn't sit idle. 3. While doing this, you must keep in mind that the program order must be preserved. Hope this helps. I have been very vague. Ask in case of any concern! pipeline_diagram.bmp Sorry, forgot to attach the diagram in my reply.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.