CS/하드웨어
-
컴퓨터는 어떻게 작동할까 <2 - Register & RAM>CS/하드웨어 2023. 12. 21. 04:06
좋은 영상들을 찾게되서 시작했는데,, 책으로 돌아가야할 것 같네요. 이전 회사 CTO님께서 FlipFlop도 몰라서 되겠냐는 이야기를 하셨었는데, 이제서야 이런게 있구나 싶습니다 ㅎㅎ. 이번 글에서는 어떻게 구성되어있는지 하드웨어 레벨에서 살펴보고, 작동 매커니즘은 다음 글에서 적어보겠습니다. 이 시리즈들은 아래 영상에 기반하고 있습니다. 논리회로에 대한 내용 출처 by 정선생 Register에 대한 내용 by CrashCorse 전반적인 cpu 실행 흐름 영상 by bRd 3D 비트를 저장한다? 이런 생각은 누가 처음에 했나 참 대단한 것 같다. Latch는 비트를 임시로 저장할 수 있는 논리회로 장치 (이후 글의 진행은 AND-OR-LATCH를 기준으로 합니다.) 1. SR-Latch SR(0,0) ..
-
컴퓨터는 어떻게 작동할까 <1- ALU>CS/하드웨어 2023. 12. 21. 03:53
공부에 온전히 시간을 쏟을 수 있어서 재밌는 요즘입니다. 32bit 컴퓨터와 64bit 컴퓨터가 무슨 차이인지를 알아보다가, cpu의 작동까지 흘러왔고 cs기초를 조금 더 쌓을 수 있는 기회가 되었던 것 같아 적어봅니다. 이 시리즈들은 아래 영상에 기반하고 있습니다. ALU에 대한 내용 by CrashCourse 전반적인 cpu 실행 흐름 영상 by bRd 3D 트랜지스터와 논리회로 '너무 하위 레이어인가'라는 생각이 들기도 하지만 정리하는 김에 한번 적어봅니다. 1. AND Gate 실제 코드레벨에서 사용하는 && 를 도식화한 이미지! 2. OR Gate 실제 코드레벨에서 사용하는 || 를 도식화한 이미지! 3. NOT Gate 실제 코드레벨에서 사용하는 !를 도식화한 이미지! 4. XOR Gate X..