본문 바로가기
나머지/IT개발.잡다한것.

TLB mDDR AEMIF CCD controller

by 무늬만학생 2013. 3. 18.
반응형

TLB (Translation Lookaside Buffer)
    
모든 virtual memory reference는 2개의 physical memory access가 필요함.
    
        1. appropriate page table entry
        2. the desired data
        
straightforward virtual memory scheme이 memory access time을 2배로 만든다.
    
이 문제를 극복하기 위해서, 대부분의 virtual memory scheme은 TLB라고 불리는 page table entry들을 위한 특별한 고속의 cache를 사용한다. 이 cache는 memory cache와 동일한 기능을 수행한다. 가장 최근에 사용되었던 page table entry들을 저장한다.



                                                                     <TLB 구조>



동작 방식
    
만약 desired page table entry가 TLB 상에 존재한다면, (TBL hit 면) frame number가 검색되고, read address가 형성된다. desired page table entry가 없다면, processor는 process page table을 indexing하는 page number를 사용하고 이에 대응하는 page table entry를 검사한다. present bit가 set되면, page는 main memory 내에 있는 것이고, 그렇다면, processor는 frame number를 page table entry로부터 검색해서 real address를 구성할 수 있다.
    
processor는 새로운 page table entry를 포함 시키기 위해서 TLB를 update한다. present bit가 not set이면, 원하는 page가 main memory 내에 없다는 것이고, memory access는 fault를 만든다. 이것이 page fault이다. 
    --> page fault 발생
   
이 경우, hardware의 영역을 떠나고, OS를 호출하여 필요한 page를 load하고 page table을 update한다. page fault interrupt는 page fault handling routine을 호출하게 된다. locality에 의해서 대부분의 reference는 page table 내에 존재한다.



출처 : http://embedded21.egloos.com/757087




DDR/mDDR memory


모바일 DDR (mDDR, Low Power DDR, 간단히 LPDDR)은 이동식 컴퓨터를 위해 개발된 저전력의 DDR SDRAM 인터페이스이다.

LPDDR (LPDDR2와 구별하기 위해 때때로 LPDDR1로도 불림)은 원래 DDR SDRAM에 총 전력 소모량 절감을 위한 여러 변형을 가한 것이다.


SDRAM에 비해 가장 극명한 변화는 공급 전압이 2.5V에서 1.8V로 낮아진 점이다. 메모리 재충전(DRAM refresh)이 낮은 온도에서 덜 필요한 점을 이용하여 재충전 회수를 온도에 적응시키며, 메모리의 모든 내용을 지우고 "깊은 절전 모드"에 빠질 수 있게 해서 추가적인 전력 소모 절감을 얻는다. 또한 메모리 칩은 작아지고 기판 면적 점유가 줄어든다. 삼성전자와 마이크론은 이 기술의 두 최대 공급자로 애플의 아이패드, 삼성전자의 갤럭시탭과 모토로라의 드로이드 X[1]등과 같은 다양한 태블릿 기기에 공급하고 있다.


출처 : http://ko.wikipedia.org/wiki/%EB%AA%A8%EB%B0%94%EC%9D%BC_DDR



An asynchronous external memory interface (AEMIF)




CCD controller consists of three major parts 1. CCD Camera Chip, 2. Electronics and 3. Software. Out 

of them, CCD camera chip is the heart of the CCD camera system. It is very sensitive to the light and 

made of silicon arranged in array form. A portion of the CCD chip is shown in figure 1.When light falls 

on a pixel, it is converted to a charge and captured by the pixel without any reflection. The more light 

falls on the pixel, the more charges will be accumulated in the pixel. The amount of the charges is a 

measure of the amount of light that felt on the pixel [1]. To get the image in the computer, the amount 

of charges of every pixel has to be read. The charge detection node of CCD chip measures the 

charge of a pixel. Every pixel must be shifted to this device. The lowest line is able to shift pixels to 

the left in the direction of the device. So these pixels can be measured one by one. When all pixels of 

the line are measured, all lines are shifted one line down. Again the lowest line can be measured. This 

will be repeated until all lines are measured. The computer can read the measurements through the 

camera electronics. This phase can take a few seconds


http://iopscience.iop.org/1742-6596/208/1/012002/pdf/1742-6596_208_1_012002.pdf



CCD Controller (CCDC)

The CCD controller is responsible for accepting raw (unprocessed) image/video data from a sensor

(CMOS or CCD). In addition, the CCD controller can accept YUV video data in numerous formats,

typically from video decoder devices. In the case of raw inputs, the CCD controller output requires

additional image processing to transform the raw input image to the final processed image. This additional

image processing can be done either on-the-fly in the preview engine IPIPE, or in software. In parallel, raw

data input to the CCD controller can also be used to compute various statistics (H3A, Histogram) to

eventually control the image/video tuning parameters. The CCD controller is programmed via control and

parameter registers. The following features are supported by the CCD controller module:


출처 : http://www.ti.com/lit/ug/sprue38h/sprue38h.pdf



반응형