728x90
반응형

computerarchitecture 4

[CA] Storage and I/O

I/O devies can be characterized by - Behaviour : input, output, storage 입력, 출력, 저장공간 - Partner : human or machine 인간, 혹은 기계 - Data rate : bytes/sec, transfers/sec I/O bus connections Bus Types Processor - Memory buses - Short, high speed / 짧고, 속도가 빠르다. - Design is matched to memory organization I/O buses - Longer, allowing multiple connections 길고, 다양한 커넥션이 있음. - Connect to processor - memory bus..

카테고리 없음 2023.12.14

[CA] - Hazard

오늘은 컴퓨터구조에서 발생하는 hazard에 대한 내용을 다루고자한다. 딱 들었을때 단어의 어감이 어떤가? 별로다! 맞다. 하자드는 다음 인스트럭션이 실행할 수 없을때 발생하는 녀석이다. 따라서 위험하다. Hazard : The situation when the next instruction cannot be excuted in the following clock cycle. 1. Structural Hazard (구조적인 문제) - Hardware cannot support combination of instruction. 하드웨어가 인스트럭션 결합에 지지를 할 수 없을때 EX) The instruction and data should be fetched from the memory at the sam..

자기계발/Study 2023.12.12

[CA] - ch4 The Processor

Building DataPath datapath for The instruction is executed in one clock cycle in single clock cycle CPU instruction이 한 번 실행되는데 한 clock cycle이 필요함 상대되는 개념 single clock cycle multi clock cycle (but, 교과서에는 없음) The Processor : Datapath & Control implementation of the MIPS // 응응 당연하지 나 지금 밉스배워,,, * Simlified to contain only : - memory-reference instructions(메모리 접근): lw, sw - arthmetic-logical instruc..

자기계발/Study 2023.11.08

[MIPS] j / jr / jal

오늘은 어셈블리 언어인 MIPS 에서, j / jr / jal 에 대한 내용을 학습하고자 한다. 꽤나 많이 개념이 헷갈리기에, 이해하기 쉽도록 정리해두었다. MIPS has conditional and unconditional branch istrcutions. 1. Conditional branch : beq, bne, slt, slti 2. UnConditional branch : j, jr, jal 1. j - jump j 2500 -> go to 10000 // 왜 10000이냐? 2500* 4 을 해주었기 때문 - 목표 주소로 점프한다. 2. jr - jump resister jr $ra -> go to $ra - For switch, procedure return 3. jal - jump an..

자기계발/Study 2023.10.17
728x90
반응형