Claims (7)
디지탈데이타처리시 부울연산을 수행하기 위한 장치에 있어서, 소정의 논리연산을 수행하기 위한 소정 비트의 피연산데이타와 연산데이타 및 논리연산의 진행을 제어하는 리드 도는 라이트신호를 부울연산부로 인가하고, 지정된 논리연산을 위한 어드레스신호를 디코더로 인가하는 중앙처리부; 상기 중앙처리부로부터 인가되는 어드레스신호를 디코딩하여 지정된 논리연산자신호와 부울연산부 작동수행신호를 부울연산부로 인가하는 디코더; 및 소정수의 논리연산기들을 구비하며, 상기 디코더로부터 인가되는 부울연산부 작동수행신호에 응답하여 동작을 개시하고, 중앙처리부로부터 인가되는 피연산데이타를 라이트신호에 따라 적재시키고, 디코더로부터 인가되는 지정된 논리연산자신호에 따라 인에이블되는 해당 논리연산기로 연산데이타를 인가받아 피연산데이타와 해당논리연산을 수행하며 중앙처리부로부터 인가되는 리드신호에 응답하여 논리연산된 결과데이타를 출력하는 부울연산부를 포함하는 PLD를 이용한 부울연산장치.In the apparatus for performing a Boolean operation in the digital data processing, the operable data of a predetermined bit to perform a predetermined logic operation and the read or write signal for controlling the operation of the operation and the logic operation is applied to the Boolean operation unit, A central processing unit for applying an address signal for a specified logical operation to a decoder; A decoder which decodes the address signal applied from the central processing unit and applies a specified logical operator signal and a Boolean operator operation performing signal to the Boolean operator; And a predetermined number of logic operators, the operation is initiated in response to a Boolean operation operation signal applied from the decoder, loaded with operand data applied from the central processing unit in accordance with a write signal, and designated logic applied from the decoder. PLD including a Boolean operation unit that receives the operation data with the corresponding logic operator enabled according to the operator signal, performs the operation data and the corresponding logic operation, and outputs the logical operation result data in response to the read signal applied from the central processing unit. Boolean operation using.
제1항에 있어서, 상기 부울연산부는 상기 디코더로부터 작동수행신호가 인가될 때 상기 중앙처리부로부터 인가되는 피연산데이타를 라이트신호에 응답하여 저장하고, 디코더로부터 논리곱연산자신호가 인가될 때 중앙처리부로부터 인가되는 연산데이타와 피연산데이타를 논리곱연산하여 중앙처리부로부터 인가되는 리드신호에 응답하여 출력하는 논리곱연산기; 상기 디코더로부터 작동수행신호가 인가될 때 상기 중앙처리부로부터 인가되는 피연산데이타를 저장하고, 디코더로부터 논리합연산자신호가 인가될 때 인에이블되는 논리소자들을 통해 중앙처리부로부터 인가되는 연산데이타와 독출되는 피연산데이타를 각 입력받아 논리합연산하여 출력하는 논리합연산기; 및 상기 디코더로부터 작동수행신호가 인가될 때 상기 중앙처리부로부터 인가되는 피연산데이타를 저장하고, 디코더로부터 배타논리합연산자신호가 인가될 때 인에이블되는 논리곱소자들을 통해 중앙처리부로부터 인가되는 연산데이타와 상태가 반전된 피연산데이타를 논리곱연산하며, 상태가 반전된 연산데이타와 피연산데이타를 논리곱연산하고 두 논리곱연산결과를 논리합연산하여 출력하는 배타논리합연산기로 이루어진 것을 특징으로 하는 PLD를 이용한 부울연산장치.The CPU of claim 1, wherein the Boolean operator stores the operand data applied from the central processor in response to a write signal when the operation execution signal is applied from the decoder, and when the logical product operator signal is applied from the decoder. A logical product operator for performing an AND operation on the operation data and the operand data applied from the logic unit, and outputting in response to the read signal applied from the central processing unit; Operand data stored from the central processing unit when the operation execution signal is applied from the decoder, and read operation data from the central processing unit through the logic elements enabled when the logic operator signal is applied from the decoder. A logical arithmetic operator that receives each operation data and performs logical sum operation on the operation data; And operation data applied from the central processing unit through logical AND elements which store the operand data applied from the central processing unit when the operation execution signal is applied from the decoder and is enabled when the exclusive logic operator signal is applied from the decoder. PLD of the PLD, characterized in that it consists of an exclusive logical operation that performs an AND operation on the inverted operand data whose state is inverted, and performs an AND operation on the inverted operation data and the operand data, and outputs the logical OR operation of the two AND operations. Boolean operation device.
제2항에 있어서, 상기 논리곱연산기는 피연산데이타 또는 논리곱연산결과데이타를 입력단으로 인가받고, 중앙처리부로부터 라이트신호가 클럭단자로 인가될 때마다 입력단의 데이터를 저장하는 D-플립플롭; 상기 디코더로부터 인가되는 작동수행신호와 중앙처리부로부터 인가되는 리드신호를 논리곱연산하여 버퍼의 출력상태를 인에이블 또는 디스에이블시키는 논리곱소자; 및 상기 D-플립플롭의 출력신호를 인가받고, 상기 논리곱소자로부터 인가되는 신호에 따라 인에이블 또는 디스에이블되는 버퍼로 이루어진 것을 특징으로 하는 PLD를 이용한 부울연산장치.3. The apparatus of claim 2, wherein the logical product operator comprises: a D-flip flop for receiving operand data or logical product result data as an input terminal and storing data of the input terminal whenever a write signal is applied to the clock terminal from the central processing unit; A logical AND element for performing an AND operation on the operation execution signal applied from the decoder and the read signal applied from the central processing unit to enable or disable the output state of the buffer; And a buffer receiving the output signal of the D-flip-flop and enabling or disabling the buffer according to the signal applied from the logical multiplication device.
제2항에 있어서, 상기 논리합연산기는 피연산데이타 또는 논리합연산 결과데이타를 입력단으로 인가받고, 중앙처리부로부터 라이트신호가 클럭단자로 인가될 때마다 입력단의 데이터를 저장하는 D-플립플롭; 상기 디코더로부터 인가되는 작동수행신호와 중앙처리부로부터 인가되는 리드신호를 논리곱연산하여 버퍼의 출력상태를 인에이블 또는 디스에이블시키는 논리곱소자; 및 상기 논리곱소자로부터 인가되는 신호에 제어를 받아 상기 D-플립플롭으로부터 인가되는 데이터의 출력이 인에이블 또는 디스에이블되는 버퍼로 이루어진 것을 특징으로 하는 PLD를 이용한 부울연산장치.3. The apparatus of claim 2, wherein the logic operator comprises: a D-flip flop for receiving the operand data or the logic operation result data as an input terminal and storing data of the input terminal whenever a write signal is applied to the clock terminal from the central processing unit; A logical AND element for performing an AND operation on the operation execution signal applied from the decoder and the read signal applied from the central processing unit to enable or disable the output state of the buffer; And a buffer under which the output of the data applied from the D-flip-flop is enabled or disabled under the control of the signal applied from the logical multiplication device.
제2항에 있어서, 상기 배타논리합연산기는 피연산데이타 또는 배타논리합연산결과데이타를 입력단으로 인가받고, 중앙처리부로부터 라이트신호가 클럭단자로 인가될 때마다 입력단의 데이터를 저장하는 D-플립플롭; 중앙처리부로부터 인가되는 연산데이타의 상태를 반전시키는 제1인버터; 상기 D-플립플롭의 반전출력단으로부터 인가되는 데이터의 상태를 반전시키는 제2인버터; 중앙처리부로부터 인가되는 연산데이타와 상기 D-플립플롭의 반전출력단으로부터 인가되는 피연산데이타를 논리곱연산하는 제1논리곱소자; 상기 제1인버터와 제2인버터로부터 인가되는 데이터를 논리곱연산하는 제2논리곱소자; 상기 제1논리곱소자와 제2논리곱소자를 논리합연산하여 상기 D-플립플롭으로 인가하는 논리합소자; 상기 디코더로부터 인가되는 작동수행신호와 중앙처리부로부터 인가되는 리드신호를 논리곱연산하여 버퍼의 출력상태를 인에이블 또는 디스에이블시키는 제3논리곱소자; 및 상기 D-플립플롭의 출력신호를인가받고, 상기 논리곱소자로부터 인가되는 신호에 따라 인에이블 또는 디스에이블되는 버퍼로 이루어진 것을 특징으로 하는 PLD를 이용한 부울연산장치.3. The system of claim 2, wherein the exclusive logic operator comprises: a D-flip flop for receiving the operand data or the exclusive logic result data as an input terminal and storing data of the input terminal whenever a write signal is applied to the clock terminal from the central processing unit; A first inverter for inverting the state of the operation data applied from the central processing unit; A second inverter for inverting the state of data applied from the inverting output terminal of the D-flip-flop; A first logical element which performs an AND operation on the operation data applied from the central processing unit and the operand data applied from the inverted output terminal of the D-flip flop; A second logical element for performing an AND operation on data applied from the first inverter and the second inverter; A logic sum element for performing logical sum operation on the first logical element and the second logical element and applying the D-flip flop; A third logical element configured to perform an AND operation on the operation execution signal applied from the decoder and the read signal applied from the central processing unit to enable or disable the output state of the buffer; And a buffer receiving the output signal of the D-flip-flop and enabling or disabling the buffer according to a signal applied from the logical multiplication device.
디지탈데이타처리시 프로그램가능형논리장치(PLD)를 이용하여 중앙처리장치의 제어하에 부울연산을 수행하기 위한 방법에 있어서, 소망의 논리연산을 수행하기 위한 어드레스신호를 발생하는 단계; 상기 어드레스신호를 디코딩하여 지정된 논리연산을 수행하도록 논리연산작동수행신호와 논리연산자신호를 발생하는 단계; 논리연산을 수행하기 위한 피연산데이타와 연산데이타를 발생하는 단계; 및 상기 논리연산작동수행신호에 따라 동작개시하여, 논리연산자신호에 따라 인에이블되는 논리소자로 소정 비트의 피연산데이타와 연산데이타를 인가받아 지정된 논리연산을 수행하는 부울연산단계를 포함하는 PLD를 이용한 부울연산방법.CLAIMS 1. A method for performing Boolean operations under control of a central processing unit using a programmable logic device (PLD) in digital data processing, comprising: generating an address signal for performing a desired logical operation; Generating a logical operation operation performing signal and a logical operator signal to decode the address signal to perform a designated logical operation; Generating operand data and operation data for performing a logical operation; And a Boolean operation step of performing operation according to the logic operation operation performing signal and receiving a specified bit of operand data and operation data to a logic element enabled according to the logic operator signal to perform a specified logic operation. Boolean operation method.
제6항에 있어서, 상기 부울연산단계는 입력되는 피연산데이타를 중앙처리장치로부터 인가되는 라이트신호에 응답하여 일정시간 저장하여 궤환입력받고, 입력되는 연산데이타와 다수의 논리단계를 거쳐 소망의 연산결과를 구하여 중앙처리장치로부터 인가되는 리드신호에 응답하여 연산결과를 출력하는 것을 특징으로 하는 PLD를 이용한 부울연산방법.7. The method of claim 6, wherein the Boolean operation includes storing the input operand data for a predetermined time in response to a write signal applied from the central processing unit to receive a feedback input, and performing a desired operation through the input operation data and a plurality of logic steps. A Boolean calculation method using a PLD, comprising: obtaining a result and outputting a calculation result in response to a read signal applied from a central processing unit.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.