KR970059919A - Remaining calculation method and circuit - Google Patents

Remaining calculation method and circuit Download PDF

Info

Publication number
KR970059919A
KR970059919A KR1019960000832A KR19960000832A KR970059919A KR 970059919 A KR970059919 A KR 970059919A KR 1019960000832 A KR1019960000832 A KR 1019960000832A KR 19960000832 A KR19960000832 A KR 19960000832A KR 970059919 A KR970059919 A KR 970059919A
Authority
KR
South Korea
Prior art keywords
significant bit
bit
bits
output
inverted
Prior art date
Application number
KR1019960000832A
Other languages
Korean (ko)
Other versions
KR100206116B1 (en
Inventor
최성업
Original Assignee
김광호
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김광호, 삼성전자 주식회사 filed Critical 김광호
Priority to KR1019960000832A priority Critical patent/KR100206116B1/en
Publication of KR970059919A publication Critical patent/KR970059919A/en
Application granted granted Critical
Publication of KR100206116B1 publication Critical patent/KR100206116B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/52Multiplying; Dividing
    • G06F7/535Dividing only

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Complex Calculations (AREA)

Abstract

본 발명은 나머지 계산방법 및 회로를 공개한다. 그 방법은 피젯수 또는 궤환되는 나머지의 최하위 비트를 제외한 상위비트가 모두 1인 경우에 상기 최하위 비트는 그대로 출력하고, 상기 상위비트는 반전하여 출력하고, 만일 상기 최하위 비트를 제외한 상위비트가 모두 1이 아니고 상기 최하위 비트가 0인 경우에 상기 최하위 비트는 반전하여 출력하고, 상기 상위비트는 그대로 출력하고, 만일 상기 최하위 비트를 제외한 상위비트가 모두 1이 아니고 상기 최하위 비트가 1인 경우에 상기 최하위 비트는 반전하여 출력하고, 상기 상위비트의 각각의 이웃하는 하위비트가 연속하는 1이면 상기 해당 상위비트를 반전하여 출력하고 그외의 경우에는 그대로 출력하여 부분 나머지를 발생하기 위한 부분 나머지 계산단계, 젯수를 반전하여 젯수의 1의 보수를 구하는 단계, 및 상기 부분 나머지와 상기 젯수의 1의 보수를 가산하여 상기 나머지를 구하고 상기 나머지의 최상위 비트가 1인 경우에 상기 부분 나머지 계산단계로 진행하는 가산단계로 이루어져 있다. 그 회로는 본 방법에 따라 구성된다. 따라서, 간단한 방법 및 회로로 나머지를 구할 수 있다.The present invention discloses the remaining calculation methods and circuits. The method outputs the least significant bit as it is, except that the least significant bit except the least significant bit of the fed back number is 1, outputs the inverted upper bit, and if all the upper bits except the least significant bit are 1 If the least significant bit is 0 and the least significant bit is 1, the least significant bit is inverted and output, and the most significant bit is output as it is, and if the least significant bit is not 1 and the least significant bit is 1, A partial residual calculation step for generating a partial residue by inverting the corresponding upper bit and outputting the inverted upper bit if the neighboring lower bit of each upper bit of the upper bit is 1, To obtain a 1's complement of the number of digits, And adding the remaining bits to the partial residual calculation step when the remaining most significant bits are 1, respectively. The circuit is constructed in accordance with the present method. Therefore, the rest can be obtained by a simple method and circuit.

Description

나머지 계산방법 및 회로Remaining calculation method and circuit

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is a trivial issue, I did not include the contents of the text.

제 1도는 본 발명의 나머지 계산회로의 블러도이다.Figure 1 is a blur diagram of the remaining calculation circuit of the present invention.

제 2도는 제1도에 나타낸 반전/쉬프트회로의 회로도이다.FIG. 2 is a circuit diagram of the inverting / shifting circuit shown in FIG.

Claims (3)

피젯수 또는 궤환되는 나머지의 최하위 비트를 제외한 상위비트가 모두 1인 경우에 상기 최하위 비트는 그대로 출력하고, 상기 상위비트는 반전하여 출력하고, 만일 상기 최하위 비트를 제외한 상위비트가 모두 1이 아니고 상기 최하위 비트가 0인 경우에 상기 최하위 비트는 반전하여 출력하고, 상기 상위비트는 그대로 출력하고, 만일 상기 최하위 비트를 제외한 상위비트가 모두 1이 아니고 상기 최하위 비트가 1인 경우에 상기 최하위 비트는 반전하여 출력하고, 상기 상위비트의 각각의 이웃하는 하위비트가 연속하는 1이면 상기 해당 상위비트를 반전하여 출력하고 그외의 경우에는 그대로 출력하여 부분 나머지를 발생하기 위한 부분 나머지 계산단계, 젯수를 반전하여 젯수의 1의 보수를 구하는 단계; 및 상기 부분 나머지와 상기 젯수의 1의 보수를 가산하여 상기 나머지를 구하고 상기 나머지의 최상위 비트가 1인 경우에 상기 부분 나머지 계산단계로 진행하는 가산단계를 구비한 것을 특징으로 하는 나머지 계산방법.And outputs the least significant bit as it is, and outputs the inverted upper bit when the upper bits except the least significant bit are all 1, And if the least significant bit is 0 and the least significant bit is 1, the least significant bit is inverted and outputted, and the most significant bit is output as it is, and if the most significant bit is not 1 and the least significant bit is 1, A partial residual calculation step for inverting and outputting the corresponding upper bits if each neighboring lower bit of the upper bits is a consecutive one and outputting the inverted upper bits as they are and generating a partial rest, Obtaining a complement of 1 of the number of dots; And an adding step of adding the partial remainder and 1's complement of the number of digits to obtain the remainder and proceeding to the partial remainder calculation step when the most significant bit of the remainder is 1. 피젯수 또는 궤환되는 나머지를 선택적으로 출력하기 위한 제1선택수단; 상기 선택수단에 의해서 선택된 데이타를 입력하여 만일 입력되는 데이타의 최하위 비트를 제외한 상위비트가 모두 1인 경우에 상기 최하위 비트는 그대로 출력하고, 상기 상위비트는 반전하여 출력하고, 만일 상기 최하위 비트를 제외한 상위비트가 모두 1이 아니고 상기 최하위 비트가 0인 경우에 상기 최하위 비트는 반전하여 출력하고, 상기 상위비트는 그대로 출력하고, 만일 상기 최하위 비트를 제외한 상위비트가 모두 1이 아니고 상기 최하위 비트가 1인 경우에 상기 최하위 비트는 반전하여 출력하고, 상기 상위비트의 각각의 이웃하는 하위비트가 연속하는 1이면 상기 해당 상위비트를 반전하여 출력하고 그외의 경우에는 그대로 출력하여 부분 나머지를 발생하기 위한 부분 나머지 발생수단; 젯수를 반전하여 상기 젯수의 1의 보수를 출력하기 위한 반전수단; 상기 부분 나머지와 상기 젯수의 1의 보수를 가산하기 위한 가산수단; 및 상기 가산수단의 최상위 비트가 1인 경우에 상기 멀티플렉서가 사익 가산수단으로부터 궤환되는 신호를 선택하도록 하기 위한 제어신호를 발생하기 위한 제어수단을 구비한것을 특징으로 하는 나머지 계산회로.First selecting means for selectively outputting a fed number or a remaining fed back; And outputs the least significant bit as it is, and outputs the inverted upper bit as it is. If the least significant bit of the input data is 1, And if the least significant bit is not 1 and the least significant bit is 0, the least significant bit is inverted and output, and the most significant bit is output as it is, , The least significant bit is inverted and output, and if the neighboring lower bits of the higher bits are 1, the corresponding upper bits are inverted and outputted, otherwise, the lower bits are output as they are, The remaining generating means; Inverting means for inverting the number of digits to output 1's complement of the number of digits; Addition means for adding the partial remainder and the complement of 1 of the number of the digits; And control means for generating a control signal for causing the multiplexer to select a signal fed back from the summation means if the most significant bit of the addition means is one. 제 2항에 있어서, 상기 부분 나머지 계산수단은 n비트의 데이타를 반전하기 위한 n개의 반전수단; 상기 n비트의 입력 데이타의 최하위 비트를 제외한 상위비트를 논리합하기 위한 논리합수단; 상기 n비트의 입력데이타의 상위 비트와 상기 상위 비트와 이웃하는 하위비트를 각각 논리곱하여n-1개의 제어신호를 발생하기 위한 n-1개의 제어신호 발생수단; 상기 n-1개의 제어신호 각각에 응답하여 상기 반전수단의 출력신호를 발생하거나, 상기 n비트의 입력 데이타의 최하위 비트를 제외한 상위비트를 선택하여 출력하기 위한n-1개의 선택수단들; 및 상기 논리합수단의 출력신호에 응답하여 상기 n개의 반전수단의 최하위 비트 반전수단의 출력 신호를 제외한 반전 출력신호들 및 상기 최하위 비트를 출력하거나, 상기 n-1개의 선택수단들의 출력신호들 및 상기 최하위 비트 반전수단의 출력학 위한 n개의 선택수단을 구비한 것을 특징으로 하는 나머지 계산회로.3. The apparatus of claim 2, wherein the partial residual calculation means comprises n inversion means for inverting n bits of data; An OR unit for performing an OR operation on upper bits excluding the least significant bit of the input data of n bits; N-1 control signal generating means for generating n-1 control signals by logically multiplying the upper bits of the n-bit input data, the lower bits, and the lower-order bits adjacent to each other; N-1 selection means for generating an output signal of the inverting means in response to each of the n-1 control signals or selecting and outputting an upper bit excluding the least significant bit of the n-bit input data; And outputting the least significant bit and the inverted output signals excluding the output signal of the least significant bit inverting means of the n inverting means in response to the output signal of the logical summing means, And n selection means for outputting the output of the least significant bit inverting means. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: It is disclosed by the contents of the first application.
KR1019960000832A 1996-01-17 1996-01-17 Method and circuit for computing the remainder KR100206116B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960000832A KR100206116B1 (en) 1996-01-17 1996-01-17 Method and circuit for computing the remainder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960000832A KR100206116B1 (en) 1996-01-17 1996-01-17 Method and circuit for computing the remainder

Publications (2)

Publication Number Publication Date
KR970059919A true KR970059919A (en) 1997-08-12
KR100206116B1 KR100206116B1 (en) 1999-07-01

Family

ID=19449547

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960000832A KR100206116B1 (en) 1996-01-17 1996-01-17 Method and circuit for computing the remainder

Country Status (1)

Country Link
KR (1) KR100206116B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016047848A1 (en) * 2014-09-24 2016-03-31 (주)셀로직 Apparatus and method for calculating remainder

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101592920B1 (en) * 2009-06-10 2016-02-12 삼성전자주식회사 Method and Apparatus for performing modular calculation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016047848A1 (en) * 2014-09-24 2016-03-31 (주)셀로직 Apparatus and method for calculating remainder

Also Published As

Publication number Publication date
KR100206116B1 (en) 1999-07-01

Similar Documents

Publication Publication Date Title
KR950015064A (en) Galoa field multiplication method and circuit
KR970031301A (en) Pulse width modulated signal output circuit
KR960000610B1 (en) Multi-amplitude sample generating apparatus and method
GB1430814A (en) Residue generating circuit
KR880014560A (en) Memory circuit
KR910003504A (en) Digital signal processing circuit
KR930006539A (en) adder
KR870009552A (en) Logic circuit
KR970059919A (en) Remaining calculation method and circuit
KR960018874A (en) Multiplier and digital filter
US5448506A (en) Multiplication operational circuit device
JPH0661871A (en) Parallel serial data conversion circuit
JPS6116110B2 (en)
US5034912A (en) Signal processing circuit for multiplication
KR890015511A (en) Logic circuit with self-raising select addition circuit
JP3270659B2 (en) Arithmetic circuit and arithmetic method
KR950001480A (en) High Speed Compact Digital Multiplier
KR950016069A (en) Multiplier on Galois Field
KR970049446A (en) Adder / Subtracter
KR200232068Y1 (en) 2's complement converter for high speed operation
KR970060166A (en) A circuit that passes data within a desired range
KR970076235A (en) Rounding device for minimizing rounding off error
KR950003970A (en) Fast multiplication circuit
KR970022702A (en) Parallel Cyclic Redundancy Check (CRC) Encoder
KR970076242A (en) Adder using multiplex

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070327

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee