SU1228107A1 - Device for checking comparison circuits - Google Patents
Device for checking comparison circuits Download PDFInfo
- Publication number
- SU1228107A1 SU1228107A1 SU843791590A SU3791590A SU1228107A1 SU 1228107 A1 SU1228107 A1 SU 1228107A1 SU 843791590 A SU843791590 A SU 843791590A SU 3791590 A SU3791590 A SU 3791590A SU 1228107 A1 SU1228107 A1 SU 1228107A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- inputs
- error signal
- counter
- Prior art date
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Изобретение Относитс к области автоматики и вычислительной техники и может быть использовано при реализации средства тестового диагностировани блоков дискретной техники. Целью изобретени вл етс повьшение достоверности контрол путём обеспечени проверки цепей блокировки младших разр дов старшюш. Устройство содержит посто нный запоминающий блок, счетчик, регистры, дешифраторы, триггер , генератор импульсов, блок формировани сигнала ошибки. Цель достигаетс за счет применени микропрограммного формировани входных воздействий и управлени устройством. 1 з.п. ф-лы, 2 ил., 2 табл.The invention Refers to the field of automation and computer technology and can be used in the implementation of a test diagnostic tool for blocks of discrete technology. The aim of the invention is to increase the reliability of control by ensuring that the low-order blocking circuits are checked. The device contains a permanent storage unit, a counter, registers, decoders, a trigger, a pulse generator, an error signal generating unit. The goal is achieved through the use of microprogram formation of input actions and device control. 1 hp f-ly, 2 ill., 2 tab.
Description
Изобретение относитс к авТомати ке и вычислительной технике и может быть использовано при реализации средства тестового диагностировани блоков дискретной техники.The invention relates to automatics and computer technology and can be used in the implementation of a test diagnostic tool for blocks of discrete technology.
Цель изобретени - повьшение достоверности контрол путем обеспечени проверки цепей блокировки младших разр дов старшими.The purpose of the invention is to increase the reliability of control by providing verification of the low-order blocking circuits of the older bits.
Устройство дл контрол схем сравнени (фиг.1) содержит схему 1 сравнени , посто нный запоминающий блокA device for controlling comparison circuits (FIG. 1) contains a comparison circuit 1, a permanent storage unit
22810722281072
На фиг. 1 изображена функциональна схема предлагаемого устройства дл контрол схем сравнени ; на фиг. 2 - временна диаграмма импуль- 5 сов, формируемых генератором.FIG. 1 shows a functional diagram of the proposed device for controlling comparison circuits; in fig. 2 - timing diagram of the pulses generated by the generator.
В табл. 1 указаны подаваемые на входы контролируемой четырехвходовой схемы сравнени и соответствующа им прошивка ПЗУ 2.In tab. 1 shows the inputs to the controlled four-input comparison circuit and the corresponding firmware ROM 2.
Т а б л и ц а IT a b l and c a I
(ПЗБ) 2, счетчик 3 (адреса), первый 4, второй 5 и третий 6 регистры, первый 7 и второй 8 дешифраторы, триггер 9,(PSB) 2, counter 3 (addresses), first 4, second 5 and third 6 registers, first 7 and second 8 decoders, trigger 9,
генератор 10 импульсов, блок формировани сигнала ошибки, содержащий элемент 11 сравнени и элемент И 12, первьй 13 и второй 14 элементы И, элемент ИЛИ 15. Кроме того, устройство содержит входы 16 и 17 пуска и сброса устройства, выход 18 ошибки устройства, выходы 19-21 Меньше Равно и Больше схемы 1 сравнени второй, третий, первый выходы 22-24 ПЗУ 2, выходы 25-28 дешифратора 7, второй и первый выходы генератора 10 импульсов, блок 31 формировани сигнала ошибки.a pulse generator 10, an error signal generating unit comprising a comparison element 11 and an AND 12 element, first 13 and a second 14 AND element, an OR 15 element. In addition, the device contains inputs 16 and 17 for starting and resetting the device, output 18 for a device error, outputs 19-21 Less Equal and More circuit 1 compare the second, third, first outputs 22-24 of ROM 2, outputs 25-28 of the decoder 7, the second and first outputs of the pulse generator 10, block 31 of forming the error signal.
Рассмотрим назначение элементов .предлагаемого устройства дл контрол схем сравнени .Consider the purpose of the elements of the proposed device to control the comparison circuits.
Схема I сравнени вл етс объектом контрол . Она предназначена дл .сравнени п-разр дных двоичных чисел ,и формировани rto результатам сравнени одного из трех возможных сигналов: А Б -на выходе 19, А 6 - на выходе 20 или А В - на выходе 2I. При правильной работе схемы 1 сравнени иа ее выходах должен присутствовать один и только один еди- :ничный сигнал.Scheme I comparison is subject to control. It is intended for comparing n-bit binary numbers, and forming rto to the results of comparing one of three possible signals: A B –at output 19, A 6 –– at output 20 or A B –– at output 2I. With proper operation of the comparison circuit 1, one and only one single signal should be present in its outputs.
Посто нный запоминающий блок (ПЗБ) 2 предназначен дл хранени кодов микрокоманд, обеспечивающих проверку схемы. 1 сравнени , информаци ПЗБ 2 представл ет собой ПЗБ статичекого типа, т.е. информаци на его выходах соответствует той чейке пам ти , адрес которой присутствует на входе ПЗБ 2, и держитс на выходе до тех пор, пока на вход ПЗБ 2 подаес соответствующий ей адрес. Микрокоманды , хран щиес в ПЗБ 2, содержат кажда номер единичного разр да кода А и В (считьшаетс на выходе 22 ПЗБ 2), разр д.управл ющий запись информации в регистры 4 или 5 (считываетс на выходе 23 ПЗБ 2) и номер выхода схемы 1 сравнени , на котором должен присутствовать единичный сигнал в данном такте контрол , либо код конца работы устройства (считываетс на выходе 24 ПЗБ 2). Дл микрокоманд , хран щихс в ПЗБ 2, прин то следуннцее кодирование. Нулевой код на выходе ПЗБ 2 соответствует нулевому коду регистра А (6), код 00....01 -коду 00....01 регистра А The permanent storage unit (SDB) 2 is intended for storing codes of micro-instructions that provide verification of the circuit. 1 of the comparison, the TZB information 2 is of a static type of TZB, i.e. the information on its outputs corresponds to that memory cell whose address is present at the entrance of the PZB 2, and is held at the output until the corresponding address is fed to the entrance of the PZB 2. The microcommands stored in the fire alarm 2 each contain a single bit number of code A and B (found at exit 22 of fire alarm 2), discharge control recording of information in registers 4 or 5 (read at exit 23 of fire safety 2) and the output number comparison circuit 1, on which a single signal must be present at a given monitoring cycle, or the device operation end code (read at output 24 of the PZB 2). For microinstructions stored in an OZB 2, it is received via the following coding. The zero code at the output of the security block 2 corresponds to the zero code of register A (6), code 00 .... 01-code 00 .... 01 register A
(В), код 00010 - коду П. ...010,(B), code 00010 - P. code ... 010,
код 00011 - коду 000100 иcode 00011 - code 000100 and
т.д. Дп кодов на выходе 24 ПЗБ 2 прин то следующее соответствие:etc. Dp codes at the output of 24 PZB 2 the following correspondence is accepted:
Код 00Выход ПЗБ 2, А В Код 01 , А В Код 10 , А ВCode 00 Output PZB 2, A B Code 01, A B Code 10, A B
Код 11Конец работы устройстваCode 11 End of device operation
Счетчик 3 адреса служит дл формировани , хранени и вьщачи адреса очередной микрокоманды, считываемой из ПЗБ 2. Он представл ет собой двоичный суммирукиций счетчик, изменени состо ний которого происход т по заднему фронту тактовых импульсов , поступающих на его счетный вход. Установка счетчика 3 в исходное состо ние происходит при подачеCounter 3 of the address is used to form, store and address the address of the next microcommand read from the PZB 2. It is a binary summation counter, the state changes of which occur along the falling edge of the clock pulses received at its counting input. The installation of the counter 3 in the initial state occurs when
на его вход R импульса сброса, который поступает на вход 17 сброса устройства.at its input R is a reset pulse, which is fed to the input 17 of the reset device.
Регистры 4 и 5 служат дл приема, хранени и вьщачи кодов А и Б соот-Registers 4 and 5 are used to receive, store and read codes A and B respectively.
ветственно, подаваемых на входы схемы 1 сравнени при контроле. Запись информации в регистры 4 и 5 осуществл етс по заднему фронту синхроимпульсов , поступающих на входы С..appropriately fed to the inputs of the comparison circuit 1 under control. The recording of information in registers 4 and 5 is carried out on the falling edge of clock pulses arriving at the inputs of C.
Сброс регистров 4 и 5 в ноль осуществл етс по сигналу, подаваемому на вход R.The registers 4 and 5 are reset to zero by the signal applied to input R.
Регистр 6 предназначен дл приема , хранени и записи номера выходаRegister 6 is for receiving, storing and recording the output number.
схемы 1 cpaвнeни J на которо должен быть единичный сигнал в данном такте контрол , либо кода конца работы устройства. Запись осуществл етс по заднему фронту Импульса, поступаюschemes 1 compare J for which there must be a single signal in a given control cycle, or a code for the end of the device operation. The recording is made on the falling edge of the impulse.
щего на вход С , а сброс регистра 6 - при постуштении KMnyjjbca на вход R.C at input, and reset of register 6 - when KMnyjjbca is checked at input R.
Дешифратор 7 предназначен дл дешифрации кодов номера выхода схемы 1 сравнени , на котором в данномThe decoder 7 is designed to decrypt the output number codes of the comparison circuit 1, in which
такте контрол должен присутствовать единичный сигнал, либо кода конца работы устройства. На вход дешифратора 7 подаетс двухразр дный двоичный код с выхода 21 ПЗБ 2. Приthe control cycle must contain a single signal, or a code for the end of the device operation. The input of the decoder 7 is supplied with a two-digit binary code from the output of 21 PZB 2. When
коде 00 единица присутствует на выходе 24, при коде 01 - на выходе 25, при коде 10 - на выходе 26 и при коде II - на выходе 27 дешифратора 7. Дешифратор 8. служит дл де.шифрации номера раз р да кода А или В , который должен быть равен единице. Первый - п-й выходы дешифратора 8 подключены соответственно к первому n-му входам регистров 4 и 5. Нулевой выход дешифратора 8 свободен.code 00, the unit is present at output 24, with code 01 - at output 25, with code 10 - at output 26 and at code II - at output 27 of the decoder 7. Decoder 8. serves to decipher the number of digits of the code A or B which should be equal to one. The first - n-th outputs of the decoder 8 are connected respectively to the first n-th inputs of the registers 4 and 5. The zero output of the decoder 8 is free.
Триггер 9 пуска служит дл пуска и останова устройства.The trigger 9 start is used to start and stop the device.
Он переключаетс в единицу при подаче сигнала Пуск на вход 16 устройства и возвращаетс в исходное при обнаружении отказа контролируемой схемы 1 сравнени , в конце контрол схемы 1 сравнени , либо при подаче сигнала Сброс на вход 17 устройства. Элемент ИЛИ 15 реализует дизъюнкцию этих сигналов и формируВ соответствии с табл. 2 блок 31 контрол построен на элементе 11 сравнени и элементе И 12. На входы эле- 0 мента 11 сравнени подаютс сигналы с выходов схемы 1 сравнени и выходов 25-27 дешифратора 7. На выходе элемента II сигнал равен единице, если двоичные коды, поступающие, с 45 выходов схемы 1 сравнени и дешифратора 7 совпадают, и равен нулю в остальных случа х. Выход элемента 11 сравнени соединен с инверсным входом элемента И 12, на пр мой вход которо-50 го подаютс тактовые импульсы с выхода 29 генератора 10. Благодар этому на выходе блока 3J контрол форми-.-- руетс сигнал ошибки, если при поступлении тактового импульса на выходе 55 элемента 11 сравнени отсутствует единичный сигнал, т.е. схема 1 сравнени функционирует неправильно.It switches to one when the Start signal is applied to the device input 16 and returns to its original state when a failure of the monitored comparison circuit 1 is detected, at the end of the control of the comparison circuit 1, or when the Reset signal is input to the device 17. The element OR 15 implements the disjunction of these signals and forms. In accordance with the table. 2, the control unit 31 is built on a comparison element 11 and an element 12. The inputs of the comparison element 11 are supplied from the outputs of the comparison circuit 1 and the outputs 25-27 of the decoder 7. At the output of element II, the signal is equal to one if the binary codes received , with 45 outputs of the comparison circuit 1 and the decoder 7 coincide, and is equal to zero in the remaining cases. The output of the comparison element 11 is connected to the inverted input of the And 12 element, to the direct input of which 50 clock pulses are output from the output 29 of the generator 10. Due to this, the output of the 3J control unit forms the error signal if, upon receipt of the clock pulse There is no single signal at the output 55 of the comparison element 11, i.e. Comparison circuit 1 does not function correctly.
ет сигнал сброса на вход R-тригге- ра 9.The reset signal to the input of the R-flip-flop 9.
Генератор 10 импульсов служит дл формировани последовательностей сдвинутых друг относительно друга импульсов, обеспечивающих синхронизацию работы устройства. Временна диаграмма работы генератора 5 пред- ставлена на фиг.2.The pulse generator 10 serves to form sequences of pulses that are shifted relative to each other, ensuring synchronization of the operation of the device. The timing diagram of the operation of the generator 5 is shown in FIG.
Блок 31 Контрол служит дл формировани сигнала ошибки, если схема 1 сравнени работает неправильно (см. табл.2)Block 31 Control serves to generate an error signal if the comparison circuit 1 does not work correctly (see Table 2).
Таблица 2table 2
Элементы И 13 и 14 управл ют записью информации в регистры 4 и 5 соответственно .Elements And 13 and 14 control the recording of information in registers 4 and 5, respectively.
Устройство дл контрол схем сравнени работает следующим образом.The device for controlling the comparison circuits works as follows.
Перед началом работы все элементы пам ти} устройства устанавливаютс в исходное (нулевое) состо ние подачей сигнала Сброс на вход 17 устройства . При поступлении сигнала Пуск на вход 16 устройства триггер 9 устанавливаетс в единичное состо ние и запускает генератор 10.Before starting, all the memory elements of the device are set to the initial (zero) state by applying a Reset signal to the device input 17. When a signal arrives. Starting at input 16 of the device, trigger 9 is set to one and starts generator 10.
Первый импульс с выхода 29 генератора 10 поступает на блок 31 контрол , в результате чего провер етс правильность работы схемы 1 сравнени на Нулевых кодах Аи 8 . По аадне му фронту этого импульса записываетс в регистр 4 код числа К , содержащий единицу в первом разр де. ЭтотThe first pulse from the output 29 of the generator 10 is fed to the control unit 31, as a result of which the correctness of the operation of the comparison circuit 1 on the Zero Au codes 8 is checked. On an alternating front of this pulse, the code of the number K, containing one in the first position, is written into register 4. This
712281712281
од хранитс в нулевой чейке ПЗБ 2. апись кода в регистр Д определ ет этом случае наличие единичного сигала на выходе 23 ПЗБ 2. С выхода 24 ЗБ 2 одновременно записьгааетс в ре- s гистр 6 код 10, соответствующий едиице на выходе А В ПЗБ 2 (фиг.2). о тактовому импульсу с выхода 30 геератора 10 в счетчике 3 устанавливатс адрес следующей (первой) чейки 10 ЗБ 2.The odor is stored in the zero cell of the PZB 2. The code entry in the D register determines in this case the presence of a single signal at the output of 23 PZB 2. From the 24 Pb output, 2 simultaneously write to the registrar 6 code 10, corresponding to the output of the A B PZB 2 (figure 2). The clock pulse from output 30 of the 10 moderator in counter 3 is set to the address of the next (first) cell of 10 PZ 2.
Следук ций импульс с выхода 29 генератора 10 поступает на вход блока 31 контрол в результате чего осуществл етс проверка правильности 15 работы схемы 1 сравнени на кодах, записанных в регистрах 4 и 5. По заднему фронту этого импульса в регистр 4 записьюаетс очередной код (фиг.2). По очередному импульсу с выхода 30 20 генератора IО в счетчике 3 устанавливаетс адрес следующей чейки пам ти ПЗБ 2,A pulse from the output 29 of the generator 10 is fed to the input of the control unit 31, as a result of which the validation of the 15 operation of the comparison circuit 1 on the codes recorded in registers 4 and 5 is checked. On the falling edge of this pulse, another code is recorded in register 4 (FIG. 2). The next pulse from the output 30 of the generator IO in counter 3 is used to determine the address of the next memory cell of the PZB 2,
Далее устройство работает анало- 25 гично описанному.Further, the device operates similarly to that described.
В каждом такте работы устройства обновл етс код только в одном из регистров 4 и 5 и осуществл етс контроль правильности работы схемы 1 сравнени на этих кодах. Проверка работы схемы 1 сравнени осуществл - етсд при всех комбинаци х кодов А и В , содержащих не более одной единицы . Это обеспечивает высокую достоверность контрол и одновременно вы- 5 сокое быстродействие устройства (малое врем контрол ). Высока достоверность контрол достигаетс тем, что по каждому входу схемы I сравнени провер етс ее срабатывание по выходам А- В, А &, А & как при единичном, так и при нулевом сигналах , т.е. провер ютс как цепи фор- мировани единичных сигналов на выходах 19-21 схемы 1, так и цепи блокировки младших разр дов кодов А (в) старшими разр дами кодов Б (Л)..In each operation cycle of the device, the code is updated only in one of the registers 4 and 5 and the correctness of the operation of the comparison circuit 1 on these codes is carried out. The verification of the operation of the comparison circuit 1 is carried out with all combinations of codes A and B containing no more than one unit. This ensures high reliability of the control and at the same time high speed of the device (short control time). The high reliability of the control is achieved by the fact that for each input of the comparison circuit I it is triggered by the outputs A-B, A & A & with both single and zero signals, i.e. both the chains of formation of single signals at the outputs 19-21 of circuit 1 and the blocking circuit of the lower bits of codes A (c) are checked by the senior bits of codes B (L).
Если хот бы в одном такте контрол блок 31 контрол сформирует единичный сигнал, он поступит на вы- ход 18 устройства, сигнализиру об ошибке в работе схемы 1 сравнени , а также через элемент ИЛИ 15 на вход R-триггера 9 и остановит работу устройства .55If, at least in one control cycle, the control unit 31 generates a single signal, it will go to the device output 18, signal an error in the operation of the comparison circuit 1, and also through the OR 15 element to the input of the R flip-flop 9 and stop the operation of the device .55
Если схема 1 сравнени исправна, то в последнем такте в регистр 6 за- письшаетс код 11, который приведетIf the comparison circuit 1 is valid, then in the last clock cycle, in the register 6, the code 11 is written, which will lead
30thirty
4545
07°07 °
к по влению на выходе 28 дешифратора 7 единичного сигнала (конец работы), который остановит работу устройства. На этом процесс контрол заканчиваетс .The appearance at output 28 of the decoder 7 of a single signal (end of operation), which will stop the operation of the device. This is where the monitoring process ends.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843791590A SU1228107A1 (en) | 1984-09-20 | 1984-09-20 | Device for checking comparison circuits |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843791590A SU1228107A1 (en) | 1984-09-20 | 1984-09-20 | Device for checking comparison circuits |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1228107A1 true SU1228107A1 (en) | 1986-04-30 |
Family
ID=21138850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843791590A SU1228107A1 (en) | 1984-09-20 | 1984-09-20 | Device for checking comparison circuits |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1228107A1 (en) |
-
1984
- 1984-09-20 SU SU843791590A patent/SU1228107A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 583436, кл. G 06 F Л/ОО, 1976. Авторское свидетельство СССР 767767, :кл. G 06 F 11/22, 1981. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1228107A1 (en) | Device for checking comparison circuits | |
US4329545A (en) | Circuit arrangement for the control of semi-duplex data transmission system | |
SU1578723A1 (en) | Device for checking and providing stand-by facilities of information-measuring system | |
SU1104589A1 (en) | Device for checking writing information in programmable memory units | |
SU1317484A1 (en) | Storage with error correction | |
SU1213554A1 (en) | Device for checking and controlling reconfiguration | |
SU1520671A1 (en) | Position coder | |
SU1349007A1 (en) | Positional code encoder | |
SU1562950A1 (en) | Device for information reception | |
SU1343499A1 (en) | Power station control arrangement | |
SU1252785A1 (en) | Device for checking control circuits | |
SU1193727A1 (en) | Storage | |
SU1287294A1 (en) | Coding device | |
SU1272358A1 (en) | Versions of storage with self-check | |
SU732877A1 (en) | Device for coding and decoding sequence code with correction of individual errors | |
SU1660004A1 (en) | Microprocessor testing device | |
SU1295528A1 (en) | Device for detecting errors in modular code | |
SU1295399A2 (en) | Device for checking digital units | |
SU1223233A1 (en) | Device for checking uniform logic units | |
SU1663165A1 (en) | Device for coded lock control | |
SU1059630A1 (en) | Self-checking storage | |
SU1257708A1 (en) | Device for correcting errors in memory blocks | |
SU1594702A1 (en) | Positional code encoder | |
SU1495801A1 (en) | Device for checking decoder | |
SU1368921A2 (en) | Self-check storage |