[CE] Sequential Logic Circuit - Summary
·
Computer/CE
Sequential Logic Circuit (순차 논리 회로):Sequtial Logic Circuit:시간(time), 메모리(memory), 피드백 루프(feedback loop)를 갖춘 회로.time: oscillator, countermemory: latch, flip-flop, register, SRAMCombinatorial Logic Circuit (조합 논리 회로)와 달리 과거의 입력과 출력이 현재의 출력에 영향을 미치는 특성.같은 입력이라도 이전 상태에 따른 다른 출력 생성.2025.03.25 - [Computer/CE] - [CE] Sequential Logic Circuit [CE] Sequential Logic CircuitSequential Logic Circuit(순차논리회로)..
[CE] Sequential Logic Circuit
·
Computer/CE
Sequential Logic Circuit(순차논리회로)Sequential Logic Circuit(순차논리회로)는 디지털 회로의 한 종류로,현재의 입력뿐만 아니라이전 상태(과거 입력)에 따라 출력이 결정되는 회로를 가리킴.이전 상태에 영향을 받는다는 점이 Combinational Logic Circuit과의 가장 큰 차이점임. 순차 논리 회로의 주요 특징메모리 특성: 이전 상태를 기억하는 능력을 가지고 있어 "state machine (or memory system)"라고도 불림.기본 구성 요소:플립플롭(Flip-Flop) 또는 래치(Latch)와 같은 Memory ElementsCombinational (or combinatorial) Logic Circuit Elements (Gates, Mux ..
[CE] 프로그래머를 위한 (Logical) Memory 구조 : Stack, Heap, Code
·
Computer
하나의 프로그램(=instruction들의 집합, Process) 실행 시 OS에 의해서프로그램의 인스턴스인 process를 위해 마련되는 Memory의 구조는다음의 영역으로 구분가능.Kernel Space는 보통 메모리의 상위 주소에 할당되고, User Space는 하위 주소에 할당됨. 이 문서에 다루는 Process의 User Space의 메모리 구조는 엄밀하게 애기하면,MMU를 사용하지 않는 경우 memory 구조, 또는MMU를 사용하는 경우엔 사용자에게 보여지는 virtual memory의 구조 에 해당하는 내용임이 외에도 Kernel Space에 PCB(Process Control Block)이 생성됨.아래 그림은 OS와 program, cpu가 사용하는 logical memory (or vir..
CUDA 3D, 2D data processing.
·
Computer/CUDA
In CUDA, kernels can only operate out of device memory. Device memory can be allocated either as linear memory or CUDA arrays. In this sample, we observe how to use 3D and 2D linear memory in CUDA. Linear memory exists on the device in a 32-bit address space. Typically, following methods are used for device memory allocaton. cudaError_t cudaMalloc (void** devPtr,size_t size) cudaError_t cudaMall..