SU1605244A1 - Data source to receiver interface - Google Patents
Data source to receiver interface Download PDFInfo
- Publication number
- SU1605244A1 SU1605244A1 SU884468785A SU4468785A SU1605244A1 SU 1605244 A1 SU1605244 A1 SU 1605244A1 SU 884468785 A SU884468785 A SU 884468785A SU 4468785 A SU4468785 A SU 4468785A SU 1605244 A1 SU1605244 A1 SU 1605244A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- group
- output
- elements
- inputs
- Prior art date
Links
Landscapes
- Communication Control (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в автоматизированных устройствах управлени в качестве буферного устройства пам ти. Целью изобретени вл етс повышение быстродействи обмена информацией между источником и приемником информации. Устройство содержит входной регистр, коммутатор, шесть элементов задержки, семь элементов И, два элемента ИЛИ, элемент ИЛИ-НЕ, два триггера, два дешифратора, два реверсивных счетчика, схему сравнени , двухразр дный счетчик и блок пам ти. 1 ил.The invention relates to automation and computing and can be used in automated control devices as a memory buffer device. The aim of the invention is to increase the speed of information exchange between the source and receiver of information. The device contains an input register, a switch, six delay elements, seven AND elements, two OR elements, an OR-NOT element, two triggers, two decoders, two reversible counters, a comparison circuit, a two-bit counter, and a memory block. 1 il.
Description
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в автоматизированных устроствах управлени в качестве буферного .устройства пам ти.The invention relates to automation and computing and can be used in automated control devices as a buffer memory device.
Цель изобретени - повьш1ение быстродействи обмена информации между источником и приемником информации.The purpose of the invention is to increase the speed of information exchange between the source and receiver of information.
На чертеже приведена структурна схема устройства.The drawing shows a block diagram of the device.
Устройство содержит входной регистр 1, коммутатор 2, первый элемент 3 задержки, третий элемент 4 задержки, второй элемент 5 за- . держки, второй 6 и первый 7 элементы ИЛИ, схему 8 сравнени , первый 9 и второй 10 реверсивные счетчики адреса, первый триггер 11, первый 12 и второй 13 элементы И, блок 14 пам ти , содержащий второй дешифратор 15, первый дешифратор 16, блок 17 элементов ИЛИ, N информационных регистров 18 первой группы, N блоков 19The device contains an input register 1, switch 2, the first delay element 3, the third delay element 4, the second element 5 in-. supports, second 6 and first 7 elements OR, comparison circuit 8, first 9 and second 10 reversible address counters, first trigger 11, first 12 and second 13 elements AND, memory block 14 containing the second decoder 15, first decoder 16, block 17 elements OR, N information registers 18 of the first group, N blocks 19
элементов И первой группы, N блоков 20 элементов И второй группы. Устройство также содержит третий элемент И 21, четвертый элемент И 22, п тый элемент И 23, шестой элемвйт И 24, седьмой элемент И 25, элемент ИЛИ-FIE 26, четвертый элемент 27 задержки , п тый элемент 28 задержки, шестой элемент 29 задержки, второй триггер 30. двухразр дный счетчик 31,. В блоке 14 пам ти сдвиг информации производитс с помощью (N-1) информационных регистров 32 второй группы , (N-I) блоков 33 элементов И четвертой группы, (N-1) блоков 34 элементов И третьей группы.elements And the first group, N blocks 20 elements And the second group. The device also comprises a third element AND 21, a fourth element And 22, a fifth element And 23, a sixth element And 24, a seventh element And 25, an OR-FIE 26 element, a fourth delay element 27, a fifth delay element 28, a sixth delay element 29 , second trigger 30. two-digit counter 31 ,. In memory block 14, information shift is performed using (N-1) information registers 32 of the second group, (N-I) blocks 33 elements AND of the fourth group, (N-1) blocks 34 elements AND of the third group.
Кроме того, на схеме обозначены: информационный вход 35 устройства, вход 36 стробировани записи устройства , вход 37 стробировани чтени устройства, вход Началььга установка 38 устройства, информационный выход 39 устройства, выход 40 готов (ЛIn addition, the diagram shows: device information input 35, device recording gating input 36, device reading gating input 37, device installation setting 38, device information output 39, output 40 ready (L
О5O5
ности записи, выход 41 устройства готовности чтени , вход Синхронизаци А2 устройства.write, read-ready device output 41, Device Sync A2 input.
Устройство работает следующим образом .The device works as follows.
Код, установленный на счетчике 10, определ ет адрес регистра 18 блока 14, в который записываетс информаци при очередном обращении к устройству в режиме записи. Выбор i-ro регистра 18 блока 14 в этом режиме производитс разрешающим потенциалом на i-M выходе дешифратора 15.The code set on the counter 10 determines the address of the register 18 of the block 14, to which information is recorded upon next access to the device in the recording mode. The selection of the i-ro register 18 of block 14 in this mode is made by the resolving potential at the i-M output of the decoder 15.
Код, установленный на счетчике 9, определ ет адрес регистра 18 блока 14, из которого считываетс информаци при очередном обращении к устройству в режиме чтени . Выбор i-ro регистра 18 блока 14 в этом режиме производитс разрешающим потенциалом на i-M выходе дешифратора 16.The code set on the counter 9 determines the address of the register 18 of the block 14, from which information is read in the next access to the device in the read mode. The i-ro selection of register 18 of block 14 in this mode is made by the resolving potential at the i-M output of the decoder 16.
Запись (чтение) информации в i-й регистр 18 блока 14 производитс последовательно , в пор дке возрастани адресов регистров 18 блока 14. При этом после записи (чтени ) в i-й регистр 18 блока 14 к содержимому счетчика 10 (9) добавл етс единица и, таким образом, устанавливаетс код, соответствующий адресу (i+1)-ro регистра 18 блока 14,Writing (reading) information into the i-th register 18 of block 14 is performed sequentially, in order of increasing addresses of registers 18 of block 14. After writing (reading) to the i-th register 18 of block 14, the contents of the counter 10 (9) are added to unit and, thus, sets the code corresponding to the address (i + 1) -ro of the register 18 of block 14,
Запросы на запись и чтение информации поступают в устройство асинхро но, поэтому в процессе работы устройства обеспечиваетс чтение информации только из тех регистров 18 блока 14, в которые была произведена запись . Это достигаетс при выполнении услови непревьшени содержимьм счетчика 9 содержимого счетчика 10. Если содержимое счетчика 9 стало равным содержимому счетчика 10, то на выходе несравнени схемы 8 сравнени устанавливаетс нулевой уровень, который через элемент ИЛИ 6 поступает на элемент И 13 и через элемент И 24 на выход 41 устройства и запрещает чтение информации , Чтение информации становитс возможным после увеличени содержимого счетчика 10, т.е„ после следующей записи в устройство .Requests for writing and reading information are received into the device asynchronously, therefore, during operation of the device, information is provided only from those registers 18 of block 14 to which recording was made. This is achieved by fulfilling the condition of the contents of the counter 9 of the contents of the counter 10. If the contents of the counter 9 become equal to the contents of the counter 10, then at the output of the comparison of the comparison circuit 8 the zero level is set, which through the OR element 6 enters the AND 13 element and through the AND 24 element output 41 of the device and prohibits reading the information. Reading the information becomes possible after increasing the contents of the counter 10, i.e. after the next write to the device.
При записи информации во все N регистров 18 блока 14 и отсутствии сигналов чтени счетчик 10 оказываетс обнуленным при переполнении по- .сле записи информации в N-й регистр 18 блока 14, В этом случае сигнал.When writing information to all N registers 18 of block 14 and the absence of reading signals, counter 10 becomes zero when overflow occurs after writing information to the Nth register 18 of block 14, In this case, the signal.
5five
00
5five
00
5five
00
5five
00
5five
разрешающий чтение информации из устройства , вырабатываетс при по влении сигнала переполнени счетчика 10, который переводит в единичное состо ние триггер 11. Единичный потенциал на пр мом выходе триггера поступает через элемент ИЛИ 6 и элемент И 24 на выход 41 устройства и разрешает прохождение управл ющего сигнала чтени .allowing the reading of information from the device is generated when the overflow signal of counter 10 appears, which triggers trigger 11. The unit potential at the forward trigger output enters through the OR element 6 and the AND 24 element at the output 41 of the device and allows the control signal to pass reading.
Сброс триггера 11 в исходное состо ние производитс после чтени - информации из последнего регистра 18 блока 14. При этом вырабатываетс сигнал переполнени счетчика 9, который , поступа на элемент ИЛИ 7, производит действи , аналогичные сигналу начальной установки.The trigger 11 is reset to the initial state after reading the information from the last register 18 of the block 14. At the same time, the overflow signal of the counter 9 is generated, which, arriving at the OR element 7, performs actions similar to the initial setting signal.
Запись в устройство блокируетс с момента переполнени счетчика 10 до момента переполнени счетчика 9 (т.е., между записью в последний N-й регистр 18 и чтением информации из него). Дл снижени потерь времени, св занных.с этой блокировкой, в устройстве осуществл етс сдвиг информации , содержащейс в N регистрах 18 блока 14, в направлении регистров 18 блока 14 с меньшими адресами после чтени информации из последних. Сдвиг информации производитс с использованием регистров 32 блока 14 при отсутствии запросов на чтение и запись в устройство, В режиме сдвига устанавливаетс в единичное состо ние триггер 30, что приводит к запреще- . нию чтени и записи в устройство на врем сдвига и к запуску счетчика 31, управл ющего процессом сдвига.Writing to the device is blocked from the moment the counter 10 overflows until the counter 9 overflows (i.e., between writing to the last Nth register 18 and reading information from it). To reduce the time lost associated with this blocking, the device shifts the information contained in the N registers 18 of block 14 in the direction of the registers 18 of block 14 with lower addresses after reading the information from the latter. The information is shifted using the registers 32 of the block 14 in the absence of read and write requests to the device. In the shift mode, the trigger 30 is set to one, which results in a ban. read and write to the device at the time of the shift and to start the counter 31, which controls the shift process.
При завершении двух тактов сдвига ( такт - запись информации из i-ro регистра 18 блока 14 в (i-1)-й регистр 32 блока 14 (i 1,N), 2-й такт - запись информации из j-го регистра 32 блока 14 в j-и регистр 18 блока 14, 3 1 N-1) из содержимого счетчиков 9 и 10.вычитаетс единица и сбрасываетс триггер 30. Операци сдвига повтор етс до момента по влени высокого потенциала на первом выходе дешифратора 16, что свидетельствует о выборе дл чтени первого регистра 18 блока 14 и, следовательно , об отсутствии регистров 18 блока 14, из которых уже была считана информаци .At the completion of two clock cycles (clock — recording information from i-ro register 18 of block 14 into (i-1) -th register 32 of block 14 (i 1, N), 2nd cycle — recording information from j-th register 32 block 14 into the j register 18 of block 14, 3 1 N-1) from the contents of counters 9 and 10. one is subtracted and trigger 30 is reset. The shift operation is repeated until a high potential appears at the first output of the decoder 16, which indicates choosing to read the first register 18 of block 14 and, therefore, about the absence of registers 18 of block 14, from which information has already been read.
При частом во времени следовании запросов на чтение и запись инфорнацин в устройство и, следовательно,With frequent follow-up requests for reading and writing infornacin into the device and, therefore,
прн затруднении проведени сдвига информации возможно переполнение счечика 10, В этом случае проведение сдвигов блокируетс до момента сброса триггера 11.It is possible that the shift in information is difficult to overflow with a striker 10. In this case, carrying out shifts is blocked until the trigger is reset. 11.
Перед началом работы с помощью импульсного сигнала на входе 38 начальной установки устройства производитс сброс двухразр дного счетчика, счетчиков 9 и 10, регистров 18 или 32 блока 14 и установка в исходное состо ние триггера 11, что формирует на выходе 40 устройства готовность записи. При сбросе в счетчики 9 и 10 занос тс нулевые коды и вследствие равенства содержимого этих счетчков устанавливаетс нулевой уровень на выходе несравнени схемы 8 сравнени , который приводит к запрету чтени информации из устройства.Before starting operation, a two-bit counter, counters 9 and 10, registers 18 or 32 of block 14 are reset by the pulse signal at the input 38 of the initial installation of the device and the trigger 11 is reset to the initial state, which forms the readiness of the device at output 40. When reset, zero codes are entered into counters 9 and 10 and, due to the equality of the contents of these counters, a zero level is set at the output of the comparison of the comparison circuit 8, which prohibits the reading of information from the device.
При вводе информации управл ющий сигнал записи подаетс на вход 36 устройства и разрешает прохождение информации с входа 35 устройства через коммутатор 2 в регистр 1 данных, С регистра 1 информационный сигнал поступает на вход блоков 19 элементов И, Кроме того, сигнал записи после задержки на элементе 3 задержки на входе элемента И 12 поступает с выхода этого элемента на вход блоков 19 элементов И. Запись информации в соответствующий регистр 18 блока 14 производитс при наличии разрешающего сигнала на соответствующем выходе дешифратора 15, После задержки на элементе 5 задержки на врем записи информации в регистр 18 сигнал записи увеличивает содержимое счетчика 10 на единицу, вследствие чего с помощью дешифратора 15 может быть выбран следующий регистр 18 блока 14,When entering information, the write control signal is fed to the device input 36 and allows the information from the device input 35 to pass through the switch 2 to the data register 1, register 1 receives the information signal to the input of the blocks of the 19 elements, and the recording signal after the delay on the element 3 delays at the input of the element And 12 comes from the output of this element to the input of the blocks of the 19 elements I. The information is written into the corresponding register 18 of the block 14 when the enabling signal is present at the corresponding output of the decoder 15, After delay element 5 of delay time of recording information in the register 18, a write signal, the counter 10 increases by one, whereby via the decoder 15 may be selected the next block register 18, 14,
Увеличение содержимого счетчика 10. в процессе записи информации приводит к по влению единичного уровн на выходе несравнени схемы 8 сравнени , который через элемент ИЛИ поступает на элементы И 13 и разрешает прохождение управл ющего сигнала чтени на входы элементов И блоков 20,Increasing the content of the counter 10. in the process of recording information leads to the appearance of a single level at the output of the comparison of the comparison circuit 8, which through the OR element enters the AND 13 elements and allows the read control signal to pass to the inputs of the AND elements of the blocks 20,
Чтение информации производитс при поступлении на вход 37 устройства управл ющего сигнала чтени . При этом чтение осуществл етс последовательно из регистров 18 блока 14, Информационный сигнал с регистра 18 через блок 17 элементов ИЛИ поступает на ин 6052446The information is read when the read control signal arrives at the input 37. In this case, the reading is carried out sequentially from the registers 18 of the block 14. The information signal from the register 18 through the block 17 of the elements OR is fed to info 6052446
формационный выход 39 устройства. Кроме того, управл ющий сигнал чтени после задержки на элементе 4 задержки на врем чтени из регистра 18 увели чивает содержимое счетчика 9 на единицу , вследствие чего с помощью дешифратора 16 выбираетс дл чтени следующий регистр 18,formational output 39 devices. In addition, the read control signal after a delay on the delay element 4 by the read time from the register 18 increases the contents of the counter 9 by one, as a result of which the next register 18 is selected for reading using the decoder 16,
Q Сдвиг информации производитс следующим образом. При отсутствии управл ющих сигналов записи и чтени , высоких потенциалов на пр мом выходе триггера 11 и первом выходе де15 шифратора 16 на выходе элемента ИЛИ-НЕ 26 по вл етс высокий потенциал, который через элемент И 24, предназначенный дл исключени запрещенных комбинаций на входе триггера 30, посту20 пает на единичный вход триггера 30, По приходу синхроимпульса триггер 30 перебрасываетс в единичное состо ние (фиг,2), что приводит к сбросу готовности записи и чтени на вы25 -ходах 40 и 41 устройства и к разре- щению прохождени задержанных на врем перебрасывани триггера 30 синхроимпульсов на счетный вход счетчика 31 ,Q Information shift is performed as follows. In the absence of control signals for writing and reading, high potentials at the direct output of the trigger 11 and the first output of the decoder 16 of the encoder 16, a high potential appears at the output of the OR-HE element 26, which through the AND 24 element designed to eliminate the forbidden combinations at the trigger input 30, post 20 goes to a single trigger input 30. Upon the arrival of the clock pulse, the trigger 30 is transferred to a single state (FIG. 2), which leads to a reset of read and write readiness at device outputs 40 and 41 and to allow the delayedthe transfer time of the trigger 30 sync pulses to the counting input of the counter 31,
30 При установке в единичное состо ние первого разр да счетчика 31 производитс запись информации из i-ro регистра 18 в (1-1)-й регистр 32 (i 1,N), а при установлении в единичное состо ние второго разр да счетчика 31 - запись из j-ro ре- гистра 32 в j-и регистр 18 (j 1,(N-1)), Последний N-й регистр 1830 When the first bit of the first counter of the counter 31 is set, information from the i-ro register 18 is recorded into (1-1) -th register 32 (i 1, N), and when the second bit is set to the single bit of the second bit 31 - entry from j-ro register 32 to j register 18 (j 1, (N-1)), Last Nth register 18
3535
при этом обнул етс .in doing so, it is zeroed.
Элементы 27 и 29 задержки, задерживающие сигналы на одинаковое врем , предназначены дл обеспечени сброса счетчика 31 и триггера 30 следующим синхроимпульсом после синхроимпульса , по которому бьш установлен в единичное состо ние второй разр д счетчика 31, Сброс триггера 30 приводит к восстановлению готовности записи и чтени на выходах 40 и 41 устройства.The delay elements 27 and 29, which delay the signals for the same time, are designed to ensure the reset of the counter 31 and the trigger 30 by the following sync pulse after the sync pulse for which the second bit of the counter 31 is set to one, the reset of the trigger 30 leads to the restoration of read and write readiness at outputs 40 and 41 devices.
Если запись информации в последний N-й регистр 18 произведена, то это приводит к переполнению счетчика 10, Сигнал переполнени этого счетчика устанавливает в единичное состо ние триггер 11, что приводит к сбросу готовности записи на выходе 40 устройства и к запрету проведени сдвигов.If the information is written to the last Nth register 18, this leads to overflow of counter 10, the overflow signal of this counter sets the trigger 11 to one state, which leads to a reset of readiness to write at the output 40 of the device and to the prohibition of conducting shifts.
После чтени информации из последнего N-ro регистра 18 блока 14 увеличение содержимого счетчика 9 на единицу приводит к по влению сигнала его переполне ни , который, поступа на вход элемента ИЛИ 7, переводит устройство в исходное состо ние.After reading information from the last N-ro register 18 of block 14, an increase in the content of counter 9 by one results in the appearance of a signal of its overflow, which, entering the input of the element OR 7, brings the device to the initial state.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884468785A SU1605244A1 (en) | 1988-08-01 | 1988-08-01 | Data source to receiver interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884468785A SU1605244A1 (en) | 1988-08-01 | 1988-08-01 | Data source to receiver interface |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1605244A1 true SU1605244A1 (en) | 1990-11-07 |
Family
ID=21393278
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884468785A SU1605244A1 (en) | 1988-08-01 | 1988-08-01 | Data source to receiver interface |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1605244A1 (en) |
-
1988
- 1988-08-01 SU SU884468785A patent/SU1605244A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1357963, кл. С 06 F 11/28, 1987. Авторское свидетельство СССР № 1488815, кл. С 06 F 13/00, G 06 F 11/28, 1987. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1605244A1 (en) | Data source to receiver interface | |
SU1587504A1 (en) | Programmed control device | |
SU1325482A2 (en) | Device for revealing errors in parallel n-order code | |
SU1488815A1 (en) | Data source/receiver interface | |
SU1709293A2 (en) | Device for information input | |
SU1606972A1 (en) | Device for sorting data | |
SU1462292A1 (en) | Device for searching for preset number | |
SU1667082A1 (en) | Majority gate | |
SU1550525A1 (en) | Device for interfacing comimunication channel and computer | |
SU1168958A1 (en) | Information input device | |
SU1256034A1 (en) | Interface for linking two electronic computers with common memory | |
SU824193A1 (en) | Extremum number determining device | |
SU1575190A1 (en) | Device for controlling dynamic memory | |
SU1425632A1 (en) | Device for delaying multiplexed digital information | |
SU1283760A1 (en) | Control device for microprocessor system | |
SU1300459A1 (en) | Device for sorting numbers | |
SU1256196A1 (en) | Multichannel pulse counter | |
SU1399750A1 (en) | Device for interfacing two digital computers with common storage | |
SU576588A1 (en) | Magnetic digital recording apparatus | |
SU1725394A1 (en) | Counting device | |
SU1564695A1 (en) | Buffer memory unit | |
SU1160410A1 (en) | Memory addressing device | |
SU1174919A1 (en) | Device for comparing numbers | |
SU1386988A1 (en) | Device for determining extremes | |
SU1291988A1 (en) | Information input device |