목록전체 글 (40)
This is Sue Jang
12. Memory-Mapped I/O (MMIO)CPU가 I/O 장치를 메모리처럼 컨트롤하는 방식Nios II에서는 Load, Store 명령어가 메모리 접근에 사용됨Memory-Mapped I/O가 필요한 이유?CPU는 I/O 장치의 데이터를 직접 접근해야 정상 동작 가능즉, Load/Store 명령어를 사용하여 I/O 장치의 데이터는 캐시를 거치지 않고 CPU로 들어옴13. Polled I/O (폴링 방식 I/O)CPU가 주기적으로 I/O 장치의 상태를 확인하여 데이터 읽기/쓰기Busy-Wait 방식I/O 장치가 준비되지 않으면 CPU가 계속 대기 상태CPU 자원 낭비, 실시간 작업에 비효율적 (데이터 처리 지연 가능성)해결책: Interrupt Handling (인터럽트 처리)14. Paralle..
1. Introduction to NIOS 2 Soft Processor현대 전자 시스템의 구조임베디드 시스템: 특정 기능을 수행하기 위해 특정 시스템에 내장된 general computer system구성 요소:CPU, 메모리, 센서, 액츄에이터이들 간의 연결을 위한 네트워크 인터페이스이 수업에서 집중할 것:특정 기능을 수행하도록 CPU를 Command하는 방법hardware system의 메커니즘을 알아야 한다플랫폼 (Platform)잘 설계된 architecture을 재사용유명한 플랫폼 예시: Windows, Raspberry Pi, Arduino, Android우리의 platform: DE1-SoC ComputerStored-Program Computer프로그램은 데이터와 동일하게 취급돼 메모리에..
1) Make sure each file is located in each directory (Server and Client). 2) Check which file is the execution file. (something after -o) 3) Connect the Server and the Client with each execution file. 4) If you want to change the 'HandleTCPClientWithMenu.c' file from the server and the 'clientWithMenu.c' file from the client, you have to compile them again.If you are in an environment that alrea..
* Computer Network has hosts, routers, and communication channels. - Hosts run applications - Routers forward information - Packets are the sequence of bytes. It contains control information. - Protocol is an agreement * Protocol: Several protocols for different problems - Protocol suites(or family): TCP/IP - TCP/IP provides end-to-end connectivity specifying how data should be formatted, addres..
- Filename Extension: .sh - the First line of the code: #!/bin/sh (let the system know the user wants to write shell script) - Execute: $chmod 755 filename.sh $./filename.sh *chmod: change mode *Why change mode? - Each file has each file system permission to User, Group, and Other. - Each digit represents User, Group, and Other. - Read mode is 4, Write mode is 2, and Execute mode is 1. - For exa..
* Process Identifiers - Every process has a unique process ID, a non-negative integer. Although unique, process IDs are reused. - Process ID 0 is usually the scheduler process and is often known as the 'swapper'. No program on disk corresponds to this process, which is part of the kernel and is known as a system process. - Process ID 1 is usually the 'init' process and is invoked by the kernel a..