SU968815A1 - Device for control in microdiagnosis - Google Patents

Device for control in microdiagnosis Download PDF

Info

Publication number
SU968815A1
SU968815A1 SU813302329A SU3302329A SU968815A1 SU 968815 A1 SU968815 A1 SU 968815A1 SU 813302329 A SU813302329 A SU 813302329A SU 3302329 A SU3302329 A SU 3302329A SU 968815 A1 SU968815 A1 SU 968815A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
register
address
control
Prior art date
Application number
SU813302329A
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 SU813302329A priority Critical patent/SU968815A1/en
Application granted granted Critical
Publication of SU968815A1 publication Critical patent/SU968815A1/en

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Description

1one

Изобретение относитс  к вычислительной технике и может быть исполь зовано дл  управлени  и диагностики в микропрограммных ЭВМ.The invention relates to computer technology and can be used to control and diagnose microprogram computers.

Известно устройство, предназначенное дл  управлени  и диагностики ЦВМ 5 с микропрограммным управлением, содержащее блок пам ти, регистр команд, счетчик тактов, регистр программ и шифратор Г11- A device for controlling and diagnosing a firmware microprocessor-controlled digital computer 5 is known, which contains a memory block, a command register, a clock counter, a program register, and a G11-encoder.

Его недостатками  вл ютс  низка  экономичность, а также узкие функциональные возможности.Its disadvantages are low efficiency as well as narrow functionality.

Известны тэкже микропрограммные устройства управлени  и диагностировани  ЦВМ, содержащие блок пам ти, регистр программ, регистр команд, узел пуска-останова, генератор тактов, c4ieтчик .команд,Iсчетчик тактов, шифратор, триггер режима, элементы И, Known are also firmware microcontrollers for control and diagnostics of digital computers containing a memory block, a program register, a command register, a start-stop node, a clock generator, a c4 tactics command, an clock counter, an encoder, a mode trigger, and elements

Недостатком этих устройств  вл ютс  низкие экономичность, быстродействие и функциональна  надежность.The disadvantage of these devices is low economy, speed and functional reliability.

Наи(более близким к предлагаемому по технической сущности и достигаемому положительному эффекту  вл етс  устройство управлени  и микродиагностики , содержащее регистр команд, счетчик команд, преобразователь кодов, триггер режима: генератор импульсов, узел пуска-останова, счетчик тактов, регистр программ, два регистра адреса, три блока пам ти, блок элементов ИЛИ, элемент И-ИЛИ, семь элементов И и два инвертора, причем перва  группа выходов регистра команд соединена с первой группой информационных входов регистра программ и преобразовател  кодов , выход которого соединен с единичным входом триггера режима и с первым входом установки в нуль счетчика тактов , второй вход установки в нуль которого , соединен с нулевым входом триггера режима, с второй группой информационных входов регистра программ, с первыми входами установки в нуль первого и второго регистров адреса и выходом первого элемента И, первый вход которого соединен с выходом узла пуска-останова и с первым входом второго элемента И, выход которого соединен со счетным входом счетчика тактов , а через третий элемент И - со считывающим входом первого блока пам ти , группа выходов которого через первые входы блока элементов ИЛИ соединена с первой группой выходов устройства; выход регистра программ соединен с адресным входом второго блока пам ти, первый вход которого соединен с входами установки в нуль регистра программ, регистра команд, с вторым входом установки в нуль регист ра адреса, с третьим входом установки в нуль счетчика тактов и со счетным входом счетчика команд ёыход которого  вл етс  вторым выходам устройства причем группа установочных входов счет чика команд соединена с второй группо выходов регистра команд, треть  групп выходов которого  вл етс  третьим выходом устройства, а группа информационных входов регистра команд  вл етс  первым входом устройства; второй 6Ь1ход второго блока пам ти через четвер тый элемент И соединен с сийхронизирующим входом преобразовател  кодов, причем второй вход четвертого элемента И соединен с нулевым выходом триггера режима, единичный выход которого через п тый элемент И соединен с вторым входом первого элемента И и входом первого инвертора, выход которого соединен с вторым входом второго элемента И, причем единичный выход триггера режима соединен также с первым входом первой группы входов элемента И-ИЛИ и с входом второго инвертора, выход которого соединен с первым входом второй группы входов элемента ИИЛИ , второй вход п того элемента И соединен с единичным выходом первого триггера переполнени  счетчика таКтов и с первым входом шестого элемента И, выход которого  вл етс  четвертым выходом устройства, а второй вход этого элемента соединен с единичным выходом второго триггера переполнени  счетчика тактов, причем нулевой выход первого триггера переполнени  счетчика тактов соединен с п тым выходом устройства через седьмой элемент И, второй вход которого соединен с третьей группой информационных входов регистра программ и с третьим выходом второго блока пам ти, группа выходов которого соединена с вторыми входами блока элементов ИЛИ, выход генератора импульсов соединен с первым входом узла пуска-останова, второй вход которого  вл етс  вторым входом устройства i вЫход второго регистра адреса соединен с адресным входом третьего блока пам ти, группа выходов которого соединена с первой группой информационных входов первого регистра адреса, перва  группа выходов которого соединена с адреснь1м входом первого блока пам ти, а втора  группа выходов регистра соединена спервой группой информационнь1Х входов второго регистра адреса Г ЗНедостатком этого устройства  вл етс  низка  достоверность функционировани  и низкое быстродействие. Низка  достоверность функционировани  устройЬтва обуславливаетс  отсутствием контрол  Считывани  микр5 команд. В рабочем режиме устройство управл ет выполнением обычных вычислительных команд ЭВМ по рабочим микропрограммам , которые состо т из рабочих микрокоманд , записанных во втором ;блоке пам ти. При этом кажда  микрокоманда имеет поле адреса, в котором задаетс  адрес очередной микрокоманды. Одновременно с выполнением рабочей микропрограммы осуществл етс  контроль нижней и верхней границы времени ее выполнени . . В режиме диагностики устройства управл ет диагностированием объекта управлени . В состав диагностической микропрограммы вход т специальные Диагностические микрокоманды, которые записаны в первом блоке пам ти, а также некоторые рабочие микрокоманды, причем пор док следовани  последних в составе диагностической и рабочей микропрограммы может отличатьс  от их |пор дка в составе рабочей микропрограммы . Дл  задани  последовательности адреса рабочих и специальных микрокоманд в составе диагностической микропрограммы используетс  третий блок пам ти . Из него одновременно со считыванием микрокоманды из первого и второго блоков пам ти считываетс  адресна  микрокоманда, котора  задает адрес очередной рабочей или специальной микрокоманды . В режиме диагностики адресна  информаци , считанна  из второго блока пам ти, блокируетс . Низкое быстродействие устройства обусловлено тем, что длина диагностической процедуры в устройстве задаетс  перед ее началом и не измен етс  в зависимости от результатов диагностировани , в то врем , как при безусловном диагностировании имеетс  возможность сократить среднее число проверок , а следовательно, и врем  диагностировани , за счет реализации безусловного последовательного алгоритма диагностировани . Целью изобретени   вл етс  повышение достоверности функционировани  и быстродействи  устройства. Поставленна  цель достигаетс  тем, что в устройство управлени  и микродиагностики , содержащее регистр команд , регистр программ, первый и второй регистры адреса, счетчик команд и счетчик тактов, преобразователь кодов дополнени , первый, второй и третий блоки пам ти, триггеры режима, генератор импульсов, блок пуска-останова , первый коммутатор, первый и BTOрой элементы НЕ, первый, второй, третий , четвертый, п тый, шестой, седьмой элементы И и блок элементов ИЛИ, причем вход команд устройства соединен с информационным входом регистра команд, выход начального адреса микро команд которого соединен с информационным входом счетчика команд, выход кода операции регистра команд соединен с первым информационным входом регистра программ и информационным вхо дом преобразовател  кодов дополнени , управл ющий выход которого соединен с .первым установочным входом счетчика тактов и единичным входом триггера рб жима, единичный выход которого соединен с первым управл ющим, а через пер вый элемент НЕ - с вторым управл ющим входом первого коммутатора и первым входом первого элемента И, нулевой выход триггера режима соединен с первым входом второго элемента И, выход которого соединен с управл ющим входом .преобразовател  кодов дополнени , пер вый единичный выход переполнени  счет чика тактов соединен с первым входом третьего элемента И, выход которого  вл етс  первым выходом неисправности устройства, второй единичный выход переполнени  счетчика токтоз соединен с вторыми входами третьего и первого элементов И, выход которого соединен с первым входом четвертого элемента И, и через второй элемент НЕ - с первым входом п того элемента И, выход . которого соединен со счетным входом счетчика тактов, нулевой выход переполнени  счетчика тактов соединен с первым входом шестого элемента И,выход которого . вл етс  вторым выходом неисправности устройства, вход пуска устройства и выход генератора тактовых импульсов соединены соответственно с первым и вторым входами блока пуска-останова, выход которого соединен с вторыми входами четвертого и п того элементов И, выход четвертого элемента И соединен с нулевым входом триггера режима, вторым установочным входом счетчика тактов и первь1м установочными входами регистра программ первого и второго регистров адреса, выход которого соединен с адресными входами первого блока пам ти, выход первого блока пам ти соединен с первым информационным входом первого регистра адреса, первый адресный выход которого соединен с первым информационным входом регистра адреса, управл ющий выход первого регистра адреса соединен с первым входом седьмого элемента И, выход которого соединен с управл ющим входом второго блока пам ти , второй адресный выход первого регистра адреса соединен с адресным входом второго блока пам ти, выходы которого соединены с первыми входами блока элементов ИЛИ, выход микрооператора третьего блока пам ти соединены с вторыми входами блока элементов ИЛИ, выход которого  вл етс  выходом микроопераций устройства, выход регис тре программ соединен с.адресными входами третьего блока пам ти, первый управл ющий выход которого соединен со вторым входом шестого элемента И и вторым установочным входом регистра программ, второй и третий управл ющие выходы третьего блока пам ти соединены соответственно со вторым входом второго элемента И и вторым установочным входом первого регистра адреса, третьим установочным входом регистра программ, третьим установочным входом счетчика тактов, установочным входом регистра команд и счетным входом счетчика команд, выход которого  вл етс  выходом адреса устройства, выход второго регистра адреса соединен с адресными входом первого блока пам ти, введены регистр теста, блок коррекции, второй коммутатор, блок элементов И, восьмой элемент И, эле-мент ИЛИ, элемент задержки, сумматор по модуж) два причем информационный, вход устройства соединен с информационным входом бло ка коррекции, выход которого соединен с единичным установочным входом счетчика тактов, информационный выход преобразовател  кодов дополнени  и выход пол  дополнени  регистра команд соединены соответственно с первым и вторым информационными входами второго коммутатора, выход которого соединен с информационными счетчика, тактов, . второй управл ющий выход третьего блока пам ти соединен с первым установочным входом регистра теста,.первым входом блока элементов И и через элемент задержки - с первыми управл ющими входами второго коммутатора, единичный выход триггера режима соединен с вторым управл ющим входом второго коммутатора, первым управл ющим входом коррекции, входом первого элемента НЕ, первым входом сумматора по модулю два и инверсным входом третьего элемента И, выход четвертого элемента И соединен с вторым установочным.входом регистра тестов, выход которого соединен с вторым информационным входом блока коррекции, выход П того элемента И соединен с управл ющим входом первого блока пам ти, вторым управл ющим входом блока коррекции, вторым входом седьмого элемента И и пр мым входом восьмого элемента И, выход которого соединен с управл ющим вхОдом третьего блока пам ти, управл ющий, второй и третий адресный выходы первого регистра адреса соединены соответственно с инверсным входом восьмого элемента И, вторым информационным входом регистра программ и вторым вхо дом сумматора по модулю два,выход ко торого соединен с вторым информационным входом второго регистра адреса, третий управл ющий выход третьего бло ка пам ти соединен с вторым установоч ным входом второг;о регистра адреса, выход начального адреса микрокоманд регистра команд соединен с вторым вхо дом блока элементов.И, выход которого соединен с вторым информационным входом первого регистра адреса, выходы второго блока пам ти соединены с входами элементов ИЛИ, выходы которых соединены- с первым информационным входом первого коммутатора, управл ющий выход метки второго блока пам ти соединен с вторым информационным входом первого коммутатора, выход которого соединен с третьим входом блока пуска; Останова, выход блока элементов ИЛИ соединен с информационным входом ре- . гистра теста,. Кроме того, узел коррекции содержит первый и второй регистры, дешифратор , первый и второй элементы задержки , сумматор по модулю два, элемент И, элемент ИЛИ, причем первы1й и второй управл ющие входы блока соединены соответственно с первым входом элемента И и входом первого элемента задержки , выход которого соединен с синхронизирующими входами первого и второго регистров и через второй элемент задержки с вторым входом элемента И, выход второго элемента И соединен с управл ющим входом дешифратора, выход которого соединен со входами элемента ИЛИ, выход элемента ИЛИ  вл етс  выходом блока, первый информационный вход .блока соединен с информационным входом первого регистра и первым входом сумматора по-модулю два, выход которого соединен с информационными входами второго регистра, второй информационный вход блока и выход первого регистра соединен соответственно с первым и вторым информационными входами дешифратора, выход второго регистра соединен с третьим информационным входом дешифратора и вторым входом сумматора по модулю два. Изобретение обеспечивает повышение быстродействи  и достоверность функционировани  устройства. Повышение быстродействи  достигаетс  за счет обеспечени  возможности управлени  длиной условной диагностической процедуры путем реализации безусловного последовательного алгоритма диагностировани . Повышение достоверности функционировани  устройства достигаетс  за счет осуществлени  контрол  соответстви  считываемых микрокоманд режиму работы. Введение указанных элементов и св зей позвол ет осуществл ть контроль соответстви  считанных микрокоманд режиму работы устройства, формировать рабочие и диагностические микропрограммы при однократной записи адресов рабочих микрокоманд, а также управл ть длиной микродиагностической процедуры . За счет этого повышаетс  достоверность функционировани  и быстродействие устройства. На фиг. 1 изображена функциональна  схема предлагаемого ycтpoйctвa, 9 96 на фиг, 2 - функциональна  схема узла пуска-останова; на фиг. 3 функциональна  схема преобразовател  кодов дополнени ; на фиг, k - функциональна  схема узла коррекции, на фиг. 5 форматы команд, подаваемых на вход устройства, на фиг. 6 - форматы микрокоманд , формируемых устройством, на фиг, 7 пример схемы алгоритма микродиагностики , реализуемого.устройством; на фиг, 8 - пример таблицы истин ности, реализуемой преобразователем кодов; на фиг, 9 пример таблицы разрешенных наборов узла дешифраторэлемент ИЛИ узла коррекции; на фиг, 10 - пример таблицы соответстви , опи сывающей работу преобразовател  5 кодов дополнени  (фиг, 3). Устройство (фиг, 1) содержит регистр команд 1 с полем 2 операции, полем 3 дополнени  и полем k адреса начальной микрокоманды, преобразователь 5 кодов дополнени , триггер режима 6, второй элемент И 7, элемент задержки 8, регистр теста 9 второй коммутатор 10, узел коррекции 11, счетчик 12 тактов с первым 13 и вторым 14 три1- герами переполнени , первый 15, тре- тий 16 и шестой 17 элементы И, регист программ 18, третий блок пам ти 19, первый инвертор 20, элемент ИЛИ 21, первый коммутатор 22, счетчик команд 23, генератор импульсов 2, узел пуска-останова 25, четвертый элемент И 2б, второй инвертор 27, п тый элемент И 28, второй регистр адреса 29, первый блок пам ти 30, блок элементов И 31 первый регистр адреса 32 с первым адресным 33 третьим адресным полем З, вторым адресным полем 35 и управл ющим полем Зб, седьмой 37 и восьмой 38 элементы И, блок сумматоров по модулю два 39, второй блок пам ти «О и первый блок элементов ИЛИ Ц. Символом 42 на фиг. 1 обозначен информационный вход команд, управл ющий вход 43 преобразовател  кодов, информационный вход Ц преобразовател  кодов, управл ющий выход kS преобразовател  кодов, информационный выход 46 преобразовател  кодов, единичный выход 47 триггера режима 6, первый информационный вход 4§ устройства, выход 49 регистра теста 9, третий выход 50 пол  4 регистра команд 1, адресный выход 51 устройства, выход 52 генератора импульсов 2h, вход S3 пуска устройства , третий вход 54 узла пускапостанова , выход 55 элемента И 26, вы510 ход 5б узла коррекции, соответственно первый и второй выходы 57 58 неисправности , соответственно первый, второй , третий и четвертый управл ющие выходы третьего блока пам ти 19, группа выходов 63 микроопераций блока пам ти 19, выход 64 первого коммутатора , выход б5 микроопераций устройства . Блок пуска-останова (фиг. 2)содержит триггер 66 и элемент И 67. Символом 68 на фиг, 2 обозначен выход блока пуска-останоаа. Преобразователь кодов (фиг, 3) содержит дешифратор 69 с управл ющим входом 43 и информационным входом 44, шифратор 70, имеющий (п+1) выходов, первых из которых образуют отдельную группу. Символом 71 на фиг. 3 обозначены выходы дешифратора, К-разр дность пол  кода операции 2 регистра команд 1, - номер разр да первого триггера переполнени  13 счетчика тактов 12. Узел коррекции (фиг: 4) содержит первый элемент задержки 72, блок сумматоров по модулю два 73, первый 74 и второй 75 регистры, второй .элемент задержки 76, элемент И 77, дешифратор 78 и элемент ИЛИ 79. Символами 80 и 81 на фиг, 4 обозначены группы выходов соответственно первого и второго регистров, 5б - выход узла коррекции , т-разр дность тестовых наборов , формируемых устройством, г-разр дность выходных реакций управлени  и диагностировани . На фиг, 5 символом 82 обозначено поле кода операций, 83 - поле дополнени , 84 - поле адреса начальной микрокоманды , А и A,(j. - адреса начальных микрокоманд соответственно рабочей и диагностической i-й микропрограммы , Пр и коды условий соответственно рабочей и диагностической i-й микропрограммы, Н „ - код дополнени  длины i-й диагностической микропрограммы до емкости () счетчика тактов 12, п - номер разр дного первого триггера переполнени  13 счетчика тактов, K0j,p4 и - код операции соответственно рабочей и диагностической i-й программы. На фиг, 6 символами У59, УбО. Уб1 Уб2 обозначены соответственно 59, 60, 61, 62 выходы третьего блока пам ти 19, УбЗ выход микроопераций, МО код микроопераций; символы 1 и О обозначают наличие соответственно единичного и нулевого сигналов на выходе briOKa пам ти, символ л. означает, что в данном разр де может быть как О, так и 1, в зависимости от того, входит или нет микрокоманда в диагностическую микропрограмму. На фиг. 7 символами TV, Т2, ТЗ, Т Т5 обозначены соответственно первый, второй, третий, четвертый и п тый тестовые наборы, подаваемые на входы объекта управлени  идиагностировани , R-выходные реакции объекта на поданные тестовые наборы, причем индекс при символе R соответствует номеру реакции , С - состо ни  объекта, характеризующие тип.и место возникновени  в нем отказа, причем индекс при С. соответствует номеру состо ни , результат суммировани  по модулю два всех ранее полученных реакций объекта с очередной поданной. На фиг. 8 символами К и Д обозначены соответственно рабочие и диагнос тические команды, индекс при которых соответствует номеру команды, N - длина микропрограммы, HQ,- код дополнени  числа N до емкости () счетчика тактов 12:Но (/-1)-N, п - номер разр да первого триггера переполнени  13 счетчика тактов, X kk - код операции , ykS - сигнал на выходе 45 преобразовател  кодов дополнени , сигнал на выходе 46 преобразовател  кодов, прочерк на пересечении строки и столбца означает отсутствие соответ ствующей информации в формате команды На фиг. 9 символом Т обозначены . тестовые наборы, подаваемые на вход объекта управлени  и диагностировани  индекс при.символе Т соответствует но меру набора, Х+9 - код тестового, набора , подаваемый с входа Э на вторую группу информационных входов дешифратора 78 узла коррекции 11, ХЗО - код, подаваемый на первую группу информационных входов дешифратора Х81 код , подаваемый на третью группу 81 информационных входов дешифратора 78, С - состо ние объекта управлени  и ди агностировани  (согласно фиг. 7) соответствующее моменту возбуждени  выхода У5б узла коррекции 11. Рассмотрим назначение элементов устройства (фиг. 1). Регистр команд 1 предназначен дл  хр.анени  кода выполн емой команды. В любом режиме в поле 2 размещаетс  код операции КО, а в поле 4 - адрес А1 начальной микрокоманды реализуемой микропрограммы. В поле 3 в рабочем режиме размещает с  код Пр условий, провер емых в объекте (например, в операционном блоке ЭВМ) программным способом и определ ющих ход выполнени  программы в зависимости от текущих результатов вычислений. В режиме диагностики в этом поле размещаетс  также код Н„ дополнени  числа (N) тактов диагностической микропрограммы до емкости счетчика тактов 12. Форматы указанных команд показаны на фиг. 5Вход б1 регистра команд 1 предназначены дл  установки регистра в нуль, вход 42 - -дл  записи информации в регистр . Преобразователь 5 кодов доаолнени  в рабочем режиме преобразует код операции в код HQ. дополнени . Этот код подаетс  на выход 46 и соответствует минимально возможной длине микропрограммы выполнени  команды, заданной кодом операции. На выходе 45 при этом формируетс  нулевой сигнал. В диагностическом режиме преобразователь 5 кодов преобразует код операции диагностической команды в код, содержащий единицу в разр де, соответствующем выходу 45, и нули во всех разр дах, соответствующих выходу 46 преобразовател  5 кодов дополнени . Выдача кодов на выходы преобразовател  5 кодов осуществл етс  при подаче разрешающего сигнала на его управл ющий вход 43. Триггер 6 режима предназначен дл  фиксации режима работы устройства. Рабочему режиму соответствует нулевое состо ние триггера, а режиму диагностики - единичное. Элемент И 7 предназначен дл  управлени  подачей сигнала на вход преобразовател  5 кодов. /. . Элемент задержки 8 предназначен дл  задержки сигнала, разрешающего запись кода дополнени  Нг. в счетчик тактов 12, на Врем  срабатывани  элемента И 7 и преобразовател  кодов 5. Он может быть выполнен, например, на D-триггерах. Регистр теста 9 предназначен дл  хранени  теста, поданного на объект управлени  и диагностировани . Второй коммутатор 10 предназачен дл  управлени  записью кода дополнени  в счетчик тактов 12. Узел коррекции 11 предназначен дл  формировани  сигнала на установку всех разр дов счетчика тактов 112 в единичное , состо ние в момент по влени  наThe most (closer to the proposed technical essence and the achieved positive effect is the control and microdiagnostics device containing the command register, command counter, code converter, trigger mode: pulse generator, start-stop node, clock counter, program register, two address registers , three memory blocks, a block of OR elements, an AND-OR element, seven AND elements and two inverters, the first group of outputs of the command register is connected to the first group of information inputs of the program register and the transform code bodies, the output of which is connected to a single mode trigger input and to the first input of the clock counter set to zero, the second input of the zero setting of which is connected to the zero input of the mode trigger, to the second group of information inputs of the program register, to the first inputs of the first zero input and the second address registers and the output of the first element And, the first input of which is connected to the output of the start-up node and to the first input of the second element And, the output of which is connected to the counting input of the clock counter, and through the third element NT And - with the read input of the first memory block, the group of outputs of which is connected to the first group of outputs of the device through the first inputs of the block of OR elements; the output of the program register is connected to the address input of the second memory block, the first input of which is connected to the inputs of setting the program register to zero, the command register, to the second input of setting the address register to zero, to the third input of setting the clock counter to zero and to the counter input of the counter the commands whose output is the second outputs of the device, the group of installation inputs of the command counter connected to the second group of outputs of the command register, a third of the groups of outputs of which is the third output of the device, and the group of informs tional instruction register input is a first input device; The second 6B1 input of the second memory block is connected via the fourth element I to the synchronizing input of the code converter, the second input of the fourth element I connected to the zero output of the mode trigger, the unit output of which through the fifth element I is connected to the second inverter , the output of which is connected to the second input of the second element AND, and the single output of the mode trigger is also connected to the first input of the first group of inputs of the AND-OR element and to the input of the second inverter whose output is It is connected to the first input of the second group of inputs of the ORI element, the second input of the fifth element I is connected to the single output of the first overflow trigger of the taker counter and to the first input of the sixth element AND whose output is the fourth output of the device, and the second input of this element is connected to the single output the second overflow trigger of the clock counter, the zero output of the first overflow trigger of the clock counter is connected to the fifth output of the device via the seventh And element, the second input of which is connected to the third group The information inputs of the program register and with the third output of the second memory block, the output group of which is connected to the second inputs of the OR block, the output of the pulse generator is connected to the first input of the start-up node, the second input of which is the second input of the device i EXIT with the address input of the third memory block, the output group of which is connected to the first group of information inputs of the first address register, the first group of outputs of which is connected to the address input of the first block memory, and the second group of outputs of the register is connected with the first group of information inputs of the second register of the address. The disadvantage of this device is low reliability of operation and low speed.  The low reliability of the operation of the device is due to the lack of monitoring of the read mic5 commands.  In the operating mode, the device controls the execution of the usual computing commands of the computer by the working microprograms, which consist of the working microcommands recorded in the second; memory block.  In this case, each microinstruction has an address field in which the address of the next microcommand is specified.  Simultaneously with the execution of the working firmware, the monitoring of the lower and upper limits of its execution time is carried out.  .  In the diagnostic mode, the device controls the diagnostics of the control object.  The diagnostic firmware includes special diagnostic microcommands that are recorded in the first memory block, as well as some working microcommands, and the order of the latter in the diagnostic and working microprogram may differ from their order in the working microprogram.  The third block of memory is used to assign the address sequence of the work and special microcommands in the diagnostic firmware.  From it, simultaneously with reading the microcommand from the first and second memory blocks, an address microcommand is read, which specifies the address of the next working or special microcommand.  In diagnostics mode, the address information read from the second memory block is blocked.  The low speed of the device is due to the fact that the length of the diagnostic procedure in the device is set before it starts and does not change depending on the results of the diagnosis, while unconditional diagnosis makes it possible to reduce the average number of tests and, consequently, the time of diagnosis, due to implementation of the unconditional sequential diagnostic algorithm.  The aim of the invention is to increase the reliability of the operation and speed of the device.  The goal is achieved by the fact that the control and microdiagnostics device, which contains the command register, the program register, the first and second address registers, the command counter and the clock counter, the add-on code converter, the first, second and third memory blocks, mode triggers, pulse generator, the start-stop unit, the first switch, the first and WTO elements NOT, the first, second, third, fourth, fifth, sixth, seventh AND elements and the block of OR elements, with the input of the device commands connected to the information input of the command register The output of the initial address of the micro command of which is connected to the information input of the command counter, the output of the operation code of the command register is connected to the first information input of the program register and the information input of the add-on code converter, the control output of which is connected to. the first setting input of the clock counter and the single input of the trigger RB, the single output of which is connected to the first control, and through the first element NOT to the second control input of the first switch and the first input of the first element I, the zero output of the mode trigger is connected to the first input the second element And, the output of which is connected to the control input. the converter of addition codes, the first unit overflow output of the clock counter is connected to the first input of the third I element, the output of which is the first fault output of the device, the second single overflow output of the counter current meter is connected to the second inputs of the third and first I elements, the output of which is connected to the first the input of the fourth element is And, and through the second element is NOT - with the first input of the fifth element And, the output.  which is connected to the counting input of the clock counter, the zero output of the overflow clock counter is connected to the first input of the sixth And element, the output of which. is the second output fault of the device, the start-up input of the device and the output of the clock pulse generator are connected respectively to the first and second inputs of the start-up unit, the output of which is connected to the second inputs of the fourth and fifth elements And, the output of the fourth element And is connected to the zero input of the mode trigger , the second installation input of the clock counter and the first installation inputs of the program register of the first and second address registers, the output of which is connected to the address inputs of the first memory block, the output of the first the memory unit is connected to the first information input of the first address register, the first address output of which is connected to the first information input of the address register, the control output of the first address register is connected to the first input of the seventh And element, the output of which is connected to the control input of the second memory block, The second address output of the first register of the address is connected to the address input of the second memory block, the outputs of which are connected to the first inputs of the block of OR elements, the output of the micro-operator of the third memory block is connected with the second inputs of the OR block, the output of which is the output of the device microoperations, the output of the register of programs is connected to. the address inputs of the third memory block, the first control output of which is connected to the second input of the sixth And element and the second installation input of the program register, the second and third control outputs of the third memory block are connected respectively to the second input of the second And element and the second installation input of the first register addresses, the third installation input of the program register, the third installation input of the clock counter, the installation input of the command register and the counter input of the command counter, the output of which is the output The device addresses, the output of the second address register is connected to the address input of the first memory block, a test register, a correction block, a second switch, a block of AND elements, an eighth AND element, an OR element, a delay element, a modem adder) two are entered, the device input is connected to the information input of the correction unit, the output of which is connected to the single installation input of the clock counter, the information output of the addition code converter and the output of the addition field of the command register are connected respectively to the first and second information inputs of the second switch, the output of which is connected with the information counter cycles.  The second control output of the third memory block is connected to the first test input of the test register. the first input of the block of elements And through the delay element — with the first control inputs of the second switch; the single output of the mode trigger is connected to the second control input of the second switch, the first control input of the correction, the input of the first element, the first input of the modulo two and the inverse the input of the third element And the output of the fourth element And is connected to the second installation. the input of the test register, the output of which is connected to the second information input of the correction unit, the output of the first element AND is connected to the control input of the first memory block, the second control input of the correction unit, the second input of the seventh And element, and the forward input of the eighth element And, output which is connected to the control input of the third memory block, the control, the second and third address outputs of the first address register are connected respectively to the inverse input of the eighth And element, the second information input of the program register and the second input of the modulo-two adder, the output of which is connected to the second information input of the second address register, the third control output of the third memory block is connected to the second setting input second, the address register, the output address of the microcommand initial address of the command register is connected to the second entrance of the block of elements. And, the output of which is connected to the second information input of the first address register, the outputs of the second memory block are connected to the inputs of the OR elements, the outputs of which are connected to the first information input of the first switch, the control output of the second memory block label is connected to the second information input of the first switch , the output of which is connected to the third input of the starting block; Stop, the output of the block of elements OR is connected to the information input re-.  gistra test ,.  In addition, the correction node contains the first and second registers, the decoder, the first and second delay elements, modulo two, the AND element, the OR element, and the first and second control inputs of the block are connected respectively to the first input of the AND element and the input of the first delay element whose output is connected to the synchronization inputs of the first and second registers and through the second delay element to the second input of the element I, the output of the second element I is connected to the control input of the decoder, the output of which is connected to the inputs of the elec OR, the output of the element OR is the output of the block, the first information input. unit is connected to the information input of the first register and the first input of the adder modulo two, the output of which is connected to the information inputs of the second register, the second information input of the block and the output of the first register are connected respectively to the first and second information inputs of the decoder, the output of the second register is connected to the third information the input of the decoder and the second input of the modulo two.  The invention provides improved performance and reliability of the device.  The increase in speed is achieved by providing the ability to control the length of the conditional diagnostic procedure by implementing an unconditional sequential diagnostic algorithm.  Improving the reliability of the operation of the device is achieved by monitoring the compliance of readable micro-commands to the mode of operation.  The introduction of the indicated elements and connections allows one to control the correspondence of the readable microinstructions to the mode of operation of the device, to form the working and diagnostic microprograms upon a single record of the addresses of the working microinstructions, and also to control the length of the microdiagnostic procedure.  This increases the reliability of the operation and the speed of the device.  FIG.  1 shows a functional diagram of the proposed y-device, 9 96 in FIG. 2, a functional diagram of the start-stop unit; in fig.  3 is a functional diagram of the converter code additions; in fig, k is a functional diagram of the correction unit; in fig.  5 formats of commands given to the input of the device; FIG.  6 shows the formats of micro-instructions generated by the device; FIG. 7 is an example of a microdiagnostics algorithm scheme implemented. device; FIG. 8 is an example of a truth table implemented by a code converter; FIG. 9 is an example of a table of permitted sets of a descrambler node OR correction node; Fig. 10 is an example of a correspondence table describing the operation of the addition code converter 5 (Fig. 3).  The device (FIG. 1) contains the command register 1 with the operation field 2, the addition field 3 and the initial microcommand address field k, the addition code converter 5, mode 6 trigger, second element 7, delay element 8, test 9 register second switch 10, correction node 11, counter 12 clock cycles with the first 13 and second 14 triple overflow gels, first 15, third 16 and sixth 17 elements AND, register programs 18, third memory block 19, first inverter 20, element OR 21, first the switch 22, the command counter 23, the pulse generator 2, the node start-stop 25, the fourth element And 2b, second inverter 27, fifth element 28 and 28, second address register 29, first memory block 30, AND 31 block of elements first address register 32 with first address 33 third address field 3, second address field 35 and control field ZB the seventh 37th and eighth 38 elements AND, a block of modulo two 39, the second memory block O and the first block of elements OR C.  Symbol 42 in FIG.  1 designates the information input of the commands, the control input 43 of the code converter, the information input C of the code converter, the control output kS of the code converter, the information output 46 of the code converter, unit output 47 of the mode 6 trigger, the first information output 4§ of the device, test output 49 9, third output 50, field 4 of instruction register 1, device address output 51, pulse generator output 2h, device start input S3, third start-up node input 54, output And 26 element, output 510 correction node 5b, respectively first and second outputs 57 58 malfunctions, respectively, the first, second, third and fourth control outputs of the third memory unit 19, micro group 63 outputs the block memory 19, the output 64 of the first switch, the output b5 micro device.  A start / stop unit (FIG.  2) contains the trigger 66 and the element And 67.  The symbol 68 in FIG. 2 denotes the output of the start-up block.  The code converter (FIG. 3) contains a decoder 69 with a control input 43 and information input 44, an encoder 70 having (n + 1) outputs, the first of which form a separate group.  Symbol 71 in FIG.  3 denotes the outputs of the decoder, K-width field of operation code 2 of instruction register 1, is the bit number of the first overflow trigger 13 of the clock counter 12.  Node correction (Fig: 4) contains the first delay element 72, the block of modulo two 73, the first 74 and 75 second registers, the second. the delay element 76, the element And 77, the decoder 78 and the element OR 79.  Symbols 80 and 81 in FIG. 4 denote groups of outputs of the first and second registers, respectively, 5b — output of the correction unit, t-size of test sets formed by the device, g-size of output control and diagnostics responses.  In FIG. 5, symbol 82 denotes an operation code field, 83 an addition field, 84 an initial microcommand address field, A and A, (j.  - addresses of initial microinstructions, respectively, of the working and diagnostic i-th microprogram, Pr and condition codes, respectively, of the working and diagnostic i-th microprogram, Н „- code of addition of the length of the i-th diagnostic microprogram to the capacity () of the clock counter 12, n - bit number the first overflow trigger 13 clock counter, K0j, p4 and - the opcode of the working and diagnostic i-th program, respectively.  In FIG. 6, symbols U59, UO.  Ub1 Ub2 are marked respectively 59, 60, 61, 62 outputs of the third memory block 19, UBZ output of micro-operations, MO code of micro-operations; symbols 1 and О denote the presence of a single and zero signal, respectively, at the output of the memory briOKa, the symbol l.  means that in this category there can be both O and 1, depending on whether or not a microinstruction is included in the diagnostic firmware.  FIG.  7 symbols TV, T2, TZ, T T5 denote the first, second, third, fourth and fifth test sets, respectively, fed to the inputs of the control object and the diagnostics, the R-output reactions of the object to the supplied test sets, and the index with the symbol R corresponds to the reaction number , С - object states characterizing the type. and the place of failure in it, with the index at C.  corresponds to the state number, the result of adding modulo two of all previously obtained reactions of the object with the next filed.   FIG.  8, the symbols K and D designate working and diagnostic commands, respectively, the index for which corresponds to the command number, N is the firmware length, HQ, is the addition code of the number N to the capacity () of the clock counter 12: But (/ -1) -N, n - the bit number of the first overflow trigger 13 of the clock counter, X kk is the operation code, ykS is the signal at output 45 of the addition code converter, the signal at output 46 of the code converter, a dash at the intersection of the row and column indicates the absence of the corresponding information in the command format. .  9 symbol T marked.  test sets supplied to the input of the control object and the diagnostic index at. T corresponds to the dialing number, X + 9 is the test, dialing code supplied from input E to the second group of information inputs of the decoder 78 of the correction node 11, XZO is the code fed to the first group of information inputs of the X81 decoder code to the third group 81 information inputs of the decoder 78, C is the state of the control and diagnostics object (as shown in FIG.  7) corresponding to the moment of excitation of the output U5b of the correction unit 11.  Consider the purpose of the elements of the device (FIG.  one).  Command register 1 is for xp. change the code of the command being executed.  In any mode, field QO is located in field 2, and in field 4, the address A1 of the initial microcommand of the firmware being implemented.  In field 3, in the operating mode, it places the code Pr of the conditions that are checked in the object (for example, in the computer's operating unit) programmatically and determine the course of the program execution depending on the current results of the calculations.  In the diagnostics mode, this field also contains the code H, the addition of the number (N) of the diagnostic firmware cycles to the capacity of the cycle counter 12.  The formats of these commands are shown in FIG.  5Input B1 of instruction register 1 is designed to set the register to zero, input 42 is for recording information into the register.  The converter of 5 additional codes in the working mode converts the operation code to the HQ code.  additions.  This code is fed to output 46 and corresponds to the minimum possible length of the firmware for executing the command given by the operation code.  At the output 45, a zero signal is generated.  In diagnostic mode, a 5 code converter converts the diagnostic command operation code into a code containing a one in the bit corresponding to output 45, and zeros in all bits corresponding to the output 46 of the converter of 5 padding codes.  The issuance of codes to the outputs of the converter 5 codes is carried out when the enable signal is applied to its control input 43.  The trigger 6 mode is designed to fix the mode of the device.  The operating mode corresponds to the zero state of the trigger, and the diagnostic mode corresponds to one.  Element And 7 is designed to control the input signal to the input of the converter 5 codes.  /.   .  Delay element 8 is designed to delay the signal, allowing the addition of the Ng code to be written.  into the clock counter 12, at the response time of the element 7 and the code converter 5.  It can be performed, for example, on D-triggers.  The test register 9 is intended for storing a test applied to a control and diagnostics object.  The second switch 10 is intended to control the writing of the addition code to the clock counter 12.  Correction unit 11 is designed to form a signal for setting all bits of clock counter 112 into a single state at the moment it appears on

13961396

выходе объекта управлени  и диагностировани  такой реакции на поданный тестовый набор, котора  позвол ет с требуемой глубиной однозначно определ ть место отказа в объекте. По этому сигналу прекращаетс  диагностирование объекта. Место отказа в объекте может быть определено, например оператором по диагностическим таблицам, вход щим обычно в состав эксплуатационно-технической документации ЭВМ, либо самой ЭВМ программным способом. Исходными данными дл  этого поиска  вл ютс  номер последнего поданного тестового набора , код последней полученной реакции и поразр дна  сумма по модулю .два реакций объекта на все предыдущие наборы с реакцией объекта на последний тестовый набор.the output of the control object and the diagnosis of such a response to the supplied test set, which allows the required failure to unambiguously determine the location of the failure in the object. This signal stops the diagnosis of the object. The location of a failure in an object can be determined, for example, by the operator using diagnostic tables, which are usually part of the operating and technical documentation of the computer, or the computer itself by software. The source data for this search is the number of the last test set submitted, the code of the last response received and the modulo sum of two object responses to all previous sets with the object response to the last test set.

Счетчик тактов 12 предназначен дл  подсчета количества сформированных устройством микрокоманд и осуществлени : в рабочгм режиме - проверки попадани  времени (Тр) выполнени  микропрограммы в интервал между установнами дл  него нижней (Т ) и верхнейThe clock counter 12 is designed to count the number of micro-commands generated by the device and the implementation of: in the operating mode — checks the time (Tp) of the microprogram execution in the interval between its lower (T) and upper

/т- лГПИ/ t-lgpi

границами by boundaries

mw Р vrtdx а в режиме диагностики - управлениеmw P vrtdx and in diagnostic mode - control

длительностью диагностической процедуры .the duration of the diagnostic procedure.

При соблюдении этого соотношени  в рабочем режиме к моменту окончани  реализации микропрограммы триггер переполнени  13 должен установитьс  в единицу, а триггер переполнени  остатьс  в нуле. .If this ratio is maintained in the operating mode, by the time the microprogram implementation ends, the overflow trigger 13 should be set to one, and the overflow trigger should remain at zero. .

Если же произойдет пропуск микрокоманды , то лева  часть приведенного неравенства нарушитс . При этом к моменту окончани  микропрограммы три|- геры 13 и И останутс  в нуле.If a microcommand is omitted, the left side of the reduced inequality is violated. At the same time, by the end of the firmware, the three | - heres 13 and AND will remain at zero.

Если же в результате отказов или сбоев будут сформированы лишние микрокоманды , то нарушаетс  права  4acTb неравенства. Это будет зафиксировано единичным состо нием триггеров 13 и И . Элемент И 15 предназначен дл  формировани  сигнала на прекращение процесса микродиагностики, как только количество обработанных тактов дости - нет заданного.If, as a result of failures or failures, extra microcommands are formed, the rights of 4acTb inequality are violated. This will be fixed by the single state of the 13 and AND triggers. Element I 15 is intended to form a signal for termination of the microdiagnostics process, as soon as the number of processed cycles has reached - there is no predetermined.

Элемент И 16 предназначен дл  формировани  сигнала неисправности устройства при нарушении соогношени  Тр5 .., т. е. когда количество тактов выполнени  микропрограммы окажетс  выше максимального возможного дл  реализуемой микропрограммы.Element I 16 is intended to form a device failure signal in the event of violation of the relation Tr5 .., i.e. when the number of microprogram execution cycles exceeds the maximum possible for the firmware being implemented.

Элемент И 17 предназначен дл  формировани  сигнала неисправности устройства при нарушении соотношени  Т7/ адресов рабочих микрокоманд, считываемых из блока пам ти 19.Element I 17 is intended to form a device failure signal in violation of the ratio T7 / addresses of working microcommands read from memory 19.

Блок пам ти 19 предназначен дл  хранени  и выдачи операционных частей рабочих микрокоманд. Форматы микрокоманд , записанных в блоке, показаны на фиг. 6. На выходе 59 при с.читывании конечной микрокоманды рабочей микропрограммы подаетс  сигнал окончани  операции, на выход 60 сигнал подаетс  при выполнении начальной фазы рабочих и диагностических микропрограмм , на выхоД 61 сигнал подаетс  при выполнении заключительной микрокоманды рабочих и диагностических микропрограмм , на выход 62 сигнал подаетс  в одну из диагностических микропрограмм и может выполн тьс  лишь только в рабочем режиме. На выход 63 подаютс  сигналы микроопераций, поступающие на входы объекта управлени  и диагностировани .The memory unit 19 is intended for storing and dispensing operating parts of the working microcommands. The formats of microinstructions written in the block are shown in FIG. 6. At output 59, when reading the final microcommand of the working microprogram, an operation end signal is given, output 60 is signaled when the initial phase of the working and diagnostic microprograms is executed, output signal 61 is supplied when the final microcommand of the working and diagnostic microprograms is executed, output 62 is a signal It is fed into one of the diagnostic firmware and can only be executed in the operating mode. Signals of micro-operations, which are fed to the inputs of the control and diagnostics object, are output to output 63.

Инвертор 20 предназначен дл  формировани  сигнала управлени  первым коммутатором 22. Элемент ИЛИ 21 предназначен дл  обнаружени  факта считывайи  микрокоманды из блока пам ти ЦО.Inverter 20 is designed to form a control signal by the first switch 22. The OR element 21 is designed to detect the fact that a microcommand has been read from the central storage unit.

Первый коммутатор 22 предназначен дл  проверки соответстви  типа микрокоманд , считываемых из блоков пам ти 19 и , режиму работы устройства и формировани  сигнала на выходе 65 на запрет функционировани  устройства при нарушении этого соответстви .The first switch 22 is designed to check the conformity of the type of micro-instructions read from the memory blocks 19 and the operation mode of the device and form a signal at output 65 to prohibit the operation of the device if this correspondence is violated.

Счетчик команд 23 предназначен дл  формировани  и выдачи на выход 51 оиередной команды по сигналам с выхода 61 блока пам ти 19 в зависимости от адреса, заданного в поле А регистра команд 1.The command counter 23 is intended to form and issue an output to the 51 output of the command via the signals from the output 61 of the memory unit 19 depending on the address specified in the field A of the instruction register 1.

Генератор импульсов предназначен дл  формировани  импульсов считывани .The pulse generator is designed to generate read pulses.

Узел пуска-останова 25 предназначен дл  управлени  подачей импульсов с генератора при наличии едикичного разрешающего сигнала на входе 53 и нулевого сигнала на входе 5.The start-stop unit 25 is designed to control the supply of pulses from the generator in the presence of a single enabling signal at input 53 and a zero signal at input 5.

Элемент И 26 предназначен дл  управлени  переходом устройства в рабочий режим по окончании реализации диагностикой микропрограммы. . Элементы НЕ 27 и И 28 предназначены дл  управлени  подачей импульсов считывани  на счетный вход счётчика тактов 12 и блока пам ти 19, 30 и kO. Регистр адреса 29 предназначен дл  хранени  адресов адресных микрокоманд считываемых из блока пам ти 30. Блок элементов И 31 предназначен дл  управлени  записью адресов началь ных микрокоманд в регистр адреса 32. Регистр адреса 32 предназначен дл  хранени  адресных микрокоманд, считываемых из блока пам ти 30. В поле 3 задаетс  переменна  часть собственного пол  адреса очередной адресной микрокоманды , в поле 33 - посто нна  часть этого адреса. В поле 3 задаетс  адрес рабочей или специальной микрокоманды, подлежащей считыванию из блоков пам ти 19 и 36 соответственно. В поле 36 задаетс  метка типа микрокоманды, наличие которой свидетельствует о том, что в поле 35 задан адрес специальной микро команды. Отсутствию метки соответствует адрес рабочей микрокома 1ды. Элементы И 37. И 38 управл ют подачей импульсов считывани  на управл ющие входы блоков пам ти 40 и 19 соответственно . Блок сумматоров по модулю два 39 предназначен дл  модификации переменной части адреса адресных микрокоманд в режиме диагностики. В рабочем режиме разр ды переменной части адреса поступают на выход блока сумматоров без изменений, так как на его управл ющий вход подаетс  нулевой сигнал с единичного выхода триггера режима 6 Блок пам ти 0 предназначен дл  хранени  операционных частей специаль ных микрокоманд. Блок элементов ИЛИ tl предназначен дл  подёчи операционных частей рабочих и специальных микрокоманд на выход б5 устройства. Триггер 66 узла пуска-останова пре назначен дл  запоминани  сигналов раз решени  и запрещени  работы устройства на входах 53 и 5 соответственно. Элемент И б7 предназначен дл  управлени  подачей импульсов с выхода 52 генератора импульсов на выход 68 узла Дешифратор 69 преобразовател  кодов 5 предназначен дл  дешифрации Кразр дного кода операции и возбуждени  соответствующей выходной шины 71 при наличии разрешающего сигнала на управл ющем входе Шифратор 70 преобразует подаваемый на него ()-разр дный унитарный код в (п+1)-разр дный код, в котором п первых разр дов задают код Htv дополнени  длины N микропрограммы ,а (п+1)-й разр д кода задает состо ние триггера 6 режима. Логика работы преобразовател  5 ко-, дов может быть по снена примером таблицы истинности, приведенной на фиг. 8. В этом примере , . Регистр 74 узла коррекции 11 предназначен дл -запоминани  реакции объекта управлени  и диагностировани  на очередной тестовый набор. Регистр 75 предназначен дл  запоминани  результата поразр дного суммировани  по модулю два реакций объекта на последний тестовый набор и все наборы, предшествовавшие ему. Сумматор по модулю два 73 осуществл ет поразр дное суммирование реакций объекта на очередной тестовый набор с поразр дной Суммой по модулю два реакций объекта на все предыдущие тестовйе наборы. Элемент задержки 72 предназначен дл  задержки импульса считывани  микрокоманд , поступающего через вход 43 УЗла на входы регистров Ik и 75, на врем , необходимое дл  нормировани  реакции объекта на поданный тестовый набор. Элемент задержки 76 предназначен дл  задержки синхроимпульса на врем , необходимое дл  установки кода реакции на регистр 75Элемент И 77 предназначен дл  управлени  подачей разрешающего сигнала на управл ющий вход дешифратора 78. Дешифратор 78 предназначен дл  формировани  сигнала на одном из-выходов в момент по влени  такой реакции объекта на поданный тестовый набор, котора  позвол ет однозначно определить место отказа в объекте (т; е. определить его состо ние (фиг. 7)). Элемент ИЛИ 79 формирует сигнал на выходе 5б узла коррекции п-ри по влении единичного сигнала на какой-либо из выходов дешифратора 78. Логика работы дешифратора 78 может быть по снена на примере реализации устройством алгоритма диагностировани , схема которого приведена на фиг. этом примере . Задача дешифратора при этом - .обнаружить момент попадани  в состо ние С1-С7 и сформировать сигнал на прекращение этого процесса, не ожида , когда на объект будут поданы все тестовые наборы, вход щие в алгоритм диагностировани . За счет этого и будет достигнуто сокращение времени выполнени  алгоритма 1796 диагностировани , а следовательно, бу дет обеспечено и повышение быстродействи  устройства. Так как каждому ука занному состо нию однозначно соответствует определенна  комбинаци  кода тестового набора, реакци  объекта на этот набор и суммы по модулю два этой реакции со всеми предыдущими реакци ми , то выходы дешифратора 78 должны возбуждать только при по влении указанных комбинаций сигналов на его выходах . Это и показано в соответствующей фиг. 7 таблице разрешенных наборов узла дешифратор 78 - элемент ИЛИ представленной на фиг. 9 и соответствующей алгоритму на фиг. 7Элементы задержки 72 и 76 могут быть выполнены, например, на D-триггерах . Рассмотрим работу устройстваi Она возможна в диагностическом и рабочем режимах. Независимо рт режима, перед запуском устройства в работу все его элементы пам ти устанавливаютс  в нуль. Затем в регистр команд 1 записываетс  код команды. Рабоча  команда имеет формат, представленный на фиг. 5 а, диагностическа  - на фиг. 56. С пол  2 регистра 1 на информацйонный вход регистра программ 18 поступает код операции, устанавливающий на регистре адрес микрокоманды, котора  называетс  начальной фазой микропрограммы . С нее начинаетс  люба  диагностическа  и рабоча  микропрограмма . Далее при подаче разрешающего сиг нала на вход 53 устройства импульс считывани  от генератора 2k проходит через блок 25 пуска-останова и элемент И 28 на считывающий вход блока пам ти 30. Так как в регистре 29 при этом установлен нулевой код, то состо ние выходов блока пам ти 30 при .этом останетс  нулевым. Через элемент |И 38 импульс также поступает на счи1ты6ающий вход блока пам ти 19 и считывает из него начальную фазу микропрограммы . При этом подаетс  единич1НЫЙ сигнал на выход 60 блока, по которому через открытый элемент И 7 подаетс  разрешающий сигнал на вход 3 преобразовател  кодов 5 и устанавливаетс  в нуль регистр теста 9. Если код, подаваемый на группу информационных входов 44 преобразовател  кодов 5 задает диагностическую микропрограмму, то сигналы на его гру пе выходов 46 останутс  нулевыми, а 18 сигнал на выходе 45 станет единичным и установит триггер 6 режима в единичное состо ние, зафиксировав переход устройства в режим диагностики. После срабатывани  преобразовател  кодов 5 сигнал с выхода 60 блока пам ти 19 через элемент задержки 8 открывает входы второго коммутатора 10, в результате чего код дополнени  Н длины N диагностической микропрограммы до емкости () счетчика тактов 12 с пол  3 регистра 1 поступает на вход счетчика тактов 12 и записываетс  в него. Тем же сигналом с выхода 60 блока пам ти 19 открываетс  блок элементов И 31, в результате чего с пол  4 в регистр адреса 32 поступает адрес первой адресной микрокоманды и адрес первой микрокоманды диагностической микропрограммы . Адрес первой адресной микрокоманды с полей 33 и 34 поступает в регистр адреса 29, при этом переменна  часть адреса с пол  34 модифицируетс  блоком сумматоров по модулю два 39, на управл ющий вход которого подан единичный сигнал с единичного выхода триггера 6 режима. Адрес первой микрокоманды диагностической микропрограммы с пол  35 подаетс  на блок пам ти 40, а через регистр 18 на блок пам ти 19. При этом сигналом с пол  Зб (метка типа микрокоманды) открываетс  элемент И 37 или И 38, подготавлива  путь дл  прохождени  импульса считывани . Если в поле 35 записан адрес рабочей микрокоманды, то метка в поле 36 отсутствует, вследствие чего открытым окажетс  элемент И 38, который подает очередной импульс считывани  на блок пам ти 19 Если же в поле 35 записан адрес специальной микрокоманды, в поле 36 будет записана метка, по которой будет закрыт элемент И 38 и откроетс  элемент И 37, через который очередной импульс считывани  поступает на блок пам ти 40. Сигналы микроопераций считанной диа|- ностической микрокоманды через блок элементов ИЛИ 41 поступают на выход 65 устройства. Этим же импульсом в счетчик тактов 12 добавл етс  единица, а из блока пам ти 30 считываетс  перва  адресна  микрокоманда, котора  записываетс  в регистр 31. С полей 33 и 34 регистра в регистр эдреса 29 поступает сформированный аналогично вышеописанному адрес следующей адресной микрокоманды . Адрес очередной диагностической / микрокоманды с пол  35 регистра 32 поступает на блоки пам ти kO и 19Одновременно этот же импульс считывани  поступает на счетный вход счетчика тактов 12 и добавл ет в него единицу. По следующему тактовому импульсу устройство работает так же, как и при считывании первой микрокоманды,Element And 26 is designed to control the transition of the device to the operating mode upon completion of the implementation of the firmware diagnostics. . Elements 27 and 28 are designed to control the delivery of read pulses to the counting input of a clock counter 12 and a memory block 19, 30 and kO. Address register 29 is designed to store addresses of address micro-instructions read from memory 30. Block I 31 is designed to control the writing of addresses of initial micro-commands to address register 32. Address register 32 is used to store address micro-commands read from memory 30. field 3 is set to the variable part of the own address field of the next address microcommand, in field 33 - the constant part of this address. In field 3, the address of the working or special microcommand to be read from memory blocks 19 and 36, respectively, is specified. In field 36, a micro-command type label is specified, the presence of which indicates that the field 35 contains the address of a special micro command. The absence of the label corresponds to the address of the working microcode 1y. Elements 37. And 38 control the supply of read pulses to the control inputs of memory blocks 40 and 19, respectively. The block of modulo-two adders is intended to modify the variable part of the address of address micro-instructions in the diagnostic mode. In the operating mode, the bits of the variable part of the address arrive at the output of the adder unit without changes, since its control input is supplied with a zero signal from the unit output of mode 6 trigger. The memory block 0 is designed to store the operating parts of special microcommands. The block of elements OR tl is designed to feed the operating parts of the workers and special microcommands to the output b5 of the device. The trigger 66 of the start-stop unit is pre-assigned to memorize the release signals and prohibit device operation at the inputs 53 and 5, respectively. Element Ib7 is designed to control the supply of pulses from the output 52 of the pulse generator to the output 68 of the node. The decoder 69 of the code converter 5 is designed to decipher the Operational Bit Code and excite the corresponding output bus 71 when there is a permission signal on the control input. The encoder 70 converts the supplied encoder ( a) unitary code into a (n + 1) bit code, in which the first bits specify the code Htv of the addition of the length N of the microprogram, and the (n + 1) code bit sets the trigger state 6 of the mode. The logic of the operation of the 5 code- converter can be explained by the example of the truth table shown in FIG. 8. In this example,. Correction node register 74 74 is intended to store the response of the control object and the diagnosis to the next test set. Register 75 is intended to store the result of a digitally modulo-summed two object responses to the last test set and all sets that preceded it. A modulo-two adder 73 performs a bitwise summation of the object's reactions to the next test set with a bitwise modulo-two object's reactions to all previous test sets. The delay element 72 is designed to delay the read-in pulse of micro-instructions, which is fed through the input 43 of the NOD to the inputs of the registers Ik and 75, for the time required to normalize the response of the object to the fed-in test set. The delay element 76 is designed to delay the sync pulse by the time required to set the response code to the register 75. Element And 77 is designed to control the supply of an enable signal to the control input of the decoder 78. The decoder 78 is designed to generate a signal on one of the outputs at the time of such a reaction of an object to the filed test set, which allows to unambiguously determine the place of failure in the object (i.e., determine its state (Fig. 7)). The element OR 79 generates a signal at the output 5b of the correction unit, when a single signal is generated at any of the outputs of the decoder 78. The logic of the decoder 78 can be explained by the example of the device implementation of the diagnostic algorithm, which is shown in FIG. this example. The task of the decoder in this case is to detect the moment it enters the C1-C7 state and generate a signal to stop this process, without waiting for all the test sets included in the diagnostic algorithm to be applied to the object. Due to this, a reduction in the execution time of the algorithm 1796 of diagnostics will be achieved, and consequently, an increase in the speed of the device will be ensured. Since each specified state is uniquely associated with a certain combination of test set code, the object’s response to this set and modulo two of this reaction with all previous reactions, the outputs of the decoder 78 should be excited only when these combinations of signals appear at its outputs. This is shown in the corresponding FIG. 7 of the table of allowed node sets, the decoder 78 is the OR element shown in FIG. 9 and corresponding to the algorithm in FIG. 7The delay elements 72 and 76 can be performed, for example, on D-triggers. Consider the operation of the device. It is possible in the diagnostic and operating modes. Independently of the mercury mode, before starting up the device, all its memory elements are set to zero. The command code is then written to command register 1. The work command has the format shown in FIG. 5a, diagnostic in fig. 56. From field 2 of register 1 to the information input of the register of programs 18, an operation code is entered, which sets the address of the microcommand on the register, which is called the initial phase of the microprogram. Any diagnostic and operational firmware starts there. Further, when a permitting signal is applied to the device 53 input, a read pulse from the 2k generator passes through the start-stop unit 25 and the AND element 28 to the read input of the memory block 30. Since the zero code is set in register 29, the output state of the block memory 30 at. it will remain zero. Through the element | And 38 the pulse also enters the input input of the memory block 19 and reads from it the initial phase of the microprogram. In this case, a single signal is fed to the output 60 of the block, through which the open signal And 7 gives the enabling signal to the input 3 of the code converter 5 and sets the test register 9 to zero. If the code supplied to the group of information inputs 44 of the code converter 5 sets the diagnostic firmware, then the signals on its line of outputs 46 will remain zero, and 18 the signal at output 45 will become single and set the mode trigger 6 to one state, fixing the device to go into diagnostic mode. After the converter 5 has triggered, the signal from the output 60 of the memory block 19 through the delay element 8 opens the inputs of the second switch 10, as a result of which the addition code H of length N of the diagnostic firmware to the capacitance () of the clock counter 12 sec floor 3 of the register 1 is fed to the clock counter input 12 and recorded in it. The same signal from the output 60 of the memory block 19 opens the block of elements AND 31, as a result of which, from floor 4, the address register 32 receives the address of the first address micro-command and the address of the first micro-command of the diagnostic firmware. The address of the first address microcommand from fields 33 and 34 goes to the register of address 29, while the variable part of the address from field 34 is modified by a block of modulo-39 adders, the control input of which is supplied with a single signal from the unit output of trigger 6 of the mode. The address of the first micro-command of the diagnostic microprogram from field 35 is fed to memory 40, and through register 18 to memory 19. In this case, signal 37 and 38 opens the signal from field B 3 (microcommand type label), preparing the path for the reading pulse . If in the field 35 the address of the working microcommand is written, then the label in the field 36 is absent, as a result, the element 38 will be open, which feeds the next read pulse to the memory block 19 If the address of the special microcommand is written in field 35, the field 36 will be written the element 38 will be closed and the element 37 will open, through which the next read pulse is fed to the memory block 40. The signals of the micro ops of the readable diagonal | microcommand through the block of elements OR 41 arrive at the output 65 of the device. With the same pulse, a unit is added to the clock counter 12, and the first address microcommand is read from memory 30, which is written to register 31. From the fields 33 and 34 of the register, the address of the next address microcommand, similar to the above, is sent to fields 29 and 34 of the register. The address of the next diagnostic / microcommand from the floor 35 of the register 32 enters the kO memory blocks and 19At the same time, the same read pulse arrives at the counting input of the clock counter 12 and adds one to it. On the next clock pulse, the device works in the same way as when reading the first microcommand,

выдава  микрооперации диагностической 10 жиме контролируетс  соответствие межмикропрограммы на выход 65 с одновре- ду режимом работы и типом рабочих микменным подсчетом тактов счетчиком 12. При считывании конечной микрокоманды диагностической микропрограммы первый триггер переполнени  13 устанавливаетс  в единицу и открывает эле мент И 15 единичным сигналом с выхода которого через инвертор 27 закры- ваетс  элемент И 28, запреща  подачу импульсов считываний на блоки пам ти 19, 30, Зб. Кроме того, открыв элемент И 26, через который следующий импульс с выхода узла пуска-останова 25 установит в нуль регистры 29, 32,, счетчик тактов 12, регистр теста 9 и триггер режима 6. В регистр программ 18 при этом будет установлен адрес заключительной микрокоманды, котора  завершает любую диагностическую и рабочую микропрограмму. Так как при этом триггер 6 режима устанавливаетс  в нуль, то элемент И 15 вновь закрываетс , открыва  .через инвертор 27 элемент И 28. Через этот элемент очередной импульс считывани  узла пускаостанов .а 25 поступает на управл ющий .вход блока пам ти 19, считыва  из него заключительную микропрограмму, котора  возбуждает выход б1 блока. Сигналом с этого выхода добавл етс  единица 8 счётчик команд 23 и устанавливаютс  в нуль регистр команд 1, счетчик тактов 12, регистры адреса 29, 32 и регистр программ 18. С выхода 63 блока пам ти 19 на выход б5 устройства подаетс  сигнал на разрешение выборки очередной команды из основной пам ти ЭВМ и запись ее в регистр команд 1. В диагностическом режиме в устройстве осуществл етс  управление длиной микродиагностической процедуры путем реализации последовательного безуслов ного алгоритма диагностировани . В момент по влени  на выходе объекта такой реакции на поданный тестовый набор , котора  позвол ет одночасно определить место отказа в объекте, сигналом с выхода 5б узла коррекции 11issuing microoperations to diagnostic 10 presses, the intermicroprogram for output 65 is monitored with the simultaneous mode of operation and the type of working microchip counting by counter 12. When reading the final microcommand of the diagnostic microprogram, the first overflow trigger 13 is set to one and opens the element And 15 with a single signal from which through inverter 27, element 28 is closed, prohibiting the supply of read pulses to memory blocks 19, 30, 3b. In addition, by opening element 26, through which the next pulse from the output of the start-stop node 25 sets to zero the registers 29, 32 ,, the clock counter 12, the test register 9 and the mode trigger 6. In the program register 18, the address of the final one will be set. microinstructions that terminates any diagnostic and operational firmware. Since in this case the trigger 6 of the mode is set to zero, the element 15 is again closed by opening the inverter 27 element I 28. Through this element, the next read pulse of the start-up node. A 25 enters the control input of the memory block 19, read from it is the final firmware which excites the output of block b1. The signal from this output adds unit 8, the command counter 23, and the command register 1, the clock counter 12, the address registers 29, 32, and the program register 18 are set to zero. From the output 63 of the memory block 19 to the output b5 of the device, a signal is sent to allow the next sample commands from the main memory of the computer and writing it to the command register 1. In the diagnostic mode, the device controls the length of the microdiagnostic procedure by implementing a sequential unconditional diagnostic algorithm. At the time of the appearance at the object's output, such a reaction to the supplied test set, which allows for one-hour determination of the place of failure in the object, by a signal from output 5b of the correction node 11

все триггеры счетчика тактов устанавливаютс  в единицу. При этом возбуждаетс  выход элемента И 15. аналогич-но описанному выше прекращаетс  выполнение диагностической микропрограммы , не ожида  окончани  выдачи на объект всех .тестовых наборов, предусмотренных этой микропрограммойall clock trigger triggers are set to one. In this case, the output of the element 15 is excited. Similarly to the above, the execution of the diagnostic firmware stops, without waiting for the delivery of all test sets provided by this firmware to the facility.

Claims (3)

1. Авторское свидетельство СССР W 503239, кл. G 06 F 9/06, 1976.1. USSR author's certificate W 503239, cl. G 06 F 9/06, 1976. 2.Авторское свидетельство СССР № «бОёО, кл. G Об F 9/06, 197.2. USSR author's certificate № «БЁЁО, cl. G About F 9/06, 197. 3.Авторское свидетельство СССР № , кл. G 06 F 9/06, 1980.3. USSR author's certificate №, cl. G 06 F 9/06, 1980. . Авторское свидетельство СССР № 7910t, кл. G Об F 9/06, 1980. (птотип ) .. USSR Author's Certificate No. 7910t, cl. G About F 9/06, 1980. (prototype). Фиг. 2FIG. 2 Фиг.FIG. (риг4(rig 4 5) Формат диагностичеспол команды Mgi5) Mgi command diagnostic format Фиг.55 Фиг. 6 ton НеООЮ Я ЮО Л. Л ||д //// 1(,ОП1 Ис-ОПО 7FIG. 6 ton UNAH I SO SO L. L || // // 1 (, OP1 Is-OPO 7 Фиг.вFig.c «vj"Vj
SU813302329A 1981-03-31 1981-03-31 Device for control in microdiagnosis SU968815A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU813302329A SU968815A1 (en) 1981-03-31 1981-03-31 Device for control in microdiagnosis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU813302329A SU968815A1 (en) 1981-03-31 1981-03-31 Device for control in microdiagnosis

Publications (1)

Publication Number Publication Date
SU968815A1 true SU968815A1 (en) 1982-10-23

Family

ID=20963444

Family Applications (1)

Application Number Title Priority Date Filing Date
SU813302329A SU968815A1 (en) 1981-03-31 1981-03-31 Device for control in microdiagnosis

Country Status (1)

Country Link
SU (1) SU968815A1 (en)

Similar Documents

Publication Publication Date Title
US3343141A (en) Bypassing of processor sequence controls for diagnostic tests
US4430706A (en) Branch prediction apparatus and method for a data processing system
US4276595A (en) Microinstruction storage units employing partial address generators
JPS58219644A (en) Instruction execution system
JPH0127453B2 (en)
US4348721A (en) System for selectively addressing nested link return addresses in a microcontroller
US4646236A (en) Pipelined control apparatus with multi-process address storage
SU968815A1 (en) Device for control in microdiagnosis
US4339795A (en) Microcontroller for controlling byte transfers between two external interfaces
US4339796A (en) System for generating a plurality of different addresses for a working memory of a microcontroller during execution of certain instructions
US4339797A (en) Microcontroller with auxiliary register for duplicating storage of data in one memory location
JP3091526B2 (en) Processing element and method of programming such a processing element
EP0063256B1 (en) Pipelined control apparatus with multi-process address storage
SU1399771A2 (en) Computer for diagnosis of locomotory capacity of patients
SU1273939A1 (en) Microprocessor
JPS5953942A (en) Microprogram control system
SU1215114A1 (en) Interface for linking computer with using equipment
SU1140121A1 (en) Microprogram control device with check
SU1005047A1 (en) Input/output channel microprogram control device
SU985791A1 (en) Microprogram processor having checking
SU842815A1 (en) Microprogramme control device
SU968814A1 (en) Microprogramme control device
SU1297063A1 (en) Device for controlling,checking and diagnostic testing
CA1124878A (en) Microcontroller for disk files
SU696454A1 (en) Asynchronous control device