SU1520509A1 - Device for sorting numbers - Google Patents

Device for sorting numbers Download PDF

Info

Publication number
SU1520509A1
SU1520509A1 SU884434503A SU4434503A SU1520509A1 SU 1520509 A1 SU1520509 A1 SU 1520509A1 SU 884434503 A SU884434503 A SU 884434503A SU 4434503 A SU4434503 A SU 4434503A SU 1520509 A1 SU1520509 A1 SU 1520509A1
Authority
SU
USSR - Soviet Union
Prior art keywords
group
analysis
type
inputs
cell
Prior art date
Application number
SU884434503A
Other languages
Russian (ru)
Inventor
Виктор Иосифович Язневич
Марина Ивановна Язневич
Михаил Ильич Овсеец
Original Assignee
Институт Математики Ан Бсср
Предприятие П/Я В-2129
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 Институт Математики Ан Бсср, Предприятие П/Я В-2129 filed Critical Институт Математики Ан Бсср
Priority to SU884434503A priority Critical patent/SU1520509A1/en
Application granted granted Critical
Publication of SU1520509A1 publication Critical patent/SU1520509A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике. Цель изобретени  - упрощение устройства. Устройство содержит ] N/2I[  чеек анализа (1ЯА)I-го типа, где N - количество сортируемых чисел, I = 1,2,...] LOG2 H[, счетчик, формирователи импульсов, вход начальной установки, тактовый вход, информационные выходы, выход окончани  работы. ЯА I-го типа содержит две группы регистров, элементы сравнени , коммутаторы, входы управлени  записью, информационные входы и выходы. Кажда  ЯА I-го типа формирует на своих выходах упор доченную последовательность из 2I чисел, составленную из двух упор доченных последовательностей из 2I-1 чисел кажда , которые были отсортированы двум  ЯА I-1-го типа. 2 ил.The invention relates to computing. The purpose of the invention is to simplify the device. The device contains] N / 2I [analysis cells (1ЯA) of the I-th type, where N is the number of sorted numbers, I = 1,2, ...] LOG 2 H [, counter, pulse formers, initial setup input, clock input , information outputs, exit ending work. A type I IA contains two groups of registers, comparison elements, switches, recording control inputs, information inputs and outputs. Each type I YA forms, at its outputs, an ordered sequence of 2 I numbers consisting of two ordered sequences of 2 I – 1 numbers each, which were sorted by two type I JA1s. 2 Il.

Description

Изобретение относитс  к вычислительной технике и может быть использовано в специализированных устройствах обработки информации.The invention relates to computing and can be used in specialized information processing devices.

Цель изобретени  - упрощение устройства .The purpose of the invention is to simplify the device.

На фиг. 1 приведена схема устройства; на фиг. 2 - схема  чейки анализа .FIG. 1 shows a diagram of the device; in fig. 2 - analysis cell diagram.

Устройство содержит п/2  чеекThe device contains p / 2 cells

.1-1 -I .a,i ,1 t .1-1 -I .a, i, 1 t

..., анализа i-ro типа, где п - количество сортируемых чисел, ближайшее целое, не меньшее х, счетчик 2, формирователи 3 - з- импульсов, вход 4 начальной установки , тактовый вход 5, группы информационных входов 6, - 6, группы выходов 7 отсортированных чисел, выход 8 окончани  работы устройства. Ячейка анализа i-ro типа содержит первую..., i-ro type analysis, where n is the number of sorted numbers, the nearest integer, not less than x, counter 2, drivers 3 - 3 pulses, input 4 of the initial setup, clock input 5, groups of information inputs 6, - 6 , group of outputs 7 sorted numbers, output 8 of the device operation termination. The i-ro type analysis cell contains the first

9 - ,,и вторую 10, - 10 ,--1 группы регистров, элементы 11 - 11-., сравнени , коммутаторы 12, - 12,,-.,, входы 13 и 14 управлени  записью, информационные входы 15, - 15.1 , информационные выходы 16 - .9 -, and the second 10, - 10, - 1 groups of registers, elements 11 - 11-., Comparison, switches 12, - 12, -., Inputs 13 and 14 of the recording control, information inputs 15, - 15.1 , information outputs 16 -.

Устройство работает следующим образом .The device works as follows.

На входы 6 - 6р устройства поступают сортируемые числа, которые по сигналу начальной установки с входа 4 записываютс  в регистры 9 и 10  чеек 1 - анализа первого типа. Одновременно в счетчик 2 записываетс  число 1.Через врем , достаточное дл  сравнени  чисел элементами 11 сравнени  и соответствующей коммутации (в триггер 9 коммутируетс  меньшее,.а в регистр 10 - большее из чисел) по входу 5 поступает тактовый импульс, по которому происходит заСПThe inputs 6 - 6p of the device receive sortable numbers, which are written to the registers 9 and 10 cells 1 according to the initial setup signal from input 4 - analysis of the first type. At the same time, the number 1 is recorded in counter 2. After a sufficient time to compare the numbers of the comparison elements 11 and the corresponding switching (the lower trigger 9 commutes, and the larger register 10 registers 10) the clock pulse along which the WSW occurs is input to the register 10.

юYu

оabout

С71C71

О QDAbout QD

пись попарно отсортированных чисел в регистры 9 и 10. Одновременно содержимое счетчика 2 увеличиваетс  на единицу, при этом при по влении положительного фронта на выходе второго разр да счетчика 2 через врем , достаточное дл  записи чисел в регист ры, на выходе формировател  3 импульсов формируетс  импульс. Этот им- пульс поступает на входы разрешени  записи регистров 9 и 10  чеек 1 анализа второго типау куда упор доченные пары чисел переписываютс  из регистров 9 и 10  чеек анализа первого типа .Writing pairwise sorted numbers into registers 9 and 10. At the same time, the contents of counter 2 are incremented by one, while when a positive front appears at the output of the second discharge of counter 2, a sufficient time to write numbers into registers produces an impulse . This pulse arrives at the resolution inputs of the register of registers 9 and 10 cells 1 of the second type analysis where the ordered pairs of numbers are copied from registers 9 and 10 cells of the first type analysis.

Ячейки анализа -следующих типов работают аналогично5 йричем  чейка го типа производит в течение 2 V тактов сортировку - сли ние двух отсортированных двум   чейка ш анализа пре дьщущего типа массивов  з 2. чисел каждый.The analysis cells of the following types work similarly to a 5th junction cell of the type that performs sorting during 2 V cycles — merging the two sorted two cells of the analysis of the foregoing type of arrays of 2. numbers each.

В  чейках а нал11за йврвке вьшоды коммутаторов 12 соединены с вxpдa да регистров .9 со сдвигом на один ре гистр- влево. Такое соединение обес-- печивает сли ние двух отсортировак- ных массивов чисел, что ш1ЯЕЮстрирует с  на примере работы  чейки анализа третьего типа. По сигналу с выхода формировател  3 шшульсов в регистры 9.J - 94 и 10 - tOji- записываютс  соответственно числа 5 8   t 4с Содержимое регистров 9 и 10 после каждого такта указано в таблице.In the cells of the network, the outputs of the switches 12 are connected to the rear of the registers .9 with a shift of one register-to-left. Such a connection ensures the merging of two sorting arrays of numbers, which is illustrated with the example of the work of the third type analysis cell. The signal from the output of the shaper of 3 shshulsov in registers 9.J - 94 and 10 - tOji- is recorded, respectively, the numbers 5 8 t 4 s. The contents of registers 9 and 10 after each clock cycle are indicated in the table.

Следующий массив чисел мозйет быть записан в устройство через 2- f тактов, т.е.  осле того, как числа oтpaбaтывJaeмoгo массива, будут записа50The next array of numbers can be written to the device in 2- f cycles, i.e. After the numbers of the JA array being processed are written to

Claims (1)

-ны в  чейку анализа последнего типа. Формула изобретени - are in the cell of the analysis of the latter type. Invention Formula Устройство дл  сортировки чисел 3 содержащее  чеек анализа 1-го типа, где п количество сортируемыхA device for sorting numbers 3 containing analysis cells of type 1, where n is the number of sorted чисел.numbers Г Т,2,.,,, 1о§гпС, 1хСG T, 2,. ,,, Igrgps, 1xC SS . . 00 5five 00 00 5five 00 5five ближайшее целое, не меньшее х, причем кажда   чейка анализа i-ro типа содержит 2 элементов сравнени  и 2 коммутаторов, в каждой  чейке анализа i-ro типа перва  и втора  группы информационных входов j-ro коммутатора и j-ro элемента сравнени , где j 1525... 5 , соответственно объе- диненЫ9 выход j-ro элемента сравнени  соединен с управл ющим входом j-ro коммутатора, перва  и втора  группы информационных входов К-й  чейки анализа первого типа, где К 1,2,..,, п/2,  вл ютс  соответственно (2К-1)-й и группой информационных входов устройства, 1-  группа информационных , выходов Р-й . чейки анализа q-ro типа, где ..., 2% р 1,2,.,,, q 1s25o,,, 11 ogjn-1 , соединена с (2q(p-1)+l)M группой информационных входов JP/2C -и  чейки анализа (q+1)-ro типа, г-  группа информа- Цйоикых выходов  чейки анализаthe nearest integer, not less than x, and each i-ro type analysis cell contains 2 comparison elements and 2 switches, in each i-ro analysis cell of the first and second groups of information inputs of the j-ro switch and j-ro comparison element, where j 1525 ... 5, respectively, the combined 9 output of the j-ro comparison element is connected to the control input of the j-ro switch, the first and second groups of information inputs of the K-th analysis cell of the first type, where K 1,2, .. ,, P / 2, are respectively (2K-1) -th and group of information inputs of the device, 1 is a group of information Outputs Pth. q-ro type analysis cells, where ..., 2% p 1,2,. ,,, q 1s25o ,,, 11 ogjn-1, are connected to (2q (p-1) + l) M group of information inputs JP / 2C - and cell analysis (q + 1) -ro type, g - a group of information-cell outputs of the analysis cell llog nr-ro типа, где ,2,:o . ,п,  вл етс  виходом г-го отсортированного числа устройства, о т л и ч а ю щ е- е с   тем, чтоз с целью упрощени  уетройстваэ оно содерзшт . формирователей импульсов и счетчик, а кажда   чейка анализа i-ro типа содержит первую и вторую группм из 2 регистров кажда  S причем такто- г-.вьШ вход устройства соединен с первы- Ыи входами разрешени  записи всех ре- гистров всех  чеек анализа, и счетным входом счетчика выход (q-l)-ro разр да которого через q-й формирователь и шульсоБ соединен с вторыми входами разрешени  записи всех регистров  чеек анализа (q+1)-ro типа5 вход на-. . ча.льной установки устройства соединен с вторыми входами разрешени  записи всех регистров всех  чеек анализа первого типа э входом установки в единичное состо ние первого разр да счет чика и входами установки в нулевое состо ние остальных разр дов счетчика, в каждой  чейке анализа S-  группа информационных входов  чейки, ,2,llog nr-ro type, where, 2,: o. , n, is the input of the nth sorted number of the device, which is the fact that, for the sake of simplicity, it contains. pulse formers and a counter, and each i-ro type analysis cell contains the first and second groups of 2 registers each S, and the clock r-ht device input is connected to the first resolution enable entries of all the registers of all analysis cells, and the counting by the input of the counter, the output (ql) -ro of the discharge of which is connected to the second inputs of the recording resolution of all registers of the analysis cells (q + 1) -ro type5 through q-th driver and shulsoB. . The device’s frequency setting is connected to the second resolution inputs of recording all registers of all analysis cells of the first type e by the installation input into the first state of the first digit of the counter and the installation inputs into the zero state of the remaining counter bits, in each analysis cell S is a group of information cell inputs,, 2, ,,,52, соединена с первой группой/ информационных 1входов ( 1)-го регистра 3S/2 С -и группы, группы выходов j-ro регистра первой и второй группы соединены соответственно с первой и второй группами входов j-ro элемента сравнени  и  вл ютс  соответственно j-й и (j- -2 )-й группой информационных вьгходов  чейки,,, 52, is connected to the first group / informational 1 inputs of the (1) th register 3S / 2 C and groups, the output groups of the j-ro register of the first and second groups are connected respectively to the first and second groups of inputs of the j-ro comparison element and are respectively the jth and (j- -2) -th group of information inputs of the cell. анализа, перва  группа выходов первого коммутатора соединена с второйanalysis, the first group of outputs of the first switch is connected to the second (-1(-one группой информационных входов 2 -го регистра первой группы, перва  группа выходов V-ro коммутатора, где Vthe group of information inputs of the 2nd register of the first group, the first group of outputs of the V-ro switch, where V 2,3,..,,22,3, .. ,, 2 соединена с второйconnected to the second группой информационных входов (V-1)- го регистра первой группы, втора  группа выходов j-ro коммутатора соединена с второй группой информационных входов j-ro регистра второй группы .group of information inputs (V-1) - th register of the first group, the second group of outputs j-ro switch connected to the second group of information inputs of the j-ro register of the second group.  г. /city / Щг1$2НSchg1 $ 2N /5,.//five,./ аг.2 ag.2 ((
SU884434503A 1988-04-29 1988-04-29 Device for sorting numbers SU1520509A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884434503A SU1520509A1 (en) 1988-04-29 1988-04-29 Device for sorting numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884434503A SU1520509A1 (en) 1988-04-29 1988-04-29 Device for sorting numbers

Publications (1)

Publication Number Publication Date
SU1520509A1 true SU1520509A1 (en) 1989-11-07

Family

ID=21378815

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884434503A SU1520509A1 (en) 1988-04-29 1988-04-29 Device for sorting numbers

Country Status (1)

Country Link
SU (1) SU1520509A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1123030, кл. G 06 F 7/06, 1983. Авторское свидетельство СССР № 1298737, кл. G 06 F 7/06, 1985. *

Similar Documents

Publication Publication Date Title
SU1520509A1 (en) Device for sorting numbers
SU1030797A1 (en) Device for sorting mn-digit numbers
SU1580563A1 (en) Device for checking equal-weight code
SU1654809A1 (en) Systolic structure for logic function computation
SU1196885A1 (en) Data exchange device
SU1112362A1 (en) Device for sorting numbers
SU1310803A1 (en) Device for storing numbers
SU1406790A1 (en) Variable-countdown frequency divider
SU1427370A1 (en) Signature analyser
SU1179356A1 (en) Information input-output device
SU1288705A1 (en) Device for allocating memory resources in computer complex
SU1397936A2 (en) Device for combination searching
SU1173408A1 (en) Device for determining maximum out of binary numbers
SU1285477A1 (en) Device for counting numbers of ones in n-bit binary code
SU1621033A1 (en) Device for with check for multiplying numbers
SU1231497A1 (en) Device for determining position of number on number axis
SU543933A1 (en) Device for displaying information
SU1624440A1 (en) Device for number array sorting
SU1117631A1 (en) Device for sorting numbers
SU881727A1 (en) Liscrete information collecting device
SU1606973A1 (en) Device for sorting numbers
RU1809441C (en) Multichannel priority device
SU911506A1 (en) Device for ordering data
SU1649533A1 (en) Numbers sorting device
SU1185326A1 (en) Device for sorting numbers