CS(Computer Science)/컴퓨터구조

10. 파이프라인 (1)

동욷 2023. 6. 4. 18:47

Clock period를 결정하는 것

-> 가장 오래 걸리는 명령어의 연산 기준

 

Critical path: 가장 긴 시간을 요구하는 datapath (load instruction)

Instruction Memory => Register file => ALU => Data Memory => Register file

 

성능 개선을 위해서 Pipelining을 사용

 

Pipelining 과정

IF => ID => EX => MEM => WB

1) IF : Memory로부터 Instruction을 Fetch

2) ID : Instruction을 decode & Register 읽음

3) EX : Execute operation  or address Calculate

4) MEM : memory operand에 접근

5) WB : 결과를 Register에 다시 작성

 

 

728x90