Question
Consider a 5-stage instruction pipeline which can execute 3 types of instructions:
1. Load & Store type
2. ALU type
3. Other type
Each load & store type instructions take 8 cycles to execute in Pipeline. Each ALU type instruction take 6 cycles to execute to pipeline and each other type instruction take 5 cycles to execute in pipeline. There are 20 load & store type, 30 ALU type and 10 other type instructions to execute in the pipeline minimum. How many cycles are needed to execute all instructions if all instructions can be overlapped?