Question: Data Path Cycles: Use the following data to answer the questions below: Instruction Memory: 150 ps Data Memory: 250 ps ALU and adders: 100 ps
Data Path Cycles: Use the following data to answer the questions below: Instruction Memory: 150 ps Data Memory: 250 ps ALU and adders: 100 ps Register File: 50 ps Assume that mux, control unit, PC accesses, sign extension unit and wires have no latency.
| 1. Using the datapath with control diagram, determine the time that each of the types of instructions would require. | R ____________ Load _________ Store _________ BEQ _________ JUMP________ |
| 2. If every instruction executes in 1 clock cycle of a fixed length, what is the length of one clock cycle? |
2. ____________ |
| 3. If every instruction executes in 1 clock cycle using a variable length clock, with an instruction mix of 15% loads, 25% stores, 45% ALU type, 11% branches and 4% jumps, what is the average length clock cycle? | 3. ____________ |
| 4. If the datapath is evaluated by letting each stage of execution determine the cycle time, which allows us to use a pipelined design, how many stages are used by each type of instruction? | R = __________ Load _________ Store _________ BEQ _________ JUMP________ |
| 5. In order to use a pipelined design for the datapath, what would be the length of a cycle (in ps)?
|
5. ____________ |
| 6.Using a pipelined design and the above mix of instructions, where a jump always causes a 1 cycle delay, 30% of the load instructions are immediately followed by an instruction that uses the result (causing a 1-cyle delay), and 15% of the branch instructions are mis-directed (causing a 2-cycle delay).What is the average effective number of cycles once the pipeline is loaded? | 6. ____________ |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
