SU780043A1 - Associative storage - Google Patents

Associative storage Download PDF

Info

Publication number
SU780043A1
SU780043A1 SU782694300A SU2694300A SU780043A1 SU 780043 A1 SU780043 A1 SU 780043A1 SU 782694300 A SU782694300 A SU 782694300A SU 2694300 A SU2694300 A SU 2694300A SU 780043 A1 SU780043 A1 SU 780043A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
output
outputs
elements
blocks
Prior art date
Application number
SU782694300A
Other languages
Russian (ru)
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 SU782694300A priority Critical patent/SU780043A1/en
Application granted granted Critical
Publication of SU780043A1 publication Critical patent/SU780043A1/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

(54) АССОЦИАТИВНОЕ ЗАПОМИНАЮЩЕЕ УСТРОЙСТВО(54) ASSOCIATIVE STORAGE DEVICE

Изобретение относитс  к области запоминающих устройств. . Известно ассоциативное запоминающее устройство, содержащее запоминающие регистры, регистр опроса, детекторы и компараторы 1. Недостатком этого- устройства  вл етс  ограниченный набор условий поиска. Наиболее близким техническим решением к данному изобретению  вл етс  ассоциативное запоминающее устройство , содержащее накопитель, входы которого подключены к выходу регистра опроса и первому выходу блока управлени , второй выход которого соединен с входом регистра опроса, разр дные шины . Недостатком этого устройства  вл  етс  большое количество оборудовани и пониженное быстродействие. В устройстве подсчитываютс  разности межд ассоциативными признаками и признако опроса в целом, что и приводит к ука занным недостаткам., Целью изобретени   вл етс  упроще ние устройства и повышение его быст родействи . Поставленна  цель достигаетс  тем что устройство содержит группы элементов И, блоки местного управлени , дополнительные накопители и блоки вывода результата поиска - по числу запоминающих  чеек накопител , причем входы дополнительных накопителей подключены к выходам соответствующих блоков местного управлени , а выходы соответственно к входам блоков вывода результата поиска, одним из входов элементов И и входам первой группы блоков местного управлени , разр дные шины соединени  с выходами элементов И и входами второй группы блоков местного управлени , другие входы элементов И и входы третьей группы блоков местного управлени  подключены к выходам накопител , третий выход блока управлени  соединен с выходами четвёртой группы блоков местного управлени . При этом блок местного управлени  может содержать элементы И и элементы ИЛИ, выходы которых  вл ютс  выходами блока местного управлени , а выходы элементов ИЛИ подключены к выходам элементов И, входы которых  вл ютс  входами блока местного управлени . Блок вывода результата поиска может содержать элемент И и элементThe invention relates to the field of storage devices. . An associative memory device is known that contains memory registers, a poll register, detectors and comparators 1. The disadvantage of this device is the limited set of search conditions. The closest technical solution to this invention is an associative memory device containing a drive, the inputs of which are connected to the output of the polling register and the first output of the control unit, the second output of which is connected to the input of the polling register, bit buses. The disadvantage of this device is a large amount of equipment and reduced speed. The device calculates the differences between associative features and the indication of the survey as a whole, which leads to the indicated disadvantages. The aim of the invention is to simplify the device and increase its speed. The goal is achieved by the fact that the device contains groups of elements I, local control blocks, additional drives and search result output blocks — by the number of storage cells of the accumulator, with the inputs of additional drives connected to the outputs of the corresponding local control blocks, and outputs respectively to the inputs of the search result blocks one of the inputs of the elements And the inputs of the first group of blocks of local control, bit bus connection with the outputs of the elements And the inputs of the second group of blocks the local control, the other inputs of the AND elements and the inputs of the third group of local control blocks are connected to the accumulator outputs, the third output of the control block is connected to the outputs of the fourth group of local control blocks. In this case, the local control unit may contain AND elements and OR elements, the outputs of which are the outputs of the local control unit, and the outputs of the OR elements are connected to the outputs of the AND elements, the inputs of which are the inputs of the local control unit. The search result display block can contain an AND element and an element

ИЛИ, причем первый вход элемента И и входы элементаИЛИ  вл ютс  входами блока вывода результата поиска, а выход элемента ИЛИ соединен с вторим входом элемента И, выход которого  вл етс  выходом блока вывода результата поиска.OR, the first input of the AND element and the inputs of the OR element are the inputs of the search result output block, and the output of the OR element is connected to the second input of the AND element whose output is the output of the search result output block.

Пусть задано множество двоичных ассоциативных признаковх- J., гдеLet given a set of binary associative signs-J., where

,,2-- -.v, И J.,, 2-- -.v, and J.

И признак опроса X и требуетс  найти некоторый признак такой, что VE-1,nUX)t)л ().)т.e. ближайший к признаку опроса. Примем,i что старшие разр ды - первые и номера разр дов возрастают в пор дке убывани  их веса.And the sign of the poll X and it is required to find some sign such that VE-1, nUX) t) l ().) I. closest to the poll sign. Let us assume that the highest bits are the first and the bit numbers increase in order of decreasing their weight.

.Введем величину Ю (-j) - (j )-Y (j ), где ...,х...-,-,. We introduce the value of Yu (-j) - (j) -Y (j), where ..., x ...-, -,

J-- величину i)4|OiCo)) ecлиD,(p,Dp( ( о - в противном случае . :.-:-.- -/ . J-- i) 4 | OiCo)) ecliD, (p, Dp ((o - otherwise.: .-: -.- - /.

Можно показать, что при ассоциативном поиске невыполнение определенных ограничений на величины D (j) и tj/ f завис щих от конкретного услови  поиска, на любом его шаге, влечет исключение i-го ассоциативного признака из числа признаков, которые могут удовлетвор ть данному признаку опроса. It can be shown that in an associative search, the failure to fulfill certain restrictions on the values of D (j) and tj / f, depending on a particular search condition, at any step of the search, excludes the i-th associative feature from the list of features that can satisfy a given query character. .

Напротив, признаки, не нарушившие ограничений по D ( и di,e(j) ни на каком шаге, а также ограничеНИИ по ) (VM) (после m шагов) удовлетвор ютданному признаку опроса по данному условию.On the contrary, features that do not violate the restrictions on D (and di, e (j) at any step, as well as restrictions on) (VM) (after m steps) satisfy the given indication of a survey on this condition.

Из данного определени  ближайшего следует (х - - ближайший кУ) .l(cli,e(.v«)50)(vv,)o. ({) Тогда справедливо: vv.(i)o(T)eCi)o-(d,From this definition of the closest one follows (x - - the closest kU) .l (cli, e (.v «) 50) (vv,) o. ({) Then it is true: vv. (I) o (T) eCi) o- (d,

vt(DH(jHO)ACDg(j)0)(j)0)vvt (DH (jHO) ACDg (j) 0) (j) 0) v

()()gtj)-0)-((3)0)v {2) (d,j(.j)i2)v(D, (b1)--0)(a,-(n)o)l-: (vi€lЬX . . где В - множество признаков, не удовлетвор ющих данному признаку , опроса по условию ближайший, ВсХ.() () gtj) -0) - ((3) 0) v (2) (d, j (.j) i2) v (D, (b1) - 0) (a, - (n) o) l-: (vi € lbx., where B is the set of signs that do not satisfy the given attribute, the survey according to the condition nearest, BC.

Из (2) следует, что Дл  поиска ближайшего достаточно на каждом шаге производить:From (2) it follows that it is enough to search for the nearest one at each step:

1)вьщеление ассоциативных признаков больших и меньших признаков опро са; .1) the allocation of the associative features of the larger and smaller features of the survey; .

2)поиск наименьшего среди больших и наибольшего среди меньших (остальные , кроме равных, блокируютс , т.е. исключаютс  из дальнейшего рассмотрени );2) the search for the smallest among the largest and the greatest among the smaller (the rest, except equal, are blocked, i.e. excluded from further consideration);

3)фиксацию двух значений Pi(j/| | D. (.j)j -( и |D(j) i 3) fixing two values of Pi (j / | | D. (. J) j - (and | D (j) i

4)фиксацию двух значений a(,-fj/ и a(j)-1.4) fixing of two values a (, - fj / and a (j) -1.

где )-м,сшс dijE. t Р , признаки с d(-j) % 2 б7Гокируютс .where) m, us dige. t Р, signs with d (-j)% 2 b7 are localized.

Среди незаблокированных после m шагов поиска могут быть три разных признака: Хр - равны, Xj- - ближайший больший и )(f - ближайший меньший (или по нескольку совпадающих ) . В свою очередь J сГ л могут быть либо равноотсто щими -от признака опроса (тогда (yM))-0), либо оди11 из них например ближе на единицу, т .е. 6 J-()-I, .Among the unblocked after m search steps there can be three different signs: Xp is equal, Xj is the closest and u) (f is the closest smaller (or several are the same). In turn, J Г L can be either equally spaced from the poll sign (then (yM)) - 0), or one of them, for example, closer to one, i .e. 6 J - () - I,.

Таким образом, ближайшим после всех m шагов  вл етс  незаблокированный признак (или признаки), у которого ) 0 и d (rt)-0Thus, the unlocked feature (or features), which has 0 and d (rt) -0, is the closest after all m steps.

На фиг. 1 изображена структурна  схема устройства; на фиг. 2 - пред-, почтительный вариант выполнени  части устройства, относ щейс  к одному признаку.FIG. 1 shows a block diagram of the device; in fig. 2 is a prior, respectful embodiment of a part of the device relating to one feature.

Устройство содержит (с;м.фиг.1) накопитель 1, в состав которого вход т п запоминающих регистров 2, регистр 3 опроса, разр дные шины 4, группы 5 элеменЧов И, п блоков б местного управлени ,п дополнительных накопителей 7, п блоков 8 вывода результата, блок 9 управлени The device contains (s; m. Fig.1) drive 1, which includes n memory registers 2, poll register 3, bit buses 4, groups of I elements, n local control blocks b, n additional drives 7, n blocks 8 output results, block 9 control

8состав накопител  1 входит также И схем 10 разр дного сравнени . Входы накопителей 7 подключены к выходам соответствующих блоков 6, а выходы - соответственно к входам блоков 8, одним из входов элементов И группы 5 и входам первой группы блоков 6, разр дные шины 4 соединены с выходами элементов И группы 5 и входами второй группы блоков б, другие входы элементов И группы 5 и входы третьей группы блоков б подключены к выходам накопител  1. Придем , второй и третий выходы блокаThe composition of accumulator 1 also includes AND 10 bit comparison circuits. The inputs of the accumulators 7 are connected to the outputs of the corresponding blocks 6, and the outputs are respectively to the inputs of blocks 8, one of the inputs of elements I of group 5 and the inputs of the first group of blocks 6, the bit buses 4 are connected to the outputs of elements I of group 5 and the inputs of the second group of blocks b , other inputs of elements And group 5 and the inputs of the third group of blocks b are connected to the outputs of drive 1. Let's arrive, the second and third outputs of the block

9подключены соответственно к входам накопител  1, регистра 3 опроса и выходам четвертой группы блоков б. Блок б (см.фиг.2) имеет шину 11 начальной установки и шину 12 синхронизации . Блок 7 содержит триггеры 1317 . Кажда  группа 5 элементов И со-., держит отдельные элементы И 18. Бло б содержит элементы И 19 и 20 (элементы И 20 выполнены с одним инверсным входом), элементы ИЛИ 21, выходы которых Явл ютс  выходами блока б Выходы элементов ИЛИ 21 подключены9connected respectively to the inputs of accumulator 1, register 3 polling and outputs of the fourth group of blocks b. Block b (see Fig.2) has a bus 11 initial installation and bus 12 synchronization. Block 7 contains triggers 1317. Each group of 5 elements AND, contains separate elements AND 18. The block contains elements AND 19 and 20 (elements AND 20 are made with one inverse input), elements OR 21, the outputs of which are outputs of block b The outputs of elements OR 21 are connected

к выходам элементов И19 и 20, входы которых  вл ютс  входами блока б.to the outputs of elements I19 and 20, the inputs of which are the inputs of the block b.

Схема 10 содержит элементы НЕ 22. На входы 23 и 24 блока 10 подаютс  сигналы сЯ| и JU , гдеCircuit 10 contains the elements NOT 22. Signals are given to the inputs 23 and 24 of the block 10 | and ju where

сУ--к,-, ,SU - to, -,,

Блок 8, имеющий выход 25,  вл ющийс  выходом устройства, содержит элемент И 26 и элемент. ИЛИ 27. Первый вход элемента И 26 и входы элементаBlock 8, having an outlet 25, which is an output of the device, comprises an element AND 26 and an element. OR 27. The first input element And 26 and the inputs of the element

ИЛИ 27  вл ютс  входами блока 8, а выход элемента ИЛИ 21 соединен с BTO рым входом элемента И 19, выход которого  вл етс  выходом блока 8. Устройство работает следующим образом,OR 27 are the inputs of block 8, and the output of the element OR 21 is connected to a BTO eye of the input of the element AND 19, the output of which is the output of the block 8. The device operates as follows

В запоминающие регистры 2 накопител  1 занос тс  ассоциативные признаки . Дл  каждого признака результаты сравнени  текущего разр да и соответствующего разр да признака опроса поступают со схемы 10 разр дного сравнени  на входы элементов И групп 5 и блоков 6. Сигналы с их выходов подаютс  соответственно на восемь разр дных шин 4 на входы п ти триггеров 13-17 накопител  1. Состо ни  триггеров 13-17 управл ют элементами И групп 5 и блоками 6. На выходе 25 блока сигнал  вл етс  логической функцией состо ний триггеров 13-17 и означает, что данный признак - ближайший на данном шаге сравнени .In the storage registers 2 accumulator 1, associative features are inserted. For each feature, the results of comparing the current bit and the corresponding bit of the polling feature are received from the bit 10 bit comparison circuit to the inputs of the AND elements of groups 5 and blocks 6. The signals from their outputs are fed to eight bit buses 4 to the inputs of five triggers 13, respectively. 17 of the accumulator 1. The states of the triggers 13-17 control the elements of AND groups 5 and the blocks 6. At the output 25 of the block, the signal is a logical function of the states of the triggers 13-17 and means that this symptom is the closest at this comparison step.

В зависимости от функциональных особенностей накопител  1 на вход схемы 10 разр дного сравнени  могут поступать на каждом шаге либо сигналы Depending on the functional features of accumulator 1, the input of the 10-bit comparison circuit can be received at each step, or signals

-iiV j -iiV j

или часть их, если регистры 2 и 3  вл ютс  сдвиговыми регистрами или используетс  накопитель 1 (и ре-. гистр 3) с поразр днь;1м считыванием, либо сигналыor part of them, if registers 2 and 3 are shift registers or drive 1 (and register. 3) is used with a bit; 1m read, or signals

OV, (как показано на фиг. 2)или сигналыOV, (as shown in FIG. 2) or signals

,1,0.1.0

(тогда блок 10 отсутствует), если за:поминающие регистры 2 обладают свойством граничного ассоциативного .поиска.(then block 10 is absent) if for: remembering registers 2 have the property of boundary associative. search.

Поиск ближайшего осуществл етс  за m тактов, т.е. его врем  линейно зависит от разр дности признаков, в отличие от степеней зависимости в известном устройстве 2 Количество единиц-оборудовани  (не .счита  накопител  1) не зависит от m, в известном устройстве 2 имеетс  логарифмическа  (при достаточно больших т) зависимость. Таким образом, описанное устройство проще и обладае повышеннЕом быстродействием. The nearest search is carried out in m cycles, i.e. its time linearly depends on the sign size, in contrast to the degrees of dependence in the known device 2 The number of equipment units (not counting accumulator 1) does not depend on m, in the known device 2 there is a logarithmic (for sufficiently large m) dependence. Thus, the described device is simpler and has improved speed.

Claims (3)

Формула изобретени  i.Ассоциативное запоминающее устройство , содержащее накопитель, вхбды которого подключены к выходу регистра опроса и первому выходу блок управлени , второй выход которого соединен с входом регистра опроса, разр дные шины, отличающеес   тем, что, с целью упрощени  устройства и повышени  его быстродействи , оно содержит группы элементов И, блоки г естного управлени , дополнительные накопители и блоки вывода результата поиска - по числу запоминающих  чеек накопител , причем входы дополнительнШс на:копигёЛей подключены к выходам соответствукЛдих блоков местного управлени ,а выходы соответственно к входам блоков вывода результата поиска,одним из входов элементов И и входам первой группы блоков местного управлени , разр дные шины соединены с выходами элементов И и входами второй группы блоков местного управлени , другие входы элементов И и входы третьей группы блоков местного управлени  подключены к выходам накопител , третий выход блока управлени  соединен с выходами четвертой группы блоков местного управлени ..Claim 1. An associative memory device comprising a drive, the inputs of which are connected to the output of the polling register and the first output of the control unit, the second output of which is connected to the input of the polling register, bit buses, in order to simplify the device and improve its speed It contains the groups of elements I, blocks of the public control, additional drives and blocks of the output of the search result — according to the number of storage cells of the drive, and the inputs of the additional storage unit are: to the outputs of the corresponding local control blocks, and the outputs respectively to the inputs of the search result output blocks, one of the inputs of the And elements and the inputs of the first group of local control blocks, the bit buses are connected to the outputs of the And elements and the inputs of the second group of local control blocks, the other inputs of the elements Both the inputs of the third group of local control units are connected to the accumulator outputs, the third output of the control unit is connected to the outputs of the fourth group of local control units. 2.Устройство по П.1, о т л ич а ю щ е е с   тем, что блок местного управлени  содержит элементы И и элементы ИЛИ, выходы которых  вл ютс  выходами блока местного управлени , а входы элементов ИЛИ подключены к выходам элементов И, входы которых  вл ютс  входами блок местного управлени .2. The device according to Claim 1, which is localized so that the local control block contains AND elements and OR, whose outputs are the outputs of the local control block, and the inputs of the OR elements are connected to the outputs of the AND elements, the inputs of which are the inputs of the local control unit. 3.Устройство по пп. 1 и 2, отличающеес  тем, что блок вывода результата поиска содержит элемент И и элемент ИЛИ; причем первый вход элемента И и входы элемента ИЛИ  вл ютс  входами блока вывода результата поиска, а выход Элемента ИЛИ соединен с вторым входом элемента И, выход которого  вл етс  выходом блока вывода результата поиска.3. The device according to paragraphs. 1 and 2, characterized in that the block for outputting the search result contains an AND element and an OR element; the first input of the AND element and the inputs of the OR element are the inputs of the search result output block, and the output of the OR Element is connected to the second input of the AND element whose output is the output of the search result output block. Источники информации, прин тые.во внимание при экспертизеSources of information accepted. Attention in the examination 1.Авторское свидетельство СССР № 277857, кл. G 11 С 15/00, 1968. 2.Авторское свидетельство СССР № 332502, кл. G 11 С 15/00, 1970 (прототип).1. USSR author's certificate No. 277857, cl. G 11 C 15/00, 1968. 2. USSR author's certificate No. 332502, cl. G 11 C 15/00, 1970 (prototype). 8004380043
SU782694300A 1978-12-06 1978-12-06 Associative storage SU780043A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU782694300A SU780043A1 (en) 1978-12-06 1978-12-06 Associative storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU782694300A SU780043A1 (en) 1978-12-06 1978-12-06 Associative storage

Publications (1)

Publication Number Publication Date
SU780043A1 true SU780043A1 (en) 1980-11-15

Family

ID=20797623

Family Applications (1)

Application Number Title Priority Date Filing Date
SU782694300A SU780043A1 (en) 1978-12-06 1978-12-06 Associative storage

Country Status (1)

Country Link
SU (1) SU780043A1 (en)

Similar Documents

Publication Publication Date Title
US4270181A (en) Data processing system having a high speed pipeline processing architecture
EP0079133A2 (en) Virtual memory protected system
US6098147A (en) Longest coincidence data detection using associative memory units having interleaved data
KR910014951A (en) Memory tester
US5068822A (en) Single-stage extensible sorter for sorting data and efficiently reading out sorted data, incorporating single-bit devices
US4592013A (en) Method and device for addressing a memory
EP0139094B1 (en) Raster scan digital display system with a multiple memory device comparator facility
SU780043A1 (en) Associative storage
KR860000594A (en) Tag Control Circuit for Buffer Memory
JPH07177005A (en) Bit pattern detector circuit and bit pattern detecting method
KR970029033A (en) Processor vector data controller
US4488260A (en) Associative access-memory
JPH05210601A (en) Method and device for transmitting signal
EP0564137B1 (en) Parallelized borrow look ahead subtractor
Bateman et al. Positive integers expressible as a sum of three squares in essentially only one way
Liu Determination of the final state of an automaton whose initial state is unknown
SU1070555A1 (en) Device for sequential selecting of ones from binary code
JPS6336017B2 (en)
SU1739376A1 (en) Apparatus for realizing logical functions
SU1127008A1 (en) Associative storage
SU1644126A1 (en) Boolean functions system calculator
SU1345201A1 (en) Device for forming computer address in computing network
SU1120411A1 (en) Associative storage
SU1674145A1 (en) Device to process imperfect data
SU1049982A1 (en) Storage