[go: up one dir, main page]

SU1034042A1 - Microprogram checking device - Google Patents

Microprogram checking device Download PDF

Info

Publication number
SU1034042A1
SU1034042A1 SU823412079A SU3412079A SU1034042A1 SU 1034042 A1 SU1034042 A1 SU 1034042A1 SU 823412079 A SU823412079 A SU 823412079A SU 3412079 A SU3412079 A SU 3412079A SU 1034042 A1 SU1034042 A1 SU 1034042A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
input
output
elements
trigger
Prior art date
Application number
SU823412079A
Other languages
Russian (ru)
Inventor
Николай Федорович Сидоренко
Григорий Николаевич Тимонькин
Вячеслав Сергеевич Харченко
Сергей Николаевич Ткаченко
Александр Николаевич Першин
Борис Владимирович Остроумов
Original Assignee
Предприятие П/Я М-5156
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 Предприятие П/Я М-5156 filed Critical Предприятие П/Я М-5156
Priority to SU823412079A priority Critical patent/SU1034042A1/en
Application granted granted Critical
Publication of SU1034042A1 publication Critical patent/SU1034042A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

.УСТРОЙСТВО ДЛЯ КОНТР01И. ; МИКРОПРОГРАММ , . содержащее первый- ., блок пам ти, perHCTJp микрокоманд, . первый и;ВТОРОЙ триггеры.результата, триггер управлени , первый, второй, третий и четвертый элементы И,, пер- ВЫЙ и второй элементы ЙЛИ, элемент задержки и блок элементов И,при« ем ВЫХОД первого элемента И соединен/ / с ВХОДОМ считывани  перЕГого блока пам ти, ВЫХОД которого соединен .. с ВХОДОМ регистра микрокоманд, вы- : ходы пол  микроопераций и адресного пол  регистра микрокоманд соединены с входами первого элемента ИЛИ, выход первого элемента задержки и ну:лёвой ВЫХОД триггера управлени  сое-. динены соответственнос первим и . вторым входами, второго элемента И, единичные выходы первого и второго триггеров результата соединены с первыми входами третьего и четвертого элементов И соответстве но нулевые выходы первого и вхорог триггеров результата соединены с вторыми входами четверФого и fp&тьего элементов И соотвётетвеннй, .. рыходы которых соединены с первым и вторым входами второго элемента |ИЛИ соответственно, от ли ч a юИ её с   тем, что, с целью повы .шени  надежности контрол  в него .введены триггер пуска, одновибратор,- ; ,счетчик, второй и третий блоки пам ти , коммутатор, п тый; шестой и седь.- : :мой -элементы :И, второй и третий .. -: .; .элементы задержки, причем вход синх:роимпул ьсов устройства и едиЙ11ЧН1 1й . V . ,ВЫХОД триггера пуска соединены со ответственно с. первым и вторьш вхо- : ;дами; п того И, выход которо .го соединён спервыми входамц йер-; .;вого и шестого элементов И и через . первьай й- второй;, элеменч Ц) задержки v. е6 счетным вход(эм счетчика, гшкод-; . переполнени  счетчика соединен со .. .счётным вх6дс л триггера управленид/- . информационные выходы счетчика соеди .  ёны с ,адрееными входами; второго блр-S ка п алцт , первыми йнформадаонными : .-.входами:.кс1ммутатора и первыми: входа:-: f/1| :г -,ми блока элементо:в И; .выходы которо- У,. .го соединены е информационными входа f /ми nepspEo блока пам ти, единичный - :выход триггера управлени . сое,Е йенч- g. :С первым управл ющим входом , . тора ..ис вторда входом шестого ;элемей та И, йшсЬд Которого соединен с вхог дами Считывани  второго и третьего/-: .блоков пам ти и с входами синхррйи-зации Триггеров результата и через..,-: - третий элемент з адержки с третьими ; .входами третьего и четвертого э;лёментов И, нулевой ВЫХОД триггера -управ:Яени  соединен с вторыми, входами . блока .элементов и, вторым входом пер ..Вогй элемента И, вторым упра.вл кадим ;звходон; коммутатора и через одновиб-. ;ратоЕ1.- с третггюв входом второгоэлемента ИЛИ выхрд адресного пол  регистра мнк-Ё(Окоманд соединен с вторш .информационным входом коммутатора, ЭБКод KoTogfoFo соединвн с адресным Входом Фретьёго блока пам ти, вы- . ход второго; элемента И соединен с первым входом седьмого.элемента и не ;входами записи второго и третьего блоков пам ти, выходы которых сое;дкнены соответственно с D-входами. DEVICE FOR COUNT01. ; FIRMWARE,. containing the first-., memory block, perHCTJp microinstructions,. the first and; SECOND Triggers.result, the control trigger, the first, second, third and fourth elements AND, the first and second elements EFI, the delay element and the block elements AND, with the "OUTPUT of the first element AND connected to / / with the INPUT of the read the first memory block, the OUTPUT of which is connected .. to the INPUT of the microinstruction register, output-: the microoperations floor and the microcommand address register floor are connected to the inputs of the first element OR, the output of the first delay element and well: the left OUTPUT of the control trigger. Dineny, respectively, and the first. the second inputs, the second element And, the unit outputs of the first and second result triggers are connected to the first inputs of the third and fourth elements And the corresponding zero outputs of the first and the second trigger inputs of the result triggers are connected to the second inputs of the fourth element and the fp & which are connected to the first and second inputs of the second element | OR, respectively, from whether it is so that, in order to improve the reliability of the control, it has a trigger trigger, a one-shot, -; , counter, second and third memory blocks, switch, fifth; sixth and seventh .-:: my -elements: And, the second and third .. -:.; .delay elements, and the input is sync: device ropings and unit 11CHN1 1st. V. , The trigger start EXIT is connected accordingly with. first and second entry:; dami; In addition, the exit of which is connected with the first entrances; . And the second and sixth elements And through. the first one is the second ;, element C) delay v. e6 counting input (uh counter, gshkod-; overflow of the counter is connected to. .countable input 6ds l trigger control / -. information outputs of the counter connect. yeny with addressed inputs; the second blr-S k palct, first informadaonnymi: .- .inputs: .x1mutator and the first: inputs: -: f / 1 |: g -, mi block of the element: in AND ;.the outputs of which are V ,. are connected by information inputs f / m nepspEo of the memory block, single - : control trigger output. Soy, E jench- g.: With the first control input,. of the torus .. with the second input of the sixth; elements that AND AND, which is connected to the input Dami Read the second and third / -: memory blocks and with the inputs of the syncryr-tion of the Triggers of the result and through .., -: - the third element of the support with the third; the inputs of the third and fourth e; the elements And, zero OUTPUT of the trigger of the right : Jaeni is connected to the second, inputs of the block of elements and, the second input of the first element, the second element, the second control unit, the gateway; the switch, and one-way; RtoE1., With the input signal of the second element OR the output address field of the register -Y (Okomand is connected to the second .informational input of the switch, EBT code KoTogfoFo with address input of the Ftrego memory block, you-. second move; element I is connected to the first input of the seventh element and not; the recording inputs of the second and third memory blocks, whose outputs are soy; dknen respectively with the D inputs

Description

первого и второго триггеров результата , выход первого элемента ИЛИ соеди .нен с информационным входом второго блока пам ти и вторым входом седьмого элемента И, выход которого соедине1| с информационным входом третьего блока пам ти, выход второго элементаthe first and second triggers of the result, the output of the first element OR is connected to the information input of the second memory block and the second input of the seventh AND element, the output of which is connected1 | with the information input of the third memory block, the output of the second element

ИЛИ соединен с нулевым входом триггера пуска, единичный вход которого  вл етс  входом запуска устройства, выходы третьего и четвертого элементов И  вл ютс  соответственно первым и вторым выходами ошибки устрой-ства .OR is connected to the start trigger zero input, the single input of which is the device start input, the outputs of the third and fourth I elements are the first and second error outputs of the device, respectively.

Изобретение относитс  к цифровой вычислительной технике и может быть использовано при разработке аппарату ры систем контрол  программного обес печени . Известно устройство дл  контрол  микропрограмм, содержащее контролиру мый микропрограммный автомат, элемен ты- И, ИЛИ, триггер, элемент задержки 1 . Недостатком указанного устройства  вл етс  низка  полнота контрол , вызванна  отсутствием средств контро л  субъективных ошибок. . Известно устройство дл  контрол  выполнени  программ, содержащее триг геры, элементы И, ИЛИ, элег1енты задержки , блок оперативной (динамической ) пам ти Сз}. .Недостатком данного устройства  вл етс  большой объем средств кон-тро-; л , обусловленный тем, что в устройстве должна хранитьс  информаци  о всех разрешенных последовательност х модулей .программы. НаиболееблизКИМ к предлагаемому по. технической сущности и достигаемому положительному эффекту  вл етс  устройство, содержащее блок пам ти микропрограмм, регистр микрокоманд , регистр результата, триггер управлени , первый, второй, третий и четвертый элементы И, первый и второй элементы ИЛИ, элемент задержки и блок элементов И, причем выход, первого элемента И соединен с входом считывани  блока пам ти микропрограмм выход которого соединен с входом регистра микрокоманд, выходы пол  микроопераций и адресного пол  регист- ра микрокоманд соединены с вх.одамй; п ервогЬ элемента ИЛИ, выход первого эл мента задержки и нулевой выход триггера управлени  .соединены соответственно с первым и вторым входами второго элемента И, единичные выходы f первого и.второго триггера результата соединены с первыми входами третьего и четвертого элементов И соответственно , нулевые выходы первого и второго триггера регистра результата соединены с вторыми входами четвертого и третьего элементов И соответственно, выходы которых соединены с первым и вторым входом второго элемента ИЛИ соответственно 3. Недостатком устройства  вл етс  узка  область применени  вследствие Низкой полноты контрол , субъективных ошибок,. в указанном устройстве осуществл етс  контроль cyбъekтивньD{, ошибок типа тупик, т.е. ошибок, допущенных на этапе проектировани  и приво д щих к тому, что в микропрограмме (программе) существуют микрокоман ,ды команды), не имеющие последователей . Таким образом, низка  полнота. контрол  обусловлена ограниченным классом обнаруживаемых ошибок. Кроме того, указанное устройство ориентировано на испольэование в режиме основного функционировани  контролируемого микропрограммного программного автомата, т.е. в режиме оперативного Контрол , что снижает надежность контрол  автомата. Цель изобретени  - повышение надежности контрол . Поставленна  цель достигаетс  тем, что в устройство дл  контрол  микройрограмм: ,- содержащее первый блок пам ти, регистр, микрокоманд, первый и второй триггеры результата, триггер управлени , первБй, второй, третий и четвертый элементы И, первый и второй элементы ИЛИ, элемент задержки и блок элементов И, причем выход первого элемента И соединен I. . . -. , с входом считывани , первого блока пам ти микропрограмм, выход которого соединен с входом регистра микрокоманд, выходы пол  микроопераций и адресного пол  регистра мик:рокоманд соединены с входами первого элемента ИЛИ, выход первого элемента з лержки и нулевой выход триггера управлени  соединены сЬответственно с первым и вторым входами второго элемента И, единичные выходы первого и второго триггеров результата соединены с первыми входами третьего и четвертого элементов И соответственно , нулевые выходы первого и второго триггеров результата соединены с вторыми входами четвертого и третьего элементов И соответственно, выхо1ДЫ которых соединены с первьом и вторым входами второго элемента ИЛИ соответственно., введены триггер, пуска , одновибратор, счетчик, второй и, третий блоки пам т, коммутатор, п тый , шестой и седьмой элементы И, второй и третий элементы задержки, причем вход синхроимпульсов устройст ва и единичный выход триггера пуска соединены соответственно с первым и вторым входами п того элемента И, выход которого соединен с первыми входами первого и шестого элементов И и через первый и второй элементы задержки со счетным входом счетчика, выход переполнени  счетчика соединен со счетным входом триггера управлени , информационные выходы счетчика соединены с адресными входами второг блока пам ти, первыми информационным вkoдaми .коммутатора и первьоти входами блока элементов И, выходы которого соединены с информационными входами первого блока пам ти, единичный выход, триггера управлени  соединен с первым управл ющим входом коммутатора и вторым. входом шестого элемеН та И, выход которогосоединен с входами считьтани  второго и трЪтьего блоков пам ти, с входами синхронизации триггеров результата и через третий элемент задержки с третьими входами третьего и четвертого элемен тов И, нулевой выход триггера управлени  соединен с вторыми входами бло ка элементов И, вторым входом первого Элемента И, вторьам управл ющим входом коммутатора, и через одновибратор - с т ре-Гь им входом второго эле мента ИЛИ, выход адресного пол  гистра микрокоманд соединен с вторым информационным входом коммутатора, выход которого соединен с адресным входом третьего блока пам ти, выход второго элемента И соединен с первым входом седьмого элемента И и с входами записи второго и третьего блоков пам ти, выходы которых соединены соответственно,с D-входами перво .го и второго триггеров результата, выход первого элемента ИЛИ соединен с информационным входом второго блок пам ти и вторым входом седьмого элемента И, выход которого соединен с информационным входом третьего блока п:ам ти, выход второго элемента ИЛИ соединен с нулевым входом тригге ;ра пуска, единичный вход которого  вл етс  входом запуска устройства, выходы третьего и четвертого элементов И  вл ютс  соответственна первым и вторым выходами ошибки устройства . Каждому слову (линейке)$,хранимоу в блоке пам ти, ставитс  в соответствие двухразр дный признак 7(R,-, PI), причем ( О, если в линейке S информаци  {отсутствует,1 , если в линейке 5у записана ненулева  информаци . 1, если в адресной зоне блока пам ти записан, адрес линейки S-f ; О, в противном случае. ,М - число линеек в блоке пам ти. Тогда справедливо i следующее выраение 00, если линейка не используетс  в микропрограммах, дл  записи микрокоманд; , 10,если в линейке записан а недостижима  микрокоманда, . (Ц) t; 03. если в линейке записана тупикова  микрокоманда, адресна  часть которой  вл етс  адресом линейки 5 , 11,если в линейке S.,- записана микрокоманда, котора  не  вл ет:С  недостижимой и не  вл етс  ;конечной микрокомандой тупико-. вого участка. Признаки формируютс  путем последовательного считывани  информации из блока пам ти и анализа адресных частей. Если ,10, то это свидетельствует о некорректности микропрограммы , т.е. .и в ней ошибок типа тупик или недостижима - вершина. Комбйна ции f; С (О 0,11  вл ютс  раз рещенньми . Введение в устройство счетчика и обусловленных им св зей позвол ет формировать адреса линеек блоков пам ти , а при выходе на последнюю линейку формировать сигнал управлени  режимом работы. Введение коммутатора и обусловленных им св зей позвол ет управл тьадресными цеп ми третьего блока пам ти .- . Введение второго и третьего блоков пагл ти и обусловленных св зей необходимо дл  хранени  признаков Р иР|г .. Введение триггера пуска, п того элемента И и обусловленных, ими св зей позвол ет управл ть подачей синхроимпульсов в устройство. Введение шестого элемента И и, обусловленных им св зей необходимо управлени  подачей импульсов считывани  во второй и третий блоки, пам - ти. , . . . - . Введение седьмого элемента И и обусловленных им св зей позвол ет управл ть записью признака V, в тре- . тий блок пам ти. Введение одновибратора и обусловленных им св зей.позвол ет формироIвать сигнал останова устройства посл окончани  проверки. Соединение выходов третьего и чет вертого элементов И с выходами ошиЬкп устройства,а выхода второго эле мента ИЛИ с нулевым входом триггера пуска.позвол ет формировать сигналы ошибки и блокировать при их по вле- НИИ работу устройства. Введение второго элемента з.адержки и обусловленных им св зей необходимо дл  задержки импульса на врем  записи информации во второй и третий блоки пам ти. Введение .третьего элемент задерж ки и обусловленных им св зей позвол  ет задержать импульс опроса .тригг ров результата на врем  считывани . Информации из второго и/тре«ьего бло ков пам ти. : На чертеже представлена функцио нальНа  схема устройства дл  контрол  микропрограмм . . . Устройство содержит триггер-. 1. пус . к.а, п тый элемент И 2, .первый 3 и .эт ррй 4 элементы задержки, тзчетчик 5, ;блок б элементов И, первый элемент И 7, первый блок 8 пам ти микрокома;нд й-регистр 9 микрокоманд с Пол  1 и .адресным ,9,1 и микроопераций .§.,2, обрйзующие. контролируемый автомат . . .itO-, первый элемент-ИЛИ 11, трй-ггёр 12 управлени , коммутатор 13, второй элемёнт-И 14, седьмой элемент И 15,.втдрой блок 16 пам ти, первый:триггер 17 результата -и .второй .триггер . 18 результата, третий .19 и чет;ве: уы 1 20,элементы И, второй 21 и шестой 22 элементы И, третий блок 23 nateти .,-третий элемент 4 .заде.рж-ки и одно вибрато.р 25. Кроме тбго, символами 26-29 обозначены соответственно вход пуска и синхроимпульсювд: первый и второй выходы ошибки устройства. . ; В блоке 8 пам ти хранитс  информаци  о микропрограммах (программах) котора  считываетс  в регистр 9. Счетчик 5 осуществл ет формирова .-вне адреса при считывании информации из блоков 8,16 и 23 пам ти. Триггер 12 управл ет режимом работы устройства, а триггер 1 - его .пуском и остановом.Блоки 16 и 23 пам ти предназначены дл  хранени  признаков Р Триггеры 17 и 18 осуществл ют их поминание после считывани  из блоков -16 и 23 пам ти. Элементы И 22,14 и 15 управл ют записью, считыванием информации из этих блоков. Коммутатор 13 адреса в зависимости от режима работы осуществл ет коммутацию адресных цепей блока 16 пам ти. ., Элемент ИЛИ 11 фиксирует ненулевой код, записанный в регистр 9. Элементы И 19 и 20 формируют сигналы ошибки на основе кода в триггерах 17 и 18, Элемент ИЛИ- 21 при по влении сигналов ошибки или окончании работы подает сигнал останова на триггер 1. Предлагаемое устройство функционирует в двух режимах.: режиме формировани  признаков к режиме анализа признаков ,A/. Режим формировани  признаков TL-IВ исходном состо нии все триггеры и счетчик обнулены, в блоках 16 и 23 пам ти записана ну;лева , информаци . В блоке 8 пам ти записаны контролируемые микропрограммы (программы). В поле адреса последних микрокоманд записаны начальные адреса соответствующих микропрограмм. После прихода на выход.: 26 сигнала Пуск триггер 1 устанавливаетс  в единичное состо ние и первый импульс с входа 27 устройства проходит на выход элемента И 2. По этому импульсу прои.сходит считывание информации , хранимой в нулевой (начальной) линейке блока 8 пам ти. С задержкой, равной времени считывани  информации из блока 8., импульс по вл етс  на выходе элемента 3 и разрешает запись информации- в блоки 16 и 23. Адрес в блок 16 подаетс  с выхода пол  9.2 через коммутатор 13, а в блок 23 непосредственно с выходов счетчика 13.Если.по начальному адресу в блоке 8 записан ненулевой код, то .в блоки 16 и 23 по соответствующим адресам запишетс  единица, в противном случае -.нуль.: После записи информации в блоки 16 и 23 импул: с с выхсэра элемента 4задержки увеличив ает-.. на единицу содержимое счетчика 5, .формиру  в нем адрес следующей линейки. С приходом очередного синхроишульса на вход. 27 цикл функционировани  повтор етс  в соответствии с описанным: алгоритмом. С по влением на выходе счетчика 5сигнал-а переполнени , триггер 12 устанавливаетс  в единичное соЬто ние и устройство переходит во второй режим. Режим анализа признаков 7f/ . Исходное состо ние устройства пеед началом работы в этом режиме слеующее:; триггеры 1 к 12 наход тс  единичном состо нии, счетчик 5 и триггеры 17 и 18 обнулены., в блоках 16 и 23 пам ти записаны признаки . . По первому импульсу, проход щему ерез элементы И 2 и ИЛИ. 22, происодит считывание информации из блоов 16 и 23 втриггеры 17 и 18. АдресThe invention relates to digital computing and can be used in the development of hardware devices for the control software of the liver. A device for controlling firmware is known, which contains a controlled firmware automaton, an AND, OR, a trigger, a delay element 1. The disadvantage of this device is the low completeness of the control, caused by the lack of means of controlling subjective errors. . A device for monitoring the execution of programs is known, which contains triggers, AND, OR, delay elements, C3 memory unit. The disadvantage of this device is the large amount of con-thro means; l, due to the fact that the device must store information about all the allowed sequences of modules of the program. Closest to the proposed by. the technical essence and the achieved positive effect is a device containing a microprogram memory block, microinstructions register, result register, control trigger, first, second, third and fourth elements AND, first and second elements OR, delay element and block elements AND, the first element I is connected to the input of the readout of the microprogram memory unit whose output is connected to the input of the register of microinstructions, the outputs of the field of microoperations and the address field of the register of microinstructions are connected to the input of the same; The first element OR, the output of the first delay element and the zero output of the control trigger are connected respectively to the first and second inputs of the second element, the unit outputs f of the first and the second result trigger are connected to the first inputs of the third and fourth elements, respectively, the zero outputs of the first and the second trigger of the result register is connected to the second inputs of the fourth and third elements AND, respectively, the outputs of which are connected to the first and second inputs of the second element OR respectively 3. Disadvantage th device is a narrow field of application due to the low control completeness, subjective errors ,. in the specified device, monitoring of the errors is a deadlock type, i.e. errors made at the design stage and which lead to the fact that there are micro-comans (commands) in the microprogram (program) that have no followers. Thus, the fullness is low. The control is due to a limited class of detectable errors. In addition, this device is focused on the use in the mode of the main operation of the monitored firmware of the automaton, i.e. in the operating control mode, which reduces the reliability of the control machine. The purpose of the invention is to increase the reliability of the control. The goal is achieved by the fact that in a device for controlling microprograms:, - containing the first memory block, register, microcommands, first and second result triggers, control trigger, first, second, third and fourth elements AND, first and second elements OR, element delays and a block of elements And, with the output of the first element And connected I.. . -. , with the read input, the first firmware memory block, the output of which is connected to the register of microinstructions, the outputs of the microoperations field and the address field of the mic: rokomando are connected to the inputs of the first OR element, the output of the first element of the control and the zero output of the control trigger are respectively connected to the first and the second inputs of the second element And, the unit outputs of the first and second result triggers are connected to the first inputs of the third and fourth elements And, respectively, zero outputs of the first and second trigger the result is connected to the second inputs of the fourth and third elements AND, respectively, whose outputs are connected to the first and second inputs of the second OR element, respectively. A trigger, start, one-shot, counter, second and third memory blocks, switch, fifth, sixth and the seventh And elements, the second and third delay elements, and the clock input of the device and the single trigger trigger output are connected respectively to the first and second inputs of the fifth And element, the output of which is connected to the first inputs of the first and six About the I elements and through the first and second delay elements with the counter input of the counter, the output of the overflow of the counter is connected to the counter input of the control trigger, the information outputs of the counter are connected to the address inputs of the second memory block, the first information inputs of the switch unit And the outputs which is connected to the information inputs of the first memory block, a single output, a control trigger is connected to the first control input of the switch and the second. the input of the sixth element AND, the output of which is connected to the inputs of the second and third memory blocks, with the synchronization inputs of the result triggers and through the third delay element with the third inputs of the third and fourth AND elements, the zero output of the control trigger is connected to the second inputs of the AND element block , the second input of the first Element And, the second control input of the switch, and through the one-shot one with the second input of the second element OR, the output of the microcommand address field is connected to the second information input mmutator, the output of which is connected to the address input of the third memory block, the output of the second element I is connected to the first input of the seventh element I and to the recording inputs of the second and third memory blocks, the outputs of which are connected respectively to the D inputs of the first and second triggers result, the output of the first element OR is connected to the information input of the second memory block and the second input of the seventh element AND, the output of which is connected to the information input of the third block n: amti, the output of the second element OR is connected to the zero input trigger The start-up, the single input of which is the start input of the device, the outputs of the third and fourth elements of AND are the corresponding first and second outputs of the error of the device. Each word (ruler) $, stored in the memory block, is assigned a two-bit flag 7 (R, -, PI), and (O, if there is no information in the ruler S, 1, if there is a nonzero information in the ruler 5y. 1, if the address of the memory block is written, the address of the ruler Sf; O, otherwise., M is the number of rulers in the memory. Then i has the following expression 00, if the ruler is not used in firmware, for recording microcommands; 10, if a microcommand is written in the ruler but is unreachable. (C) t; 03. if there is a dead end microcoma in the ruler The NDA, whose address part is the address of the ruler 5, 11, if in the S. ruler, is a microinstruction that is not: C unreachable and is not the end microcommand of the stub section. Signs are formed by sequentially reading information from memory block and analysis of address parts. If, 10, then this indicates incorrectness of the microprogram, i.e. and there are errors in it, such as deadlock or unreachable, a vertex. Combinations f; C (O 0.11 are sparse. Introduction to the device of the counter and the connections due to it allows to generate addresses of the memory block lines, and when entering the last line to form an operation control signal. The introduction of the switch and the connections resulting from it to manage the address chains of the third memory block. -. The introduction of the second and third blocks of the message and the conditioned links is necessary for the storage of the signs P and R | g. The introduction of the trigger trigger, the fifth AND element and the conditioned ones, allows them to control innings sync pulses into the device. Introducing the sixth element AND, and the connections caused by it, it is necessary to control the delivery of the read pulses to the second and third blocks, memory ..., ... .The introduction of the seventh AND element and the connections resulting from it allows you to control the recording sign V, into the third memory block. Introduction of the one-shot and associated connections. It allows to form a stop signal of the device after testing is completed. Connection of the outputs of the third and fourth elements And with the outputs of the device's error, and the output of the second IL element And with a zero input of the start trigger, it allows generating error signals and blocking the operation of the device when left. The introduction of the second delay element and the relations due to it is necessary for the delay of the pulse during the recording of information in the second and third memory blocks. The introduction of the third delay element and the relations due to it allows delaying the polling pulse. Triggers the result by the read time. Information from the second and third memory blocks. A: The drawing shows a functional diagram of a device for controlling firmware. . . The device contains a trigger-. 1. start. qa, fifth element i 2, .first 3 and. et ry 4 delay elements, counter 5,; block b of elements i, first element i 7, first block 8 of the memory of the microcoma; nd-register 9 microinstructions with Paul 1 and .addressny, 9.1 and microoperations .§., 2, appealing. controlled machine. . .itO-, first element-OR 11, three-goer 12 controls, switch 13, second element-I 14, seventh element 15, third, memory block 16, first: result trigger 17 and second .trigger. 18 results, the third .19 and even; ve: ou 1 20, the elements And, the second 21 and the sixth 22 elements And, the third block 23 nateti., - the third element 4. Zad.rzh-ki and one vibrato.r 25. Except Tggo, symbols 26-29 designate the start input and the sync pulse, respectively: the first and second outputs of the device error. . ; In block 8 of the memory, information is stored on the firmware (programs) which is read into register 9. Counter 5 performs form-out of the address when reading information from blocks 8.16 and 23 of memory. The trigger 12 controls the mode of operation of the device, and the trigger 1 controls its triggering and stopping. Memory blocks 16 and 23 are designed to store the P signs. Triggers 17 and 18 remember them after reading from memory blocks-16 and 23. Items 22,14 and 15 control the writing and reading of information from these blocks. The address switch 13, depending on the operation mode, switches the address circuits of the memory block 16. ., Element OR 11 fixes a non-zero code recorded in register 9. Elements AND 19 and 20 generate error signals based on the code in triggers 17 and 18, Element OR-21 triggers a trigger signal 1 when an error signal appears or the operation ends. The proposed device operates in two modes: the mode of formation of signs to the mode of analysis of signs, A /. The TL-I mode of formation of the signs of the initial state, all the triggers and the counter are reset, in blocks 16 and 23 of the memory are recorded well; left, information. In block 8 of the memory, monitored firmware (programs) are recorded. In the address field of the latest microinstructions, the starting addresses of the corresponding microprograms are recorded. After arriving at the output: 26 of the signal. The trigger 1 is set to one state and the first pulse from the device input 27 passes to the output of the element 2. This reads the information stored in the zero (initial) line of the memory block 8 . With a delay equal to the time of reading information from block 8., a pulse appears at the output of element 3 and permits the recording of information in blocks 16 and 23. The address in block 16 is fed from the output of field 9.2 through switch 13, and in block 23 directly from the output of the counter 13. If a non-zero code is written at the starting address in block 8, then in blocks 16 and 23 a unit will be written to the corresponding addresses, otherwise —.nul .: After recording the information in blocks 16 and 23 impulses: from the exhaust signal element 4 delay increases aet- .. by one the contents of the counter 5, .forming it the address with eduyuschey line. With the arrival of the next sync on the entrance. 27 cycles of operation are repeated as described: algorithm. With the appearance of an overflow signal at the output of the 5-signal counter, trigger 12 is set to a single point and the device switches to the second mode. Feature analysis mode 7f /. The initial state of the device before starting the operation in this mode is as follows :; the triggers 1 to 12 are in the single state, the counter 5 and the triggers 17 and 18 are cleared. Signs are recorded in the memory blocks 16 and 23. . On the first impulse, passing through the elements AND 2 and OR. 22, information is being read from blocks 16 and 23 on the triggers 17 and 18. Address

 чейки, из которой считываетс  инфор маци  из обоих блоков, определ етс  .кодом в счетчике 5. Посколькув нем записан нулевой код, то из блоков 16 и 23 считываетс  признак Kf , Тогда в соответствии с выражением (4) осуществл етс  его дешифраци : если . OOVll, то сигналы, стробируемые задержанным на врем  считывани  информации сигналом с выхода1 элемента. 24 задержки,на выходах элементов И 19 и И 20 отсутствуют, и разражаетс  прохождение следующего синхроимпульса; если 1fc 01V10, то по вл етс  сигнал на выходе 28 или 29, котоЕ«й проходит через элемент ИЛИ 21 к обну л ет триггер пуска, информиру  одновременно о типе ошибки.the cells from which information is read from both blocks is determined by the code in counter 5. Since the zero code is written in it, the sign Kf is read from blocks 16 and 23, then, in accordance with expression (4), it is decrypted: if. OOVll, the signals gated by the signal 1 output delayed by the time the information is read. 24 delays, at the outputs of the elements And 19 and And 20 are absent, and the passage of the next clock pulse is broken; if 1fc 01V10, then a signal appears at the output 28 or 29, which passes through the OR element 21 to reset the trigger trigger, informing at the same time about the type of error.

При 12 OOV11 очередной импульс осуществл ет считывание из блоков 16 и 23 признака IZ анализ которогоAt 12 OOV11, the next pulse reads from blocks 16 and 23 of the IZ attribute, the analysis of which

осуществл етс  аналогично описанному выше алгоритму.performed in the same way as the algorithm described above.

Если после считывани  последнего признака Т) ошибка не обнаруживаетс  то По сигналу переполнени  счетчика 5 триггер 12 устанавливаетс  в нулевое состо ние, а одновибратор 25 формирует .импульс обнулени  триггера 1 пуска.If, after reading the last symptom T), an error is not detected, then by the overflow signal of the counter 5, the trigger 12 is set to the zero state, and the one-shot 25 produces a zero pulse of the trigger 1 of the start.

г ФакЕИМ образом, технические преимущества предлагаемого устройства по С1равнению с прототипом и базовым объектом .состо т в более высокой полноте контрол  (в 2-3 раза) и более низкой Язбытбчности- программ и микропрограмм за счет вьствлени  и удалени  нереализуемых участков.In a manner that, the technical advantages of the proposed device in comparison with the prototype and the basic object are in higher control completeness (by a factor of 2-3) and lower programs and firmware due to insertion and removal of unrealizable areas.

Использование предлагаемого изобретени  позвол ет сократить сроки разра06тки/повысить надежность и каlecT bb программного обеспечени .The use of the invention allows to reduce development time / increase reliability and QTb bb software.

Claims (1)

УСТРОЙСТВО ДЛЯ КОНТРОЛЯ. МИКРОПРОГРАММ , . содержащее, первый-. блок памяти, регистр микрокоманд, · первый и.второй триггеры результата,’ триггер управления, первый, второй, третий и четвертый элементы И, пер- / вый и второй элементы ИЛИ, элемент задержки и блок элементов И, причем выход первого элемента И соединен с входом считывания первогоблока памяти, выход которого соединен с входом регистра микрокоманд, выходы поля микроопераций и адресного’ поля регистра микрокоманд соединены с входами первого элемента ИЛИ, выход первого элемента задержки и нулевой выход триггера управления соединены соответственно с:первым и вторым входами, второго элемента И, единичные выходы первого и второго триггеров результата соединены с первыми входами третьего и четвер-. того элементов И соответственно, нулевые выходы первого и второго ; триггеров результата соединены с вторыми входами четвертого и третьего элементов И соответственно, ... (выходы которых соединены с первым и вторым входами второго элемента ,ИЛИ соответственно, от ли ч а ющ её с я тем, что, с целью повы,щения надежности контроля в него введены триггер пуска, одновибратор,' .счетчик, второй и третий блоки памя- . ти, коммутатор, пятый, шестой и седьмой элементы И, второй и третий . -: . .элементы задержки, причем вход синхроимпульсов устройства и единичный выход триггера пуска соединены со- ’· ответственно с первым и вторым входами пятого элемента И, выход которого соединен с· первыми входами пер-.DEVICE FOR CONTROL. MICROPROGRAMS,. containing, first-. memory block, micro-instruction register, · first and second result triggers, 'control trigger, first, second, third and fourth AND elements, first / second and second OR elements, delay element and block of AND elements, and the output of the first AND element is connected with the read input of the first block of memory, the output of which is connected to the input of the micro-command register, the outputs of the microoperation field and the address' field of the micro-command register are connected to the inputs of the first OR element, the output of the first delay element and the zero output of the control trigger are connected Similarly: with the first and second inputs of the second AND element, the unit outputs of the first and second triggers of the result are connected to the first inputs of the third and four. addition of elements And, accordingly, the zero outputs of the first and second; result triggers are connected to the second inputs of the fourth and third elements AND, respectively, ... (the outputs of which are connected to the first and second inputs of the second element, OR, respectively, differentiating it with the fact that, in order to increase the reliability of control a start trigger, a one-shot, '. counter, second and third memory blocks, a switch, fifth, sixth and seventh AND elements, second and third. -:. delay elements are introduced into it, moreover, the device’s clock pulses input and a single trigger output start-ups are connected, respectively, with the first and the second inputs of the fifth element And, the output of which is connected to the · first inputs per-. .вого и шестого элементов Й и черёз первый й второй , элементы, задержки со счетным входом счетчика, выход переполнения счетчика соединен со ... of the sixth and sixth elements и and through the first второй second, elements, delays with the counter input of the counter, the counter overflow output is connected to .. .счётным входом триггера управления,· информационные выходы счетчика соеди- нёны с адресными входами второго бло-β ка памяти, первыми информационными? ъ .< входами коммутатора и первыми входами блока элементов И, выходы которого соединены с информационными' входами первого блока памяти, единичный выход триггера управления соеринен_ с первым управляющим'/ входом коммута- . тора .и вторым входом шестого элемента И, выход которого соединен с входами считывания второго й третьего блоков памяти и с входами синхронизаций триггеров результата и через .. with the counting input of the control trigger, · are the information outputs of the counter connected to the address inputs of the second block β memory, the first information? b. <the inputs of the switch and the first inputs of the block of AND elements, the outputs of which are connected to the information 'inputs of the first memory block, the single output of the control trigger is connected to the first control' / input of the commute. of the torus .and the second input of the sixth AND element, the output of which is connected to the read inputs of the second and third memory blocks and to the synchronization inputs of the result triggers and through. .третий элемент задержки с третьими .входами третьего и четвертого элементов И, нулевой выход триггера -управления соединен с вторыми, входами . < блока элементов И, вторым входом первого элемента И, вторым управляющим (Входом коммутатора и чёрез одновибратор - с третьим входом второго'эле* мента ИЛИ, выход адресного поля регистра микрокоманд соединен с вторым информационным входом коммутатора, выход которого соединен с адресным входом третьего блока памяти, вы- . ход второго элемента И соединен с первым входом седьмого.элемента и и с входами записи второго и третьего блоков памяти, выходы которых соединены соответственно с Ό-входами %The third delay element with the third inputs of the third and fourth elements AND, the zero output of the trigger control is connected to the second inputs. <block of AND elements, the second input of the first AND element, the second control (The input of the switch and through the one-shot - with the third input of the second EL element *, the output of the address field of the micro-command register is connected to the second information input of the switch, the output of which is connected to the address input of the third block memory, the output of the second element AND is connected to the first input of the seventh element and to the recording inputs of the second and third memory blocks, the outputs of which are connected respectively to the Ό-inputs% 1ОЭ4О42 первого и второго триггеров результата, выход первого элемента ИЛИ соединен с информационным входом второго Спока памяти и вторым входом седьмого элемента И, выход которого соединен с информационным входом третьего блока памяти, выход второго элемента1OE4O42 of the first and second triggers of the result, the output of the first OR element is connected to the information input of the second memory Spock and the second input of the seventh element And, the output of which is connected to the information input of the third memory block, the output of the second element ИЛИ соединен с нулевым входом триггера пуска, единичный вход которого является входом запуска устройства, выходы третьего и четвертого элементов И являются соответственно первым и вторым выходами ошибки устройства.OR is connected to the zero input of the start trigger, the single input of which is the start input of the device, the outputs of the third and fourth elements AND are the first and second outputs of the device error, respectively.
SU823412079A 1982-03-26 1982-03-26 Microprogram checking device SU1034042A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU823412079A SU1034042A1 (en) 1982-03-26 1982-03-26 Microprogram checking device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU823412079A SU1034042A1 (en) 1982-03-26 1982-03-26 Microprogram checking device

Publications (1)

Publication Number Publication Date
SU1034042A1 true SU1034042A1 (en) 1983-08-07

Family

ID=21002767

Family Applications (1)

Application Number Title Priority Date Filing Date
SU823412079A SU1034042A1 (en) 1982-03-26 1982-03-26 Microprogram checking device

Country Status (1)

Country Link
SU (1) SU1034042A1 (en)

Similar Documents

Publication Publication Date Title
SU1034042A1 (en) Microprogram checking device
US4992937A (en) Microcomputer having a program mode setting circuit
SU830386A1 (en) Microprogramme-control device
SU985788A1 (en) Microprogram control device
SU1176346A1 (en) Device for determining intersection of sets
SU1589288A1 (en) Device for executing logic operations
SU1485224A1 (en) Data input unit
SU1242943A1 (en) Versions of microprogram control device
JPS55136753A (en) Compressed data recovery system
SU1280600A1 (en) Information input device
SU1056202A1 (en) Device for checking firmware
SU959078A1 (en) Microprogram control device
SU913379A1 (en) Microprogramme-conrol device
SU1339567A1 (en) Device for checking digital units
SU1249529A1 (en) Device for simulating network topology
SU1325539A1 (en) Device for selecting and counting objects positioned in disorder
SU1164890A1 (en) Device for converting codes
SU1125625A1 (en) Versions of firmware control unit
SU1667082A1 (en) Majority gate
SU1183957A1 (en) Device for sorting data
SU1365091A1 (en) Microprogram processor
SU896621A1 (en) Microprogramme-control device
SU802963A1 (en) Microprogramme-control device
RU1805466C (en) Self-testing device for microprogram control
KR930004435B1 (en) Memory Overflow Detection Device of Elastic Buffer