Claims (1)
중앙처리장치(3), 부울 연산 처리부(8) 및 페이지 메모리(10)를 구비하는 이미지 데이타의 연산처리 장치에 적용되는 제어방법에 있어서, 목적(Destination) 데이타의 어드레스를 계산하고, 부울 연산에 관련된 레지스터 및 셀의 X좌표 기준 레지스터를 초기화한 후, 레프트 마스크 값을 레치하고, 소스 데이타의 유무를 판단하는 제1단게(101 내지 105) ; 상기 제1단계에서 소스 데이타가 존재하면 중앙처리장치(CPU)가 FIFO의 상태를 체크하여 데이타를 쓸 수 있는 상태이면 소스 데이타를 직접 FIFO에 라이트하고, 소스 어드레스를 계산한 후, 소스 데이타를 2번 읽을 것인지 판단하는 제2단계(106 내지 109) ; 상기 제2단계에서 소스 데이타를 2번 읽는 경우에는 소스 FIFO에 저장되어 있는 한 워드를 소스 데이타 레지스터에 레치하고, 중앙처리장치(CPU)가 FIFO데이타를 라이트할 수 있는지 판단하는 제3단계(110,111) ; 상기 제3단계에서 데이타를 라이트할 수 있으면 중앙처리장치가 FIFO에 데이타를 라이트하고, 소스 데이타의 어드레스를 계산한 후, 소스 데이타를 정렬하고, 패턴 데이타의 유무를 판단하는 제4단계(112 내지 115) ; 상기 제4단계에서 패턴 데이타가 존재하면 중앙처리장치가 패턴 데이타를 패턴 FIFO에 라이트할 수 있는지 판단하여 라이트할 수 있으며 데이타를 라이트하고, 셀의 마지막 라인을 생성하고 있는가를 판단하는 제5단계(116 내지 118) ; 상기 제5단계에서 마지막 라인이면 라아트 마스크 값을 레치하고 부울 연산 관련 레지스터를 초기화한 후, 목적 데이타를 레치하고 부울 연산 결과값을 페이지 메모리에 라이트하고, 페이지 메모리에서 셀을 생성하는 과정이 종료되었는지 판단하는 제6단계(124 내지 128) ; 상기 제6단계에서 셀을 생성하는 과정이 종료되었으면 부울 연산을 종료하고 중앙처리장치에 인터럽트를 걸어주는 제7단계(129,130) ; 상기 제4단계에서 페이지 메모리에 만들고 있는 셀의 한 라인 작업이 마지막 작업이 아니면 라이트 마스크 값을 모두 1로 레치하고, 목적 데이타를 레치한 후, 부울 연산 결과값을 페이지 메모리에 라이트 하고, 목적 데이타의 어드레스를 증가시키고, 레프트 마스크 값을 모두 1로 레치하는 제8단계(119 내지 123)을 포함하는 것을 특징으로 하는 이미지 데이타의 연산처리 방법.A control method applied to an image data processing apparatus having a central processing unit (3), a Boolean arithmetic processing unit (8), and a page memory (10), wherein the address of destination data is calculated and used for a Boolean operation. First steps 101 to 105 for initializing the relevant register and the X coordinate reference register of the cell, and then latching the left mask value and determining the presence or absence of source data; If the source data exists in the first step, the CPU checks the state of the FIFO and writes the data directly to the FIFO. A second step 106 to 109 of determining whether to read once; In the case where the source data is read twice in the second step, one word stored in the source FIFO is latched in the source data register, and the third step (110,111) determines whether the CPU can write the FIFO data. ); If the data can be written in the third step, the central processing unit writes the data to the FIFO, calculates the address of the source data, aligns the source data, and determines whether the pattern data is present. 115); In the fourth step, if the pattern data exists, the CPU can determine whether the pattern data can be written to the pattern FIFO and write the data. The fifth step of determining whether the data is written and generating the last line of the cell (116) To 118); If the last line in step 5, the process of retrieving the LaArt mask value and initializing the register related to the Boolean operation, latching the target data, writing the result of the Boolean operation into the page memory, and generating a cell from the page memory is finished A sixth step (124 to 128) for determining whether A seventh step (129, 130) of terminating a Boolean operation and interrupting the central processing unit when the process of generating a cell is completed in the sixth step; If the one-line operation of the cell created in the page memory in step 4 is not the last operation, the write mask values are all set to 1, the object data is latched, and the result of the Boolean operation is written to the page memory. And an eighth step (119 to 123) of increasing the address of and increasing the left mask value to all ones.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.