SU1381540A1 - Device for tranposing matrix - Google Patents
Device for tranposing matrix Download PDFInfo
- Publication number
- SU1381540A1 SU1381540A1 SU864035084A SU4035084A SU1381540A1 SU 1381540 A1 SU1381540 A1 SU 1381540A1 SU 864035084 A SU864035084 A SU 864035084A SU 4035084 A SU4035084 A SU 4035084A SU 1381540 A1 SU1381540 A1 SU 1381540A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- matrix
- multiplexer
- counter
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике, может быть использовано при дискретных преобразовани х Фурье и позвол ет транспонировать непрерывный поток матриц в темпе поступлени элементов матриц на вход устройства. К1елью изобретени вл етс сокращение аппаратурных затрат за счет записи онеред- ного элемента входной матрицы в чейку пам ти, освободивго юс после считывани очередного элемента транспонируемой матрицы. Устройство соffThe invention relates to computing, can be used with discrete Fourier transforms and allows transposition of a continuous stream of matrices at the rate of arrival of matrix elements at the input of the device. The goal of the invention is to reduce hardware costs by writing a single element of the input matrix to the memory cell that is freed up after reading the next element of the transposed matrix. Device sof
Description
(Л(L
сwith
САЭ СХ)SAE CX)
СПSP
4four
Физ.1Phys. 1
держит вход 1 дл установки пор дка транспонируемых матриц, счетчик 2, блок 3 пам ти, наклгшивающие сутчма- торы 4 и 5, элемент И 6, мультиплексор 7, адресную шину 8 блока 9 пам ти , шину 10 данных, вход 11, регистр 12 ввода, канал 13 разрешени записи , регистр 14 вывода, выход 15. Поставленна цель достигаетс тем, что матрицы транспонируют считыванием, начина с первой, из каждой -и чейки блока 9 пам ти, до полногоholds input 1 for setting the order of transposable arrays, counter 2, memory block 3, switching sensors 4 and 5, AND 6 element, multiplexer 7, address bus 8 of memory block 9, data bus 10, input 11, register 12 input, write resolution channel 13, output register 14, output 15. The goal is achieved by transposing the matrices by reading, starting with the first one, from each cell of memory block 9, until complete
,1 ,one
опроса ее чеек, где 2 - количестinterrogation of its cells, where 2 is the number
154П154P
во столбцов матрицы; п - пор дковый номер матрицы потока. При таком способе организации счета после считывани последнего элемента предыдущей матрицы следует считывание второго элемента текущей матрицы, причем параллельно со считыванием осуществл етс запись в освободившуюс чейку пам ти элемента; последующей ма- трипы, а по окончании записи ее транспонируют, начина с первой изin matrix columns; n is the sequence number of the flow matrix. With this method of counting, after reading the last element of the previous matrix, the second element of the current matrix should be read, and in parallel with the reading, the element’s free memory cell is written; following the recording, and after recording it is transposed, starting with the first of the
каждой 2 2 ил.each 2 2 ill.
ок OK
-и чойки пам ти.-and memory chows.
1one
Изобретение относитс к вычисли- тепьной технике, может быть использовано при дискретных преобразовани х и позвол ет осуществл ть транспонирование матриц.The invention relates to a computational technique, can be used in discrete transformations, and allows the transposition of matrices.
Цель изобретени - сокращение аппаратурных затрат.The purpose of the invention is to reduce hardware costs.
На фиг. 1 представлена функцио- н а.пьна схема примера реализации устройства; на фиг. 2 - функциональна схема накапливающих сумматоров.FIG. 1 shows a functional a.n on the diagram of an example implementation of the device; in fig. 2 - functional scheme accumulating adders.
Устройство содержит вход 1 дл установки пор дка транспонируемых матриц, счетчик 2, блок 3 пам ти, накапливающие сумматоры и 5, элемент 6 И, мультиплексор 7, адресную шину 8 блока 9 пам ти, шину 10 данных , вход 11, регистр 12 ввода, канал 13 разрешени записи, регистр 14 вывода, вькод 15.The device contains input 1 for setting the order of transposable arrays, counter 2, memory block 3, accumulating adders and 5, element 6 AND, multiplexer 7, address bus 8 of memory block 9, data bus 10, input 11, input register 12, recording resolution channel 13, output register 14, code 15.
В состав накапливающих сумматоров 4 и 5 вход т сумматор 16 и регистр 17 .The accumulating adders 4 and 5 include the adder 16 and the register 17.
Устройство работает следующим образом .The device works as follows.
Записывают двоичный код адреса (ДКА) чеек блока 9 пам ти в виде:Write the binary code of the address (DKA) of the cells of memory block 9 in the form:
А.-, А,ЛО.A.-, A, LO.
где - i-й разр д ДКА, принимающий значение О или 1;where is the i-th bit of DCA, taking the value O or 1;
Ад - младший разр д ДКА дл записи первой () матрицы потока в блок 9 пам ти;Hell is the least significant bit of the DFA for recording the first () of the stream matrix in memory block 9;
N - количество разр дов ДКА иN is the number of bits DKA and
N 1ор,Р-1 ,N 1or, P-1,
где Р - составное число, кратное степени 2 и равное объему одной матрицы потока, подлежащей транспонированию. Дл считывани первой матрицы () ДКА принимает видwhere P is a composite number, a multiple of degree 2 and equal to the volume of one flow matrix to be transposed. To read the first matrix (), the DFA takes the form
К-1 K-1
Т.е. младший разр д будет А,.Those. the younger bit will be A ,.
Цл записи второй матрицы (п 2) используетс тот же ДКА, что и дл считывани первой матрицы, а считывание осуществл етс с использование - ДКА.The record count of the second matrix (item 2) is used the same DCA as for reading the first matrix, and the readout is performed using DCA.
-1 - o H N-t -1 - o H N-t
2К2K
т.е. при увеличении п на единицу, i младшего разр да ДКА увеличиваетс на К с учетом того, что Aj вл етс следующим старшим разр дом дл those. with an increase of n by one, i the low-order bit DFA increases by K, given that Aj is the next most significant bit for
В устройстве, реализующем предлагаемый способ, на установочный вход счетчика 2, работающего в режиме обратного счета, поступают данные оIn the device that implements the proposed method, the installation input of the counter 2, operating in the countdown mode, receives data on
размерах транспонируемых матриц потока в виде двоичного кода количества разр дов ДКА-N, которые с выхода счетчика 2 поступают на вход блока 3 пам ти. С блока 3 код, с данными оsizes of transposable flow matrices in the form of a binary code of the number of bits DKA-N, which from the output of counter 2 are fed to the input of memory block 3. From block 3 code, with data on
положении младшего разр да ДКА, в виде ДКА второй чейки блока 9 поступает на входы накапливающих сумматоров А и 5 (фиг. 2), работающих в режиме суммировани (F А + В -f + перенос). На выходе накапливающих сумматоров 4 и 5 уже имеетс нулево адрес первой чейки блока 9, по которому , при наличии сигнала ввода и регистра 12 ввода, производитс запись первого элемента первой матри- цы потока (п 1). Тактируемый регистром 12 ввода накапливающий сумматор 4 вьщает ДКА следующих чеек блока 9.the position of the least significant bit DFA, in the form of DFA, the second cell of block 9 is fed to the inputs of accumulating adders A and 5 (Fig. 2) operating in the summation mode (F A + B -f + transfer). At the output of accumulating adders 4 and 5, there is already a zero address of the first cell of block 9, according to which, if there is an input signal and an input register 12, the first element of the first flow matrix is recorded (step 1). The accumulated adder 4 clocked by the input register 12 enters the DFA of the following cells of block 9.
Когда перва матрица будет полностью записана, срабатывает элемент 6 И и уменьшает двоичный код н выходе счетчика 2 на единицу, измен ет ДКА на выходе блока 3 на ДКАWhen the first matrix is fully recorded, the element 6 AND is triggered and reduces the binary code n of the output of counter 2 by one, changes the DFA at the output of block 3 by DFA
1/one/
2-и чейки и тем самым подготавливает к выдаче ДКА считывани из накапливающего сумматора 5 и такие же ДКА записи из накапливающего сумматора А. Таким образом, с учетом того , что скорость считывани должна быть не меньше скорости записи, втора матрица (п 2) записываетс в освобождающиес последовательно чейки пам ти блока 9 в моменты времени между считьтанием отдельных элементов первой матрицы. После записи второй матрицы на выходе блока2 cells and thus prepares to issue a DFA reading from accumulating adder 5 and the same DFA records from accumulating adder A. Thus, taking into account the fact that the reading speed must be not less than the recording speed, the second matrix (n 2) is written in the consecutively free cells of block 9 at the time between the reading of the individual elements of the first matrix. After recording the second matrix at the output of the block
QtfQtf
3будет ДКА 2 -ой чейки, в которой записан (2 +1)-й элемент второй матрицы, вл ющийс также вторы элементом транспонированной второй матрицы. Далее процесс повтор етс . Так как импульс переполнени накапливающего сумматора (С ) поступает на вход заема его младшего разр да (Ср) (фиг. 2), становитс возможным транспонирование непрерывного потока матриц.3 will be a DFA of the 2nd cell in which the (2 +1) -th element of the second matrix is written, which is also the second element of the transposed second matrix. The process then repeats. Since the overflow pulse of the accumulating adder (C) arrives at the input of its low-order loan (Cp) (Fig. 2), it becomes possible to transpose a continuous stream of matrices.
13815АО13815AO
ФормулаFormula
изобретени the invention
5five
00
5five
00
5five
00
Устройство дл транспонировани матриц, содержащее первый блок пам ти , информационный вход-выход которого вл етс одноименным входом- выходом устройства, отличающеес тем, что, с. целью сокращени аппаратурньсх затрат, в него введены мультиплексор, два накапливающих сумматора, элемент И, второй блок пам ти и счетчик, установочный вход которого вл етс входом задани пор дка транспонируемых матриц устройства, выход счетчика подключен к адресному входу второго блока пам ти , выход которого подключен к информационным входам первого и второго накапливающих сумматоров, вход признака вывода очередного элемента транспонируемой матрицы устройства подключен к тактовому входу первого накапливающего сумматора, выход которого подключен к первому информационному входу мультиплексора, выход которого подключен к адресному входу первого блока пам ти, вход признака ввода очередного элемента входной матрицы устройства подключен к входу записи-чтени первого блока пам ти, к управл ющему входу мультиплексора и к тактовому входу второго накапливающего сумматора, вькоды которого подключены к разр дам второго информационного входа мультиплексора и к входам элемента И, выход которого подключен к счетному входу счетчика, причем в каждом накапливающем сумматоре выход переноса старшего разр да подключен к входу заема младшего разр да.A device for transposing matrices containing the first memory block, whose information input-output is the same input-output device of the device, characterized in that, c. In order to reduce hardware costs, a multiplexer, two accumulating adders, an element I, a second memory block and a counter, whose setup input is the input of specifying the order of transposable device matrices, are inserted into it, the output of the counter is connected to the address input of the second memory block, the output of which connected to the information inputs of the first and second accumulating adders, the input of the output attribute of the next element of the transposed device matrix is connected to the clock input of the first accumulating adder, output which is connected to the first information input of the multiplexer, the output of which is connected to the address input of the first memory block, the input of the input feature of the next element of the input matrix of the device is connected to the write-read input of the first memory block, to the control input of the multiplexer and to the clock input of the second accumulator The codes of which are connected to the bits of the second information input of the multiplexer and to the inputs of the element I, the output of which is connected to the counting input of the counter, and in each accumulating sum At the high-end transfer output is connected to the low-level loan input.
am 3am 3
((
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864035084A SU1381540A1 (en) | 1986-03-11 | 1986-03-11 | Device for tranposing matrix |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864035084A SU1381540A1 (en) | 1986-03-11 | 1986-03-11 | Device for tranposing matrix |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1381540A1 true SU1381540A1 (en) | 1988-03-15 |
Family
ID=21225669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864035084A SU1381540A1 (en) | 1986-03-11 | 1986-03-11 | Device for tranposing matrix |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1381540A1 (en) |
-
1986
- 1986-03-11 SU SU864035084A patent/SU1381540A1/en active
Non-Patent Citations (1)
Title |
---|
Погребенко С.В., Царевский Г.С.- Препринт ИКИ АН СССР, № 699, 1982, с. 35. Хуанг Т.е. и др. Быстрые алгоритмы в цифровой обработке изображений. Пер. с англ. - М.: Радио и св зь, 1984, с. 20-24, 27. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3943347A (en) | Data processor reorder random access memory | |
SU1381540A1 (en) | Device for tranposing matrix | |
JPS61195015A (en) | Digital filtering circuit apparatus for image signal | |
SU1037345A1 (en) | Associative memory | |
SU1552178A1 (en) | Device for computing sum of products | |
SU1010653A1 (en) | Memory device | |
SU1594515A1 (en) | Digital function converter | |
SU881861A1 (en) | Associative storage device | |
SU1070548A1 (en) | Random markov process generator | |
SU1315967A1 (en) | Device for sorting numbers | |
SU1314386A1 (en) | Content-addressable storage | |
SU551702A1 (en) | Buffer storage device | |
SU1163360A1 (en) | Buffer storage | |
RU1789993C (en) | Device for editing table elements | |
SU1129655A1 (en) | Storage with error detection | |
SU978196A1 (en) | Associative memory device | |
SU943731A1 (en) | Device for code sequence analysis | |
SU1553982A1 (en) | Buffer memory device | |
SU1218396A1 (en) | Device for calculating fourier-galois transform | |
SU1444820A1 (en) | Device for converting matrices and solving linear equation systems | |
SU1408453A1 (en) | Device for magnetic recording of digital information | |
SU1048516A1 (en) | Buffer storage | |
SU970358A1 (en) | Device for squaring | |
SU765881A1 (en) | Analogue storage | |
SU955067A1 (en) | Data channel polling device |