KR100198938B1 - Apparatus for selecting minimum/maximum value - Google Patents

Apparatus for selecting minimum/maximum value Download PDF

Info

Publication number
KR100198938B1
KR100198938B1 KR1019960069773A KR19960069773A KR100198938B1 KR 100198938 B1 KR100198938 B1 KR 100198938B1 KR 1019960069773 A KR1019960069773 A KR 1019960069773A KR 19960069773 A KR19960069773 A KR 19960069773A KR 100198938 B1 KR100198938 B1 KR 100198938B1
Authority
KR
South Korea
Prior art keywords
value
minimum
maximum value
maximum
selector
Prior art date
Application number
KR1019960069773A
Other languages
Korean (ko)
Other versions
KR19980050925A (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 KR1019960069773A priority Critical patent/KR100198938B1/en
Publication of KR19980050925A publication Critical patent/KR19980050925A/en
Application granted granted Critical
Publication of KR100198938B1 publication Critical patent/KR100198938B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/06Clock generators producing several clock signals

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

최소값/최대값 선택장치.Min / Max value selector.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

간단한 하나의 최소값/최대값 선택기를 제공하고, 이를 반복 사용함으로써, 원하는 수만큼의 최소값 또는 최대값을 선택할 수 있도록 하고자 함.By providing a simple minimum / maximum value selector and using it repeatedly, you can select as many minimum or maximum values as you want.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

최대값 또는 최소값을 선택하는 다수개의 선택기를 직렬로 연결하되. 상기 최소값/최대값 선택기는, 초기 설정된 값을 선택된 최소값 또는 최대값으로 갱신하는 저장 수단, 외부로부터 입력된 데이터와 상기 저장수단에 저장된 최소값 또는 최대값과 비교하는 비교수단, 및 상기 비교수단의 비교결과를 제1선택신호로 입력받고, 바로 이전의 상기 최소값/최대값 선택기의 비교결과 신호를 제2선택신호로 입력받아 상기 외부로부터 입력된 데이터와 상기 바로 이전의 최소값/최대값 선택기에서 선택된 최소값 또는 최대값과 상기 저장수단에 저장된 값중 하나를 선택하는 선택수단을 구비함.Connect multiple selectors in series to select the maximum or minimum value. The minimum value / maximum value selector includes: storage means for updating an initially set value to a selected minimum or maximum value, comparison means for comparing data input from the outside with a minimum or maximum value stored in the storage means, and comparison of the comparison means. Receiving a result as a first selection signal and receiving a comparison result signal of the immediately previous minimum / maximum selector as a second selection signal and inputting the data from the outside and the minimum value selected by the immediately previous minimum / maximum selector Or selecting means for selecting one of a maximum value and a value stored in the storing means.

4. 발명의 중요한 용도4. Important uses of the invention

초 대규모 집적회로에서 최소값 또는 최대값 선택장치로 이용됨.Used as a minimum or maximum selector in very large integrated circuits.

Description

최소값/최대값 선택장치Min / Max Value Selector

본 발명은 최소값/최대값 선택장치에 관한 것으로, 특히 입력 데이터 중에서 다수개의 최소값 또는 최대값을 선택하는 경우에 있어 서로 동일한 구조를 갖는 다수개의 최소값/최대값 선택장치를 사용함으로써 하드웨어, 특히 초대규모 집적(VLSI : Very Large Scale Integration)회로 구현이 용이한 최소값/최대값 선택장치에 관한 것이다.The present invention relates to a minimum / maximum value selection device, and in particular, in the case of selecting a plurality of minimum or maximum values from input data, by using a plurality of minimum / maximum value selection devices having the same structure as each other, hardware, particularly a large scale The present invention relates to a minimum / maximum value selection device that can be easily implemented with a very large scale integration (VLSI) circuit.

종래의 다수개의 최소값/최대값 선택장치에는 알고리즘 개발시 하드웨어 구현을 구려하지 않음으로써 실제 하드웨어 구현시 복잡한 로직이 요구되거나, 동일한 하드웨어를 반복 사용하는 초 대규모 직접(VISI)회로의 장점을 충분히 이용하지 못하는 단점이 있었다.Many conventional minimum / maximum value selectors do not require hardware implementation when developing algorithms, so complex logic is required in actual hardware implementation, or do not take full advantage of the ultra large-scale direct (VISI) circuit that uses the same hardware repeatedly. There was a disadvantage.

따라서, 상기와 같은 종래 기술의 문제점을 해결하기 위하여 안출된 본 발명은 간단한 하나의 최소값/최대값 선택기를 제공하고, 이를 반복 사용함으로써, 원하는 수만큼 최소값 또는 최대값을 선택할 수 있는 최소값/최대값 선택장치를 제공하는데 그 목적이 있다.Therefore, the present invention devised to solve the above problems of the prior art provides a simple one minimum value / maximum value selector, and by repeatedly using it, the minimum value / maximum value that can select the minimum value or the maximum value as desired. The purpose is to provide a selection device.

제1도는 본 발명에 따른 최소값/최대값 선택기의 구성도.1 is a block diagram of a minimum value / maximum value selector according to the present invention.

제2도는 제1도의 최소값/최대값 선택기를 다수개 연결한 구조도.FIG. 2 is a structural diagram in which a plurality of minimum / maximum selectors of FIG. 1 are connected.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

11 : 선택기(MUX) 12 : 플립플롭11: selector (MUX) 12: flip-flop

13 : 비교기 21 내지 23 : 최소값/최대값 선택기13: comparator 21 to 23: minimum value / maximum value selector

상기 목적을 달성하기 위한 본 발명은, 최대값 또는 최소값을 선택하는 선택기를 다수개 이용하여 상기 다수개의 최소값/최대값 선택기를 직렬로 연결하되, 상기 최소값/최대값 선택기는, 초기에는 설정신호에 의해 임의의 값을 저장한 후, 선택된 최소값 또는 최대값으로 저장된 값을 갱신하는 저장수단, 외부로부터 입력된 데이터와 상기 저장수단에 저장된 최소값 또는 최대값과 비교하여 그 결과를 출력하는 비교수단, 및 상기 비교수단의 비교결과를 제1선택신호로 입력받고, 바로 이전의 상기 최소값/최대값 선택기의 비교결과 신호를 제2선택신호로 입력받아 상기 외부로부터 입력된 데이터 상기 바로 이전의 최소값/최대값 선택기에서 선택된 최소값 또는 최대값과 상기 저장수단에 저장된 값중 하나를 선택하는 선택수단을 구비하여 다수개의 최소값 또는 최대값을 선택하는 것을 특징으로 한다.In order to achieve the above object, the present invention uses a plurality of selectors for selecting a maximum value or a minimum value to connect the plurality of minimum value / maximum value selectors in series, and the minimum value / maximum value selector is initially set to a set signal. Storing means for updating the stored value to a selected minimum or maximum value after storing any value, comparing means for comparing the data input from the outside with the minimum or maximum value stored in the storing means, and outputting the result; Receiving the comparison result of the comparison means as a first selection signal, receiving the comparison result signal of the previous minimum value / maximum value selector as a second selection signal, the minimum value / maximum value immediately before the data input from the outside; A selection means for selecting one of a minimum or maximum value selected by the selector and a value stored in the storage means; The minimum value or the maximum value is selected.

이하, 첨부된 도면 도1내지 도2를 참조하여 본 발명의 일실시예를 상세히 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to FIGS. 1 to 2 as follows.

먼저, 도1은 본 발명의 다수개의 최소값/최대값을 선택하는 장치에서 반복적으로 사용되는 최소값/최대값 선택기를 나타낸다.First, Figure 1 shows a minimum / maximum value selector repeatedly used in an apparatus for selecting multiple minimum / maximum values of the present invention.

이하에서 설명은 도1의 최소값/최대값 선택기가 최소값 선택기로 사용될 경우를 가정하며, 최대값 선택기로 사용될 경우 달라지는 내용은 괄호안에 나타내기로 한다.In the following description, it is assumed that the minimum value / maximum value selector of FIG.

도1에서 입력 DI는 매 클록마다 입력되는 데이터를 나타내며, 출럭R_i는 선택된 최소(최대)값을 나타내고, 입력 R_i-1은 도1의 최소값/최대값 선택기가 여러개 사용되는 경우 R_i다음으로 작은(큰)값이며, I-1번째 최소값 또는 최대값은 선택기로부터 입력되는 값으로 입력 DI와 R_I-1의 비교 결과를 나타낸다.In FIG. 1, the input DI represents data input every clock, the output R_i represents the selected minimum (maximum) value, and the input R_i-1 represents the next smaller R_i (when multiple minimum / maximum selectors of FIG. 1 are used). Is the value input from the selector, and represents the result of comparison between the input DI and R_I-1.

입력 CLK는 클록을 나타내며, SET는 초기화시 R_i를 가능한 최대값(최소값)으로 만들어주는 신호이다.The input CLK represents the clock, and SET is the signal that makes R_i the maximum possible value (minimum value) at initialization.

이제, 도1의 최소값/최대값 선택기가 단독으로 사용되어 입력 데이터 중에서 단지 1개의 최소값만을 선택하는 과정을 설명하면 다음과 같다.Now, a process of selecting only one minimum value among input data by using the minimum value / maximum value selector of FIG. 1 alone is as follows.

먼저, 플림플롭(12)의 초기 값 R-i는 초기화 과정에서 설정신호(SET)에 의해 가능한 최대값(최소값)으로 정해진다. 초기화가 끝나고 유효한 입력 데이터 DI가 입력되면 비교기(13)는 입력 데이터 DI와 플립플롭(12)의 출력 R_i를 비교하여 입력 데이터 DI가 플립플록(12)의 출력 R_i보 작으면(크면) 비교결과 신호 C_I를 '1'로 하여 선택기(11)로 출력한다. 이때 선택기로 입력되는 또 다른 선택신호인 C_I-i은 도1의 최소값/최대값 선택기가 단독으로 사용되는 경우 항상 '0' 이 된다.First, the initial value R-i of the flip-flop 12 is set to the maximum value (minimum value) possible by the setting signal SET in the initialization process. When initialization is completed and valid input data DI is input, the comparator 13 compares the input data DI with the output R_i of the flip-flop 12, and if the input data DI is smaller than the output R_i of the flip-flop 12 (large), the comparison result. The signal C_I is set to '1' and output to the selector 11. In this case, C_I-i, another selection signal input to the selector, is always '0' when the minimum / maximum selector of FIG. 1 is used alone.

선택기(11)는 비교기(13)로부터 입력된 선택신호 C_i가 '1'이고, i-1번째 최소값/최대값 선택기에서 입력된 선택신호 C_I-1이 '0'이면 입력 데이터 DI를 선택하고, 선택신호 C_I가 '1'이고, 또 다른 선택 C_i-1이 '1'이면 C-1번째 최소값/최대값 선택기에서 선택된 최소값(최대값) R_i-1을 선택한다. 그리고, 선택신호 C_i가 '0'이고 또 다른 선택신호 C_i-1이 '0'이면 플립플롭(12)에 저장되어 있던 R_i를 선택하여 플립플롭(12)으로 출럭한다.The selector 11 selects the input data DI when the selection signal C_i input from the comparator 13 is '1' and the selection signal C_I-1 input from the i-1th minimum / maximum selector is '0'. If the selection signal C_I is '1' and another selection C_i-1 is '1', the selected minimum value (maximum value) R_i-1 is selected by the C-1 th minimum / maximum selector. When the selection signal C_i is '0' and the other selection signal C_i-1 is '0', R_i stored in the flip-flop 12 is selected and output to the flip-flop 12.

플립플롭(12)은 매 블록마다 선택기(11)에서 선택되어 입력된 데이터를 새로 저장하여 비교기(13)로 출력한다.The flip-flop 12 stores the data selected and selected by the selector 11 every block and outputs the data to the comparator 13.

이와 같은 방식으로 제1도의 최소값 또는 최대값 선택기는 입력되는 데이터 중에서 1개의 최소값(최대값)을 선택하게 된다.In this manner, the minimum or maximum value selector of FIG. 1 selects one minimum value (maximum value) from the input data.

제2도는 제1도의 최소값/최대값 선택기를 다수개 사용하여 입력되는 데이터 중에서 다수개의 최소값(최대값)을 선택하기 위한 다수개의 최소값(최대값)을 선택하게 된다.FIG. 2 selects a plurality of minimum values (maximum values) for selecting a plurality of minimum values (maximum values) from among input data using a plurality of minimum / maximum value selectors of FIG. 1.

제2도에서 i(1im)번째 최소값/최대값 선택기는 i번째로 작은(큰)값을 선택한다. 이때, 최소값(최대값) R_i는 I번째 최소값/최대값 선택기에 의해 선택된 I번째로 작은(큰)값이며, 비교결과 신호 C_i는 입력 데이터 DI와 플립플롭(12)에 저장된 최소값(최대값)R_I를 비교한 결과를 나타내며, 1변째 최소값/최대값 선택기로 입력되는 비교결과 신호 C_0 는 항상 '0'의 값을 갖는다.In Figure 2 i (1) i m) th min / max selector selects the ith smallest (large) value. At this time, the minimum value (maximum value) R_i is the I smallest (largest) value selected by the Ith minimum value / maximum value selector, and the comparison result signal C_i is the minimum value (maximum value) stored in the input data DI and the flip-flop 12. The result of comparing R_I is shown, and the comparison result signal C_0 inputted to the 1st minimum / maximum value selector always has a value of "0".

이상에서 설명한 본 발명은 본 발명이 속하는 기술분야에서 통상의 지식을 가진자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로, 전술한 실시예 및 도면에 한정 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not a limitation.

상기와 같이 이루어지는 본 발명의 다수개의 최소값/최대값 선택장치는 간단한 하나의 최소값/최대값 선택기를 구현한 뒤, 이를 반복 사용하여 원하는 수만큼의 최소값 또는 최대값을 선택할 수 있도록 함으로써 동일한 하드웨어를 반복적으로 사용할 수 있는 초 대규모 집적(VLSI)회로의 장점을 최대한 이용할 수 있는 효과가 있다.A plurality of minimum value / maximum value selectors of the present invention as described above implements a simple one minimum value / maximum value selector, and then repeatedly uses the same hardware to repeatedly select the desired minimum or maximum values. It is possible to take full advantage of the benefits of ultra-large scale integrated (VLSI) circuits.

Claims (4)

최소값 또는 최소값을 선택하는 선택기를 다수개 이용하여 상기 다수개의 최소값/최대값 선택기를 직렬로 연결하되, 상기 최소값/최대값 선택기는, 초기에는 설정신호에 의해 임의의 값을 저장한 후, 선택된 최소값 또는 최대값으로 저장된 값을 갱신하는 저장수단. 외부로부터 입력된 데이터와 상기 저장수단에 저장된 최소값 또는 최대값과 비교하여 그 결과를 출력하는 비교수단 및 상기 비교수단의 비교결과를 제1선택신호로 입력받고, 바로 이전의 상기 최소값/최대값 선택기의 비교결과 신호를 제2선택신호로 입력받아 상기 외부로부터 입력된 데이터와 상기 바로 이전의 최소값/최대값 선택기에서 선택된 최소값 또는 최대값과 상기 저장수단에 저장된 값중 하나를 선택하는 선택수단을 구비하여 다수개의 최소값 도는 최대값을 선택하는 선택장치.The plurality of minimum value / maximum value selectors are connected in series by using a plurality of selectors for selecting the minimum value or the minimum value, and the minimum value / maximum value selector initially stores an arbitrary value by a set signal, and then selects the selected minimum value. Or storing means for updating the stored value to the maximum value. A comparison means for comparing the data input from the outside with a minimum value or a maximum value stored in the storage means and outputting a result thereof, and a comparison result of the comparison means as a first selection signal, and immediately before the minimum value / maximum value selector A selection means for receiving a comparison result signal as a second selection signal and for selecting one of the data input from the outside, the minimum value or the maximum value selected by the previous minimum value / maximum value selector and the value stored in the storage means; Selector for selecting multiple minimum or maximum values. 제1항에 있어서, 상기 저장수단은 설정신호에 의해 초기치를 설정하고, 외부로부터 입력된 클럭에 의해 입력되는 데이터를 래치하는 플럽플롭인 것을 특징으로 하는 최소값/최대값 선택장치.The minimum / maximum value selecting apparatus according to claim 1, wherein the storage means is a flop flop that sets an initial value by a setting signal and latches data input by a clock input from the outside. 제2항에 있어서, 상기 비교수단은 최소값을 선택하는 경우 입력된 데이터가 상기 플립플롭의 출력보다 작으면 비교결과 신호를 '1'로 하여 상기 선택수단으로 출력하고, 최대값을 선택하는 경우에는 입력된 데이터가 상기 플립플롭의 출력보다 크면 비교결과 신호를 '1'로 하여 상기 선택수단으로 출력하는 것을 특징으로 하는 최소값/최대값 선택장치.The method of claim 2, wherein when the minimum value is selected, the comparing means outputs the comparison result signal to the selecting means as '1' when the input data is smaller than the output of the flip-flop, and when selecting the maximum value. And the input value is larger than the output of the flip-flop, and outputs the comparison result signal to the selection means as '1'. 제3항에 있어서, 상기 선택수단은 상기1선택신호가 '1'이고, 상기 제2선택신호가 '0'이면 입력된 데이터를 선택하고, 상기 제1 선택신호가 '1'이고, 상기 제2 선택신호가 '1'이면 상기로 이전 최소값/최대값 선택기에서 선택된 최소값 또는 최대값을 선택하고, 상기 제1선택신호가 '0'이고, 상기 제2선택신호가 '0'이면 상기 플립플롭에 저장된 데이터를 선택하는 것을 특징으로 하는 최소값/최대값 선택장치.The method of claim 3, wherein the selecting means selects input data when the first selection signal is '1' and the second selection signal is '0', and the first selection signal is '1', 2 If the selection signal is '1', the minimum or maximum value selected by the previous minimum value / maximum value selector is selected; when the first selection signal is '0' and the second selection signal is '0', the flip-flop is selected. A minimum value / maximum value selection device, characterized in that for selecting the data stored in.
KR1019960069773A 1996-12-21 1996-12-21 Apparatus for selecting minimum/maximum value KR100198938B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960069773A KR100198938B1 (en) 1996-12-21 1996-12-21 Apparatus for selecting minimum/maximum value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960069773A KR100198938B1 (en) 1996-12-21 1996-12-21 Apparatus for selecting minimum/maximum value

Publications (2)

Publication Number Publication Date
KR19980050925A KR19980050925A (en) 1998-09-15
KR100198938B1 true KR100198938B1 (en) 1999-06-15

Family

ID=19490108

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960069773A KR100198938B1 (en) 1996-12-21 1996-12-21 Apparatus for selecting minimum/maximum value

Country Status (1)

Country Link
KR (1) KR100198938B1 (en)

Also Published As

Publication number Publication date
KR19980050925A (en) 1998-09-15

Similar Documents

Publication Publication Date Title
US6411124B2 (en) Programmable logic device logic modules with shift register capabilities
US5390192A (en) High-speed pattern generator
US6745216B1 (en) Shift register allowing direct data insertion
US6628660B1 (en) Finite state machine with associated memory
US20010013797A1 (en) Logic cell and logic circuit using the same
US5506796A (en) Digital signal processing circuit selectively operable in either a normal or a pseudorandom noise generative mode
KR930008042B1 (en) Microcontroller unit
KR100198938B1 (en) Apparatus for selecting minimum/maximum value
US6839783B2 (en) Programmable state machine interface
KR100313945B1 (en) Multi-interrupt controller
US5621337A (en) Iterative logic circuit
US5379038A (en) Parallel-serial data converter
US3618077A (en) Walsh function generator
US5414865A (en) Self-programming with limited sequential memory capacity
Vinnakota et al. A new circuit for maximum value determination
US4755968A (en) Buffer memory device controlled by a least recently used method
KR100199190B1 (en) Data acquisition logic
KR0176845B1 (en) Extension method and circuit for i/o port of microcomputer
KR200155054Y1 (en) Counter circuit
US5615141A (en) Multiplying apparatus
US4087640A (en) Data input control system
KR0182037B1 (en) Over sampling digital filter
KR0169607B1 (en) Interface
JPH09128241A (en) Method and apparatus for arrangement with reference to belonging function value of language input value of fuzzy logic processor
RU2183347C2 (en) Variable-module adder

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080303

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee