SU980159A1 - Device for selection of free zones in storage - Google Patents
Device for selection of free zones in storage Download PDFInfo
- Publication number
- SU980159A1 SU980159A1 SU813309781A SU3309781A SU980159A1 SU 980159 A1 SU980159 A1 SU 980159A1 SU 813309781 A SU813309781 A SU 813309781A SU 3309781 A SU3309781 A SU 3309781A SU 980159 A1 SU980159 A1 SU 980159A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- inputs
- input
- block
- signal
- Prior art date
Links
Description
Изобретение относится к запоминающим устройствам и может быть исполь*· зовано для выбора свободных зон в памяти.The invention relates to memory devices and can be used * * to select free zones in memory.
Известно устройство для выбора ин- 5 формации из блоков памяти, которое содержит накопитель, регистры и формирователи управляющих сигналов и позволяет выбирать информацию из накопителя путем преобразования кода, поступающего во входной регистр в адрес ячейки, из которого считывается информация [Ц. Однако данное устройство не позволяет выбирать адреса свободных зон памяти. 15A device is known for selecting information from memory blocks, which contains a drive, registers and drivers of control signals and allows you to select information from the drive by converting the code entering the input register into the address of the cell from which the information is read [C. However, this device does not allow you to select the addresses of free zones of memory. fifteen
Наиболее близким к предлагаемому является устройство для распределения памяти, содержащее регистр обмена, два дешифратора, шифратор, счетчик, регистры, элементы И, элементы ИЛИ 20 и позволяющее производить .поиск свободных зон и занесение кодов их адресов в соответствующие регистры и считывание с этих регистров по сигналу ’’Выдать’’ из процессора (2). 25Closest to the proposed one is a memory allocation device containing an exchange register, two decoders, an encoder, a counter, registers, AND elements, OR elements 20 and allowing to search for free zones and enter their address codes in the corresponding registers and read from these registers by signal `` Issue '' from the processor (2). 25
Недостатком известного устройства является низкое быстродействие, так как поиск свободной зоны осуществляется путем анализа слова, считывав/мого из памяти по заданному адресу, поступающему с выхода счетчика адресов , и переход на считывание слова по следующему адресу возможен только / после окончания анализа слова по предыдущему адресу и записи кода свободной зоны во вспомогательные регистры путем добавления +1 в счетчик адресов. Кроме того, невозможен одновременный поиск и выдача кодов 'свободных зон в процессор.A disadvantage of the known device is the low speed, since the search for a free zone is carried out by analyzing a word, reading it from the memory at the specified address coming from the output of the address counter, and switching to reading the word at the next address is possible only / after the analysis of the word is completed at the previous address and writing the free zone code to the auxiliary registers by adding +1 to the address counter. In addition, it is impossible to simultaneously search for and issue codes of 'free zones in the processor.
Цель изобретения - повышение быстродействия устройства.The purpose of the invention is to increase the speed of the device.
Поставленная цель достигается тем, что в устройство для выбора свободных зон в памяти, содержащее первый, дешифраторг счетчик, выходы которого соединены с входами второго дешифратора, шифратор, накопитель, элемент ИЛИ и блок управления, введены блоки очередности выбора, причем первый 'управляющий вход первого блока очередности выбора подключен к первому выходу блока управления, выходы которого со второго по шестой соединены соответственно со вторым, третьим и четвертым управляющими входами блоков очередности выбора и одними из входов накопителя, другие входы ^которых подключены к выходам дешифраторов, а выходы соединены с инфор мационными. входами блоков очередности выбора/ информационные выходы которых соединены с входами элемента ИЛИ и одними из входов шифратора,» другие входы которого подключены к выходам второго дешифратора, первый управляющий *вход каждого блока очередности выбора, кроме первого, ^соединен с управляющим выходом.предыдущего блока очередности выбора, управляющий выход последнего блока очередности выбора подключен к входу счетчика и первому входу блока уп- .This goal is achieved by the fact that in the device for selecting free zones in memory, containing the first decryptor g counter, the outputs of which are connected to the inputs of the second decryptor, an encoder, a drive, an OR element and a control unit, the blocks of the order of choice are introduced, and the first 'control input the first block of the order of selection is connected to the first output of the control unit, the outputs of which from the second to the sixth are connected respectively to the second, third and fourth control inputs of the blocks of the order of choice and one of the inputs A storage device, the other inputs of which are connected to the outputs of the decoders, and the outputs are connected to the information ones. the inputs of the selection sequence blocks / information outputs of which are connected to the inputs of the OR element and one of the inputs of the encoder, ”the other inputs of which are connected to the outputs of the second decoder, the first control * input of each block of the selection sequence, except the first, ^ is connected to the control output of the previous priority block selection, the control output of the last block of the order of choice is connected to the input of the counter and the first input of the unit UP.
равления, второй вход которого соединен с выходом элемента ИЛИ.equation, the second input of which is connected to the output of the OR element.
Каждый блок очередности выбора со- . держит элементы И, элемент НЕ и триг- 3 геры, причем выход первого элемента И подключен к входу элемента НЕ, выход которого соединен с одним:из входов второго элемента И, а вход - с ' одним из входов третьего элемента И, 20 выход которого подключен к одному из входов первого триггера, выход последнего соединен с одним из входов четвертого элемента И, выход которого подключен к одному из входов второго 25 триггера, выход последнего соединен с одним из входов первого элемента И, другие входы второго и третьего элементов И объединены и являются одним из входов блока, другими входами ко- 30 торого являются другие входы первого и четвертого элементов И и триггеров, а выходами блока являются выходы второго и четвертого элементов И.Each priority block selection is co. holds the AND elements, the NOT element and triggers 3 , the output of the first AND element being connected to the input of the NOT element, the output of which is connected to one : from the inputs of the second AND element, and the input to one of the inputs of the third AND element, 20 whose output connected to one of the inputs of the first trigger, the output of the last connected to one of the inputs of the fourth element And, the output of which is connected to one of the inputs of the second 25 trigger, the output of the last connected to one of the inputs of the first element And, the other inputs of the second and third elements And are combined and are alone from block inputs, the other inputs 30 Ko torogo are other inputs of first and fourth AND gates and flip-flops and the outputs are the outputs of the second and fourth elements I.
На фиг. 1 изображена функциональ- 35 ная схема устройства для выбора свободных зон в памяти; на фиг. 2 функциональная схема блока очередности выбора; на фиг. 3 - функциональная схема накопителя; на фиг. 4 - дд временные диаграммы, поясняющие работу устройства.In FIG. 1 shows a functional 35 diagram of a device for selecting free zones in memory; in FIG. 2 functional block diagram of the order of choice; in FIG. 3 - functional diagram of the drive; in FIG. 4 - dd timing diagrams explaining the operation of the device.
Устройство (фиг. 1) для выбора свободных зон в блоке 1 памяти содержит первый дешифратор 2 адреса, накопитель 3, блоки .4 очередности выбора, блок 5 управления, шифратор 6, элемент ИЛИ 7, счетчик 8 и второй дешифратор 9. Шифратор б имеет выход 10.The device (Fig. 1) for selecting free zones in the memory unit 1 contains a first address decoder 2, a drive 3, selection order blocks .4, a control unit 5, an encoder 6, an OR element 7, a counter 8 and a second decoder 9. The encoder 6 has exit 10.
Каждый блок 4 очередности выбора 3υ включает (фиг. 2) первый 11, второй 12, третий 13 и четвертый 14 элементы И, элемент НЕ 15 и первый 16 и второй 17 триггеры.Each block 4 of the order of choice 3υ includes (Fig. 2) the first 11, second 12, third 13 and fourth 14 elements AND, element NOT 15 and the first 16 and second 17 triggers.
В блок 5 управления введены (фиг. 1.. 55 многотактный генератор 18 импульсов, третий 19, четвертый 20 и пятый 21 триггеры, регистр 22 команд, пятый 23, шестой 24, седьмой 25, восьмой 26 и девятый 27 элементы И и элементык60 ИЛИ 28-30.The control unit 5 is introduced (Fig. 1 .. 55 multi-cycle generator 18 pulses, third 19, fourth 20 and fifth 21 triggers, register 22 teams, fifth 23, sixth 24, seventh 25, eighth 26 and ninth 27 elements And and elements to 60 OR 28-30.
Накопитель 3 содержит (фиг. 3) первую группу элементов И 31, регистры 32, элемент НЕ 33, вторую группу элементов И 34 и группу элементов ИЛИ 35. ¢5The drive 3 contains (Fig. 3) a first group of AND elements 31, registers 32, an element NOT 33, a second group of AND elements 34 and a group of OR elements 35. ¢ 5
Предлагаемое устройство работает следующим образом.The proposed device operates as follows.
Накопитель 3 выполнен таким образом, что каждому адресу 1-2* в блоке памяти, по которому записывается информация, соответствует один бит памяти в накопителе 3, т.е; код занятого адреса записывается в единично-позиционном коде. · .The drive 3 is designed in such a way that each address 1-2 * in the memory block to which the information is recorded corresponds to one bit of memory in drive 3, i.e.; the busy address code is written in the unit position code. ·.
При записи информации в блок 1 памяти по команде 11 Запись1’ из процессора (не показан) через элемент ИЛИ 30 одновременно осуществляется запись.единицы с выхода дешифратора в соответствующий разряд соответствующего регистра 32 в накопителеWhen recording information in the memory unit 1 by command 11, Recording 1 'from the processor (not shown) through the OR element 30 simultaneously records. The units from the decoder output to the corresponding bit of the corresponding register 32 in the drive
3. Разрядность одного регистра 32 соответствует числу блоков 4‘. При наличии из процессора команды 1’Признак’ 1 (устройство находится в режиме поиска свободной зоны) на вход накопителя 3 поступает постоянный сигнал с регистра 22, по которому на выходы накопителя 3 подключаются инверсные выходы регистров 32.3. The length of one register 32 corresponds to the number of blocks 4 '. If there is a command 1 'Sign' 1 from the processor (the device is in the free zone search mode), a constant signal from register 22 is supplied to the input of drive 3, through which the inverse outputs of the registers 32 are connected to the outputs of drive 3.
При поступлении команды 1’Выдать’’ из процессора с ’’Признаком’’ выбора свободной зоны обе команды записываются в регистр 22 и одновременно сигнал ’’Выдать’’ устанавливает через элемент ИЛИ 29 в ’’1’’ триггер 20, сигнал с выхода которого поступает на один из входов элемента И 24. При поступлении на другой вход элемента И 24 тактового импульса Т1 (фиг. 4) с его выхода формируется сигнал ’'Пуск’’ на вход первого блока 4 . Одновременно сигнал ’’Пуск’’ устанавливает в ’’1’’ триггер 21. По тактовому импульсу Т2 сигнал с выхода триггера 21 устанавливает в 1’О’’ триггер 20, а по тактовому импульсу ТЗ устанавливается в ’’0’’ триггер 21.Upon receipt of command 1 “Issue” from the processor with “Sign” of free zone selection, both commands are written to register 22 and at the same time the signal “Issue” sets trigger 20 through OR element 29 to “1”, the output signal which arrives at one of the inputs of the And 24. element. When the I And 24 element receives a clock pulse T1 (Fig. 4) from its output, a Start signal is generated at the input of the first block 4. At the same time, the “Start” signal sets trigger 21 to “1”. According to the clock pulse T2, the signal from the output of trigger 21 sets the trigger 20 to 1 “O”, and according to the clock pulse T3 it sets to “0” trigger 21 .
Сигнал ’’Пуск’’ с выхода блока 5 поступает на вход первого блока 4 и опрашивает состояние первого выхода первого регистра 32 накопителя 3. При наличии ’Ί’’ на этом выходе, что соответствует свободному адресу, сигнал с выхода элемента И 11 по сигналу ’’Пуск’’ устанавливает через элемент И 13 в 1 триггера 16 и одновременно запрещает через элемент НЕ 15 прохождение пускового импульса через элемент И 12 на вход второго блока 4.The start signal from the output of block 5 goes to the input of the first block 4 and polls the state of the first output of the first register 32 of drive 3. If there is 'Ί' at this output, which corresponds to a free address, the signal from the output of element 11 is given by the signal '' Start '' installs through trigger And 13 to 1 of trigger 16 and simultaneously prohibits passage of trigger pulse through And And 15 through And And 12 to the input of the second block 4.
По тактовому импульсу Т2 сигнал с выхода триггера 16 через элемент И 14 поступает на вход шифратора 6 и на вход элемента ИЛИ 7. На Выходе 10 шифратора 6 получают адрес свободной зоны памяти, который поступает в процессор. Одновременно устанавливается в ' ’ 1 ’ ’ триггер 17, нулевой потенциал с инверсного выхода которого блокирует вход элемента И 11, запрещая прохождение сигналаAccording to the clock pulse T2, the signal from the output of the trigger 16 through the AND element 14 is fed to the input of the encoder 6 and to the input of the OR element 7. At the Output 10 of the encoder 6, the address of the free memory zone is received, which is supplied to the processor. At the same time, trigger 17 is set to '’1’ ’, the zero potential from the inverse output of which blocks the input of the And 11 element, inhibiting the passage of the signal
I с входа элемента И 11 на вход элемента И 13. Затем по тактовому импульсу ТЗ, поступающему с блока 5 управления, устанавливается в ''О'* триггер 16. По сигналу с выхода элемента ИЛИ 7 формируется донесение в процессор ''Исполнено'' о наличии на 'выходах устройства адреса свободной зоны. Одновременно, если совместно с сигналом ''Выдать 1' процессор выдал и сигнал ''Запись'', по сигналу ''Исполнено’' формируется через эле менты И 26 и ИЛИ 30 сигнал ''Запись') по которому при наличии в процессоре информации для записи может сразу же быть записана информация по выбран.ному адресу.I from the input of the element And 11 to the input of the element And 13. Then, according to the clock pulse TK coming from the control unit 5, it is set to `` О '* trigger 16. At the signal from the output of the element OR 7, a message is generated to the processor''Executed'' about the presence of a free zone address on the device outputs. At the same time, if, together with the signal `` Issue 1 '', the processor also issued a signal `` Record '', according to the signal `` Completed '', the signal `` Record '' is generated through the elements And 26 and OR 30) according to which, if the processor has information information for recording can be immediately recorded to the selected address.
Сигнал с выхода элемента ИЛИ 7 устанавливает через элемент ИЛИ 29 в ’’ 1'* триггер 20, с выхода которого через элемент И 24 по тактовому импульсу 11 формируется повторный сигнал ’’Пуск'* в блоки 4. Так как на вход элемента И 11 поступает нулевой сигнал с инверсного выхода триггера 17, сигнал с выхода элемента И 11 запрещает прохождение второго импульса ’’Пуск'' через элемент И 13 и разрешает через элемент НЕ 15 прохождение пускового импульса на пусковой вход второго блока 4 через элемент И 12. Сигнал ''Пуск'' проходит на вход элемента И 11 второго блока 4 и опрашивает состояние второго входа блока 4. При наличии на этом входе ’' 1' ' формируется адрес второй свободной зоны. При наличии на втором входе ''О*'(т.е. адрес занят) пусковой сигнал через элемент И 12 второго блока 4 поступает на пусковой вход третьего блока 4 и опрашивает состояние третьего входа, и, если на его входе присутствует ' ' 0 ' ’, пусковой импульс сразу’· же поступает на пусковой вход четвертого блока 4, т.е. время опроса занятых адресов обусловлен только задержкой на элементах И 12 блоков 4 и только при опросе адреса свободной, зоны происходит задержка на время выдачи адреса свободной зоны на выходные шины адреса и формирования сигнала ''Исполнено'’.The signal from the output of the OR element 7 sets, via the OR element 29, into '' 1 '* trigger 20, from the output of which through the And 24 element, a repeated' Start '* signal is generated to the blocks 4 by the clock pulse 11. Since the input of the And 11 element receives a zero signal from the inverted output of the trigger 17, the signal from the output of the And 11 element prevents the passage of the second Start pulse through the And 13 element and allows the passage of the start pulse to the start input of the second block 4 through the And 12 element through the HE 15 element 'Start' 'passes to the input of the element And 11 of the second block 4 and about it asks for the state of the second input of block 4. If there is ’'1' 'at this input, the address of the second free zone is formed. If there is a `` О * '' at the second input (i.e. the address is busy), the trigger signal through element And 12 of the second block 4 is fed to the trigger input of the third block 4 and polls the state of the third input, and if there is '' 0 on its input '', the starting pulse immediately '' is also fed to the starting input of the fourth block 4, i.e. the time of polling busy addresses is determined only by a delay on AND elements 12 of blocks 4 and only when polling an address of a free zone, there is a delay for the time the address of the free zone is sent to the output address buses and the signal is 'Completed'.
Пусковой сигнал с выхода последнего блока 4 поступает на входы счетчика 8 и блок*. 5 управления. Счетчик 8 переходит в следующее состояние, сигналы кода состояния с его выходов поступают на входы дешифратора 9, на выходе которого формируется управляющий сигнал, который поступает на вход, накопителя 3 и подключает выходы второго регистра к входам блоков 4.The start signal from the output of the last block 4 is supplied to the inputs of the counter 8 and block *. 5 controls. The counter 8 goes into the next state, the status code signals from its outputs go to the inputs of the decoder 9, the output of which forms a control signal that goes to the input of the drive 3 and connects the outputs of the second register to the inputs of blocks 4.
Одновременно сигнал с выхода последнего блока 4 поступает на вход блока 5 управления и устанавливает , в '4'· триггер 19, с выхода которого по тактовому импульсу Т2 через 65 элементы И 23 и ИЛИ 28 формируется сигнал *'Сброс'' в блоки 4, по которому все триггеры 17 всех блоков 4 устанавливаются в ' Ό, сигнал с выхода элемента И 23 поступает также 5 на вход элемента ИЛИ 29 и устанавливает в ’Ί'1 триггер 20, с выхода которого через элемент И 24 по тактовому импульсу 11 формируется сигнал 1'Пуск* ’ в блоки 4, по которому на10 чинается опрос второго регистра накопителя 3. Таким образом, осуществляется опрос всех регистров накопителя 3. Сигнал переполнения счетчика 8 поступает на выход ‘'Стоп'' уст15 ройства, служит для прекращения поиска свободной зоны памяти и одновременно является донесением об от. сутствии свободных зон в блоке 1 памяти.At the same time, the signal from the output of the last unit 4 is fed to the input of the control unit 5 and sets trigger 19 to '4', from the output of which a signal * 'Reset' is generated in blocks 4 through 65 T elements 23 and OR 28 according to which all the triggers 17 of all blocks 4 are set to 'Ό, the signal from the output of the And 23 element also goes 5 to the input of the OR element 29 and sets the trigger 20 to' Ί ' 1 , from which the signal is generated through the And 24 element by the clock pulse 11 1 'Start *' in blocks 4, according to which the poll of the second register of drive 3 begins. T Thus, all the registers of drive 3 are interrogated. The overflow signal of counter 8 is sent to the output `` Stop '' of the device, serves to stop the search for a free memory zone and at the same time is a report on. no free zones in memory unit 1.
2Q По сигналу ''Выдать*' без ''Признака '' выбора свободной эоны с процессора, на входе накопителя 3 отсутствует постоянный сигнал. При отсутствии этого сигнала осуществляется 25 через элемент НЕ 33 подключение к входам блоков 4 прямых, а не инверсных выходов регистров 32 накопителя 3, что позволяет осуществлять опера. тивный поиск занятых, зон блока 1 памяти с выводоминформации по сигна3 лу ''Считывание'', формируемому блоком 5 управления при нахождении каж дого адреса занятой зоны, и одновременной выдачей адресов занятых зон на выходы устройства.2Q By the signal '' Issue * 'without''Sign''of the choice of free aeons from the processor, there is no constant signal at the input of drive 3. In the absence of this signal, 25 is connected through the element NOT 33 to the inputs of the blocks 4 of the direct rather than the inverse outputs of the registers 32 of the drive 3, which allows the opera to be performed. An active search for occupied, zones of memory block 1 from the output of information by signal 3 “Read”, generated by the control unit 5 when each address of the occupied zone is found, and simultaneously the addresses of the occupied zones are output to the device outputs.
Конструктивные особенности предлагаемого технического решения позволяют повысить быстродействие устройства путем введения блоков очередности выбора, позволяющих производить 40 автоматический пропуск адресов занятых зон памяти,а также вследствие того, что время выборки свободных зон памяти определяется только количеством свободных адресов памяти.Design features of the proposed technical solution can improve the speed of the device by introducing blocks of the order of choice, allowing 40 automatic skipping addresses of occupied memory zones, and also due to the fact that the sampling time of free memory zones is determined only by the number of free memory addresses.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813309781A SU980159A1 (en) | 1981-04-14 | 1981-04-14 | Device for selection of free zones in storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813309781A SU980159A1 (en) | 1981-04-14 | 1981-04-14 | Device for selection of free zones in storage |
Publications (1)
Publication Number | Publication Date |
---|---|
SU980159A1 true SU980159A1 (en) | 1982-12-07 |
Family
ID=20966280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU813309781A SU980159A1 (en) | 1981-04-14 | 1981-04-14 | Device for selection of free zones in storage |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU980159A1 (en) |
-
1981
- 1981-04-14 SU SU813309781A patent/SU980159A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU980159A1 (en) | Device for selection of free zones in storage | |
SU691925A1 (en) | Memory device | |
SU1429104A1 (en) | Information output device | |
SU1256196A1 (en) | Multichannel pulse counter | |
SU515154A1 (en) | Buffer storage device | |
SU959164A2 (en) | Buffer storage | |
SU1282107A1 (en) | Information input device | |
SU1764055A1 (en) | Device for information testing | |
SU1282141A1 (en) | Buffer storage | |
SU1234844A1 (en) | Multichannel device for controlling information input in microcomputer | |
SU1137472A1 (en) | Debugging device | |
SU868760A1 (en) | Dynamic priority device | |
SU1525889A1 (en) | Device for monitoring pulse sequence | |
SU1305771A1 (en) | Buffer memory driver | |
SU520703A1 (en) | Device for converting parallel code to serial | |
SU1348841A1 (en) | Device for forming interruption signals in program debugging | |
SU1211738A1 (en) | Device for distributing internal memory | |
SU489107A1 (en) | Program Debugging Device for Permanent Storage | |
SU834704A1 (en) | Storage control device | |
SU983757A1 (en) | Storage testing device | |
SU1596390A1 (en) | Buffer memory device | |
SU1037236A1 (en) | Main memory to processor interfacing device | |
SU1361566A1 (en) | On-line storage addressing device | |
SU1401465A1 (en) | Memory control device | |
SU1103216A1 (en) | Data input-output device |