RU1815638C - Device for testing microprocessor system - Google Patents

Device for testing microprocessor system

Info

Publication number
RU1815638C
RU1815638C SU4880867A RU1815638C RU 1815638 C RU1815638 C RU 1815638C SU 4880867 A SU4880867 A SU 4880867A RU 1815638 C RU1815638 C RU 1815638C
Authority
RU
Russia
Prior art keywords
trigger
signal
output
microprocessor
input
Prior art date
Application number
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 SU4880867 priority Critical patent/RU1815638C/en
Application granted granted Critical
Publication of RU1815638C publication Critical patent/RU1815638C/en

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано дл  построени  микропроцессорных систем на базе микропроцессора КР580ИЕ80А. Целью изобретени   вл етс  повышение достоверности контрол . Цель достигаетс  путем введени  в устройство триггеров 2, 3, 4, 5, схем сравнени  10 и 11, элемента И 13, инвертора 15. Сущность изобретени  состоит в обнаружении простоев микропроцессорной системы и увеличении числа контролируемых управл ющих сигналов , формируемых на шине управлени . 6 ил. ел сThe invention relates to automation and computer technology and can be used to build microprocessor systems based on the KR580IE80A microprocessor. The aim of the invention is to increase the reliability of control. The goal is achieved by introducing into the device triggers 2, 3, 4, 5, comparison circuits 10 and 11, element And 13, inverter 15. The invention consists in detecting downtime of the microprocessor system and increasing the number of monitored control signals generated on the control bus. 6 ill. ate with

Description

ооoo

ел о соate about

0000

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано при построении микропроцессорных систем на базе микропроцессора КР580ИЕ80А.The invention relates to automation and computer engineering and can be used in the construction of microprocessor systems based on the KR580IE80A microprocessor.

Целью изобретени   вл етс  повышение достоверности контрол .The aim of the invention is to increase the reliability of control.

На фиг. 1 изображена функциональна  схема устройства; на фиг.2-5 - временные диаграммы работы устройства в различных режимах, где использованы обозначени , введенные на фиг.1; на фиг.б - алгоритм функционировани  микропроцессора серии К580ИК80А в режимах ожидание и захват .In FIG. 1 shows a functional diagram of a device; Figures 2-5 are timing diagrams of the operation of the device in various modes, using the notation introduced in Figure 1; Fig. b shows the operation algorithm of the microprocessor of the K580IK80A series in standby and capture modes.

Устройство (см.фиг.1) содержит первый 1, второй 2, третий 3, четвертый 4 и п тый 5 триггеры, первый 6, второй.7 и третий 8 элементы ИЛИ, первуюЭ, вторую 10 и третью 11 схемы сравнени , первый 12, третий 13 и второй 14 элементы И, элемент НЕ 15.The device (see figure 1) contains the first 1, second 2, third 3, fourth 4 and fifth 5 triggers, the first 6, second. 7 and third 8 elements OR, first E, second 10 and third 11 comparison schemes, the first 12 , third 13 and second 14 elements AND, element NOT 15.

Входы устройства 16-23 соединены соответственно с входами (выходами) микропроцессора SYNC, Fi, WAIT, READY, F2. HOLD. HLDA, DBIN,The inputs of the device 16-23 are connected respectively to the inputs (outputs) of the microprocessor SYNC, Fi, WAIT, READY, F2. HOLD. HLDA, DBIN,

Рассмотрим назначение элементов устройства (фиг.1). Первый триггер 1 предназначен дл  фиксации несовпадени  сигналов, вырабатываемых микропроцессором и вырабатываемых устройством контрол , Фиксаци  осуществл етс  по каждому заднему фронту (спаду) синхроимпульсов FI, формируемых микропроцессором. В исходном состо нии триггер установлен в 0й, в случае ошибки (неисправности) микропроцессорной системы триггер устанавливаетс  в 1. Триггер может быть выполнен на базе двухступенчатого RSC-триггера. Цели его начальной установки условно не показаны .Consider the purpose of the elements of the device (figure 1). The first trigger 1 is designed to fix the mismatch of the signals generated by the microprocessor and generated by the control device. Fixation is carried out on each trailing edge (decay) of the FI clock pulses generated by the microprocessor. In the initial state, the trigger is set to 0, in case of an error (malfunction) of the microprocessor system, the trigger is set to 1. The trigger can be performed on the basis of a two-stage RSC trigger. The objectives of its initial installation are not conditionally shown.

Второй триггер 2 предназначен дл  определени  начала машинного цикла. Триггер по каждому импульсу SYNC, вырабатываемом микропроцессором в начале каждого машиннбго, цикла, устанавливаетс  в единичное состо ние, разреша  работу триггеров 3 и 4. Затем в каждом цикле триггер устанавливаетс  в нулевое состо ние. Триггер может быть выполнен на базе двухступенчатого ICK-триггерз.The second trigger 2 is for detecting the start of a machine cycle. The trigger for each SYNC pulse generated by the microprocessor at the beginning of each machine cycle is set to a single state, enabling triggers 3 and 4. Then, in each cycle, the trigger is set to zero. The trigger can be performed on the basis of two-stage ICK triggers.

Третий триггер 3 предназначен дл  фиксации сигнала запроса режима ожидание, поступающего с выходом элемента НЕ 15. Установка триггера осуществл етс  по заднему фронту синхроимпульсов фазы F2 микропроцессора: при установке в единичное состо ние - синхроимпульсов Гг второ0The third trigger 3 is designed to fix the standby request signal received with the output of the element HE 15. The trigger is installed on the trailing edge of the clock pulses of phase F2 of the microprocessor: when set to the single state, the clock pulses Гг second

55

00

55

00

55

00

55

00

55

го такта (Т2)работы микропроцессора, а при установке в нулевое состо ние - синхроимпульсов того тактд, в котором был сн т запрос на ожидание. Работа триггера 3 соответствует логике формировани  сигнала на выходе микропроцессора WAIT. Триггер 3 может быть выполнен на DCV-триггере.the first clock cycle (T2) of the microprocessor, and when set to zero, the clock pulses of the cycle in which the wait request was made. The operation of trigger 3 corresponds to the logic for generating a signal at the output of the WAIT microprocessor. Trigger 3 can be performed on a DCV trigger.

Четвертый 4 и п тый 5 триггеры предназначены дл  фиксации сигнала запроса состо ни  захват HOLD, поступающего на информационный вход четвертого триггера 4. Опрос и фиксации сигнала триггером 4 осуществл етс  по заднему Фронту синхроимпульсов фазы Ра второго такта ТК (сигнал 1 - запроса на захват) и в каждом такте, следующем на Т2 (сигнал О - сн тие запроса на захват).The fourth 4 and fifth 5 triggers are designed to fix the signal of the request for the state of capture HOLD, which is received at the information input of the fourth trigger 4. The signal is polled and recorded by trigger 4 at the back of the clock pulses of the phase Ra of the second clock cycle TC (signal 1 - capture request) and in each clock cycle following at T2 (signal O - removal of a capture request).

П тый триггер 5 осуществл ет опрос и фиксацию сигнала HOLD по синхроимпульсу фазы F2 такта ТЗ (сигнал 1 запрос на захват и по синхроимпульсу F2 в каждом такте следующем на ТЗ, т.е. в тактах состо ни  захват (сигнал О запроса на захват ). Оба триггера 4 и 5 формируют на своих пр мых выходах сигналы подтверждени  состо ни  захват в соответствии с логикой формировани  аналогичного сигнала на выходе HLDA микропроцессора. Четвертый 4 и п тый триггеры могут быть выполнены на базе двухступенчатой DCV- триггеров. Формирование триггерами 3, 4 и 5 на своих выходах сигналов, точно соответствующих сигналам, формируемым микропроцессором , осуществл етс  по алгоритму функционировани  микропроцессора, приведенному на фиг.б.The fifth trigger 5 interrogates and fixes the HOLD signal according to the sync pulse of phase F2 of the TK cycle (signal 1 to the capture request and by the sync pulse F2 in each cycle of the next to the TK, i.e. in the clock cycles of the state of capture (signal O of the request to capture) Both triggers 4 and 5 generate capture signals at their direct outputs in accordance with the logic of generating a similar signal at the output of the HLDA microprocessor. The fourth 4 and fifth triggers can be performed on the basis of two-stage DCV triggers. and 5 on their way out x signals that exactly correspond to the signals generated by the microprocessor are implemented according to the microprocessor operation algorithm shown in Fig. b.

Первый элемент 6 ИЛИ предназначен дл  обобщени  сигналов, формируемых на выходах схем сравнени  9 и третьего 13 и второго 14 элементов И,The first OR element 6 is intended to summarize the signals generated at the outputs of the comparison circuits 9 and the third 13 and the second 14 of the AND elements,

Второй 7 и третий 8 элементы ИЛИ предназначены дл  разрешени  работы третьего 8 и четвертого 4 триггеров в тактах, следующих за вторым, когда триггер 2, управл ющий работой этих триггеров, уже сброшен в ноль и не обеспечивает опрос триггером 3 сигнала READY по импульсу фазы F2 в режиме ожидание и триггером 4 сигнала HOLD по импульсу фазы F2 в режиме захват.The second 7 and third 8 OR elements are designed to enable the third 8 and fourth 4 triggers to operate in cycles following the second, when trigger 2, which controls the operation of these triggers, is already reset to zero and does not allow trigger 3 to poll READY signal for phase F2 in the standby mode and trigger 4 of the HOLD signal according to the pulse of phase F2 in capture mode.

Перва  9, втора  10 и треть  11 схемы сравнени  предназначены дл  проверки правильности формировани  микропроцессором сигналов подтверждени  состо ний ожидание и захват (формируемых микропроцессором на выходах WAIT и HLDA соответственно) и аналогичных сигналов,The first 9, second 10 and third 11 comparison circuits are designed to verify that the microprocessor correctly generates standby and capture signals (generated by the microprocessor at the WAIT and HLDA outputs, respectively) and similar signals.

формируемых устройством контрол  на выходах триггеров 4, 5 и 3.formed by the control device at the outputs of triggers 4, 5 and 3.

Элементы И 13 и 14 предназначены дл  передачи сигнала несовпадени  с выходов схем сравнени  10 и 11 соответственно в требуемые моменты времени, т.е. в точном соответствии с алгоритмом, приведенном на фиг.6.Elements 13 and 14 are designed to transmit a mismatch signal from the outputs of the comparison circuits 10 and 11, respectively, at the required times, i.e. in exact accordance with the algorithm shown in Fig.6.

Первый элемент 12 И предназначен дл  сброса второго триггера 2 в .ноль в каждом машинном цикле микропроцессора. Установка в ноль второго триггера осуществл етс  в такте, следующим за вторым тактом, по синхроимпульсу Fr.:The first element 12 And is designed to reset the second trigger 2 v. Zero in each machine cycle of the microprocessor. Zeroing the second trigger is carried out in the cycle following the second cycle, according to the clock pulse Fr .:

Элемент НЕ 15 предназначен дл  преобразовани  сигнала готовность (READY) в инверсный сигнал. Это позвол ет идентифицировать сигнал готовность в состо нии 1 на выходе инвертора - как сигнал запроса режима ожидание, а в состо нии О - как сигнал отсутстви  запроса. The HE15 element is for converting a READY signal into an inverse signal. This allows the readiness signal in state 1 at the output of the inverter to be identified as a standby request signal, and in state O, as a no request signal.

Рассмотрим работу устройства. Дл  него характерны три режима работы (в соответствии с алгоритмом, приведенным на фиг.6) :;Consider the operation of the device. It is characterized by three modes of operation (in accordance with the algorithm shown in Fig.6):;

1. Контроль режима ожидание (см.фиг.2, фиг.6);. .1. Control of the standby mode (see figure 2, 6) ;. .

2. Контроль режима захват в циклах чтени  и ввода или записи и вывода (см.фиг.З, фиг.4, фиг.6); . 3. Контроль режимов ожидание и захват при одновременном запросе (см.фиг.5, фиг.6); .;2. Control of the capture mode in the read and write or write and output cycles (see Fig. 3, Fig. 4, Fig. 6); . 3. Control of standby and capture modes while simultaneously requesting (see FIG. 5, FIG. 6); .;

Устройство работает следующем обра- зом. : . .. : ;:: ; : . .- , . В исходном состо нии все элементы пам ти наход тс  в нулевом состо нии (цепи сброса в О условно не показаны).The device operates as follows. :. ..:; ::; :. .-,. In the initial state, all memory elements are in the zero state (reset circuits in O are not shown conditionally).

В первом режиме (см.фиг.2, фиг.6) в каждом машинном цикле по заднему фронту сигнала SYNC, поступающего на вход 16 устройства (см.фиг.2), срабатывает триггер 2 устанавлива сь в состо ние 1 (момент времени t2 на фиг. 2) и разреша  тем самым запись сигнала READY (выход 15 на фиг.2) по заднему фронту импульса фазы F2 такта Т2. При наличии сигнала запроса на ожида- ние READY 1. Триггер 3 устанавливаетс  в единичное состо ние (момент времени t, фиг.2) формиру  на своем пр мом выходе копию сигнала подтверждени  состо ни  ожидание, аналогично формируемому микропроцессором сигналу на выходе WAIT. Единичное состо ние триггера 3 че- рез элемент 7ИЛИ подтверждает сигнал разрешени  записи информации с выхода READY на входе V триггера 3. в то врем  как второй триггёр2, ранее разрешающий рабо5In the first mode (see Fig. 2, Fig. 6), in each machine cycle along the trailing edge of the SYNC signal received at input 16 of the device (see Fig. 2), trigger 2 is activated and is set to state 1 (time t2 in Fig. 2) and thereby enabling the recording of the READY signal (output 15 in Fig. 2) along the trailing edge of the pulse of phase F2 of clock cycle T2. If there is a wait request signal READY 1. Trigger 3 is set to a single state (time t, Fig. 2), generating at its direct output a copy of the wait state confirmation signal, similar to the signal generated by the microprocessor at the WAIT output. The single state of trigger 3 through element 7 OR confirms the enable signal for recording information from the READY output at input V of trigger 3. while the second trigger2, which previously enabled operation5

0 0

.. ..

с with

0 0

5 0 5 0 5 5 0 5 0 5

ту триггера 3, устанавливаетс  в нулевое состо ние по переднему фронту импульса фазы FI в такте, следующим за тактом Т2 (см.фиг,2).of trigger 3, is set to the zero state on the leading edge of the pulse of phase FI in the cycle following the cycle T2 (see FIG. 2).

Таким образом, за счет единичного сигнала на выходе элемента 7 ИЛИ триггер 3 осуществл ет опрос сигнала READY в каждом такте Tw (такты состо ни  ожидание) по синхроимпульсу фазы Fa. При пропадании сигнала READY 1, что соответствует сн тию запроса на ожидание, по заднему фронту импульса фазы F2 (момент т.4 см.фиг.2) триггер 3 устанавливаетс  в нулевое состо ние, блокиру  свою работу до следующего такта Т2 (за счет нулевого сигнала на выходе элемента 7 ИЛИ, момент ts на фиг.2). Установка триггера 3 в нулевое состо ние имитирует выход микропроцессора из состо ни  ожидани  и соответствующую этому установку нулевого уровн  сигнала подтверждени  ожидани . На аналогичном выходе WAIT микропроцессора также формируетс  нулевой сигнал по переднему фронту импульса фазы FI. Таким образом, на выходе триггера 3 и выходе . триггера 3 и выходе микропроцессора WAIT формируютс  синхронные сигналы, которые сравниваютс  схемой сравнени  9. Результат сравнени  фиксируетс  в триггере 1 по заднемуфронту импульса фазы FL Дальнейшее распространение сигналов на выходах второй 10 и третьей 11 схем сравнени  в режиме ожидание блокируетс  при помощи элементов 13 и 14И, посредством нулевого сигнала на инверсном выходе 3 (промежуток времени ti...ts см.фиг.2). В дальнейшем работа устройства аналогична рассмотренной выше.Thus, due to a single signal at the output of the OR element 7, trigger 3 polls the READY signal in each clock cycle Tw (standby clock cycles) according to the phase clock clock Fa. If the READY 1 signal disappears, which corresponds to the removal of the waiting request, the trigger 3 is set to the zero state on the trailing edge of the pulse of phase F2 (moment t.4 see Fig. 2), blocking its operation until the next clock cycle T2 (due to zero the signal at the output of the element 7 OR, the time ts in figure 2). Setting trigger 3 to zero mode simulates the microprocessor waking up from the standby state and the corresponding setting of the zero level of the wait acknowledgment signal. At a similar WAIT output of the microprocessor, a zero signal is also generated at the leading edge of the pulse of phase FI. Thus, the output of trigger 3 and the output. trigger 3 and the output of the WAIT microprocessor, synchronous signals are generated, which are compared by comparison circuit 9. The comparison result is recorded in trigger 1 by the rear front of the FL phase pulse. The further propagation of signals at the outputs of the second 10 and third 11 comparison circuits in the standby mode is blocked by elements 13 and 14I. by means of a zero signal at inverse output 3 (time interval ti ... ts see Fig. 2). In the future, the operation of the device is similar to that discussed above.

В случае отсутстви  сигнала READY 1 триггер 3 будет установлен в О, и сигнал, соответствующий сигналу подтверждени  ожидани , генерироватьс  не будет, подобно тому, как и не будет генерироватьс  сигнал на выходе WAIT микропроцессора. При этом триггер 1 останетс  в нулевом состо нии (в случае правильной работы).If READY 1 is absent, trigger 3 will be set to O and the signal corresponding to the wait acknowledgment signal will not be generated, just as the microprocessor output signal WAIT will not be generated. In this case, trigger 1 will remain in the zero state (in case of correct operation).

Во втором режиме, когда осуществл етс  переход микропроцессора в состо ние захват и выход из него (при отсутствии запроса на ожидание), аналогично первому режиму во втором такте 12 осуществл етс  выработка единичного управл ющего импульса на пр мом выходе триггера 2 (промежуток времени ti...t4 фиг.З, фиг.4). Этот импульс разрешает работу четвертого триггера 4. который опрашивает сигнал HOLD по заднемуфронту импульса фазы F2. В случае, если по вилс  запрос захват (HOLD i),In the second mode, when the microprocessor transitions to the capture state and exits from it (in the absence of a wait request), similar to the first mode in the second cycle 12, a single control pulse is generated at the direct output of trigger 2 (time interval ti. ..t4 Fig. 3, Fig. 4). This pulse enables the fourth trigger 4. which polls the HOLD signal on the back of the pulse of phase F2. In case of a request for capture (HOLD i),

в момент времени (см.фиг.З, 4) триггер 4 устанавливаетс  в единичное состо ние аналогично тому, как микропроцессор извещает о переходе в состо ние захват сигналом HLDA 1 устанавливаемым по пе- реднему фронту FI такта Т (см.фиг.З, 4). Единичное состо ние триггера 4 снимает сигнал при длительной установки в ноль на R-входе триггера 5. Особенностью микропроцессора КР580 ИК80А  вл етс  зависи- мость перехода в состо ние захват от типа выполн емого цикла. Если выполн лс  цикл чтени  или вода, то переход в состо ние захват осуществл етс  в такте, следующем за Т2, а если цикл записи или вывода - то в такте следующем на ТЗ. Эта особенность учтена в работе устройства при помощи триггера 5. В циклах чтени  или ввода, когда сигнал DBIN 1, осуществл етс  сравнение сигнала микропроцессора HLDA и сигнала, формируемого на выходе триггера 4 (момент времени т.з фиг.З, см. выходы 22, 4). Сравнение обеспечиваетс  наличие разрешающего сигнала DBIW на входе.элемен- та 14И, пропускающего результат сравнени  на вход .элемента ИЛИ. Результат сравнени  фиксируетс  триггером 1 по каждому заднему фронту импульсов фазы FI. В циклах записи или ввода сравнение сигнала HLDA осуществл етс  с сигналом, формируемым на выходе триггера 5. Установка триггера 5 в единичное состо ние осуществл етс  с задержкой на один такт, т.е. в такте, следующим за ТЗ (момент ts- фиг.4). В этом случае сигнал DBIN 0, и сравнение осуществл етс  схемой сравнени  10, так как элемент 14 И заблокирован. В процессе дальнейшего функционировани  в тактах захвата Т осуществл етс  оп- рос сигнала HOLD по заднему фронту импульса фазы F2 триггером 4. В случае, если сигнал запроса на захват сн т (HOLD- 0), триггер 4 устанавливаетс  в нулевое состо ние (момент времени ts - фиг.ЗАб - фиг.4), устанавлива  триггер 5 в ноль с некоторой задержкой, равной времени срабатывани  триггера. В обоих случа х (в любых циклах) выход из состо ни  захват микропроцессор осуществл ет по переднему фронту такта Т1 (см.фиг. 3, 4, фиг.6). Сигнал результата сравнени , поступающий через элементы 13 и 14, фиксируетс  в триггере 1 по заднему фронту синхроимпульса FI.at time point (see Fig. 3, 4), trigger 4 is set to a single state in the same way as the microprocessor announces the transition to the state of capture by the HLDA signal 1 set on the leading edge FI of tact T (see Fig. 3, 4). The single state of trigger 4 picks up the signal when it is continuously set to zero on the R-input of trigger 5. A feature of the KR580 IK80A microprocessor is the dependence of the transition to the capture state on the type of cycle performed. If a reading cycle or water has been performed, then the transition to the capture state is carried out in the cycle following T2, and if the recording or output cycle is performed in the cycle next to T2. This feature was taken into account in the operation of the device using trigger 5. In the read or input cycles when the signal DBIN 1, the HLDA microprocessor signal is compared with the signal generated at the output of trigger 4 (point in time, see fig. 3, see outputs 22 , 4). The comparison is ensured by the presence of the DBIW enable signal at the input of the 14I element, which passes the result of the comparison to the input of the OR element. The comparison result is recorded by trigger 1 at each trailing edge of the pulses of phase FI. In write or input cycles, the HLDA signal is compared with the signal generated at the output of trigger 5. Setting trigger 5 to a single state is carried out with a delay of one clock cycle, i.e. in the cycle following the TK (moment ts-figure 4). In this case, the DBIN signal is 0, and the comparison is carried out by the comparison circuit 10, since the AND element 14 is locked. During further operation in the capture clocks T, the HOLD signal is sampled by the trailing edge of the pulse of phase F2 by trigger 4. In case the capture request signal is released (HOLD-0), trigger 4 is set to the zero state (time ts - Fig. Zab - Fig. 4), setting the trigger 5 to zero with a certain delay equal to the trigger time. In both cases (in any cycles), the microprocessor exits from the capture state along the leading edge of the T1 clock cycle (see Fig. 3, 4, Fig. 6). The signal of the comparison result, coming through the elements 13 and 14, is fixed in the trigger 1 along the trailing edge of the clock pulse FI.

В третьем режиме, когда запросы на состо ни  ожидание и захват поступают одновременно (относительно импульса F2 в такте Т2). работа элементов устройства аналогично работе в первом и втором режимах.In the third mode, when state and hold requests are received simultaneously (relative to pulse F2 in step T2). the operation of the elements of the device is similar to the work in the first and second modes.

00

0 с о 5 0 5 0 0 s o 5 0 5 0

5 5

Особенностью  вл етс  то, что сначала выполн етс  р ежим (ожидание, а потом захват ), Это обеспечиваетс  тем, что в режиме ожидание триггер 3 находитс  в единичном состо нии (интервал времени t2...t3 фиг.5), блокиру  состо ние О на своем инверсном выходе работу триггера 5 и передачу сигналов сравнени  через элементы 13 и 14И.The peculiarity is that the mode is first executed (waiting, and then capturing). This is ensured by the fact that in the standby mode, trigger 3 is in the single state (time interval t2 ... t3 of Fig. 5), blocking the state On its inverse output, the operation of trigger 5 and the transmission of comparison signals through elements 13 and 14I.

При сн тии сигнала О с инверсного выхода триггера 3 (по окончании режима ожидание) осуществл етс  установка в единичное состо ние триггера 5 через так, а также разрешение на передачу результатов сравнени  через элементы 13, 14 И в зависимости от типа цикла. В дальнейшем работа устройства полностью определ етс  работой во втором режиме.When signal O is removed from the inverse output of trigger 3 (at the end of the standby mode), the trigger 5 is set to a single state via so, as well as permission to transmit the comparison results through elements 13, 14 And, depending on the type of cycle. Further, the operation of the device is completely determined by the operation in the second mode.

Следует отметить, что при работе устройства на выходах элементов 7 и 8 ИЛИ в такте, следующим Т2 (см.фиг.2-4), возможны кратковременные перепады сигналов, св занные с асинхронностью срабатывани  триггеров 2 и 3 (4). Однако, вли ние указанных переходных процессоров на работу триггеров 3 и 4 не происходит из-за синхронизации по сигналу F2.It should be noted that when the device is operating at the outputs of elements 7 and 8 OR in a clock following T2 (see Fig. 2-4), short-term signal drops are possible due to the asynchronous actuation of triggers 2 and 3 (4). However, the influence of these transient processors on the operation of triggers 3 and 4 does not occur due to synchronization with signal F2.

Переходные процессы (см.фиг.5, интервал t4...t5) св заны с асинхронностью сравниваемых сигналов WAIT и на выходе триггера 3. HLDA и на выходах триггера 4 и 5, могут привести к ложному срабатыванию триггера 1. С целью устранени  данного эффекта необходимо выбирать быстродействие элемента, исход  из того, что срабатывание самой длинной цепочки сравнени  сигналов должно заканчиватьс  к мо- менту прихода заднего фронта синхроимпульса FI, т.е. должно выполн тьс  условие:Transients (see Fig. 5, interval t4 ... t5) are associated with the asynchrony of the compared WAIT signals at the output of trigger 3. HLDA and at the outputs of trigger 4 and 5, can lead to false triggering of trigger 1. In order to eliminate this of the effect, it is necessary to choose the element performance, proceeding from the fact that the operation of the longest signal comparison chain should end by the time the trailing edge of the sync pulse FI arrives, i.e. the condition must be fulfilled:

TF1 TDCV + ТМ2 + 2 + П ,TF1 TDCV + TM2 + 2 + P,

где гр-| - длительность синхроимпульса FI; TDCV , М2 ТЕ - 1 врем  срабатывани  соответственно элементов: триггера DCV, сумматора по модулю 2, элементов И и ИЛИ.where gr- | - the duration of the clock FI; TDCV, M2 TE - 1 response time of the elements respectively: DCV trigger, modulo 2 adder, AND and OR elements.

Ф о р м ула изобретени Formula of the invention

Устройство дл  контрол  микропроцессорной системы, содержащее первую схему сравнени , с первого по третий элементы ИЛИ, первый и второй элементы И. первый триггер, причем выход первой схемы сравнени  соединен с первым входом первого элемента ИЛИ, выход первого триггера  вл етс  контрольным выходом устройства,A device for controlling a microprocessor system, comprising a first comparison circuit, first to third OR elements, first and second elements I. first trigger, wherein the output of the first comparison circuit is connected to the first input of the first OR element, the output of the first trigger is a control output of the device.

отличающеес  тем, что, с целью повышени  достоверности контрол , в него дополнительно введены с второго по п тый триггеры, третий элемент И, элемент НЕ, втора  и треть  схемы сравнени , причем первый вход устройства соединен с выходом сигнала начала машинного цикла контролируемой микропроцессорной системы , с единичным входом и синхровхрдом второго триггера, инверсным входом первого элемента И, второй вход устройства соединен с первым выходом синхронизации контролируемой микропроцессорной системы , с входом синхронизации первого триггера и пр мым входом первого элемента И, выход которого соединен с установочным входом второго триггера, нулевые входы первого и второго триггеров соединены с шиной нулевого потенциала. контролируемой микропроцессорной системы, третий вход устройства соединен с выходом подтверждени  состо ни  ожидание контролируемой микропроцессорной системы, и с первым входом первой схемы сравнени , четвертый вход устройства соединен с входом запроса на ожидание контролируемой микропроцессорной системы и через элемент НЕ - с информационным входом третьего триггера, пр мой выход которого соединен с вторым входом первой схемы сравнени , и первым входом второго элемента ИЛИ. второй вход которого соединен с пр мым выходом второго триггера, выход второго элемента ИЛИ соединен с разрешающим входом третьего триггера, п тый вход устройства соединен с вторым выходом синхронизации контролируемой микропроцессорной системы и входами синхронизацииcharacterized in that, in order to increase the reliability of the control, second to fifth triggers, a third AND element, an NOT element, a second and a third comparison circuit are additionally introduced into it, the first input of the device being connected to the output of the start signal of the machine cycle of the controlled microprocessor system, with a single input and a second trigger clock, an inverse input of the first element AND, the second input of the device is connected to the first synchronization output of the controlled microprocessor system, with the synchronization input of the first three the first input of the first element AND, the output of which is connected to the installation input of the second trigger, the zero inputs of the first and second triggers are connected to the bus of zero potential. monitored microprocessor system, the third input of the device is connected to the status confirmation output of the monitored microprocessor system, and with the first input of the first comparison circuit, the fourth input of the device is connected to the request input for the monitored microprocessor system and through the element NOT with the information input of the third trigger, my output of which is connected to the second input of the first comparison circuit, and the first input of the second OR element. the second input of which is connected to the direct output of the second trigger, the output of the second OR element is connected to the enable input of the third trigger, the fifth input of the device is connected to the second synchronization output of the controlled microprocessor system and synchronization inputs

-. -.

15fifteen

с третьего по п тый триггеров, шестой вход устройства соединен с входом запроса на захват контролируемой микропроцессорной системы и информационным входом 5 четвертого триггера, пр мой выход которого соединен с первым входом третьего элемента ИЛИ, второй вход третьего элемента ИЛИ соединен с пр мым выходом второго триггера, выход третьего элемента ИЛИ со- 10 единен с разрешающим входом четвертого триггера, пр мой выход которого соединен с первым входом третьей схемы сравнени  « и информационным входом п того триггера, разрешающий вход которого соединен с инверсным выходом третьего триггера, инверсный выход четвертого триггера соединен с установочным входом п того триггера, пр мой выход которого соединен с первым входом второй схемы сравнени , вторые входы второй и третьей схем сравнени  соединены с седьмым входом устройства, соединенным с выходом подтверждени  состо ни  захват контролируемой микропроцессор- ос ной системы, восьмой вход устройства соединен с выходом сигнала чтени  контролируемой микропроцессорной системы и первыми входами второго и третьего ... элементов И, вторые входы второго и треть- 30 его элементов И соединены соответственно с выходами второй и.третьей схем сравнени , третьи входы второго и третьего элементов И соединены с инверсным выходом триггера, выходы второго и третьего эле- 35 ментов И соединены соответственно с вторым и третьим входами первого элемента ИЛИ, выход которого соединен с единичным входом первого триггера.from the third to fifth triggers, the sixth input of the device is connected to the input of the request for capture of the controlled microprocessor system and the information input 5 of the fourth trigger, the direct output of which is connected to the first input of the third OR element, the second input of the third OR element is connected to the direct output of the second trigger , the output of the third OR element is 10 connected to the enable input of the fourth trigger, the direct output of which is connected to the first input of the third comparison circuit "and the information input of the fifth trigger, which allows input which is connected to the inverse output of the third trigger, the inverse output of the fourth trigger is connected to the installation input of the fifth trigger, the direct output of which is connected to the first input of the second comparison circuit, the second inputs of the second and third comparison circuits are connected to the seventh input of the device connected to the status confirmation output nor capture of a controlled microprocessor system, the eighth input of the device is connected to the output of the read signal of the controlled microprocessor system and the first inputs of the second and third ... And elements, the second inputs of the second and third - 30 of its elements And are connected respectively to the outputs of the second and third comparison circuits, the third inputs of the second and third elements And are connected to the inverse trigger output, the outputs of the second and third elements 35 are connected respectively, with the second and third inputs of the first OR element, the output of which is connected to a single input of the first trigger.

20twenty

П 20P 20

16 t9 16 t9

г f5 7 3g f5 7 3

ФигFigs

TITi

Т2T2

Фиг.ЗFig.Z

ТЗ, Т1TK, T1

TITi

п son so

f6 f6

гg

вat

4.4.

зs

5 25 2

99

// 0// 0

гg

JfiiJfii

Фиг 5Fig 5

SU4880867 1990-11-02 1990-11-02 Device for testing microprocessor system RU1815638C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU4880867 RU1815638C (en) 1990-11-02 1990-11-02 Device for testing microprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU4880867 RU1815638C (en) 1990-11-02 1990-11-02 Device for testing microprocessor system

Publications (1)

Publication Number Publication Date
RU1815638C true RU1815638C (en) 1993-05-15

Family

ID=21544313

Family Applications (1)

Application Number Title Priority Date Filing Date
SU4880867 RU1815638C (en) 1990-11-02 1990-11-02 Device for testing microprocessor system

Country Status (1)

Country Link
RU (1) RU1815638C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1417649, кл. G 06 F 11/00, 1988. Авторское свидетельство СССР № 1460722,кл. G 06 F11/00. 1989. *

Similar Documents

Publication Publication Date Title
US4835728A (en) Deterministic clock control apparatus for a data processing system
RU1815638C (en) Device for testing microprocessor system
US5680593A (en) Data processor having precise timer output
JPS62131631A (en) Digital self-running clock synchronous circuit
KR970004098B1 (en) Timer circuit having comparator comparing contents of counter and register
JPS58129621A (en) Timing pulse distributor
US5341403A (en) Means to avoid data distortion in clock-synchronized signal sampling
JPS63167544A (en) Data bus system for series data bus
SU1200292A1 (en) Redundant calculating device
RU2178908C1 (en) Period-to-code converter
JP3912987B2 (en) Self-synchronous transfer control circuit and data-driven information processing apparatus having the same
JPH0143392B2 (en)
JPS61177564A (en) Shared storage device
SU1372330A1 (en) Device for connecting microprocessor with external devices
JP3152014B2 (en) Timer circuit
SU1366977A1 (en) Device for checking integrated circuits
JP3484660B2 (en) Buffer memory capacity shortage detection circuit
SU1420660A1 (en) Device for separating in time two pulse trains
SU1267594A1 (en) Controlled pulse generator
RU1820385C (en) Device for majority selecting of async signals
SU1104515A1 (en) Firmware control device
RU1839249C (en) Device for priority access to bus
SU1310776A1 (en) Device for programmed control and checking of cyclic process
SU565294A1 (en) Device for synchronization of multichannel discrete system imput signals
SU1124275A1 (en) Microprocessor communication device