SU1092514A1 - Device for correcting programs - Google Patents

Device for correcting programs Download PDF

Info

Publication number
SU1092514A1
SU1092514A1 SU823539701A SU3539701A SU1092514A1 SU 1092514 A1 SU1092514 A1 SU 1092514A1 SU 823539701 A SU823539701 A SU 823539701A SU 3539701 A SU3539701 A SU 3539701A SU 1092514 A1 SU1092514 A1 SU 1092514A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
switch
block
elements
Prior art date
Application number
SU823539701A
Other languages
Russian (ru)
Inventor
Анатолий Павлович Малышев
Original Assignee
Предприятие П/Я М-5687
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 Предприятие П/Я М-5687 filed Critical Предприятие П/Я М-5687
Priority to SU823539701A priority Critical patent/SU1092514A1/en
Application granted granted Critical
Publication of SU1092514A1 publication Critical patent/SU1092514A1/en

Links

Landscapes

  • Multi Processors (AREA)

Abstract

УСТРОЙСТВО ДЛЯ КОРРЕКЦИИ ПРОГРАММ, содержащее первый и второй элементы 2И-ИЛИ, наборное поле команд , наборное поле адреса, буферный регистрг-, блок регистров, причем выход наборного пол  команд соединен с информационным входом блока регистров , информационный выход которого соединен с первым входом второго элемента 2И-ИЛИ, выход которого  вл етс  информационным выходом устройства, информационный вход устройства соединен с вторым входом второго элемента 2И-ИЛИ, выход наборного пол  адреса соединен с первым входом первого элемента 2И-ИЛИ, выход которого соединен с информационным входом буферного регистра , адресный вход устройства соединен с вторым входом первого элемента 2И-ИЛИ, отличающеес  тем, что, с целью повышени  быстродействи , в устройство введены три элемента НЕ, три элемента ИЛИ, два элемента И, элемент задержки, коммутатор записи, два переключател  и блок ассоциативной пам ти, причем первый 11 ICA . контакт первого пере ключ ате/:   с;1в;;и -ен с шиной нулевого потенциала, а его второй контакт соединен с первым входом первого элемента ИЛИ, с в-..щом коммутатора записи, с третьим входом первого элемента 2И-ИЛИ, первым входом первого элемента И и через первый элемент НЕ с первым входом второго элемента ИЛИ, с четвертым входом первого элемента 2И-ИЛИ, с входом наборного пол  команд и с входом записи блока ассоциативной пам ти, управл ющие выходы которого соединены с управл гощими входами записи блока регистров и с входами третьего элемента ИЛИ, информационнг й вход - с вы (Ходом буферного регистра, первый и § второй управл ющие входы - с выходами первого элемента ИЛИ и коммутатора записи соответственно, первый и второй контакты второго переключател  соединены соответственно с шиной нулевого потенциала и через второй эле-а мент НЕ с входом записи коммутатора записи, с вторым входом первого элемента ИЛИ и через элемент г.задержки с первым входом второго элемента И, СО выход которого соединен с входом .чтени  коммутатора записи, выход третьего ел го элемента ИЛИ соединен с вторым входом первого элемента И и через тре тий элемент НЕ - с вторым входом второго элемента И, вторым входом второго элемента ИЛИ, выход которого соединен с третьим входом второго эле мента 2И-ИЛИ, выход первого элемента Исоединен.с четвертым входом второго элемента 2И-ИЛИ. A DEVICE FOR PROGRAM CORRECTION, containing the first and second elements 2И-OR, typesetting command field, typesetting address field, buffer register-, register unit, and the output typesetting command field is connected to the information input of the register unit, the information output of which is connected to the first input of the second element 2I-OR, the output of which is the information output of the device, the information input of the device is connected to the second input of the second element 2I-OR, the output of the typed address field is connected to the first input of the first element 2 AND-OR, the output of which is connected to the information input of the buffer register, the address input of the device is connected to the second input of the first element 2И-OR, characterized in that, in order to improve speed, three elements NOT are entered into the device, three elements OR, two elements AND , a delay element, a write switch, two switches and an associative memory block, with the first 11 ICA. the contact of the first switch is athe /: s; 1c ;; and-en with the bus of zero potential, and its second contact is connected with the first input of the first OR element, with the in-switch of the recording switch, with the third input of the first element 2И-OR, the first input of the first element AND through the first element NOT with the first input of the second element OR, with the fourth input of the first element 2И-OR, with the input of the command field and the recording input of the associative memory block, the control outputs of which are connected to the control inputs of the record block of registers and with inputs of the third element nta OR, information input - with you (Buffer register stroke, the first and § second control inputs - with the outputs of the first OR element and the write switch, respectively, the first and second contacts of the second switch are connected respectively to the zero potential bus and through the second elec NOT with the write input of the write switch, with the second input of the first element OR, and through the delay element with the first input of the second element AND, the output of which is connected to the input of the read switch of the recording switch, the output of the third element OR of En with the second input of the first element AND through the third element NOT with the second input of the second element AND the second input of the second element OR, the output of which is connected to the third input of the second element 2I-OR, the output of the first element I connected to the fourth input of the second element 2, OR.

Description

Изобретение относитс  к вычислительной технике и может быть использовано дл  отладки программ ЦВМ, работающих в реальном масштабе времени к имеющих посто нное запоминающее устройство программ. Известно устройство дл  отладки программ, содержащее блок регистров, блоки формировани  адреса, блок управлени , запо(«1инающее устройство бе разрушени  информации, блок приема и выдачи команд, посто нное запоминающее устройство ClT. Недостатком этого устройства  вл  етс  малое быстродействие. Известно устройство дл  отладки программ, содержащее блок клавиатуры регистры, оперативную 1ам ть, перфор тор и накопитель С 2. Недостатком этого устройства  вл етс  большое количество дополнител ного оборудовани , которое не всегда возможно использовать в составе ЦВМ на месте ее установки. . Наиболее близким к предлагаемому  вл етс  запоминающее устройство с коррекцией программы, содержащее бло управлени , блок посто нной пам ти, регистр кода неисправных адресов, адресный и числовой регистры, регист кода исходного состо ни , блок селек ции адреса, дополнительные адресный регистр и блок управлени , шифратор, блок селекции числа, блок полупосто нной пам ти, четыре схеью И, две схемы ИЛИ СЗ 3Недостатком этого устройства  вл етс  малое быстродействие в режиме автоматической коррекции программы. Цель изобретени  - повышение быст родействи  устройства. Поставленна  цель достигаетс  тем что в устройство дл  коррекции программ , содержащее первый и второй элементы 2И-ИЛИ, наборное поле команд , наборное поле адреса, буферный регистр, блок регистров, причем выхо наборного пол  команд соединен с информационным входом блока регистров, информационный выход которого соединен с первым входом второго элемента 2И-ИЛИ, выход которого  вл етс  информационным выходом устройства, информационный вход устройства соеди нен с вторым входом второго элемента 2И-ИЛИ, выход наборного пол  адреса соединен с первым входом первого эле мента 2И-ИЛИ, выход которого соединен с информационным входом буферног регистра, адресный вход устройства соединен с вторым входом первого эле мента 2И-ИЛИ, введены три элемента НЕ, три элемента ИЛИ, два элемента И элемент задержки, коммутатор записи, два переключател  и блок ассоциативной пам ти, причем первый контакт пе вого переключател  соединен с шиной нулевого потенциала, а его второй контакт соединен с первым входом первого элемента ИЛИ, с входом коммутатора записи, с третьим входом первого элемента 2И-ИЛИ, первым входом первого элемента И и через первый элемент НЕ с первым входом второго элемента ИЛИ, с- четвертым входом первого элемента 2И-ИЛИ, с входом наборного пол  команд и с входом записи блока .ассоциативной пам ти, управл ющие выходы которого соединены с управл ющими входами записи блока регистров и с входами третьего элемента ИЛИ, информационный вход - с выходом буферного регистра, первый и второй управл ющие входы - с выходами первого элемента ИЛИ и коммутатора записи соответственно, первый и второй контакты второго переключател  соединены соответственно с шиной нулевого потенциала и через втовторой элемент НЕ с входом записи коммутатора записи, с вторым входом первого элемента ИЛИ и через элемент задержки с первым входом второго элемента И, выход которого соединен с входом чтени  ком.мутатора записи, выход третьего элемента ИЛИ соединен с вторым входом первого элемента И и через третий элемент НЕ - с вторым входом второго элемента И, вторым входом второго элемента ИЛИ, выход которого соединен с третьим входом в второго элемента 2И-ИЛИ, выход первого эле.мента И соединен с четвертым входом второго элемента 2И-ИЛИ. На фиг. 1 представлена структурна  схема предлагаемого устройства; на фиг. 2 - структурна  схема блока ассоциативной пам ти; на фиг, 3 функциональна  схема элемента блока ассоциативной пам ти; на фиг, 4 функциональна  схема коммутатора записи . На фиг. 1 показаны регистр 1 адреса , запог-шнающее устройство 2 программ , регистр 3 команд,  вл ющиес  частью ЦВМ, Устройство содержит {фиг. 1) первый элемент 2И-ИЛИ 4, первый элемент НЕ 5, второй элемент ИЛИ 6, второй элемент 2И-ИЛИ 7, первый элемент И 8, первый переключатель 9, буферный регистр 10, наборное поле 11 команд, наборное поле 12 адреса, блок 13 ассоциативной пажити, блок 14 регистров , первый элемент ИЛИ 15, коммутатор 16 записи, второй элемент НЕ 17, элемент 18 задержки, второй элемент И 19, третий элемент ИЛИ 20, третий элемент НЕ 21, второй переключатель 22, Блок 13 ассоциативной пам ти представл ет собой однородную двумерную структуру размером ,где п - количество строк,а m - количество столбцов {фиг.2}Jпричем каждый ее элемент 23 содержит (фиг. 3) третий элемент И 24, первый триггер 25, четвертый элемент И 26, четвертый элемент НЕ 27, п тый, элемент И 28, четвертый элемент ИЛИ 29. Коммутатор 16 записи содержит (фиг. 4) ,п групп, кажда  из которых включает второй триггер 30 и шестой элемент И 31, седьмой элемент И 32, третий триггер 33, светодиод 34, Предлагаемое устройство работает в режимах записи и корректировки. Режим записи устанавливаетс  замыканием переключател  9. В этом сл чае устройство работает автономно и не оказывает вли ни  на работу ЦВМ. По текущему адресу на регистр 1 из устройства 2 считываетс  очередна  команда, котора  через элемент 2И-И 7 параллельным кодом поступает на регистр 3, так как на вхоДе, а соот ветственно и на выходе, элемента ИЛИ б при замкнутом переключателе 9 всегда находитс  сигнал 1, а на выходе элемента И 8 - сигнал О Переключатель 9 управл ет также эле ментом 2И-ИЛИ 4, который в режиме записи пропускает адрес ка регистр 10 только с наборного пол  12 адрес При замыкании переключател  9 устанавливаетс  в единичное состо ние триггер 30 первой группы коммутатора 16 записи, если триггеры 30 во всех группах и триггер 33 наход тсй в нулевом состо нии, а сигнал через элемент ИЛИ 15 поступает на входы элементов И 26 и 28 всех элементов 23 левого столбца блока 13. Это приводит к по влению сигнала О на выходах элементов ИЛИ 29 элементов 23 правого столбца блока 13, элемент 23 которого выполн ет функцию одного разр да в строке, причем правый столбец соответствует младшим разр дам, а левый - старшим разр дам строкблока 13. Сигнал с выхода элемента НЕ 5 открывает выход наборного пол  11 команд и разре шает работу блока 13 в режиме записи , поступа  на вход элемента И 24 каждого элемента 23 блока 13. Таким образом, после замыкани  переключате л  9 и протекани  переходных процессов устройство готово к работе в режиме записи. На наборном поле 12 адреса устанавливаетс  адрес команды, записанной в устройство 2, которую необходимо изменить, а на наборном поле 1 команд - измененный код команды. При этом адрес с выхода наборного пол  12 адреса поступает через элемент 2И-ИЛИ 4 на регистр 10. Кратковремен но замыкаетс  переключатель 22. Сигнал 1 с выхода элемента НЕ 17 поступает через элемент ИЛИ 15 на входы элементов И 26 и 28 всех элементов 23 левого столбца блока 13, а также на вторые входы элементов И 31 коммутатора 16 записи. Сигналом с выхода элемента НЕ 21 открываетс  элемент И 19, на который такчерез эле- же поступает сигнал мент 18 задержки. Врем  задержки определ етс  по формуле t.p-ln,(1) . - среднее врем  задержки сигнала на один элемент 23 блока 13, которое определ етс  суммой задержек входзщих в него элементов И и ИЛИ ; m - число элементов 23 в строке блока 13. Таким образом, через врем  , с выхода элемента И 19 Сигнал i поступает на третьи входы элементов И 31 коммутатора 16 записи. Но только триггер 30 первой группы, своим выходом св занный с первым входом элемента И 31 первой группы коммутатора . 16 записи, находитс  в единичном состо нии, поэтому сигнал с выхода элемента И 31 поступает на входы эле 1ентов И 24 всех элементов 23 первой строки блока 13, куда также поступает разр д адреса с регистра 10, который записываетс  в соответствующий триггер 25 элемента 23 первой строки блока 13. Состо ние триггера 25 элемента 23 блока 13 сравниваетс  с разр дом регистра 10, при- , чем совпадение по единице осуществр1 етс  элементом И 26, а по нулю элементом И 28. Сравнение начинаетс  с левого элемента 23 первой строки и заканчиваетс  по влением сигнана выходе элемента ИЛИ 29 правого элемента 23 первой строки блока 13, по которому разрешаетс  запись в первый регистр блока 14 кода команды с наборного пол  11 команд и через элементы ИЛИ 20, НЕ 21, И 19, элемент И 31 первой группы коммутатора 16 записи триггер 30 второй группы устанавливаетс  в единичное состо ние, а триггер 30 первой группы - в нулевое состо ние. Таким образом , триггер 30 второй группы коммутатора 16 записи соответствует перВой свободной строке блока 13, в которую можно осуществл ть следующую запись. При размыкании переключател  22йа первые входы всех элементов 23левого столбца блока 13 поступает сигнал Ог чтовызывает по вление сигнала на выходах элементов ИЛИ 29 элементов 23 правого столбца блока 13. После набора очередного адреса на наборном поле 12 адреса и кода команды на наборном поле 11 команд зал«лкаетс  переключатель 22 и процесс записи повтор етс , но только дл  второй строки блока 13, и т.д. Приэтом , если исправл етс  код команды по адресу, уже записанному в блоке 13, при поразр дном сравнении адреса с регистра 10 со всеми строками блока 13 на выходе элемента ИЛИ 29 в одном из элементов 23 правого отолбца, соответствующего младшим разр дам адреса, по вл етс  сигнал . Этот сигнал выдел ет строку, в которой хранитс  адрес, совпадающий с адресом на регистре 10, а так же разрешает запись в соответствующ регистр блока 14 регистров нового кода команды. При этом на вход элемента И 19 поступает сигнал О, что запрещает по вление на его выхо сигнала 1 через t.- , а следова тельно, и запись адреса с регистра 10 в первую свободную строку блока 13. После того, как будет записан ад рес в последнюю строку блока 13, в соответствующей ей п-й группе,триггер 30 коммутатора 16 записи перейд в нулевое состо ние, а триггер 33 в единичное состо ние, что вызовет свечение светодиода 34 коммутатора 16 записи. Новое заполнение блока 13 возможно только после общего сброса всех элементов пам ти в блоке 13 (триггеры 25) в коммутаторе 16 записи (триггеры 30 и триггер 33 и регистров в блоке 14. Элемент И 3 коммутатора 16 записи предотвращает и а выходе по вление сигнала триггера 30 первой группы коммутато ра 16 записи при неоднократном замы Ксшии переключател  9, если блок 13 не заполнен полностью. При размыкании переключател  9 устройство переходит в режим коррек тировки. В этом случае вход элемента 2И-ИЛИ 4, св занный с выходом ре гистра 1, открываетс , а вход, св занный с выходом наборного пол  12 адреса, закрываетс . Адрес с регист ра 1, кроме устройства 2, поступает параллельным кодом через элемент 2И-ИЛИ 4 на регистр 10, ас него на блок 13. Сигнал О с выхода элемента НЕ 5 закрывает выход наборного пал  11 команд и запрещает запись информации в строки блока 13. Сигнал с выхода элемента ИЛИ 15 поступает на входы элементов VI 26 н 28 всех элементов 23 левого столбца блока 13, что разрешает вести поиск по ассоциативному признаку (адресу). При совпадении в одной из строк на выходе элемента ИЛИ 29 элемента 23, Соответствующего младшему разр ду строки, по вл етс  сигнал торый указывает, что найден адрес программы ЦВМ, по которому необходимо изменить код команды. Сигнал с выхода элемента ИЛИ 20 через элемент И 8 и сигнал О с выхода элемента НЕ 21 через элемент ИЛИ 6 поступает на элемент 2И-ИЛИ 7. По сигналу на выходе элемента ИЛИ 29 элемента 23, соотЕ1етствующего младшему разр ду найденной строки блока 13, выбираетс  регистр блока 14, код команды из которого через элемент 2И-ИЛИ 7 записываетс  в регистр 3, а дл  устройства 2 элемент 2И-ИЛИ 7 оказываетс  закрытым. Блок 14 включает в себ  группу регистров, каждый из которых однозначно соответствует строке блока 13, и коммутатор, который подключает выбранный регистр к выходу блока 14. Если на управл ющих выходах блока 13 будет сигнал О, то через элемент 2И-ИЛИ 7 на регистр 3 записываетс  код команды из устройства 2, Таким образом, в режиме корректировки программ автоматически с минимальными затратами времени производитс  замена соответствующих кодов команд устройства 2 на измененные коды команд из блока 14 регистров. Технико-экономическое преимущест-во предлагаемого устройства заключав етс  в его более высоком быстродействии по сравнению с прототипом и в исключении останозэов ЦВМ при записи информации ;ц1  коррекции программ.The invention relates to computing and can be used to debug programs of digital computers operating in real time with programs that have a permanent storage device. A device for debugging programs is known that contains a block of registers, an address generation block, a control block, a storage device (an information device without information destruction, an instruction receiving and issuing unit, a persistent storage device ClT. A disadvantage of this device is low speed. A device for debugging is known programs, which contains a keyboard block, registers, operative one, a performer, and a C 2 drive. A disadvantage of this device is a large amount of additional equipment that is not always possible. Use in a digital computer at the place of its installation. The closest to the proposed is a memory with a program correction containing a control unit, a block of permanent memory, a register of the code of faulty addresses, an address and numeric registers, a register of the code of the initial state, a block of selections address, additional address register and control block, encoder, number selection block, semi-permanent memory block, four AND circuits, two circuits OR NW 3 The disadvantage of this device is the low speed in automatic correction mode program. The purpose of the invention is to increase the speed of the device. The goal is achieved by the fact that the device for correcting programs contains the first and second 2I-OR elements, the command dialing field, the address dialing field, the buffer register, the register block, and the output of the command dialing field is connected to the information input of the register block whose information output is connected with the first input of the second element 2I-OR, the output of which is the information output of the device, the information input of the device is connected to the second input of the second element 2I-OR, the output of the typed address field is connected to the first input of the first element 2I-OR, the output of which is connected to the information input of the buffer register, the address input of the device is connected to the second input of the first element 2I-OR, three NOT elements, three OR elements, two AND delay elements, a recording switch, two switches and an associative memory unit, the first contact of the first switch is connected to the zero potential bus, and its second contact is connected to the first input of the first element OR, to the input of the recording switch, to the third input of the first element 2I-IL , the first input of the first element AND and the first element NOT with the first input of the second element OR, with the fourth input of the first element 2И-OR, with the input of the command field and with the input of the block record. associative memory, the control outputs of which are connected to the control the write inputs of the register block and with the inputs of the third element OR, the information input with the output of the buffer register, the first and second control inputs with the outputs of the first OR element and the write switch, respectively, the first and second contacts of the second switch Ate connected respectively to the zero potential bus and through the second element NOT to the write input of the write switch, to the second input of the first OR element, and through the delay element to the first input of the second And element, the output of which is connected to the read input of the write switch commutator, the output of the third OR element connected to the second input of the first element AND through the third element NOT to the second input of the second element AND, the second input of the second OR element, the output of which is connected to the third input of the second element 2I-OR, the output of the first element And connected to the fourth input of the second OR-element 2I. FIG. 1 shows a block diagram of the proposed device; in fig. 2 is a block diagram of an associative memory block; FIG. 3 is a functional block diagram of an associative memory block; FIG. 4 is a functional diagram of a write switch. FIG. 1 shows the address register 1, the requesting device 2 programs, the command register 3, which are part of the digital computer, the device contains {FIG. 1) the first element 2I-OR 4, the first element is NOT 5, the second element is OR 6, the second element is 2I-OR 7, the first element is AND 8, the first switch is 9, the buffer register 10, the dial command field 11, the dial field 12 addresses, block 13 associative pazhiti, register unit 14, first element OR 15, write switch 16, second element NOT 17, delay element 18, second element AND 19, third element OR 20, third element NOT 21, second switch 22, Block 13 associative memory is a homogeneous two-dimensional structure of size, where n is the number of lines, and m is the number of one hundred lbtsov {figure 2} And with each of its element 23 contains (Fig. 3) the third element And 24, the first trigger 25, the fourth element And 26, the fourth element NOT 27, the fifth, the element And 28, the fourth element OR 29. Switch 16 the record contains (Fig. 4), n groups, each of which includes the second trigger 30 and the sixth element And 31, the seventh element And 32, the third trigger 33, the LED 34, The proposed device operates in the recording and correction modes. The write mode is set by closing the switch 9. In this case, the device operates autonomously and does not affect the operation of the digital computer. At the current address, register 1 from device 2 reads the next command, which through element 2И-И 7 with parallel code enters register 3, because at the input and, correspondingly, at the output, element OR b with the closed switch 9 is always found signal 1 and at the output of the AND 8 element is a signal O. The switch 9 also controls the element 2И-OR 4, which in recording mode skips the address of the register 10 only from the dialing field 12 the address. When the switch 9 is closed, the trigger 30 of the first group is set to one. 16 switch Records if the triggers 30 in all groups and the trigger 33 are in the zero state, and the signal through the OR element 15 arrives at the inputs of the elements AND 26 and 28 of all the elements 23 of the left column of block 13. This leads to the appearance of the signal O at the outputs of the elements OR 29 elements 23 of the right column of block 13, element 23 of which performs the function of one bit in a row, with the right column corresponding to the lowest bit and the left column to the most significant bit of block 13. The output from the HE element 5 opens the output of the command field 11 and allows operation of unit 13 in the mode e records received at input 24 of the AND element 23 of each block 13. Thus, after closing swi L 9 and flow transients ready to operate in the recording mode. On the address field 12, the address of the command written to the device 2 is set, which needs to be changed, and on the command field 1, the modified command code is set. At the same time, the address from the output of the dial-in field 12 of the address goes through the element 2I-OR 4 to the register 10. Shortly, the switch 22 closes. Signal 1 from the output of the element NOT 17 goes through the element OR 15 to the inputs of the elements AND 26 and 28 of all elements 23 of the left column unit 13, as well as the second inputs of the elements And 31 switch 16 records. The signal from the output of the element NOT 21 opens the element And 19, which also receives a signal from the delay ment element 18. The delay time is determined by the formula t.p-ln, (1). - the average signal delay time per element 23 of block 13, which is determined by the sum of the delays of the AND and OR elements entering into it; m is the number of elements 23 in the line of block 13. Thus, through time, from the output of the element And 19 The signal i goes to the third inputs of the elements And 31 of the switch 16 of the record. But only the trigger 30 of the first group, its output associated with the first input of the element And 31 of the first group of the switch. The 16 records are in the single state, therefore the signal from the output of the element And 31 enters the inputs of the element 1 and 24 of all elements 23 of the first row of the block 13, which also receives the address bit from the register 10, which is written to the corresponding trigger 25 of the element 23 lines of block 13. The trigger state 25 of element 23 of block 13 is compared with register 10; the unit is matched by AND 26, and zero by AND 28. The comparison starts from the left element 23 of the first row and ends at Signed out e of the OR element 29 of the right element 23 of the first line of block 13, according to which the command code 14 is written to the first register of the command code from the dialing field 11 commands and through the elements OR 20, NOT 21, AND 19, the AND element 31 of the first group of switch 16 records trigger 30 the second group is set to one state, and the trigger 30 of the first group is set to the zero state. Thus, the trigger 30 of the second group of the recording switch 16 corresponds to the first free line of the block 13 into which the next record can be made. When the switch 22y opens, the first inputs of all elements of the 23 left column of block 13 receive a signal. It calls a signal at the outputs of the elements OR 29 elements 23 of the right column of block 13. After dialing the next address on the dial 12, the address and command code on the dial 11 commands 11 hall switch 22 is closed and the write process is repeated, but only for the second line of block 13, and so on. At the same time, if the command code is corrected at the address already recorded in block 13, the address from register 10 is bitwise compared with all the lines of block 13 at the output of the OR element 29 in one of the elements of the right hand spider corresponding to the younger address signal. This signal highlights the line in which the address is stored, which coincides with the address on register 10, and also allows writing to the corresponding register of block 14 of the registers of the new command code. In this case, the input element And 19 receives the signal O, which prohibits the appearance at its output of signal 1 through t.-, and, therefore, the recording of the address from register 10 into the first free line of block 13. After the address is written to the last line of block 13, in the corresponding p-th group, trigger 30 of switch 16 of recording goes to the zero state, and trigger 33 into one state, which causes the LED 34 of the switch 16 to light up. New filling of block 13 is possible only after a general reset of all memory elements in block 13 (triggers 25) in switch 16 of the record (triggers 30 and trigger 33 and registers in block 14. Element 3 of the switch 16 records prevents even the appearance of a trigger signal) 30 of the first group of switch 16 of the record when Kscia repeatedly switches switch 9 if the block 13 is not completely filled. When the switch 9 is opened, the device switches to the correction mode. In this case, the input of element 2I-OR 4 connected to the output of register 1, opens and the entrance The output of the address dialing field 12 is closed.The address from register 1, except for device 2, is received by a parallel code through element 2I-OR 4 to register 10, and it goes to block 13. Signal O from the output of the element NOT 5 closes the output of dialing 11 commands and prohibits the recording of information in the rows of block 13. The signal from the output of the OR element 15 is fed to the inputs of elements VI 26 and 28 of all elements of the 23 left column of block 13, which allows searching by an associative attribute (address). When a match in one of the lines at the output of the element OR 29 of the element 23, corresponding to the lower bit of the line, a signal indicates that the address of the DVM program was found, by which the command code should be changed. The signal from the output of the element OR 20 through the element AND 8 and the signal O from the output of the element NOT 21 through the element OR 6 is fed to the element 2I-OR 7. The signal at the output of the element OR 29 of the element 23 corresponding to the youngest bit of the found line of block 13 is selected the register of block 14, the command code from which, through element 2I-OR 7, is written into register 3, and for device 2, element 2I-OR 7 is closed. Block 14 includes a group of registers, each of which uniquely corresponds to a row of block 13, and a switch that connects the selected register to the output of block 14. If the control outputs of block 13 have an O signal, then through element 2I-OR 7 to register 3 the command code from device 2 is recorded. Thus, in the program correction mode, the corresponding command codes of device 2 are automatically replaced with the modified command codes from block 14 of registers with minimum time. The technical and economic advantage of the proposed device lies in its higher speed in comparison with the prototype and in the exclusion of computer digital recordings when recording information; c1 program correction.

гg

.5.five

2626

fjfj

fVfV

22

ГR

2727

Claims (1)

УСТРОЙСТВО ДЛЯ КОРРЕКЦИИ ПРОГРАММ, содержащее первый и второй элементы 2И-ИЛИ, наборное поле команд, наборное поле адреса, буферный регистре·, блок регистров, причем выход наборного поля команд соединен с информационным входом блока регистров, информационный выход которого соединен с первым входом второго элемента 2И-ИЛИ, выход которого является информационным выходом устройства, информационный вход устройства соединен с вторым входом второго элемента 2И-ИЛИ, выход наборного поля адреса соединен с первым входом первого элемента 2И-ИЛИ, выход которого соединен с информационным входом буферного регистра, адресный вход устройства соединен с вторым входом первого элемента 2И-ИЛИ, отличающееся тем, что, с целью повышения быстродействия, в устройство введены три элемента НЕ, три элемента ИЛИ, два элемента И, элемент задержки, коммутатор записи, два переключателя и блок ассоциативной памяти, причем первый контакт первого переключателя соединен с шиной нулевого потенциала, а его второй контакт соединен с первым входом первого элемента ИЛИ, с в., эд ом коммутатора записи, с третьим входом первого элемента 2И-ИЛИ, первым входом первого элемента И и через первый элемент НЕ с первым входом второго элемента ИЛИ, с четвертым входом первого элемента 2И-ИЛИ, с входом наборного поля команд и с входом записи блока ассоциативной памяти, управляющие выходы которого соединены с управляющими входами записи блока регистров и с входами третьего элемента ИЛИ, информационный вход - с выводом буферного регистра, первый и § второй управляющие входы - с выходами] первого элемента ИЛИ и коммутатора записи соответственно, первый и второй контакты второго переключателя соединены соответственно с шиной нулевого потенциала и через второй элемент НЕ с входом записи коммутатора записи, с вторым входом первого элемента ИЛИ и через элементзадержки с первым входом второго элемента И, выход которого соединен с входом чтения коммутатора записи, выход третьего элемента ИЛИ соединен с вторым входом первого элемента И и через тре тий элемент НЕ - с вторым входом второго элемента И, вторым входом второго элемента ИЛИ, выход которого соединен с третьим входом второго эле мента 2И-ИЛИ, выход первого элемента И соединен, с четвертым входом второго элемента 2И-ИЛИ.DEVICE FOR CORRECTION OF PROGRAMS, containing the first and second 2-OR elements, a typing command field, a typing address field, a buffer register ·, a register block, the output of the typing command field being connected to the information input of the register block, the information output of which is connected to the first input of the second element 2 AND-OR, the output of which is the information output of the device, the information input of the device is connected to the second input of the second 2-OR element, the output of the address field is connected to the first input of the first 2-OR element, the course of which is connected to the information input of the buffer register, the address input of the device is connected to the second input of the first 2I-OR element, characterized in that, in order to improve performance, three NOT elements, three OR elements, two AND elements, a delay element, a recording switch, two switches and an associative memory unit, the first contact of the first switch being connected to the zero potential bus, and its second contact being connected to the first input of the first OR element, with the second ed switch of the recording switch, with the third the course of the first element 2 AND-OR, the first input of the first element AND and through the first element NOT with the first input of the second element OR, with the fourth input of the first element 2 AND-OR, with the input of the typesetting command field and with the write input of the associative memory block, the control outputs of which are connected with the control inputs of the register block and the inputs of the third OR element, the information input with the output of the buffer register, the first and § second control inputs with the outputs] of the first OR element and the recording switch, respectively, the first and second the clocks of the second switch are connected respectively to the zero potential bus and through the second element NOT to the recording input of the recording switch, to the second input of the first OR element and through the delay element to the first input of the second AND element, the output of which is connected to the reading input of the recording switch, the output of the third OR element is connected with the second input of the first AND element and through the third element NOT - with the second input of the second AND element, the second input of the second OR element, the output of which is connected to the third input of the second element 2 AND-OR, the output first AND gate connected with the fourth input of the second OR-element 2I. SU ,„,1092514SU, „, 1092514
SU823539701A 1982-11-25 1982-11-25 Device for correcting programs SU1092514A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU823539701A SU1092514A1 (en) 1982-11-25 1982-11-25 Device for correcting programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU823539701A SU1092514A1 (en) 1982-11-25 1982-11-25 Device for correcting programs

Publications (1)

Publication Number Publication Date
SU1092514A1 true SU1092514A1 (en) 1984-05-15

Family

ID=21045320

Family Applications (1)

Application Number Title Priority Date Filing Date
SU823539701A SU1092514A1 (en) 1982-11-25 1982-11-25 Device for correcting programs

Country Status (1)

Country Link
SU (1) SU1092514A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР № 489107, кл. G 06 F 11/00, 1976. 2. Авторское свидетельство СССР № 630630, кл. G 06 F 11/00, 1978. 3. Авторское свидетельство СССР 809400, кл. G 11 С 29/00, 1981 (прототип). *

Similar Documents

Publication Publication Date Title
SU1092514A1 (en) Device for correcting programs
SU1108511A1 (en) Storage with selfcheck
SU1399821A1 (en) Buffer storage
SU879563A1 (en) Device for checking programs
SU507897A1 (en) Memory device
SU1397922A1 (en) Device for shaping interrupt signal in program debugging
SU1365084A1 (en) Priority device
SU1234844A1 (en) Multichannel device for controlling information input in microcomputer
SU1737454A1 (en) Device for storing route of interprocessor exchanges in multiprocessor systems
SU970464A2 (en) Memory with simultaneous access to several words
SU486316A1 (en) Data sorting device
SU1163358A1 (en) Buffer storage
SU1161944A1 (en) Device for modifying memory area address when debugging programs
SU1022216A1 (en) Device for checking domain storage
SU1026163A1 (en) Information writing/readout control device
SU763898A1 (en) Microprogram control device
SU822297A1 (en) Internal storage monitoring device
SU1437920A1 (en) Associative storage
SU1256057A1 (en) Device for searching information on microfilm record
SU1471195A1 (en) Program debugger
SU1529287A1 (en) Permanent memory
SU1251087A1 (en) Device for debugging programs
SU515155A1 (en) Device for exchanging information between registers
SU551702A1 (en) Buffer storage device
SU1087979A1 (en) Iformation input device