본문 바로가기
[CS] 컴퓨터 공학/CS 수업 정리

[CS] 컴퓨터 구조 ch1

by pjhcsol 2022. 9. 13.
  • Important concepts in Computer Architecture

-무의법칙 (moore's law)

 1.집적도가 24개월 안에 향상, 작은 공간에 transiter를 넣는 것

 2.회로에 있는 리소스(transiter)가 24개월에 두배가 될것이다.

 예)intel ceo가 2배로 만들라 하면 맞춰서 24개월 안에 두배로 제작

 

-불필요한것(abstraction추상화)을 배제한 디자인 = 추상화 시키다.

 

-Make the common case fast 

 1. 암달의 법칙(Amdahl's law)

 

-performance via : parallelism, pipelining, prediction

 

-Hierarchy of memories 메모리의 계층

 

-bit flip : 0이 1이 되고 1이 0이 된다. ex)고도가 높아졌을때 감마선에 부딪혀 바뀜(오작동)

 1.해결방법 최상단에 최종결과값이 있다면

최종결과   <- 1+1=2 정답   

(다수결)    <- 1+1=2 정답

                 <- 1+1=3 오류

같은 연산을 중복으로 돌림으로써 정확도를 높임


  • Below your program

-word processor,database 등 -> application

  상용프로그램의 막대한 코드줄

<-> (translation of high-level operations into simple computer instructions)

-hardware (cpu) can only low-level, 간단한 명령어만 수행함

 ex)add, load, store, jump 등

 

-application이 hardware로 가는 구조 

applications software -> systems software (os를 통해서만 접근가능/layer 계층으로 나누어짐)->hardware

 

  • High-level language -> Instructions

high level language(c언어) -(compiler)> asssembly language -(assembler)> binary machine language

 

  • 컴퓨터의 요소 components of a computer

- five classic components of computer

control, datapath, memory, input, output

 

  • technology trends

-log-scale 그래프 linear 선형 그래프와 다르게 제곱으로 커짐

log scale 10-100-1000-10000

linear 10-30-50-70