9. Pipelined CPU - Control Hazard
Data Dependence (Review) True dependence (Read-after-Write) Instruction must wait for all required input operands Anti-Dependence (Write-after-Read) Later write ...
Data Dependence (Review) True dependence (Read-after-Write) Instruction must wait for all required input operands Anti-Dependence (Write-after-Read) Later write ...
이전 글에서, 파이프라이닝이 똥망하는 이유를 봤다. Data Dependence Data dependence r3 ← r1 + r2 r4 ← MEM[r3] Read-after-write dependency (RAW) Anti-dependence r3 ← r1 + r2 r1 ← r4 + r5 Write-after-read dependen...
Pipelining… is laundry. 이론적으로 세탁 - 건조 - 개기 - 옷장을 하나하나 단위로 하면 한참~ 걸린다. 몇개가 건조기 도는 동안 세탁기를 돌리고… 처럼 병렬로 연결하면 throughput이 4배 가까이 늘어난다. 이론적으로 완벽한, 리소스 낭비가 없는 그림이 나온다. 하지만, 실제로는 각 단계가 일정하지 않다. 각 tho...
Latency VS Throughput Latency: 하나의 명령어를 시작해서 끝내는데 까지 걸린 시간 Throughput: 단위시간당 끝마친 작업의 수 동시에 작업을 수행할 수 있다면 항상 latency가 throughput의 역수는 아니다. bus는 latency는 큰데 thorughput은 큼. racecar는 지연은 작지면 t...
Brain Most complex structure known Sensor와 responder를 연결해주는 역할을 한다. → 이 역할을 잘 못하는 disabled 환자도 있어서, accessibility가 중요하다. Human Uniqueness 사람은 그들이 상호작용하는 기계보다 훨씬 대단하다. (sensory input에 대한 asso...
Single-cycle implementation is… Sequential 하고, atomic하여 ISA의 의미와 잘 부합한다. instruction이 다음 상태를 직접 의미한다. (ex. LOAD 명령어는 다음 cycle의 레지스터가 어떻게 변할것인지를 알려줌) → but, inefficient 모든 명령어의 실행 시간이 가장 오래 걸...
Why human model? 모델은 사람들이 어떻게 생각하고 행동하는지에 대한 시스템을 이해하는데 도움을 준다. 2가지 모델을 주로 배운다. Newell’s Time Scale of Human Action Human Factors Model Newell’s Time Scale of Human Action Biological B...
Program Visible State PC 현재 실행중인 명령어의 주소를 저장하는 32비트 레지스터 Registers 5-bit의 read할 레지스터 주소를 넣으면, 저장된 값을 출력한다. Instruction memory 명령어 주소를 넣으면 32...
Now we are going to study MIPS specifically! Data Format Most things are 32 bits! 명령어와 데이터 주소 signed, unsigned integer Floating Point Number (디시설 ON) [(-1)^S \times (M+1)\times2^e] Bi...
Make Idea Tangible! Prototype is a simplified and incomplete models of a design used to Explore ideas elaborate requirements Refine specifications (spec 미리 정의) Validate functionality (되는...