RU1837298C - Device for addressing data arrays - Google Patents
Device for addressing data arraysInfo
- Publication number
- RU1837298C RU1837298C SU904803605A SU4803605A RU1837298C RU 1837298 C RU1837298 C RU 1837298C SU 904803605 A SU904803605 A SU 904803605A SU 4803605 A SU4803605 A SU 4803605A RU 1837298 C RU1837298 C RU 1837298C
- Authority
- RU
- Russia
- Prior art keywords
- output
- input
- counter
- address
- decoder
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике, в частности к устройствам управлени внешней пам тью, и может быть использовано дл расширени адресного пространства микроЭВМ при адресации пам ти данных, нос щих произвольно-последовательный характер. Целью изобретени вл етс повышение быстродействи устройства . Поставленна цель достигаетс тем, что устройство содержит два регистра, дешифратор, два счетчика, схему сравнени и одновибратор. 2 ил.The invention relates to computing, in particular to external memory control devices, and can be used to expand the address space of a microcomputer while addressing a data memory of an arbitrary serial nature. The aim of the invention is to increase the speed of the device. The goal is achieved in that the device comprises two registers, a decoder, two counters, a comparison circuit and a single-shot. 2 ill.
Description
Изобретение относитс к вычислитель- эй технике, в частности к.устройствам управлени внешней пам тью, и может быть использовано дл расширени адресного пространства микроЭВМ при адресации па- м| ти данных, нос щих произвольно-последовательный характер.The invention relates to computer technology, in particular to external memory control devices, and can be used to expand the address space of a microcomputer for addressing memory | These are data of an arbitrary sequential nature.
Цель изобретени - повышение быстро- дэйстви устройства.The purpose of the invention is to increase the speed of the device.
Нафиг.1 представлена функциональна схема устройства; на фиг.2 приведены временные диаграммы работы устройства.Figure 1 presents a functional diagram of the device; figure 2 shows the timing diagrams of the operation of the device.
Устройство содержит процессорный блок 1, дешифратор 2. первый 3 и второй 4 счетчики, блок 5 пам ти, первый 6 и второй 7 регистры, компаратор 8, одновибратор 9, информационный вход-выход 10 устройства . Процессорный блок 1 через информационный вход-выход подключен к информационным входам второго счетчикаThe device comprises a processor unit 1, a decoder 2. the first 3 and second 4 counters, a memory unit 5, the first 6 and second 7 registers, a comparator 8, a single vibrator 9, information input-output 10 of the device. The processor unit 1 through the information input-output is connected to the information inputs of the second counter
4и первого регистра 6, входу - выходу блока4 and the first register 6, input - output block
5пам ти и входу-выходу 10 устройства. Дешифратор 2 по информационным входам, куда заводитс адресный выход блока 1, определ ет первый адрес на своем первом выходе, подключенном к счетному входу первого счетчика 3, входу стробировани компаратора 8 и входу выборки блока 5 пам ти , второй адрес на своем втором выходе, соединенном с синхровходами регистров 6, 7 и первым входом установки первого счетчика 3 и третий адрес на своем третьем выходе подключенном к входу установки второго счетчика 4. Выходы чтени и записи блока 1 подключены к соответствующим входам блока 5 и стробирующим входам дешифратора 2. Выход первого регистра 6 подключен к первому информационному входу компаратора 8 и информационному входу второго регистра 7, выход которого заведен на информационный вход счетчика 3, выход которого подключен к первому адресному входу блока 5 и к второму информационному входу компаратора 8, выход которого через одновибратор 9 заведен на второй вход записи счетчика 3 и синхровход счетчика 4, выход которого соединен с вторым адресным входом блока 5.5 pam te and input-output 10 of the device. The decoder 2 from the information inputs, where the address output of block 1 goes, determines the first address at its first output connected to the counting input of the first counter 3, the gating input of the comparator 8 and the sample input of the memory block 5, the second address at its second output connected with the sync inputs of the registers 6, 7 and the first input of the installation of the first counter 3 and the third address on its third output connected to the installation input of the second counter 4. The read and write outputs of block 1 are connected to the corresponding inputs of block 5 and gate odes of the decoder 2. The output of the first register 6 is connected to the first information input of the comparator 8 and the information input of the second register 7, the output of which is connected to the information input of the counter 3, the output of which is connected to the first address input of the unit 5 and to the second information input of the comparator 8, the output of which through a one-shot 9 is connected to the second input of the counter 3 record and the counter clock input 4, the output of which is connected to the second address input of block 5.
ЈЈ
00 GJ00 gj
||
N3 О СN3 O C
На фиг.2 обозначены: а-в - соответственно первый-третий выходы дешифратора 2; г, д - сигналы записи и чтени процессорного блока 1; е - интервал совпадени входных операндов компаратора 8; ж - выход компаратора 8; з - выход одно- вибратора 9.Figure 2 marked: a-c - respectively, the first or third outputs of the decoder 2; g, d - write and read signals of processor unit 1; e is a match interval of input operands of comparator 8; g - the output of the comparator 8; C - output single-vibrator 9.
Дополнительно обозначены участки: 1 - инициализации счетчиков 3,4 и регистров 6, 7 перед информационным обменом с пам тью; II - начало записи/чтени первой строки фрагмента; III - запись/чтение последних двух элементов строки фрагмента; IV - запись/чтение следующей строки.The following sections are additionally indicated: 1 - initialization of counters 3.4 and registers 6, 7 before information exchange with memory; II - the beginning of writing / reading the first line of the fragment; III - write / read the last two elements of the fragment line; IV - write / read the next line.
Устройство работает следующим образом . .The device operates as follows. .
Блок 5 пам ти хранит информационный массив размерностью 256x256 элементов. Он адресуетс по горизонтали 8-разр дным счетчиком 3. по вертикали 8-разр дным счетчиком 4. Верхний левый элемент массива адресуетс нулевыми значени ми счетчиков 3, 4. Передача элементов пр моугольного фрагмента массива производитс в пор дке слева направо, сверху вниз. Перед передачей элементов фрагмента процессорный блок 1 производит инициализацию счетчиков 3, 4 и регистров 6, 7. Он последовательно выбирает из стека своей системной пам ти их атрибуты и заносит в указанные счетчики и регистры, сначала указыва адрес A3, затем трижды А2. В результате выбранные процессорным блоком 1 из стека четыре байта атрибутов фрагмента последовательно вывод тс на информационную шину 10: сначала байт УлВ, сопровождаемый адресом A3, затем дважды Хлв, затем Хп, сопровождаемые адресом А2. Выдаваема информаци стробируетс по выходу записи (фиг.2г, 1), что отрабатываетс третьим, а затем вторым выходами дешифратора 2 (фиг.2а, б, 1).The memory unit 5 stores an informational array with a dimension of 256x256 elements. It is addressed horizontally by an 8-bit counter 3. vertically by an 8-bit counter 4. The upper left element of the array is addressed by the null values of counters 3, 4. The transmission of elements of a rectangular fragment of the array is performed in the order from left to right, from top to bottom. Before transferring the elements of the fragment, the processor unit 1 initializes the counters 3, 4 and registers 6, 7. He sequentially selects their attributes from the stack of his system memory and stores them in the indicated counters and registers, first indicating the address A3, then three times A2. As a result, four bytes of the fragment attributes selected by the processor unit 1 from the stack are sequentially output to the information bus 10: first, the byte ULV, followed by address A3, then twice by Chlv, then Xn, followed by address A2. The output information is gated to the output of the recording (Fig. 2d, 1), which is processed by the third and then the second outputs of the decoder 2 (Fig. 2a, b, 1).
По окончании процесса инициализации: в регистре 6 хранитс координата Хп правого столбца, передаваемого пр моугольного фрагмента; в регистре 7, счетчике 3 - координата Хлв левого верхнего элемента передаваемого фрагмента; в счетчике 4 - координата Улв левого верхнего элемента передаваемого фрагмента. Процессорный блок 1 переходит к последовательному обмену байтами, указанного фрагмента с блоком 5 пам ти, выставл адрес А1, которому соответствует первый выход дешифратора 2.At the end of the initialization process: the coordinate Xn of the right column transmitted by the rectangular fragment is stored in register 6; in register 7, counter 3 - coordinate Hlv of the upper left element of the transmitted fragment; in counter 4, the Ulv coordinate of the upper left element of the transmitted fragment. The processor unit 1 proceeds to the sequential exchange of bytes of the indicated fragment with the memory unit 5; it sets the address A1 to which the first output of the decoder 2 corresponds.
Первый выход дешифратора 2 активизирует блок 5 пам ти по входу доступа EN. по активности сигнала записи или чтени (WR, RD) подключа вход или выход блока 5 к шине 10 (фиг,2в, г, д. II). По окончании чтени -записи очередного элемента в блоке 5 пам ти счетчик 3 инкрементируетс , адресу следующий элемент фрагмента по строке . Последний элемент строки фрагментаThe first output of decoder 2 activates the memory unit 5 at the EN input. by the activity of a write or read signal (WR, RD) by connecting the input or output of block 5 to bus 10 (Fig. 2c, d, d. II). Upon completion of reading-writing of the next element in the memory block 5, the counter 3 is incremented, to the address of the next element of the fragment along the line. The last element of the fragment line
определ етс на компараторе 8 (фиг.2е, ж, III), импульс с стробируемого выхода которого своим задним фронтом запускает одно- вибратор 9 (фиг.2з, III), который заносит по второму входу записи в счетчик 3 из регистра 7 координату Хлв левого столбца фрагмента , и инкрементирует по счетному входу счетчик 4. В результате счетчики 3, 4 адресуют крайний левый элемент следующей строки и процесс перекачки может бытьit is determined on the comparator 8 (fig.2e, g, III), the pulse from the gated output of which with its trailing edge triggers a single-vibrator 9 (fig.2z, III), which records the coordinate Chlv on the second input of the record in the counter 3 from register 7 the left column of the fragment, and increments the counter 4 along the counting input. As a result, the counters 3, 4 address the leftmost element of the next row and the pumping process can be
продолжен (фиг.2. IV). По просчету процессорным блоком 1 всех передаваемых элементов фрагмента процесс перекачки заканчиваетс .continued (figure 2. IV). After miscalculation by the processor unit 1 of all the transmitted elements of the fragment, the pumping process ends.
Формул а изобретени Formulas of the invention
Устройство дл адресации массивовArray addressing device
данных, содержащее регистр, дешифраторdata containing register decoder
и два счетчика, причем вход задани режи ма функционировани устройства подключен .к информационному входу дешифратора , первый и второй стробирующие входы которого соединены соответственно с входами чтени и записи устройства, первый выход дешифратора подключен к счетномуand two counters, and the input of the operation mode of the device is connected. to the information input of the decoder, the first and second gate inputs of which are connected respectively to the read and write inputs of the device, the first output of the decoder is connected to the counting
входу первого счетчика и к выходу строби- ровани обращени к пам ти устройства, второй и третий выходы дешифратора подключены соответственно к первому входу записи первого счетчика и к входу записиthe input of the first counter and the output of the gating access to the device memory, the second and third outputs of the decoder are connected respectively to the first recording input of the first counter and to the recording input
второго счетчика, выход которого подключен к выходу адреса столбца массива уст- рбйства, выход первого счетчика подключен к выходу адреса строки массива устройства, вход параметров адресуемого массива устройства подключен к информационному входу второго счетчика, отличающее- с тем, что, с целью повышени быстродействи , в него введены регистр, схема сравнени и одновибратор, причем входthe second counter, the output of which is connected to the output of the address of the column of the array of devices, the output of the first counter is connected to the output of the address of the string of the device array, the input of the parameters of the addressed array of the device is connected to the information input of the second counter, characterized in that, in order to improve performance, a register, a comparison circuit and a one-shot are introduced into it, and the input
параметров адресуемого массива устройства подключен к информационному входу первого регистра, выход которого подключен к информационному входу второго регистра и к первому информационному входуparameters of the addressed array of the device is connected to the information input of the first register, the output of which is connected to the information input of the second register and to the first information input
схемы сравнени , выход которой через одновибратор подключен к второму входу записи первого счетчика и к счетному входу второго счетчика, выход второго регистра подключен к информационному входу первого счетчика, выход которого подключен к второму информационному входу схемы сравнени , стробирующий вход которой подключен к первому выходу дешифратора, второй выход которого подключен к синх- ровходам первого и второго регистров.the comparison circuit, the output of which through a one-shot is connected to the second recording input of the first counter and to the counting input of the second counter, the output of the second register is connected to the information input of the first counter, the output of which is connected to the second information input of the comparison circuit, the gate input of which is connected to the first output of the decoder, whose second output is connected to the sync inputs of the first and second registers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904803605A RU1837298C (en) | 1990-03-19 | 1990-03-19 | Device for addressing data arrays |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904803605A RU1837298C (en) | 1990-03-19 | 1990-03-19 | Device for addressing data arrays |
Publications (1)
Publication Number | Publication Date |
---|---|
RU1837298C true RU1837298C (en) | 1993-08-30 |
Family
ID=21502591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU904803605A RU1837298C (en) | 1990-03-19 | 1990-03-19 | Device for addressing data arrays |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU1837298C (en) |
-
1990
- 1990-03-19 RU SU904803605A patent/RU1837298C/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0326885A2 (en) | Sequential read access of serial memories with a user defined starting address | |
RU1837298C (en) | Device for addressing data arrays | |
US4204254A (en) | Electronic computer including an information refreshing arrangement | |
KR860003554A (en) | Shared Main Memory and Disk Controller Memory Address Registers | |
SU1160410A1 (en) | Memory addressing device | |
SU1257644A2 (en) | Device for controlling multichannel measuring system | |
SU1133622A1 (en) | Buffer storage | |
SU951991A1 (en) | Computer | |
SU1238091A1 (en) | Information output device | |
SU1160424A1 (en) | Device for controlling access to common memory | |
SU1372316A1 (en) | Memory for graphic display | |
SU1368978A2 (en) | Threshold element | |
SU1111150A1 (en) | Interface for linking two computers | |
SU1399750A1 (en) | Device for interfacing two digital computers with common storage | |
SU1287165A1 (en) | Device for measuring time characteristics of programs | |
SU1529287A1 (en) | Permanent memory | |
SU1264239A1 (en) | Buffer storage | |
SU1591030A2 (en) | Device for interfacing two computers | |
SU1003151A1 (en) | Storage device with information check at recording | |
SU1211809A1 (en) | Device for checking internal memory | |
SU1425709A1 (en) | Processor for fast fourier transform | |
SU1494007A1 (en) | Memory addressing unit | |
SU1198564A1 (en) | Device for writing information in internal memory | |
SU1667005A1 (en) | Programme-control device | |
SU1615803A1 (en) | On-line memory |