SU1751769A1 - Conveyer buffer storage for systems of image processing - Google Patents

Conveyer buffer storage for systems of image processing Download PDF

Info

Publication number
SU1751769A1
SU1751769A1 SU894745732A SU4745732A SU1751769A1 SU 1751769 A1 SU1751769 A1 SU 1751769A1 SU 894745732 A SU894745732 A SU 894745732A SU 4745732 A SU4745732 A SU 4745732A SU 1751769 A1 SU1751769 A1 SU 1751769A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
address
input
block
data
Prior art date
Application number
SU894745732A
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 SU894745732A priority Critical patent/SU1751769A1/en
Application granted granted Critical
Publication of SU1751769A1 publication Critical patent/SU1751769A1/en

Links

Landscapes

  • Communication Control (AREA)

Description

ных устройства, выход коммутатора адреса соединен с адресным входом блока пам ти данных, адресный вход и вход данных блока пам ти адреса соединен с разр да ми первой и второй координат входа полного адреса фрагмента устройства, выход блока пам ти данных  вл етс  информационным выходом устройства, выход блока преобразовани  адреса  вл етс  адресным выходом устройства, введены блок пам ти очереди выходного адреса, блок пам ти очереди входного адреса, блок пам ти очереди данных, блок пам ти адреса фрагментов данных, причем первый информационный вход блока пам ти адресов фрагментов данных и разр ды первого управл ющего входа блока пам ти очереди выходного адреса соединены с младшими разр дами первой и второй координат входа полного адреса фрагмента устройства, второй выход блока преобразовани  адреса соединен с информационным входом блока пам ти очереди входного адреса, выход которого соединен с первым информационным входом коммутатора адреса, первый управл ющий вход блока пам ти очереди выходного адреса соединен с входом разрешени  записи блока пам ти адреса, первый и второй информационные выходы которого соединены соответственно с первым и вторым информационными входами блока пам ти очереди выходного адреса, второй и третий управл ющие выходы блока пам ти очереди выходного адреса соединены с третьим и четвертым управл ющими входами блока преобразовани  адреса, информационный вход которого соединен с первым информационным выходом блока пам ти очереди выходного адреса, входы стробиро- вани  записи блока пам ти адресов фрагментов данных, блока пам ти адреса и блока пам ти очереди выходного адреса объединены и подключены к входу строби- ровани  записи входного адреса устройства , выход переполнени  блока пам ти адресов фрагментов данных  вл етс  выходом запрета записи устройства, второй ин- формационный выход блока пам ти очереди выходного адреса соединен с вторым информационным входом блока пам ти адресов фрагментов данных восьмой и дев тый выходы блока управлени  соединены с вторым и третьим входами управлени  блока пам ти очереди выходного адреса, второй и третий входы блока управлени  соединены с четвертым и п тым управл ющими выходами блока пам ти очереди выходного адреса, четвертый и п тый входы блока управлени  подключены к выходу готовности данных и переполнени  данныхthe device, the address switch output is connected to the address input of the data memory, the address input and the data input of the address memory are connected to the bits of the first and second coordinates of the input to the full address of the device fragment, the output of the data memory is information output of the device the output of the address translation block is the address output of the device, the memory block of the output address queue is entered, the memory block of the input address queue, the memory block of the data queue, the memory block of the address of the data fragments, the first the data block input address of the data fragments and bits of the first control input of the memory block of the output address queue are connected to the lower bits of the first and second coordinates of the input of the full address of the device fragment, the second output of the address conversion block is connected to the information input of the memory queue of the input the address, the output of which is connected to the first information input of the address switch, the first control input of the memory block of the output address queue is connected to the write enable input of the address memory block, The first and second information outputs of which are connected respectively to the first and second information inputs of the memory block of the output address queue, the second and third control outputs of the memory block of the output address queue are connected to the third and fourth control inputs of the address conversion block whose information input is connected to the first information output of the memory block of the output address queue, the strobe inputs of the recording of the memory block of the data fragment addresses, the memory block of the address and the memory block of the output queue The address of the device is combined and connected to the strobe input of the entry address of the device, the overflow output of the block of addresses of data fragments is the output of prohibiting the write of the device, the second information output of the block of the output address queue memory is connected to the second information input of the block of addresses data fragments, the eighth and ninth outputs of the control unit are connected to the second and third control inputs of the memory block of the output address queue, the second and third inputs of the control unit are connected to the fourth and the fifth control outputs of the memory block of the output address queue; the fourth and fifth inputs of the control block are connected to the data readiness and data overflow output

блока пам ти очереди данных соответственно , вход разгрузки данных и вход загрузки данных блока пам ти очереди данных соединены с дес тым и одиннадцатым выходами блока управлени , информационный вход блока пам ти очереди данных  вл етс  информационным входом устройства, выход блока соединен с информационным входом блока пам ти данных, двенадцатый иthe data queue memory block, respectively, the data unload input and the data queue memory block data input are connected to the tenth and eleventh outputs of the control unit, the information input of the data queue memory block is the information input of the device, the output of the block is connected to the information input of the memory block these data, the twelfth and

0 тринадцатый выходы блока управлени  соединены с входами загрузки и разгрузки данных блока пам ти очереди входного адреса, четырнадцатый выход блока управлени  соединен с входом разгрузки данных блока0 the thirteenth outputs of the control unit are connected to the inputs for loading and unloading data of the memory block of the input address queue, the fourteenth output of the control unit is connected to the input of data unloading of the block

5 пам ти адресов фрагментов данных, первый и второй информационные выходы блока пам ти адресов фрагментов данных соединены соответственно с вторым информационным входом коммутатора и с инфор0 мационным входом блока управлени , шестой вход которого соединен с выходом готовности выходных данных блока пам ти адресов фрагментов данных.5 memory addresses of data fragments, the first and second information outputs of the memory of addresses of data fragments are connected respectively to the second information input of the switch and to the information input of the control unit, the sixth input of which is connected to the output of readiness of the output data of the memory block of addresses of data fragments.

Блок пам ти очереди выходного адресаThe output address queue memory block

5 содержит узел маскировани  и циклического сдвига флагов сравнени , регистр флагов , шифратор и дешифратор, узел пам ти очереди, счетчик единиц, причем первый информационный вход блока соединен с5 contains a node for masking and cyclic shift of comparison flags, a flag register, an encoder and a decoder, a queue memory node, a unit counter, the first information input of the block connected to

0 первым информационным входом узла пам ти очереди, первый информационный выход которого  вл етс  первым информационным выходом блока, второй информационный выход узла пам ти очереди0 the first information input of the queue memory node, the first information output of which is the first information output of the block, the second information output of the queue memory node

5 соединен с входом данных регистра флагов, выход регистра флагов соединен с входом шифратора, первый выход которого соединен с п тым управл ющим выходом блока, второй и третий выходы шифратора  вл ют0 с  вторым и третьим управл ющими выходами блока соответственно и соединены с информационным входом дешифратора, вход стробировани  которого  вл етс  третьим входом управлени  блока, первый5 is connected to the data input of the flag register, the output of the flag register is connected to the input of the encoder, the first output of which is connected to the fifth control output of the block, the second and third outputs of the encoder are 0 to the second and third control outputs of the block, respectively, and connected to the information decoder input whose gating input is the third control input of the unit, the first

5 управл ющий и второй информационный входы блока соединены с управл ющим и информационным входами узла маскировани  и циклического сдвига флагов сравнени  первый выход которого соединен с5, the control and second information inputs of the block are connected to the control and information inputs of the masking and cyclic shift node of the comparison flags, the first output of which is connected to

0 вторым информационным входом узла пам ти очереди и входом счетчика единиц, второй выход узла маскировани  и циклического сдвига флагов сравнени   вл етс  первым управл ющим выходом блока, выхо5 ды дешифратора соединены с входами сброса регистра флагов, выход готовности узла пам ти очереди соединен с входом стробировани  регистра флагов и  вл етс  четвертым управл ющим выходом блока, вход разгрузки узла пам ти очереди  вл етс  вторым управл ющим входом блока, первый выход счетчика единиц соединен с входом разрешени  записи узла пам ти очереди, второй выход  вл етс  вторым информационным выходом блока, вход стробировани  записи узла пам ти очереди соединен с входом стробировани  записи входного адреса устройства.0, the second information input of the queue memory node and the input of the unit counter, the second output of the masking node and the cyclic shift of the comparison flags is the first control output of the block, the decoder outputs are connected to the flag register reset inputs, the output of the queue memory node is connected to the gate input the flag register is the fourth control output of the block; the unloading input of the queue memory node is the second control input of the block; the first output of the unit counter is connected to the write enable input of the node n m five turns, the second output is a second data output unit, the entrance gating recording memory queue node connected to the input of the input gating recording device address.

На фиг.1 изображена функциональна  схема конвейерного буферного запоминающего устройства дл  систем обработки изо- бражений; на фиг.2 - функциональна  схема блока пам ти очереди выходного адреса; на фиг.З - блок преобразовани  адреса; на фиг.4(а) - блок пам ти адресов фрагментов данных; на фиг.4(6)-блок пам - ти очереди; на фиг.5 - блок-схема алгоритма загрузки данных; на фиг.6 - блок-схема алгоритма разгрузки данных; на фиг.7 - блок пам ти адреса: на фиг.8 - узел маскировани  и циклического сдвига; на фиг.9 - блок пам ти данных; на фиг.10 - узел циклического сдвига выходных данных.Figure 1 shows a functional diagram of a conveyor buffer storage for image processing systems; Fig. 2 is a functional block diagram of an output address queue; FIG. 3 shows an address translation unit; 4 (a) is a memory block of addresses of data fragments; 4 (6) -block memory block; figure 5 - block diagram of the algorithm for loading data; figure 6 is a block diagram of the algorithm for unloading data; Fig. 7 shows an address memory block; Fig. 8 shows a masking and cyclic shift node; Fig. 9 illustrates a data storage unit; figure 10 is a node of the cyclic shift of the output data.

Буферное запоминающее устройство (фиг.1) содержит блок 1 пам ти адреса, блок 2 пам ти выходного адреса, блок 3 преобра- зовани  адреса, коммутатор 4 адреса, блок 5 пам ти данных, блок 6 пам ти очереди данных, устройство 7 управлени , блок 8 пам ти адресов фрагментов данных, блок 9 пам ти очереди входного адреса, линию 10 стробировани  адреса фрагмента, шину 11 полного адреса фрагмента, линию 12 запрета записи данных, выходную шину 13 данных, линию 14 готовности выходных данных, выходную шину 15 адреса, линию 16 готовности адреса сегмента, линию 17 готовности входных данных, шину 18 входных данных, первый 19 и второй 20 информационные выходы блока пам ти адреса, первый выход 21 управлени , второй vm- формационный выход 22. второй 23 и третий 24 выходы управлени , первый информационный выход 25 блока пам ти очереди выходного адреса, восьмой 26 и дев тый 27 управл ющие выходы блока управлени , четвертый 28 и п тый 29 выходы управлени  блока пам ти очереди выходного адреса, третий 30 и четвертый 31 управл ющие выходы блока управлени , второй выход 32 блока преобразовани  адреса, первый 33 и второй 34 информационные выходы, выход 35 управлени  блока пам ти адресов фрагментов данных, седьмой 36, первый 37, второй 38, дес тый 39 и одиннадцатыГ 40 управл ющие выходы блока управлени , четвертый 41 и п тый 42 входы блока управлени , выход 43 коммутатора, выход 44 данных блока пам ти очереди данных, двенадцатый 45 и тринадцатый 46 выходы блока управлени , выход 47 блока пам ти очереди входного адреса, четырнадцатый выход 48 управлени  блока управлени .The buffer memory (Fig. 1) contains an address memory block 1, an output address memory block 2, an address conversion block 3, an address switch 4, a data memory block 5, a data queue memory block 6, a control device 7, block 8 of addresses of data fragments, block 9 of memory of a queue of input address, fragment gate addressing line 10, full fragment address bus 11, data recording prohibition line 12, data output bus 13, output data line 14, address output bus 15, segment address readiness line 16, readiness line 17 and input data, input data bus 18, first 19 and second 20 information outputs of the address memory block, first control output 21, second vm-formation output 22. second 23 and third 24 control outputs, first information output 25 of the output queue memory block addresses, eighth 26th and ninth 27 control outputs of the control unit, fourth 28 and fifth 29 control outputs of the output address queue memory unit, third 30 and fourth 31 control outputs of the control unit, second output 32 of the address translation unit, first 33 and second 34 information th outputs, control output 35 of the memory block of data fragments, seventh 36, first 37, second 38, tenth 39 and elevenG 40 control outputs of the control block, fourth 41 and fifth 42 inputs of the control block, switch output 43, output 44 data of the data queue memory block, the twelfth 45 and thirteenth 46 outputs of the control unit, the output 47 of the memory block of the input address queue, the fourteenth control output 48 of the control unit.

Блок пам ти очередного выходного сигнала содержит узел 49 пам ти очереди, регистр 50 флагов сравнени , приоритетный шифратор 51, дешифратор 52, узел 53 маскировани  и циклического сдвига, счетчик 54 единиц, первый выход счетчика 55 единиц , первый выход 56 узла маскировани  и циклического сдвига, второй информационный выход 57 узла пам ти очереди.The next output signal memory block contains a queue memory node 49, a comparison flag register 50, a priority encoder 51, a decoder 52, a masking and cyclic shift node 53, a 54 unit counter, a first counter output 55 units, a first masking and cyclic shift node output 56 , the second information output 57 of the queue memory node.

Блок преобразовани  адреса содержит первый 58 и второй 59 адресные сумматоры, сумматор 60 приращени  адреса, коммутатор 61, регистр 62 сдвига, регистр 63 длины строки.The address translation unit comprises the first 58 and second 59 address adders, the address increment adder 60, the switch 61, the shift register 62, the string length register 63.

Блок пам ти адреса содержит четыре группы сумматоров 64 адреса, четыре модул  65 пам ти, четыре схемы 66 сравнени , адреса и данных в модул х 65 пам ти.The address memory block contains four groups of address adders 64, four memory modules 65, four comparison circuits 66, addresses and data in memory modules 65.

Узел 53 маскирова ни  и циклического сдвига флагов сравнени  содержит первый и второй входные схемы 67 и 6С сдвига первого каскада, входную схему 69 сдвига второго каскада, выходную схему 70 сдвига первого каскада, первый и второй выходные схемы 71 и 72 сдвига второго каскада, элементы И 73-76, элементы НЕ 77 и 78, элементы ИЛИ 79 и 80. .The node 53 masking and cyclic shift of the comparison flags contains the first and second shift input circuits 67 and 6C of the first cascade, the input shift circuit 69 of the second cascade, the output circuit 70 of the shift of the first cascade, the first and second output circuits 71 and 72 of the second shift, elements And 73-76, elements NOT 77 and 78, elements OR 79 and 80..

Блок 5 пам ти данных содержит шестнадцать групп сумматоров 81 адреса, шестнадцать модулей 82 пам ти, узел 83 циклического сдвига выходных данных с входами 84.Data memory block 5 contains sixteen groups of adders 81 addresses, sixteen memory modules 82, cyclic shift node 83 of the output data with inputs 84.

Узел 83 циклического сдвига выходных данных содержит четыре схемы 85 сдвига первого каскада и групповую схему 86 сдвига второго каскада.Node 83 cyclic shift output data contains four schemes 85 shift of the first stage and group scheme 86 shift of the second stage.

Конвейерное буферное запоминающее устройство работает следующим образом.Conveyor buffer storage device operates as follows.

На вход 11 поступают Р разр дов, где Р Iog2 М + Iog2 N, задающие полный адрес элемента двумерной матрицы данных размерностью MxN, на адресные входы блока 1 поступают разр ды mi первой координаты,Input 11 receives P bits, where P Iog2 M + Iog2 N, specifying the full address of the element of a two-dimensional data matrix of dimension MxN, the address inputs of block 1 receive bits mi of the first coordinate,

где 1 1 ioga M-1, и разр ды гн второйwhere 1 1 ioga M-1, and bits of the second

координаты, где 1 1toga N-1, на первыйcoordinates, where 1 1toga N-1, at first

информационный вход блока 8 поступают младшие разр ды ггн первой координаты,the information input of block 8 receives the lower bits of the first coordinate,

где i 0loQ2 L-1, и младшие разр ды щwhere i 0loQ2 L-1, and the younger bits u

второй координаты, где i 0 Iog2 K-1,the second coordinate, where i 0 Iog2 K-1,

причем емкость блока 5 пам ти данных со- ставЛ ет (LxK) элементов. На первый управл ющий вход блока 2 поступают разр ды mo, mi, гп2 и По, ni. П2 полного адреса фрагмента .moreover, the capacity of the data memory block 5 is (LxK) elements. The first control input of block 2 receives the bits mo, mi, gp2 and Po, ni. A2 full address of the fragment.

Перед началом работы по сигналу начальной установки осуществл етс  обнуление всех  чеек пам ти блока 1 адреса,Before starting work on the initial setup signal, all the memory cells of the address block 1 are reset,

стирание содержимого блоков 6, 8, 9, 49. Выходы 12,42 блоков 8 и б устанавливаютс  в единичное состо ние - разрешение записи данных. Выходы 35, 28. 41 блоков 8, 49 и б принимают нулевое значение, означающее отсутствие загруженных данных. Устройство 7 управлени  переходит в состо ние, соответствующее точке А алгоритмов на фиг.5 и 6. Оператор 1 (фиг.5) осуществл ет проверку сигнала на линии 29,  вл ющегос  индикатором загрузки данных в блок 49. Оператор 1 (фиг,6) осуществл ет проверку сигнала на линии 35 выхода управлени  блока 8. При отсутствии данных в блоках 8 и 50 устройство управлени  циклически выполн ет операции 1 на фиг.5 и 6. Алгоритмы на фиг.6 и 5 выполн ютс  параллельно и не св заны между собой.erasing the contents of blocks 6, 8, 9, 49. The outputs 12.42 of blocks 8 and b are set to one state - the resolution of data recording. Outputs 35, 28. 41 blocks 8, 49 and b take a zero value, meaning no loaded data. The control device 7 enters the state corresponding to the point A of the algorithms in FIGS. 5 and 6. Operator 1 (FIG. 5) checks the signal on line 29, which is an indicator of data loading in block 49. Operator 1 (FIG. 6) checks the signal on line 35 of the control output of block 8. In the absence of data in blocks 8 and 50, the control unit cyclically performs operations 1 in FIGS. 5 and 6. The algorithms in FIGS. 6 and 5 are executed in parallel and are not interconnected .

Внешнее задающее устройство устанавливает адрес двумерного фрагмента на входе 11 и через промежуток времени t генерирует стробирующий импульс на линии 10. На сумматоры 64 (фиг.7) каждого из четырех модулей 65 пам ти поступают младшие разр ды, а также разр ды mi и m полного адреса пам ти. На выходах сумматоров устанавливаютс  полные адреса четырех сегментов, в которых могут располагатьс  элементы фрагмента (1), В схемах 66 сравнени  старшие разр ды полного адреса сегмента сравниваютс  с данными в соответствующем модуле пам ти, адресуемыми младшими разр дами полного адреса сегмента. Разр ды четырехразр дного выхода 20 блока 1 (флаги сравнени ) дл  вос- становлени  пор дка расположени  флагов, искаженного использованием функции распределени  данных по модул м пам ти , поступают на первый и второй входные схемы 67 и 68 сдвига первого каскада блока 53, а затем на выходную схему 69 сдвига первого каскада. В схемах 67 и 68, управл емых разр дом гг,2 полного адреса пам ти, осуществл етс  циклический сдвиг внутри групп флагов по два в каждой группе, во втором каскаде (схема 69). управл емом разр дом П2 полного адреса пам ти, - циклический сдвиг групп Дл  организации произвольной выборки фрагмента из блока 5 потребоватьс  загрузка от одного до четырех сегментов, что определ етс  положением элемента Зтп внутри фрагмента. Поэтому четырехразр дный код признаков сравнени  после корректировки положени  данных поступает на схему маскировани ,котора  реализована уа базе элементов 72-80. Схема маскировани  запрещает выборку ненужных сегментов из пам ти исходного изображени . Маскирование флагов сравнени  осуществл етс The external driver sets the address of a two-dimensional fragment at input 11 and after a period of time t generates a gating pulse on line 10. Junior bits and total bits mi and m arrive at adders 64 (Fig. 7) of each of the four memory modules 65. memory addresses. At the outputs of the adders, the full addresses of the four segments are set in which the fragment elements (1) can be located. In comparison schemes 66, the high-order bits of the full address of the segment are compared with the data in the corresponding memory module, addressed by the lower-order bits of the full segment address. The bits of the four-bit output 20 of block 1 (comparison flags) to restore the order of flags, distorted by using the function of distributing data across memory modules, go to the first and second input circuits 67 and 68 of the first stage of block 53, and then on the output circuit 69 of the shift of the first cascade. In circuits 67 and 68, controlled by bit y, 2 full memory addresses, a cyclic shift is performed within flag groups, two in each group, in the second stage (circuit 69). controllable P2 of the full memory address, a cyclic shift of groups To arrange an arbitrary sample of a fragment from block 5, one to four segments need to be loaded, which is determined by the position of the 3-D element inside the fragment. Therefore, the four-bit code of the comparison features, after adjusting the position of the data, enters the masking scheme, which is implemented on the base of elements 72-80. The masking scheme prohibits the selection of unnecessary segments from the memory of the original image. The masking of comparison flags is done by

разр дами m0, mi, n0, ni полного адреса пам ти. Выходами узла 53 маскировани  и циклического сдвига  вл ютс  два четырехразр дных выхода: сигналы разрешени  записи в модули пам ти блока 1 (выход 21) и флаги сравнени , модифицированные схемой маскировани  (выход 56). Дл  корректной записи в модули пам ти блока 1 старших разр дов адресов сегментов в схе0 мах 70, 71, 72 сдвига (фиг.8) осуществл етс  обратна  корректировка положени  разр - , дов кода флагов сравнени . В схеме 70, управл емой разр дом гп2 полного адреса пам ти, мен етс  положение двух групп поbits m0, mi, n0, ni full memory address. The outputs of the masking and cyclic shift node 53 are two four-bit outputs: write enable signals to the memory modules of block 1 (output 21) and comparison flags modified by the masking circuit (output 56). In order to correctly write to the memory modules of block 1 of the highest bits of the addresses of the segments in shear patterns 70, 71, 72 of the shift (Fig. 8), the position of the bits and codes of the comparison flags is inversely corrected. In circuit 70, controlled by the bit resolution gp2 of the full memory address, the position of two groups of

5 два разр да кода флагов, в схемах 71 и 72, управл емых разр дом П2, измен етс  положение разр дов внутри групп.5 two bits of the flag code, in circuits 71 and 72 controlled by bit P2, the position of the bits within groups is changed.

За врем  t на выходе 19 блока 1 формируетс  адрес базового сегмента, на выходеDuring the time t, the output 19 of the block 1 forms the address of the base segment, the output

0 четырехразр дной шины 20 -- признаки наличи  требуемых сегментов данных в блоке пам ти 5. Значени  разр дов шины 20 поступают на информационный вход узла 53 маскировани  и циклического сдвига фла5 гов сравнени . Под управлением разр дов mo, mi, гп2 и п0, ni, шины 11 полного адреса фрагмента на первом выходе узла 53 формируетс  четырехразр дный код 56 флагов сравнени  и сигналы шины 21 раз0 решени  записи в модули пам ти блока 1. Значени  сигналов на шине 56 поступают на второй информационный вход блока 49 пам ти очереди и на входы счетчика 54 единиц, представл ющего собой комбина5 ционную логическую схему На выходах 22 счетчика формируетс  двоичный позиционный код, значение которого определ етс  количеством единиц на шине 56 В состав счетчика входит схема ИЛИ. входы кото рой0 four-bit bus 20 — indications of the presence of the required data segments in the memory unit 5. The bit values of the bus 20 arrive at the information input of the node 53 of masking and cyclic shift of the comparison flags. Under the control of the bits mo, mi, gp2 and n0, ni, bus 11 of the complete fragment address, a four-bit code 56 of the comparison flags and signals 21 of the write resolution to the memory modules of block 1 are generated at the first output of node 53. Values of signals on bus 56 arrive at the second information input of the queue memory unit 49 and at the inputs of the 54 unit counter, which is a combination logic circuit. At the outputs of the counter 22, a binary position code is generated, the value of which is determined by the number of units on the 56 bus. The counter includes an OR circuit. entrances which

0 подключены к разр дам шины 56, а выходом  вл етс  выход 55 счетчика. Если хот  бы один из разр дов шины 56 установлен в единицу, то выход 55 блока 54 устанавливаетс  е единичное состо ние и разрешает0 is connected to the bus bits 56, and the output is counter output 55. If at least one of the bits of the bus 56 is set to one, then the output 55 of the block 54 is set to a single state and allows

5 загрузку базового сегмента и кода флагов сравнени  в блок пам ти 49.5 load the base segment and the code of the comparison flags in memory block 49.

После установки всех сигналов внешнее задающее устройство стробирующим импульсом на линии 10 загружает значени After all signals have been installed, the external master device with a gating pulse on line 10 loads the values

0 старших разр дов адресов затребованных сегментов в модули пам ти блока 1. значение базового сегмента на шине 19 и код флагов сравнени  нэ шине 56 в блок 49 пам ти очереди, значение младших разр 5 дов первой и второй координат полного адреса фрагмента и выходное значение счетчика единиц на шине 23 в блок 8 пам ти адресов фрагментов данных. После этого внешнее задающее устройство провер ет значение выхода 12 блока пам ти адресов0 senior bits of addresses of the requested segments in the memory modules of block 1. The value of the base segment on bus 19 and the code of comparison flags are not on bus 56 in memory block 49 of the queue, the value of the lower bits of the first and second coordinates of the full fragment address and the output value of the counter units on bus 23 into block 8 of memory addresses of data fragments. After that, the external driver checks the output value 12 of the address memory.

фрагментов данных. Если блок пам ти не заполнен, то повтор етс  загрузка нового фрагмента, Если выход 12 переходит в состо ние О, что означает полное заполнение пам ти, загрузка прекращаетс .data fragments. If the memory block is not full, then the download of the new fragment is repeated. If output 12 goes to the state O, which means that the memory is full, the loading stops.

При загрузка данных в блок пам ти 49 на выходе 28 устанавливаетс  значение 1. положительный фронт которой загружает выходное значение кода флагов сравнени  на выходе блока 49 в регистр флагов 50. В состав приоритетного шифратора 51 входит схема ИЛИ, входы которой подключены к выходам регистра флагов, а выходом  вл етс  лини  29. На линии 29 устанавливаетс  значение 1. Алгоритм работы устройства управлени  при загрузке данных в буферную пам ть представлен на фиг.5. После начальной установки устройство управлени  осуществл ет циклическую проверку состо ни  линии 28 (блок алгоритма 5-1), и если она установлена в единичное состо ние , анализирует состо ние линии 29 (блок алгоритма 5-2). Если лини  29 установлена в единицу, устройство управпени  циклически провер ет состо ние линии 42 - готовности блока 6 пам ти очереди данных принимать данные (блок алгоритма 5-3). Если блок 6 не заполнен лини  42 установлена в единичное состо ние В этом случае устройство управлени  переключает коммутатор 61 адреса сигналом 30 так, чтобы выходы сумматоров 59 и 58 были подключены к входам регистра 62 (блок алгоритма 5-4), стробирует адрес первого загружаемого сегмента в выходной регистр 62 адреса сигналом на линии 31 (блок алгоритма 5-5), генерирует запрос к пам ти исходного изображени  на линии 16 (блок алгоритма 5-6), загружает младшие разп ды адреса сегмента на шине 32 в блок 9 очереди входного адреса сигналом на линии 45 (блок алгоритма 5-7).When data is loaded into memory unit 49, output 28 is set to 1. A positive front of which loads the output code value of the comparison flags at output 49 of the register 50 of flags. The priority encoder 51 includes an OR circuit whose inputs are connected to the outputs of the flag register and the output is line 29. On line 29 is set to 1. The operation algorithm of the control device when loading data into the buffer memory is presented in FIG. After the initial installation, the control unit performs a cyclic check of the state of line 28 (algorithm block 5-1), and if it is set to one, analyzes the state of line 29 (algorithm block 5-2). If line 29 is set to one, the control unit cyclically checks the status of line 42 to ensure that the data queue memory 6 is ready to receive data (algorithm block 5-3). If block 6 is not filled, line 42 is set to one. In this case, the control unit switches the address switch 61 by signal 30 so that the outputs of adders 59 and 58 are connected to the inputs of register 62 (algorithm block 5-4), gates the address of the first loaded segment into the output address register 62 by a signal on line 31 (algorithm block 5-5), generates a request for the memory of the original image on line 16 (algorithm block 5-6), loads the minor address address of the segment on bus 32 into block 9 of the input address queue signal on line 45 (block al Oritma 5-7).

Адрес загружаемого сегмента, содержащийс  в регистре 62, формируетс  из адреса базового сегмента bi j, генерируемого в блоке 1 пам ти адреса Полный адрес базового сегмента на шине 25, разделенный на адреса по первой координате и адреса по второй координате, подключен к первым входам соответственно сумматоров 58 и 59. Полный адрес сегмента с выхода сумматоров через коммутатор 61 поступает на бход регистра 62. Выходы регистра 50 флагов подключены к входам приоритетного шифратора в следующем пор дке убывани  приоритета: флаг сегмента bi-i,j-i, флаг сегмента bi.j-1, флаг сегмента bj-i 1, флаг сегмента bi,j, Соответственно коды, генерируемые приоритетным шифратором дл  каждого флага,  вл ющегос  старшим в какой-то момент времени,The address of the loadable segment contained in register 62 is formed from the address of the base segment bi j generated in address memory block 1 The full address of the base segment on bus 25, divided into addresses on the first coordinate and addresses on the second coordinate, is connected to the first inputs respectively of adders 58 and 59. The full address of the segment from the output of the adders through the switch 61 is fed to the bypass of register 62. The outputs of the register of 50 flags are connected to the inputs of the priority encoder in the following order of decreasing priority: the segment flag bi-i, ji, the flag seg cient bi.j-1, bj-i flag segment 1, the segment flag bi, j, Accordingly codes generated for each priority encoder flag is yuschegos senior at some point in time,

следующие: 11, 10, 01, 00. Старший разр д выходного кода приоритетного шифратора поступает на вход вычитани  единицы сумматора 58, а младший - на вход вычитани the following: 11, 10, 01, 00. The most significant bit of the output code of the priority encoder is input to the subtraction input of the unit of the adder 58, and the low order to the input of the subtraction

единицы сумматора 59.units of adder 59.

После установки адреса сегмента в регистре 62 и запроса к пам ти исходного изображени  на линии 16 блок 7 управлени  анализирует состо ние линии 17 готовно0 сти данных (блок алгоритма 5-8). Когда на входе 18 устанавливаютс  истинные данные , что сопровождаетс  изменением состо ни  линии 17, блок 7 управлени  генерирует строб записи данных на линииAfter setting the segment address in register 62 and requesting the memory of the original image on line 16, control unit 7 analyzes the state of data readiness line 17 (algorithm block 5-8). When the true data is installed at the input 18, which is accompanied by a change in the state of the line 17, the control unit 7 generates a data recording strobe on the line

5 40 в блок 6 пам ти очереди данных (блок алгоритма 5-9). Далее устройство управлени  снимает сигнал истинности данных на линии 16 (блок алгоритма5-10) и стробирует выходы дешифратора 52 сигналом на линии5 40 to block 6 of the data queue memory (algorithm block 5-9). Next, the control unit removes the truth signal of the data on line 16 (algorithm block 5-10) and gates the outputs of the decoder 52 with a signal on the line

0 27 (блок алгоритма 5-11). По заднему фронту этого импульса осуществл етс  сброс флага в регистре 50, соответствующего загруженному сегменту После этого устройство управлени  анализирует состо ние0 27 (algorithm block 5-11). On the falling edge of this pulse, the flag in the register 50 corresponding to the loaded segment is reset. After that, the control device analyzes the state

5 линии 29 (блок алгоритма 5-12). Если в регистре 50 флагов имеютс  установленные в единицу разр ды, то устройство управлени  переходит к выполнению блока 5-3 алгоритма и процесс считывани  сегментов продол0 жаетс  до обнулени  регистра флагов 50, что будет зафиксировано изменением со-, сто ни  линии 29. В этом случае устройство управлени  сигналом на линии 26 осуществл ет разгрузку пам ти очереди 49 (блок ал5 горитма 5-13) и переходит к выполнению блока 5-1 алгоритма на фи| .1.5 lines 29 (algorithm block 5-12). If in the register of 50 flags there are bits set to one, then the control unit proceeds to the execution of block 5-3 of the algorithm and the process of reading segments continues until the register of flags 50 is reset, which will be fixed by changing the position of the line 29. In this case the signal control unit on line 26 performs the unloading of queue memory 49 (block 5 of the priority 5-13) and proceeds to execution of block 5-1 of the algorithm on phi | .one.

Алгоритм работы устройства управлени  при разгрузке данных из буферной пам ти представлен на фиг.6. После начальнойThe operation algorithm of the control device when unloading data from the buffer memory is presented in FIG. After initial

0 установки устройство управлени  циклически анализирует состо ние линии 35 готовности данных на выходе блока 8 адреса фрагмента. При загрузке данных в блок 8 значени  адреса фрагмента на шине 11 и0 of the installation, the control unit cyclically analyzes the state of the data readiness line 35 at the output of the fragment address block 8. When loading data into block 8, the fragment address values on bus 11 and

5 разр дов шины 22 с некоторой задержкой устанавливаютс  на выходных шинах 33 и 34 блока 8, выход 35 устанавливаетс  в единичное состо ние. Устройство управлени  анализирует состо ние шины 34 (блок алго0 ритма 6-2), и если дл  выборки фрагмента из пам ти данных 5 необходима подкачка дополнительных сегментов, т.е. на шине 34 содержитс  ненулевое значение кода, устройство управлени  запоминает его значе5 ние (блок алгоритма 6-3). Далее устройство управлени  циклически анализирует состо ние линии 41 готовности данных на выходе блока 6 (блок алгоритма 6-2). Если данные были загружены, то устройство управлени  сигналом на линии 36 подключает выходную5 bits of the bus 22 with some delay are installed on the output tires 33 and 34 of the block 8, the output 35 is set to one. The control unit analyzes the state of the bus 34 (block of the algorithm 6-2), and if additional segments are needed to fetch a fragment from data memory 5, i.e. bus 34 contains a non-zero code value, the control unit stores its value (algorithm block 6-3). Next, the control unit cyclically analyzes the state of the data readiness line 41 at the output of block 6 (algorithm block 6-2). If the data has been loaded, the signal control device on line 36 connects the output

шину блока 9 к адресным входам 43 блока пам ти 5 (блок алгоритма 5-6) и загружает требуемый сегмент данных в блок пам ти 5 сигналом на линии 38 (блок алгоритма 6-6). После этого устройство управлени  сигна- лом на линии 46 и сигналом на линии 39 разгружает блок 9 пам ти очереди входного адреса и блок пам ти б очереди данных (блок алгоритма 6-7), вычитает единицу из внутреннего счетчика числа сегментов (блок алгоритма 6-8) и, если он равен нулю , повтор ет блоки алгоритма 6-4, 6-5, 6-6, 6-7, 6-8 до обнулени  внутреннего счетчика. Когда все требуемые сигналы будут загружены, устройство управлени  сигналом на линии 36 переключает коммутатор 4 в положение, обеспечивающее прохождение на выход 43 разр дов шины 33 (блок алгоритма 6-10), запускает цикл чтени  блока 5 сигналов на линии 37 (блок ал- горитма 6-11) и через промежуток времени, необходимый дл  считывани  данных, устанавливает сигнал готовности данных в блоке 14 (блок алгоритма 6-12). Далее устройство управлени  после задержки, не- обходимой дл  передачи данных во внешнее приемное устройство (блок алгоритма 6-13), сигналом на линии 38 осуществл ет разгрузку блока 8 (блок алгоритма 6-14) и переходит к выполнению блока 6-1 алгорит- ма на фиг.6.the bus of block 9 to the address inputs 43 of memory block 5 (algorithm block 5-6) and loads the required data segment into memory block 5 by a signal on line 38 (algorithm block 6-6). After that, the signal control unit on line 46 and the signal on line 39 unloads the memory block 9 of the input address queue and the memory block of the data queue (algorithm block 6-7), subtracts one from the internal counter of the number of segments (algorithm block 6- 8) and, if it is zero, repeats the blocks of the algorithm 6-4, 6-5, 6-6, 6-7, 6-8 until the internal counter is zeroed. When all the required signals are loaded, the signal control unit on line 36 switches switch 4 to a position that allows 43 bits of bus 33 to go to the output (algorithm block 6-10), starts the reading cycle of signal block 5 on line 37 (algorithm block 6-11) and after the time required for reading the data, sets the data readiness signal in block 14 (algorithm block 6-12). Then, after the delay required for data transmission to an external receiving device (algorithm block 6-13), the control unit unloads the block 8 (algorithm block 6-14) by a signal on line 38 and proceeds to block 6-1 algorithm ma figure 6.

Предлагаемое конвейерное устройство буферной пам ти предназначено дл  поточной обработки фрагментов двумерных данных размеров 4x4 элемента. Данные с произвольным адресом извлекаютс  из пам ти исходных данных в устройство буферной пам ти и записываютс  в пам ть выходных данных выходным обрабатывающим процессором. Пам ть исходных дан- ных емкостью МхМ элементов, а также пам ть блока запоминающих устройств Данных емкостью элементов (М, N, L, Р - степени числа 2) разбиваютс  на сегменты 4x4 элемента. В пам ти исходных данных содержитс  M/4xN/4, а в буферной пам ти L/4xP/4 сегментов. Сегмент  вл етс  единицей данных при загрузке данных в буферное запоминающее устройство . Блок 1 пам ти адреса содержит L/4 Р/4  чеек пам ти (по одной на каждый сегмент ), в которых хран тс  старшие разр ды адресов сегментов. При генерации адреса фрагмента с произвольным адресом его элементы могут лежать в разных сегментах В блоке 1 осуществл етс  параллельный контроль за данными, содержащимис  в блоке пам ти данных в четырех соседних сегментах . При отсутствии данных требуемый сегмент загружаетс  из пам ти исходныхThe proposed conveyor buffer memory device is intended for in-line processing of two-dimensional 4x4 element size data fragments. Data with an arbitrary address is retrieved from the source data memory into the buffer memory device and is written to the output data memory by the output processor. The memory of the initial data with the capacity of the MxM elements, as well as the memory of the block of data storage devices with the capacity of the elements (M, N, L, P - powers of 2) are divided into 4x4 element segments. The memory of the source data contains M / 4xN / 4, and the buffer memory contains L / 4xP / 4 segments. A segment is a data unit when data is loaded into a buffer memory. Address memory block 1 contains L / 4 P / 4 memory cells (one for each segment) in which the higher bits of the segment addresses are stored. When generating a fragment address with an arbitrary address, its elements may lie in different segments. In block 1, the data contained in the data memory block in four neighboring segments are monitored in parallel. In the absence of data, the required segment is loaded from the original memory.

данных, после чего возможна выборка по произвольному адресу. В зависимости от адреса возможна загрузка от одного до четырех сегментов. Дл  организации параллельного контрол  данных, а также параллельной выборки фрагмента по произвольному адресу в блоки 1 и 5 введены узлы вычислени  адресов, узлы циклического сдвига данных, что обеспечивает параллельность выборки.data, after which it is possible to sample at an arbitrary address. Depending on the address loading from one to four segments is possible. In order to organize parallel control of data, as well as parallel sampling of a fragment at an arbitrary address, blocks 1 and 5 have been used to add address calculation nodes and cyclic data shift nodes, which ensures parallel sampling.

В блоке 1 пам ти данных (БД) с помощью шестнадцати пар сумматоров и блока 83 циклического сдвига данных на выходе шестнадцати модулей пам ти реализована произвольна  выборка фрагмента 4x4 элемента видаIn block 1 of the data memory (DB) with the help of sixteen pairs of adders and block 83 of the cyclic shift of data at the output of sixteen memory modules, an arbitrary sample of a 4x4 fragment of the form is implemented

,n-1 ,n am-1,n+1i Эгп-1.п+2 A(m,n) 3m.n-1 3m,n Зт.п-Н 3m,n+2(1), n-1, n am-1, n + 1i Egp-1.n + 2A (m, n) 3m.n-1 3m, n Itn.n-3m, n + 2 (1)

3m+1,n-1 ЭтН.п 3m+1,n+1 3m+1.n+2 3m+2, n-1 3m-t-2.n .n+1 3m+2.n+23m + 1, n-1 Etn.n 3m + 1, n + 1 3m + 1.n + 2 3m + 2, n-1 3m-t-2.n .n + 1 3m + 2.n + 2

где т, n - индексы, определ ющие адрес фрагмента, причем 0 m L и О n р; ат.п - центральный элемент фрагмента.where t, n are the indices defining the fragment address, with 0 m L and O n p; at.n - the central element of the fragment.

При линейной организации пам ти, ког- дэ данные пам ти располагаютс  строка за строкой, адреса элементов, образующих квадратную матрицу (1), можно представить следующим обоазом:With a linear organization of memory, when the memory data is arranged line by line, the addresses of the elements forming the square matrix (1) can be represented by the following:

A (m-H, n+j) Р (m+l) + (n+j),(2)A (m-H, n + j) P (m + l) + (n + j), (2)

где I и j - целые числа, измен ющиес  в пределах -1 I 2, -1 j 2;where I and j are integers varying within -1 I 2, -1 j 2;

Р - длина строки;P is the length of the string;

тип- координаты центрального элемента .type - coordinates of the central element.

В предлагаемом буферном запоминзю- щем устройстве элементы двумерного массива распределены по шестнадцати модул м пам ти в соответствии с функцией распределени In the proposed buffer memory device, the elements of the two-dimensional array are distributed over sixteen memory modules in accordance with the distribution function

a(m,n) 4 JS, + ia (m, n) 4 JS, + i

(3)(3)

где - символ, обозначающий операцию вз ти  остатка от делени ;where is the symbol denoting the operation of taking the remainder of the division;

О. (m,n) - номер модул  пам ти (0 )O. (m, n) - memory module number (0)

Адреса элементов массива в модул х пам ти определ ютс  формулойThe addresses of the elements of the array in the memory modules are determined by the formula

A(m.n)-ЈjЈ+J.(4)A (m.n) -ЈjЈ + J. (4)

где - символ, обозначающий операцию вз ти  целой части делени .where is the symbol denoting the operation of taking the whole part of the division.

Таким образом, положение элемента массива в пам ти определ етс  номером модул  пам ти и адресом внутри модул , вычисл емым по формулэм (3) и (4).Thus, the position of the array element in the memory is determined by the memory module number and the address inside the module, calculated using formulas (3) and (4).

Использование функции (3) приводит к нарушению1 естественного расположени  элементов фрагмента, извлекаемого из пам ти . Дл  восстановлени  пор дка располо- жени  данных используетс  блок 83 (фиг. 10), представл ющий собой комбинационную схему, состо щую из двух каскадов. Первый каскад осуществл ет циклический сдвиг внутри четырех групп данных и управл етс  разр дами п0 и щ полного адреса пам ти, второй каскад осуществл ет циклический сдвиг самих групп данных и управл етс  разр дами т0 и mi полного адреса пам ти.The use of function (3) leads to a violation of the natural arrangement of the elements of the fragment extracted from the memory. To restore the order of the data, block 83 is used (Fig. 10), which is a combinational circuit consisting of two stages. The first cascade performs a cyclic shift within the four data groups and controls the bits n0 and the full memory address, the second cascade cyclically shifts the data groups themselves and controls the bits t0 and mi the full memory address.

Пусть MxN - размерность массива данных , хран щегос  в пам ти исходного изображени , LxP - размерность массива данных, хран щегос  в БД буферного запоминающего устройства Разр дность шины полного адреса пам ти двумерного фрагмента (1) можно представить выражениемLet MxN be the dimension of the data array stored in the original image memory, LxP be the dimension of the data array stored in the buffer storage device DB. The bus width of the full memory address of the two-dimensional fragment (1) can be represented by

Ар (toga + 1о02 ) + (iog2 +Ap (toga + 1002) + (iog2 +

+ Iog2 Ј) + 4.(5)+ Iog2 Ј) + 4. (5)

где Ар - разр дность шины адресаwhere Ar is the address bus width

Выражение в первых круглых скобках представл ет старшие разр ды полного адреса пам ти, во-вторых - разр ды адреса сегмента в БД, содержащего центральный элемент am.n матрицы (1) Цифрой 4 представлены разр ды m0, mi, n0, п адресующие элемент внутри сегмента. Старшие разр ды полного адреса пам ти запоминаютс  в БА, длина слова которого равнаThe expression in the first parentheses represents the highest bits of the full memory address, and second, the address bits of the segment in the database containing the central element am.n of the matrix (1) Digit 4 represents the bits m0, mi, n0, n addressing the element inside the segment. The highest bits of the full memory address are stored in the BA, whose word length is equal to

D-log2 Y+ °92 -jj + T,D-log2 Y + ° 92 -jj + T,

где Т - добавочный двоичный разр д истинности данных.where T is the additional binary bit of data truth.

Разр д Т обнул етс  перед началом сеанса работы буферного запоминающего устройства и устанавливаетс  в единицу при записи адреса сегмента в БА. Использование разр да Т предотвращает от неверного срабатывани  компараторов БА при отсутствии истинных данных в БД. Емкость БА определ етс  емкостью БД, т.е. количеством сегментов, содержащихс  в БД, поэтому адресна  шина БА содержит loga -ц +The bit T is zeroed before the start of the buffer memory session and is set to one when the segment address is written to the BA. The use of bit T prevents the BA comparators from malfunctioning in the absence of true data in the database. The BA capacity is determined by the DB capacity, i.e. the number of segments contained in the database, therefore, the address of the BA bus contains loga -ts +

о +loga -т двоичных разр дов. Ввиду того,o + loga -t binary bits Due to the fact

что в БД осуществл етс  выборка фрагмента с переходом через границы сегмента , в состав адресной шины БД (блок 5) вход т также разр ды m0, mi, n0, ni. Элементы фрагмента (1) могут находитьс  в одном , двух или четырех сегментах. С целью параллельной проверки на предмет наличи that in the database a fragment is sampled with a transition across the segment boundaries, the address bus of the database (block 5) also includes bits m0, mi, n0, ni. The elements of fragment (1) can be in one, two or four segments. For the purpose of parallel testing for the presence of

г)d)

00

5five

00

5five

00

5five

00

5five

00

5five

()()

или отсутстви  требуемых сегментов в БД в БА организована двумерна  выборка фрагмента 2x2 элемента видаor the absence of the required segments in the database in BA two-dimensional sampling of a 2x2 element of the form is organized

Ьм.н bi-i,j B(I,J) Bm.n bi-i, j B (i, j)

bi j-1 bi,j где I, j - индексы, определ ющие адресbi j-1 bi, j where I, j are the indices defining the address

LPLP

фрагмента, причем 0 i S д, 0 и -v-;fragment, with 0 i S d, 0 and -v-;

bi.j - центральный элемент фрагмента. Элементы массива размерностью -% хbi.j is the central element of the fragment. Array elements of dimension x

распределены по четырем модул м пам ти в соответствии с функцией распреде- пени  distributed over four memory modules in accordance with the distribution function

a (i,j) 2| + ia (i, j) 2 | + i

где a (I J) - номер модул  пам ти, причемwhere a (I J) is the number of the memory module, and

0 а 3.0 and 3.

Адреса элементов массива в модул х пам ти определ ютс  формулойThe addresses of the elements of the array in the memory modules are determined by the formula

A(l,J)-f Ј+Ј,A (l, J) -f Ј + Ј,

Так же, как и в пам ти данных, использование функции (7) приводит к зависимости пор дка расположени  выходных данных модулей пам ти А0, AI, Аа, Аз от адреса извлекаемых сегментов. Однако, в отличие от схемы перестановки данных, используемой в БД, корректировке подвергаетс  пор док расположени  флагов сравнени .As in the data memory, the use of function (7) leads to the dependence of the order of the location of the output data of the memory modules A0, AI, Aa, Az on the address of the segments to be extracted. However, in contrast to the data permutation scheme used in the database, the order of the comparison flags is subject to adjustment.

Во врем  загрузки данных внешним задающим устройством подкачка данных из пам ти исходных данных требуетс  только дл  части адресов фрагментов. В блок 8 загружаютс  младшие разр ды всех адресов фрагментов. Каждое загруженное слово сопровождаетс  трехразр дным кодом, содержащим информацию о числе сегментов данных, которые должны быть загружены в буферную пам ть. В блок 49 загружатс  адреса базовых сегментов данных и четыре флага, определ ющие необходимость загрузки четырех соседних сегментов данных. Адрес базового сегмента и флаги формируютс  в блоке 1. Каждое загруженное в блок 49 слово данных соответствует определенному адресу фрагмента, загруженному в блок 8. С помощью пам ти очереди блоков 6, 8, 9, 49 в предлагаемом устройстве буферной пам ти осуществл етс  предварительна  выборка данных и параллельна  работа алгоритмов загрузки и разгрузки данныхDuring data loading by an external master device, data pumping from the source data memory is required only for a part of the fragment addresses. In block 8, the lower bits of all fragment addresses are loaded. Each loaded word is accompanied by a three-bit code containing information about the number of data segments to be loaded into the buffer memory. In block 49, the addresses of the base data segments and four flags are specified, determining the necessity of loading the four adjacent data segments. The base segment address and flags are formed in block 1. Each data word loaded into block 49 corresponds to a specific fragment address loaded into block 8. Prefetching is performed using the memory of the queue of blocks 6, 8, 9, 49 in the proposed buffer memory device data and parallel operation of data loading and unloading algorithms

Пусть пам ть очереди адресов фрагментов содержит шестнадцать  чеек, внешнее задающее устройство генерирует шестнадцать полных адресов фрагментов данных на шине 11 и требуетс  подкачка данных только дл  первого адреса фрагмента и шестнадцатого . После загрузки шестнадцатого адреса в блок 8 выход 12 устанавливаетс  в состо ние О, запреща  дальнейшую загрузку . В блок 49 будут загружены два слова , соответствующие первому и последнему адресам фрагментов. После загрузки в блок 8 первого адреса фрагмента, а в блок 49 адреса базового сегмента устройство 7 управлени  осуществл ет загрузку данных (алгоритм на фиг.5) и одновременно анализирует состо ние линии 41 (алгоритм на фиг.6). Когда данные, необходимые дл  выборки первого фрагмента, загружены и он будет считан из блока 5 пам ти, устройство управлени  параллельно выполн ет два алгоритма - последовательное считывание фрагментов данных со второго по п тнадцатый , дл  которых не нужна подкачка данных из блока 5 и загрузка данных в блок 6 из пам ти исходных данных, необходимых дл  считывани  шестнадцатого фрагмента . Когда потребуютс  данные шестнадцатого фрагмента, они уже будут загружены в блок 6.Let the memory of the fragment address queue contain sixteen cells, the external driver generates sixteen full data fragment addresses on bus 11, and only data for the first fragment address and the sixteenth will be required to download data. After the sixteenth address is loaded into block 8, output 12 is set to O, prohibiting further loading. In block 49 will be loaded two words corresponding to the first and last addresses of the fragments. After loading in block 8 the first fragment address, and in block 49 of the address of the base segment, control device 7 loads the data (algorithm in FIG. 5) and simultaneously analyzes the state of line 41 (algorithm in FIG. 6). When the data necessary for sampling the first fragment is loaded and it will be read from memory block 5, the control unit executes in parallel two algorithms — sequential reading of data fragments from the second to the fifteenth, for which data pumping from block 5 is not needed and data loading in block 6 of the source data memory necessary for reading the sixteenth fragment. When the data of the sixteenth fragment is required, it will already be loaded into block 6.

В предлагаемом буферном запоминающем устройстве в качестве блока 9 пам ти очереди входного адреса и блока 6 пам ти очереди данных использованы стандартные блоки пам ти типа FIFO (FIRST INPUT; FIRSTOUTPUT), аналогичные блокам 8 и 49, изображенным на фиг.4(а) и фиг.4(б).In the proposed buffer memory, standard FIFO type memory blocks (FIRST INPUT; FIRSTOUTPUT) are used as memory block 9 of the input address queue and data queue memory block 6, similar to blocks 8 and 49 shown in Fig. 4 (a) and 4 (b).

//

Claims (2)

Формула изобретени  1. Конвейерное буферное запоминающее устройство дл  систем обработки изображений , содержащее блок управлени , блок пам ти адреса, блок пам ти данных, блок преобразовани  адреса, коммутатор адреса, причем первый и второй выходы блока управлени  соединены с входами чтени  и записи блока пам ти данных, третий и четвертый выходы - с первым и вторым управл ющими входами блока преобразовани  адреса, седьмой выход -с управл ющим входом коммутатора адреса, п тый и шестой выходы блока управлени   вл ютс  выходами готовности выходных данных и адреса сегмента устройства, первый вход блока управлени  - входом готовности входных данных устройства, выход коммутатора адреса соединен с адресным входом блока пам ти данных, адресный вход и вход данных блока пам ти адреса соединен с соответствующими входами полного адреса фрагмента устройства, выход блока пам ти данных  вл етс  информационным выходом устройства, выход блока преобразовани  адреса адресным выходом устройства , отличающеес  тем, что, с целью повышени  быстродействи  устройства, в него введены блок пам ти очереди выходного адреса, блок пам ти очереди входного г адреса, блок пам ти очереди данных блок пам ти адресов фрагментов данных, причем первый информационный вход блока пам ти адресов фрагментов данных и первый уп0 равл ющий вход блока пам ти очереди выходного адреса соединены с соответствующими входами полного адреса фрагмента устройства, второй выход блока преобразовани  адреса соединен с инфор5 мационным входом блока пам ти очереди входного адреса, выход которого соединен с первым информационным входом коммутатора адреса, первый управл ющий выход блока пам ти очереди выходного адресаClaim 1. Conveyor buffer memory for image processing systems comprising a control unit, an address storage unit, a data storage unit, an address conversion unit, an address switch, wherein the first and second outputs of the control unit are connected to the read and write inputs of the memory unit data, the third and fourth outputs - with the first and second control inputs of the address translation unit, the seventh output - with the control input of the address switch, the fifth and sixth outputs of the control unit are ready outputs output data and addresses of the device segment, the first input of the control unit — the readiness input of the device input data; the output of the address switch is connected to the address input of the data storage unit; the address input and data input of the address memory block are connected to the corresponding inputs of the full address of the device fragment; The data memory is an information output of the device, the output of the address conversion block is the address output of the device, characterized in that, in order to improve the speed of the device, a block is entered into it the memory of the output address queue, the memory queue of the input address g, the data queue memory block, the data fragment address memory block, the first information input of the data fragment address memory block and the first control input of the output address queue memory block are connected to the corresponding inputs of the full address of the device fragment, the second output of the address translation block is connected to the information input of the memory block of the input address queue, the output of which is connected to the first information input of the switch ad rez, the first control output of the output address queue 0 соединен с входом разрешени  записи блока пам ти адреса, первый и второй информационные выходы которого соединены соответственно с первым и вторым информационными входами блока пам ти очереди0 is connected to the write enable input of the memory block of the address, the first and second information outputs of which are connected respectively to the first and second information inputs of the queue memory block 5 выходного адреса, второй и третий управл ющие выходы блока пам ти очереди выходного адреса соединены с третьим и четвертым управл ющими входами блока преобразовани  адреса, информационный вход кото0 рого соединен с первым информационным выходом блока пам ти очереди выходного адреса, входы стробировани  записи блока пам ти адресов фрагментов данных, блока пам ти адреса и блока пам ти очереди вы5 ходного адреса объединены и  вл ютс  входом стробировани  записи входного адреса устройства, выход переполнени  блока пам ти адресов фрагментов данных  вл етс  выходом запрета записи устройства, второй5 output addresses, the second and third control outputs of the memory block of the output address queue are connected to the third and fourth control inputs of the address conversion block, whose information input is connected to the first information output of the memory block of the output address queue the addresses of the data fragments, the memory of the address and the memory of the queue of the output address are combined and are the input gate for recording the input address of the device, the output of the memory block of the address of the memory is gmentov data is output prohibition recording device, the second 0 информационный выход блока пам ти очереди выходного адреса соединен с вторым информационным входом блока пам ти адресов фрагментов данных, восьмой и дев тый выходы блока управлени  соединены с0 the information output of the memory block of the output address queue is connected to the second information input of the memory block of addresses of data fragments, the eighth and ninth outputs of the control block are connected to 5 вторым и третьим входами управлени  блока пам ти очереди выходного адреса, второй и третий входы блока управлени  - с четвертым и п тым управл ющими выходами блока пам ти очереди выходного адреса,5 second and third control inputs of the memory block of the output address queue, second and third inputs of the control block with the fourth and fifth control outputs of the memory block of the output address queue queue, 0 четвертый и п тый входы блока управлени  подключены к выходу готовности данных и переполнени  данных блока пам ти очереди данных соответственно, вход разгрузки данных и вход загрузки данных блока пам 5 ти очереди данных соединены с дес тым и одиннадцатым выходами блока управлени , информационный вход блока пам ти очереди данных  вл етс  информационным входом устройства, выход блока пам ти очереди данных соединен с информационным0, the fourth and fifth inputs of the control unit are connected to the output of data readiness and data overflow of the data queue memory block, respectively, the data unloading input and the data load input of the data queue memory 5 are connected to the tenth and eleventh outputs of the control unit, the information input of the memory block These data queues are the device information input, the output of the data queue memory block is connected to the information входом блока пам ти данных, двенадцатый и тринадцатый выходы блока управлени  соединены с входами загрузки и разгрузки данных блока пам ти очереди входного адреса , четырнадцатый выход блока управлени  - с входом разгрузки данных блока пам ти адресов фрагментов данных, первый и второй информационные выходы блока пам ти адресов фрагментов данных соединены соответственно с вторым информационным входом коммутатора и с шестым входом блока управлени , седьмой вход которого соединен с выходом готовности выходных данных блока пам ти адресов фрагментов данныхthe data memory input, the twelfth and thirteenth outputs of the control unit are connected to the data load and unloading inputs of the memory queue of the input address, the fourteenth output of the control unit is connected to the data unloading input of the data fragment address memory block addresses of data fragments are connected respectively to the second information input of the switch and to the sixth input of the control unit, the seventh input of which is connected to the readiness output of the output data of the memory block addr cos data fragments 2. Устройство поп.1,отличающее- с   тем, что блок пам ти очереди выходного адреса содержит узел маскировани  и циклического сдвига флагов сравнени , регистр флагов, шифратор и дешифратор, узел пам ти очереди, счетчик единиц, причем первый информационный вход блока соединен с первым информационным входом узла пам ти очереди, первый информационный выход которой  вл етс  первым информационным выходом блока, второй информационный выход узла пам ти очереди соединен с входом данных регистра флагов , выход регистра флагов соединен с входом шифратора, первый выход которого2. Pop-up device 1, characterized in that the output address queue memory block contains a masking and cyclic shift node of comparison flags, a flag register, an encoder and a decoder, a queue memory node, a unit counter, the first information input of the block connected to the first information input of the queue memory node, the first information output of which is the first information output of the block, the second information output of the queue memory node connected to the data input of the flag register, the output of the flag register connected to the input w ifrator whose first exit соединен с п тым управл ющим выходом блока, второй и третий выходы шифратора  вл ютс  вторым и третьим управл ющими выходами блока соответственно и соединены с информационным входом дешифрато- pat вход стробировани  которого  вл етс  третьим входом управлени  блока, первый управл ющий и второй информационный входы блока соединены с управл ющим иconnected to the fifth control output of the block, the second and third outputs of the encoder are the second and third control outputs of the block, respectively, and are connected to the information input of the decoder pat gate whose input is the third control input of the block, the first control and the second information inputs of the block connected to the manager and информационным входами узла маскирова ни  и циклического сдвига флагов сравнени , первый выход которого соединен с вторым информационным входом узла пам ти очереди и входом счетчика единиц,the information inputs of the mask node and the cyclic shift of the comparison flags, the first output of which is connected to the second information input of the queue memory node and the input of the unit counter, второй выход узла маскировани  и циклического сдвига флагов сравнени   вл етс  первым управл ющим выходом блока, выходы дешифратора соединены с входами сброса регистра флагов, выход готовностиthe second output of the masking and cyclic shift of the comparison flags is the first controlling output of the block, the decoder outputs are connected to the flag register reset inputs, the ready output узла пам ти очереди соединен с входом стробировани  регистра флагов и  вл етс  четвертым управл ющим выходом блока, вход разгрузки узла пам ти очереди  вл етс  вторым управл ющим входом блока, первый выход счетчика единиц соединен с входом разрешени  записи узла пам ти очереди, второй выход  вл етс  вторым информационным выходом блока, вход стробировани  записи узла пам ти очередиthe queue memory node is connected to the flag register gating input and is the fourth control output of the block, the unloading memory of the queue memory node is the second control input of the block, the first output of the unit counter is connected to the write enable input of the memory node of the queue, the second output is the second information output of the block; the input entry gating of the queue memory node соединен с входом стробировани  записи входного адреса устройства.connected to the gating input of the recording entry device address. 1515 Фиг.11 1818 ТгпфTgpf 69aSil69aSil Фиг, 4 (а)FIG 4 (a) Фиг. 4 (8)FIG. 4 (8) 1 Г1 G шsh Фаг. 5Phage. five Фиг.бFig.b Фиг.8Fig.8 4343 ЛL 4444 -I 4141 81,81, 4444 -- 4141 4444 -- WW /5/five 57 1857 18 4141 ЛL /3 -/ 3 - WW /5/five 8484 73 -73 - // Фиг. 9FIG. 9 Фиг. 10FIG. ten
SU894745732A 1989-07-06 1989-07-06 Conveyer buffer storage for systems of image processing SU1751769A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894745732A SU1751769A1 (en) 1989-07-06 1989-07-06 Conveyer buffer storage for systems of image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894745732A SU1751769A1 (en) 1989-07-06 1989-07-06 Conveyer buffer storage for systems of image processing

Publications (1)

Publication Number Publication Date
SU1751769A1 true SU1751769A1 (en) 1992-07-30

Family

ID=21472863

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894745732A SU1751769A1 (en) 1989-07-06 1989-07-06 Conveyer buffer storage for systems of image processing

Country Status (1)

Country Link
SU (1) SU1751769A1 (en)

Similar Documents

Publication Publication Date Title
SU1561834A3 (en) Memory addressing device
EP0507577B1 (en) Flexible N-way memory interleaving
US4841435A (en) Data alignment system for random and block transfers of embedded subarrays of an array onto a system bus
KR840001731A (en) Addressing device with sequential word order
US4454590A (en) Programmable signal processing device
US4916649A (en) Method and apparatus for transforming a bit-reversed order vector into a natural order vector
US3943347A (en) Data processor reorder random access memory
SU1751769A1 (en) Conveyer buffer storage for systems of image processing
GB1594066A (en) Method and arrangement for speeding up the calculation of the address of a microinstruction in a data processing system
US5504871A (en) Memory controller having bus master for addressing instruction memories
JP2899986B2 (en) Data storage method, vector data buffer device and vector data processing device
SU809387A1 (en) Shifting device
SU1092494A2 (en) Device for sorting numbers
US5937403A (en) Integer permutation method and integer permutation system
SU1444784A1 (en) Buffer storage with random sampling of bidimensional fragment
SU1649533A1 (en) Numbers sorting device
SU1734097A1 (en) Concurrent address driver
SU1322285A1 (en) Multichannel device for connecting the using equipment with common bus
SU1107124A1 (en) Device for sequential extracting of ones from n-bit binary code
SU1605250A1 (en) Device for distributing tasks among processors
SU652615A1 (en) Device for accessing rapid-access storage
SU723582A1 (en) Arrangement for performing rapid fourier transformation
SU769621A1 (en) Buffer storage
SU1283746A1 (en) Calculating device
SU1341641A2 (en) Memory