RU1836687C - Device for time-division multiplexing of requests for writing and reading - Google Patents

Device for time-division multiplexing of requests for writing and reading

Info

Publication number
RU1836687C
RU1836687C SU915004641A SU5004641A RU1836687C RU 1836687 C RU1836687 C RU 1836687C SU 915004641 A SU915004641 A SU 915004641A SU 5004641 A SU5004641 A SU 5004641A RU 1836687 C RU1836687 C RU 1836687C
Authority
RU
Russia
Prior art keywords
read
inputs
write
triggers
output
Prior art date
Application number
SU915004641A
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 SU915004641A priority Critical patent/RU1836687C/en
Application granted granted Critical
Publication of RU1836687C publication Critical patent/RU1836687C/en

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Communication Control (AREA)

Description

но допустимой частоте поступлени  в него запросов на запись и чтение. По сн етс  это следующим.but the permissible frequency of requests to write and read. This is explained as follows.

Обозначим возможную задержку буферного ЗУ, дл  которого рассматриваемое устройство вырабатывает сигналы управлени  режимов работы, через ТЗУ.We denote the possible delay of the buffer memory, for which the device in question generates control signals of the operating modes, through the RAM.

Тогда из временной диаграммы работы прототипа видно, что длительность импульсов его синхронизации г, должна быть больше , чем ТЗУ, а частота f,синхронизации должна быть:Then from the timing diagram of the prototype, it can be seen that the duration of the pulses of its synchronization g should be longer than the TZU, and the frequency f, synchronization should be:

11

. .

2t

Иными словами, дл  разделени  во времени одновременно поступивших запросов на запись и чтение, прототипу необходимо врем  не менее 2 т, где т . ТЗУ. Минимальный же период поступлени  в прототип запросов на запись или чтение должен быть больше, чем это врем  2 г на величину ожидани  фронта импульса синхронизации, т.к. только по фронту (переднему или заднему) этого импульса начнетс  выполнение первого запроса. Очевидно, что максимально возможное врем  ожидани  переднего или заднего фронта импульса синхронизации равно г. Из всего этого следует, что устройство-прототип может работать только при удовлетворении выражени м:In other words, to separate in time the simultaneously received write and read requests, the prototype needs a time of at least 2 tons, where TZU. The minimum period of receipt of write or read requests by the prototype should be longer than this time of 2 g by the value of the expectation of the synchronization pulse front, since only on the edge (leading or trailing) of this pulse will the execution of the first request begin. Obviously, the maximum possible waiting time for the leading or trailing edge of the synchronization pulse is equal to r. From all this it follows that the prototype device can only work if the expressions are satisfied:

(1)(1)

(2)(2)

т ГЗУ(3)t GZU (3)

где Тзап - минимально возможный период поступлени  запросов на запись данных в буфере ЗУ;Тут ,- минимально возможный период поступлени  запросов на чтение данных из буферного ЗУ.where Tzap is the minimum possible period for requests to write data in the memory buffer; Here, is the minimum possible period for requests to read data from the buffer memory.

Таким образом, быстродействие сопр гаемых при помощи прототипа источников и приемников информации должно быть более , чем в 3 раза меньше быстродействи  используемого буферного ЗУ.Thus, the speed of the information sources and receivers used with the prototype should be more than 3 times lower than the speed of the used buffer memory.

Указанное обсто тельство существенно сужает область эффективного применений устройства-прототипа.This circumstance significantly narrows the scope of effective applications of the prototype device.

В св зи с этим целью изобретени   вл етс  расширение области применени  устройства , дл  разделени  во времени запросов на запись и чтение данных, за счет снижени  критичности требований к быстродействию источников и приемников данных .In view of this, an object of the invention is to expand the scope of the device to separate time between write and read requests by reducing the criticality of the performance requirements of data sources and receivers.

Поставленна  цель достигаетс  тем, что в устройство дл  разделени  во времени запросов на запись и чтение данных, содержащее RS-триггеры чтени  и записи, JK- триггеры чтени  и записи, Т-триггер. причемThe goal is achieved in that in a device for dividing time requests for writing and reading data containing RS read and write triggers, JK read and write triggers, T-trigger. moreover

вход разделительной частоты устройства соединен с Т-входом Т-триггера, выход которого соединен с синхровходами J«-триггеров записи и чтени , входы запросов на чтение и запись устройства  вл ютс  соответственно S-входами RS-триггеров чтени  и записи, пр мые выходы JK-триггеров чтени  и записи соединены с R-входами соответствующих RS-триггеров чтени  и записи,the dividing frequency input of the device is connected to the T-input of the T-flip-flop, the output of which is connected to the clock inputs of the J "write and read triggers, the read and write request inputs are S-inputs of the RS-read and write triggers, direct JK outputs the read and write triggers are connected to the R-inputs of the corresponding RS-read and write triggers,

00

а также соответственно с выходами управлени  чтением и записью устройства, К-вхо- ды JK-триггеров чтени  и записи соединены с нулевым потенциалом устройства, дополнительно введены счетчик, элемент ИЛИ,and also, respectively, with the read and write control outputs of the device, the K-inputs of the JK read and write triggers are connected to the zero potential of the device, an additional counter, an OR element,

5 первый, второй и третий элементы И, причем пр мые выходы JK-триггеров чтени  и записи соединены соответственное первым 1л вторым входами элемента ИЛИ, выход s которого и вход разделительной частб0 ты устройства соединены соответственно с первым и вторым входами третьего элемента И, выход которого соединен со счетным входом счетчика, выход счетчика соединен с асинхронными R-входами JK-триггеров чте5 ни  и записи, выходы RS-триггеров чтени  и записи соединены соответственно с первыми входами первого и второго элементов И, выходы которых соединены соответственно с J-входами JK-триггеров чтени  и записи,5 first, second, and third AND elements, and the direct outputs of the JK read and write triggers are connected correspondingly to the first 1 l by the second inputs of the OR element, whose output s and the input of the dividing frequency of the device are connected respectively to the first and second inputs of the third AND element, the output of which connected to the counter input of the counter, the output of the counter is connected to the asynchronous R-inputs of the JK read and write triggers, the outputs of the RS read and write triggers are connected respectively to the first inputs of the first and second AND elements, the outputs of which are connected inens respectively with J-inputs of JK-read and write triggers,

0 инверсные выходы JK-триггеров записи и чтени  соединены соответственна со вторыми входами первого и второго элементов И. Сущность изобретени  состоит в расширении области применени  устройстваThe 0 inverse outputs of the JK triggers for writing and reading are connected respectively to the second inputs of the first and second elements I. The essence of the invention is to expand the scope of the device

5 дл  разделени  во времени запросов на запись и чтение данных путем снижени  критичности требований к максимальному быстродействию сопр гаемых источников и приемников информации, посылающих за0 просы соответственно на запись и чтение данных в буферное ЗУ.5 to separate in time the requests for writing and reading data by reducing the criticality of the requirements for maximum speed of the interfaced sources and receivers of information sending requests for writing and reading data to the buffer memory, respectively.

Снижение критичности требований к максимальному быстродействию источников и приемников данных заключаетс  вReducing the criticality of the requirements for maximum performance of data sources and receivers consists in

5 уменьшении минимально возможного периода поступлени  в устройство запросов на запись (Тзап) и чтение (ТЧт) данных в буферное ЗУ. Это достигаетс  благодар  значительному сокращению времени ожидани  в5 reducing the minimum possible period of receipt of write requests (Tzap) and reading (Tcht) of data in the buffer memory. This is achieved by significantly reducing the waiting time in

0 предлагаемом устройстве фронта импульса синхронизации, по которому собственно начнет формироватьс  сигнал управлени  режимом работы буферного ЗУ.0 of the proposed device of the edge of the synchronization pulse, according to which the control signal of the operating mode of the buffer memory will begin to form.

С этой целью частота fn синхронизацииTo this end, the synchronization frequency fn

5 по сравнению с устройством-прототипом5 compared to the prototype device

повышаетс  в k раз: fw kf; ги Ј.increases k times: fw kf; gi Ј.

Соответственно в k раз уменьшаетс  максимальное врем  ожидани  начала обслуживани  первого из одновременно поступивших п устройство запросов на запись и чтение. Это врем  становитс  равным -г.Correspondingly, the maximum waiting time for the start of service of the first of the simultaneously received read and write requests from the fifth device is reduced by a factor of k. This time becomes equal to -g.

Дл  того, чтобы сигнал управлени  режимом работы ЗУ формировалс  на врем  t ГЭУ, вводитс  специальный счетчик импульсов синхронизации. Этот счетчик через k импульсов синхронизации после начала формировани  устройством сигнала управлени  режимом работы буферного ЗУ, пере- полн етс  и инициирует окончание формировани  устройством этого сигнала. После этого устройства переходит и обслуживание следующего запроса на использование буферным ЗУ и формирует очередной сигнал управлени  режимом его работы.In order for the memory mode control signal to be generated at the time t of the GEM, a special counter of synchronization pulses is introduced. This counter, after k synchronization pulses, after the device starts generating the control signal for the operating mode of the buffer memory, is full and initiates the end of the device generating this signal. After this device, the next request for use by the buffer memory is also transferred to the service and generates another control signal for its operation mode.

Описанна  организаци  работы устройства позвол ет на 30% по отношению к прототипу уменьшить минимальный период поступлени  в устройство запросов на запись (Тзап) и чтение (ТЧт) данных в буферное ЗУ. Этим и обусловливаетс  существенное снижение критичности требований к максимальному быстродействию работающих с предлагаемым устройством сопр гаемых источников и приемников данных.The described organization of operation of the device allows to reduce by 30% with respect to the prototype the minimum period of receipt of write requests (Tzap) and reading (TCH) of data in the buffer memory. This is the reason for a significant decrease in the criticality of the requirements for maximum performance of the working data sources and receivers working with the proposed device.

Введение счетчика и его св зей позволило определ ть момент времени выполнени  запроса на обращение к буферному ЗУ.The introduction of the counter and its connections made it possible to determine the time at which the request for accessing the buffer memory was completed.

Введение первого и второго элементов И, их св зей позволило блокировать выполнение очередных запросов на пользование буферным ЗУ до завершени  обслуживани  выполн емого запроса.The introduction of the first and second AND elements and their connections made it possible to block the execution of subsequent requests for the use of a buffer memory until the service of the executed request is completed.

Введение элемента ИЛИ и его св зей позволило определить момент начала выполнени  очередного запроса на обращение к буферному ЗУ и сформировать соответствующий сигнал.The introduction of the OR element and its connections made it possible to determine the moment of the beginning of the execution of the next request for access to the buffer memory and to generate the corresponding signal.

Введение третьего элемента И и его св зей позволило выделить те импульсы синхронизации устройства, которые поступи ли в него во врем  формировани  им нулевого сигнала управлени  режимом работы буферной пам ти.The introduction of the third element And and its connections made it possible to isolate those synchronization pulses of the device that entered it during the formation of a zero signal for controlling the operating mode of the buffer memory.

На фиг,1 показана функциональна  схема устройства дл  разделени  во времени запросов на запись и чтение данных; на фиг.2 показана временна .диаграммэ работы устройства.Fig. 1 is a functional block diagram of a device for dividing data write and read requests in time; figure 2 shows a temporary diagram of the operation of the device.

Устройство (фиг.1) содержит: RS-триг- гер 1 чтени , RS-триггер 2 записи, JK-триг- гер 3 чтени , JK-триггер 4 записи, Т-триггер 5, счетчик 6, элемент ИЛИ 7, первый 8. второй 9, третий 10 элементы И, входы 11 запросов «а чтение, 12 запросов на запись, 13 разделительной частоты, выходы 14 управлени  чтением, 15 управлени  записью,The device (figure 1) contains: RS-reader 1 reading, RS-2 reading trigger, JK-reading 3 reader, JK-recording 4 trigger, T-trigger 5, counter 6, element OR 7, first 8 .second 9, third 10 elements AND, inputs of 11 requests "and reading, 12 write requests, 13 dividing frequencies, outputs 14 of the read control, 15 write control,

Вход 13 разделительной частоты соединен с Т-входом Т-триггера 5, выход которогоThe input 13 of the separation frequency is connected to the T-input of the T-trigger 5, the output of which

соединен с синхроеходами К-триггеров 3 и 4, входы 11,12 устройств  вл ютс  соответственно S-входами RS-триггеров 1.2; пр мые выходы JК-триггеров 3.4 соединены с 5 R-входэми соответствующих RS-триггеров 1,2, а также соответственно с выходами управлени  чтением 14 и записью 15 устройства , К-входы JК-триггеров 3,4 соединены с нулевым потенциалом устройства, пр мыеconnected to the synchro-passages of the K-flip-flops 3 and 4, the inputs of 11,12 devices are respectively the S-inputs of the RS-flip-flops 1.2; the direct outputs of the JK flip-flops 3.4 are connected to the 5 R-inputs of the corresponding RS-flip-flops 1,2, and also respectively to the control outputs of reading 14 and writing 15 of the device, the K-inputs of the JK-triggers 3,4 are connected to the zero potential of the device, my

0 выходы J К-триггеров 3 чтени  и 4 записи соединены соответственно с первым и вторым входами элемента ИЛИ 7, выход которого vt вход разделительной частоты 13 устройства соединены соответственно с0 outputs of J K-triggers 3 of reading and 4 of writing are connected respectively to the first and second inputs of the OR element 7, the output of which is the vt input of the dividing frequency 13 of the device connected respectively to

5 первым и вторым входами третьего злемен- та И 10, выход которого соединен со счетным входом счетчика б, выход счетчика 6 соединен с асинхронными R-входами JK- триггеров чтени  и 4 записи, выходы RS0 триггеров 1 чтени  и 2 записи соединены соответственно с первыми входами первого 8 и второго 9 элементов И, выходы которых соединены соответственно с J-входами JK- триггеров чтени  и 4 записи, инверсные вы5 ходы J К-триггеров 3 записи и 4 чтени  соединены соответстаенно со вторыми входами элементов И 8,9.5 by the first and second inputs of the third element And 10, the output of which is connected to the counting input of the counter b, the output of the counter 6 is connected to the asynchronous R-inputs of the JK read triggers and 4 records, the RS0 outputs of the 1 read and 2 write triggers are connected respectively to the first the inputs of the first 8 and second 9 AND elements, the outputs of which are connected respectively to the J-inputs of JK read triggers and 4 records, inverse 5 outputs of J K-triggers 3 records and 4 reads are connected respectively to the second inputs of AND elements 8.9.

Нумераци , прин та  на фиг.1 соответствует нумерации, прин той на фиг.2,The numbering adopted in FIG. 1 corresponds to the numbering adopted in FIG. 2,

0 Рассмотрим функциональное назначение элементов и и их св зей в предлагаемом устройстве (фиг.1).0 Consider the functional purpose of the elements and and their connections in the proposed device (Fig. 1).

Асинхронные RS-триггеры 1 чтени  и 2 записи предназначенные дл  хранени  еди5 ничных сигналов запросов соответственно на чтение и запись данных из буферного запоминающего устройства. Эти сигналы хран тс  в соответствующих триггерах 1 и 2 до конца выполнени  соответствующих за0 просов.RS read asynchronous triggers 1 and 2 for storing single request signals for reading and writing data from a buffer memory, respectively. These signals are stored in the respective triggers 1 and 2 until the end of the execution of the corresponding requests.

Синхронные JK-триггеры З чтени  и 4 записи предназначены дл  хранени  и выдачи в оперативную пам ть буферного устройства сопр жени  источника иSynchronous JK flip-flops with 3 reads and 4 records are designed to store and issue into the RAM memory of the source interface buffering device and

5 приемника данных соответственных сигналов управлени  режимом работы (чтение/запись ) этого буферного ОЗУ. Нулевые К-входы этих триггеров соединены с массой устройства, т.е. на них посто нно при0 сутствует уровень нулевого сигнала. JK-триггеры 3,4 имеют асинхронные R-BXO- ды установки в нулевое состо ние. При поступлении на эти входы единичного импульса переполнени  счетчика 6 JK-триг5 геры 3,4 обнул ютс . JK-триггер З записи переходит а единичное состо ние при единичном сигнале на своем J-входе по переднему фронту сигнала на своем синхровходе. JK-триггер4чтени  переходит единичное состо ние при единичном сигнале на своем J-входе по заднему фронту сигнала на своем синхровходе.5 receiver of data of respective operation mode control signals (read / write) of this buffer RAM. The zero K-inputs of these triggers are connected to the mass of the device, i.e. they constantly have a zero signal level. JK triggers 3,4 have asynchronous R-BXOs set to zero. When a single overflow pulse is received at these inputs, the counter 6 of the JK trigger5 of the 3.4 ger is reset. The JK trigger of recording 3 goes over to a single state at a single signal at its J input along the leading edge of the signal at its sync input. The JK trigger 4 steps into a single state with a single signal at its J input along the trailing edge of the signal at its sync input.

Т-триггер 5 предназначен дл  преобразовани  разделительной частоты со входа 13 устройства в последовательность тактовых импульсов, передние фронты которых синхронизируют JK-триггер З чтени , а задние -JK-триггер 4 записи. Т-триггер 5 мен ет свое состо ние на противоположное вс кий раз по заднему фронту импульсов разделительной частоты f со входа 13 устройства (см. фиг.2).The T-flip-flop 5 is designed to convert the dividing frequency from the input 13 of the device into a sequence of clock pulses, the leading edges of which synchronize the reading JK-trigger Z, and the rear edges -JK-trigger 4 recordings. The T-flip-flop 5 changes its state for the opposite at all times along the trailing edge of the pulses of the dividing frequency f from the input 13 of the device (see Fig. 2).

Элемент ИЛИ 7, третий И 10, счетчик 6 предназначены дл  определени  конца времени выполнени  устройством очередного запроса на использование буферной пам ти . Счетчик б работает посто нно в счетном режиме и увеличивает свое содержимое н-а единицу вс кий раз по заднему фронту импульса с выхода элемента И 10. Выход счетчика 6  вл етс  выходом его переполнени . Единичный импульс малой длительности на выходе счетчика 6 устанавливает в исходное (нулевое) состо ние J К-триггерыThe OR element 7, the third AND 10, the counter 6 are intended to determine the end of the time the device will execute the next request for the use of the buffer memory. Counter b runs continuously in counting mode and increases its content by a unit every time along the trailing edge of the pulse from the output of element 10. 10. The output of counter 6 is its overflow output. A single pulse of short duration at the output of the counter 6 sets to the initial (zero) state J K-triggers

3и 4. Коэффициент пересчета счетчика 6 k выбираетс  минимальным, исход  из удовлетворени  выражению:3 and 4. The conversion factor of the counter 6 k is chosen to be minimal, based on the satisfaction of the expression:

k то ГЗУ(4)k then GZU (4)

Т.о. каждый k-й импульс с выхода элемента И 10 обнул ет счетчик 6 (приводит в исходное состо ние) и по его заднему фронту на выходе счетчика 6 формируетс  короткий импульс, привод щий в исходное (нулевое) состо ние J К-триггеры 3 записи иT.O. each k-th pulse from the output of the And 10 element resets the counter 6 (restores) and, on its trailing edge, a short pulse is generated at the output of the counter 6, leading to the initial (zero) state J K-triggers 3 of the record and

4чтени . На фиг.2 приведена временна  диаграмма работы счетчика 6 с коэффициентом пересчета k 4.4 readings. Figure 2 shows the timing diagram of the operation of the counter 6 with a conversion factor k 4.

Первый элемент И 8 предназначен дл  блокировани  поступлени  сигнала запроса на чтение с выхода RS-триггера 1 на J-вход JK-триггера З при обслуживании устройством запроса на запись. В этом случае JK- триггер 4 записи находитс  в единичном состо нии, а на его инверсном выходе формируетс  нулевой сигнал, запрещающий прохождение единичного сигнала запроса на чтение на J-вход триггера 3.The first element And 8 is designed to block the receipt of a read request signal from the output of the RS trigger 1 to the J input of the JK trigger 3 when the device is servicing a write request. In this case, the JK write trigger 4 is in a single state, and a zero signal is generated at its inverse output, prohibiting the passage of a single read request signal to the J input of trigger 3.

Второй элемент И 9 предназначен дл  блокировани  поступлени  сигнала запроса на запись с выхода RS-Tpnrrepa 2 на J-вход JK-триггёра 4 при обслуживании устройством запроса на чтение. Второй элемент И 9 работает аналогично первому элементу И 8,The second element And 9 is intended to block the receipt of the write request signal from the output of RS-Tpnrrepa 2 to the J-input of the JK trigger 4 when the device reads the request. The second element And 9 works similarly to the first element And 8,

Разделительна  частота f на входе 13 устройства представл ет собой последовательность тактовых импульсов малой длительности с периодом следовани  равным то.The dividing frequency f at the input 13 of the device is a sequence of short pulses with a repetition period equal to one.

-iТ у-iТ at

Чем больше соотношение . тем меньиоThe larger the ratio. the less

ше может быть интервал времени Тзап (Тчт) между соседними сигналами запросов наThere may be a time interval Tzap (Tht) between adjacent request signals

запись (чтение). (См. фиг.2 и раздел оценки технико-экономической эффективности).writing (reading). (See figure 2 and the evaluation section of the feasibility study).

Рассмотрим работу предлагаемого устройства при сопр жении источника и приемника данных,Consider the operation of the proposed device when pairing the source and receiver of data,

0 В исходном состо нии осе элементы наход тс  о нулевом состо нии. На вход 13 устройства поступают импульсы разделительной частоты синхронизации (см. фиг.2). Элемент И 10 блокирует их прохождение на0 In the initial state of the axis, the elements are in the zero state. The input 13 of the device receives pulses of the separation frequency synchronization (see figure 2). Element And 10 blocks their passage to

5 счетный вход счетчика 6. Т-триггер 5 по за: днему фронту каждого импульса синхронизации переключаетс  последовательно из нулевого в единичное состо ние. Сигналы с его выхода поступают на синхровходы JK0 триггеров 3 и 4 на J и К входах которых присутствуют нулевые сигналы. В таком состо нии устройство находитс  до поступлени  на его вход 11 или 12 запросов на чтение или запись.5 is the counter counter input 6. The T-trigger 5, along the: bottom edge of each synchronization pulse, switches sequentially from zero to a single state. The signals from its output are fed to the sync inputs JK0 of triggers 3 and 4 on J and K inputs of which there are zero signals. The device is in this state until 11 or 12 requests for reading or writing are received at its input.

5 Пусть первым поступит на вход 12 от источника информации единичный импульс сигнала запроса на запись слова данных в буферное ЗУ дл  последующей передачи в приемник информации. При этом RS-триг0 гер 2 переходит в единичное состо ние. Элемент И 9 открыт, т.к. на его первом входе присутствует единичный сигнал с инверсного выхода JK-триггера З. С выхода элемент . И 9 единичный сигнал поступает на J-вход5 Let the first pulse to the input 12 from the information source be a single pulse of the request signal for writing the data word to the buffer memory for subsequent transmission to the receiver of information. In this case, the RS-trig0 ger 2 goes into a single state. Element And 9 is open, because at its first input there is a single signal from the inverse output of the JK-trigger Z. From the output element. And 9 unit signal goes to J-input

5 триггера 4. По заднему фронту очередного тактового импульса с выхода Т-триггера 5 JK-триггер 4 переводит в единичное состо ние . На выходе 15 устройства по вл етс  единичный сигнал управлени  записью в бу0 фёрную пам ть слова данных от источника информации.5 of flip-flop 4. On the trailing edge of the next clock pulse from the output of T-flip-flop 5, the JK-flip-flop 4 transfers to a single state. At the output 15 of the device, a single control signal for writing data words from the information source to the buffer memory appears.

Сигнал с выхода JK-триггера 4 обнул ет RS-триггер 2 и через элемент ИЛИ 7 открывает элемент И 10 дл  импульсов синхрони5 зации. Счетчик 6 начинает отсчет времени формировани  JK-триггером 4 сигнала управлени  записью в буферную пам ть. (Заметим , что, после записи в JK-триггер 4 единицы, поступление на вход 11 уетрой0 ствэ запроса на чтение данных приводит лишь к его запоминанию в RS-триггере 1. JK-триггер 3 остаетс  в нулевом состо нии, т.к. его J-вход блокирован элементом И 8 на втором входе которого присутствует нуле5 вой сигнал с инверсного выхода JK-триггера 4). По заднему фронту k-ro импульса с выхода элемента И 10 c4ef4HK 6 обнул етс  и формирует единичный импульс переполнени  на своем выходе, поступающий на R- вход JK-триггеров З и 4.The signal from the output of the JK trigger 4 nullifies the RS trigger 2 and, through the OR element 7, opens the And 10 element for synchronization pulses. Counter 6 starts counting the time by which the JK trigger 4 generates a buffer control write signal. (Note that, after writing 4 units to the JK trigger, entering a request to read data at input 11 in the lead 0 only leads to its storage in RS trigger 1. JK trigger 3 remains in the zero state, because it The J-input is blocked by the And 8 element at the second input of which there is a zero-fifth signal from the inverse output of the JK trigger 4). On the trailing edge of the k-ro pulse from the output of the And 10 element, c4ef4HK 6 is zeroed and forms a single overflow pulse at its output, which is fed to the R-input of the JK triggers 3 and 4.

JK-триггер 4 обнул етс , элемент И 8 открываетс  дл  прохождени  сигнала запроса на чтение из триггера 1 на J-вход триггера 3. Если запроса на чтение еще не было и RS-триггер 1 находитс  в нулевом состо нии, то по переднему фронту очередного тактового сигнала с выхода Т-триггера 5 JK-триггер З останетс  в нулевом состо нии . После этого момента возможно поступление в устройство следующего запроса на запись. Если такой запрос поступил, то RS- триггер 2 снова переходит единичное состо ние и далее цикл формировани  устройством сигнала управлени  записью в буферную пам ть повтор етс . В противном случае устройство ожидает очередного запроса, наход сь в исходном состо нии,JK trigger 4 is zeroed, element And 8 is opened to pass the read request signal from trigger 1 to the J input of trigger 3. If there is no read request yet and RS trigger 1 is in the zero state, then on the leading edge of the next the clock signal from the output of the T-flip-flop 5 JK-flip-flop 3 will remain in the zero state. After this point, the device may receive the next write request. If such a request is received, the RS flip-flop 2 again switches to a single state, and then the cycle of the device generating the control signal for writing to the buffer memory is repeated. Otherwise, the device is waiting for the next request, being in the initial state,

Обслуживание устройство запроса на чтение данных, поступающего на вход 11 устройства, аналогично описанному обслуживанию устройством запроса на запись.Serving the device a request for reading data received at the input 11 of the device is similar to the described device servicing a write request.

Замети, что дл  того, чтобы, к моменту поступлени  на S-входы RS-триггеров 1 и 2 соответствующих запросов, на R-входах единичных сигналов гарантировано не было , выбор Тзап и Тчт должен удовлетвор ть выражени м:Note that in order to ensure that at the moment of receiving the corresponding requests on the S-inputs of the RS-flip-flops 1 and 2, at the R-inputs of a single signal was not guaranteed, the choice of Tzap and Tht must satisfy the expressions:

Тзап 2k ro;.(5)Tzap 2k ro;. (5)

Тчт 2k TO.(6)Tht 2k TO. (6)

При удовлетворении этим неравенствам, устройство позвол ет разносить на необходимое дл  обслуживани  врем  одновременно поступающие запросы на пользование общей пам тью.When these inequalities are satisfied, the device allows the simultaneous requests to use the shared memory to be allocated for the time necessary for servicing.

Рассмотрим детально работу устройства в этой ситуации. В этом случае оба RS- триггера перевод тс  в единичное состо ние. На выходах элементов И 8,9 формируютс  единичные сигналы, поступающие на J-входы соответственно JK-триггеров З и 4. По заднему фронту очередного импульса со входа 13 устройства Т-триггер 5 помен ет свое состо ние и на его выходе по вл етс  передний или задний Фронт единичного тактового сигнала, Если это передний фронт, то первым из поступивших запросов, будет выполнен запрос на чтение. По переднему фронту тактового сигнала с выхода Т-триггера 5 JK-триггер З переходит в единичное состо ние. Соответственно формируетс  сигнал на выходе 14 устройства, управл ющий чтением из буферной пам ти. Перевод JK-триггера 4 в единичное состо ние блокируетс , т.к. нулевой сигнал с инверсного выхода JK-триггера 3 закрывает элемент И 9 и единичный сигнал запроса на запись на J-еыходе JKтриггера 4 исчезает. Запрос из запись ожидает выполнени  в -триггере 2 до окончани  чтени  из буферной пам ти. В случае, если после поступлени  на J-входы григге5 ров 3 и 4 первым будет задний фронт сигнала с выхода Т-триггера 5, то аналогично описанному, первым устройство формирует сигнал управлени  записью в буферную пам ть , а запрос на чтение ожидает окончани Let us consider in detail the operation of the device in this situation. In this case, both RS flip-flops are brought into a single state. At the outputs of elements And 8.9, single signals are generated that arrive at the J-inputs of JK triggers 3 and 4, respectively. At the trailing edge of the next pulse from input 13 of the device, the T-trigger 5 changes its state and the front one appears at its output or the back Front of a single clock signal. If this is a rising edge, then the first of the received requests will execute a read request. On the leading edge of the clock signal from the output of the T-flip-flop 5, the JK-flip-3 goes into a single state. Accordingly, a signal is generated at the output of the device 14, which controls the reading from the buffer memory. The translation of the JK trigger 4 into a single state is blocked, because the zero signal from the inverse output of the JK trigger 3 closes the And 9 element and the single write request signal at the J-output of the JK trigger 4 disappears. A request from a write is awaiting execution in flip-flop 2 until reading from the buffer memory has finished. In the event that, after receipt of triggers 5 and 4 at the J-inputs, the leading edge of the signal from the output of the T-trigger 5 is the first, then, similarly to the described, the first device generates a write control signal to the buffer memory, and the read request awaits completion

0 записи в RS-триггере 1.0 entries in RS trigger 1.

Таким образом, при удовлетворении выражени м (5) и (6), устройство аппаратно раздел ет во времени выполнени , без отказов , все поступающие а него запросы наThus, when expressions (5) and (6) are satisfied, the device separates in hardware at runtime, without failures, all requests received for it

5 запись и чтение данных из буферной пам ти от работающих асинхронно и независимо друг от друга источника и приемника информации .5 writing and reading data from the buffer memory from the source and receiver of information operating asynchronously and independently of each other.

Claims (1)

0 Формула изобретени 0 Claims Устройство дл  разделени  во времени запросов на запись и чтение данных, содержащее RS-триггеры чтени  и записи. JK- триггеры чтени  и записи, Т-триггер. причемA device for dividing in time write and read requests containing RS read and write triggers. JK - read and write triggers, T-trigger. moreover 5 вход разделительной частоты устройства соединен с Т-входом Т-триггера, выход которого соединен с синхровходами JK-триггеров записи и чтени , входы запросов на чтение и запись устройства соединены соот0 ветственно с S-входами RS-триггеров чтени  и записи, пр мые выходы JK-триггеров чтени  и записи соединены с R-входами соответствующих RS-триггеров чтени  и записи , а также соответственно с выходами5, the dividing frequency input of the device is connected to the T-input of the T-flip-flop, the output of which is connected to the clock inputs of the JK-write and read triggers, the read and write request inputs are connected to the S-inputs of the RS-read and write triggers, direct outputs JK read and write triggers are connected to the R-inputs of the corresponding RS-read and write triggers, as well as outputs respectively 5 управлени  чтением и записью устройства, К-входы JK-триггеров чтени  и записи соединены с шиной нулевого потенциала устройства , отличающеес  тем, что оно содержит счетчик, элемент ИЛИ, первый0 третий элементы И, причем пр мые выходы J К-триггеров чтени  и записи соединены ср- ответственно с первым и вторым входами элемента ИЛИ, выход которого и вход разделительной частоты устройства соединены5, for controlling the reading and writing of the device, the K-inputs of the JK read and write triggers are connected to the zero potential bus of the device, characterized in that it contains a counter, an OR element, first 0 third AND elements, and the direct outputs of the J K-read and write triggers connected cf- responsibly with the first and second inputs of the OR element, the output of which and the input of the dividing frequency of the device are connected 5 соответственно с первым и вторым входами третьего элемента И, выход которого соединен со счетным входом счетчика, выход счетчика соединен с асинхронными R-входами JK-триггеров чтени  и записи, выходы5, respectively, with the first and second inputs of the third AND element, the output of which is connected to the counter input of the counter, the output of the counter is connected to the asynchronous R inputs of the JK read and write triggers, outputs 0 J К-триггеров чтени  и записи соединены соответственно с первыми входами первого и второго элементов И, выходы которых соединены соответственно с J-exoflSMH, JK- триггеров чтени  и записи, инверсные0 J K-read and write triggers are connected respectively to the first inputs of the first and second AND elements, the outputs of which are connected respectively to J-exoflSMH, JK read and write triggers, inverse 5 выходы JK-триггеров записи и чтени  соединены соответственно с вторыми входами первого и второго элементов И.The 5 outputs of the JK triggers for writing and reading are connected respectively to the second inputs of the first and second elements I. Шв1.Sv1. .3 -fV.3 -fV .щи. :.ш.ш.. : .sh. i «ч;-. « i “h; -. "
SU915004641A 1991-10-09 1991-10-09 Device for time-division multiplexing of requests for writing and reading RU1836687C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU915004641A RU1836687C (en) 1991-10-09 1991-10-09 Device for time-division multiplexing of requests for writing and reading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU915004641A RU1836687C (en) 1991-10-09 1991-10-09 Device for time-division multiplexing of requests for writing and reading

Publications (1)

Publication Number Publication Date
RU1836687C true RU1836687C (en) 1993-08-23

Family

ID=21586466

Family Applications (1)

Application Number Title Priority Date Filing Date
SU915004641A RU1836687C (en) 1991-10-09 1991-10-09 Device for time-division multiplexing of requests for writing and reading

Country Status (1)

Country Link
RU (1) RU1836687C (en)

Similar Documents

Publication Publication Date Title
US4463443A (en) Data buffer apparatus between subsystems which operate at differing or varying data rates
KR880009520A (en) Digital data memory system
US5790891A (en) Synchronizing unit having two registers serially connected to one clocked elements and a latch unit for alternately activating the registers in accordance to clock signals
RU1836687C (en) Device for time-division multiplexing of requests for writing and reading
US4318137A (en) Real time digital recording system for thermovision data
SU1168973A1 (en) Device for presenting delaying functions
SU1302280A1 (en) Device for servicing requests
RU2024194C1 (en) Analog-to-digital converter
SU1190499A1 (en) Digital delay line
SU511710A1 (en) A device for converting a structure of discrete information
SU1481854A1 (en) Dynamic memory
JPS5934939Y2 (en) Memory addressing circuit
SU1583949A1 (en) Device for selection of object images
SU1416988A1 (en) Data source and receiver interface
SU1032472A1 (en) Device for interfacing computer to sound cassette tape recorder
JP3013767B2 (en) Frame timing phase adjustment circuit
SU1562921A1 (en) Device for interfacing information source and receiver
SU1388951A1 (en) Buffer storage device
SU1644148A1 (en) Buffer memory
SU1277111A1 (en) Device for distributing jobs among processors
SU1711205A1 (en) Object image converter
RU1521226C (en) Pulse delay device
SU1674382A1 (en) Serial-to-parallel converter
JPH01269150A (en) Buffering device
JP2615004B2 (en) Integrated sequential access memory circuit