SU1302277A1 - Microprogram device for priority servicing of subscriber group - Google Patents
Microprogram device for priority servicing of subscriber group Download PDFInfo
- Publication number
- SU1302277A1 SU1302277A1 SU843803827A SU3803827A SU1302277A1 SU 1302277 A1 SU1302277 A1 SU 1302277A1 SU 843803827 A SU843803827 A SU 843803827A SU 3803827 A SU3803827 A SU 3803827A SU 1302277 A1 SU1302277 A1 SU 1302277A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- address
- inputs
- register
- Prior art date
Links
Landscapes
- Exchange Systems With Centralized Control (AREA)
Abstract
Изобретение относитс к области вычислительной техники и может быть использовано при построении устройств контрол и управлени , обрабатывающих информацию от группы абонентов (датчиков режимов, встроенных средств контрол и других источников). Цель изобретени - повьппение быстродействи . Устройство содержит блоки посто нной и оперативной пам ти 1, 2, блок 3 формировани адреса, блок 4 форми (ЛThe invention relates to the field of computer technology and can be used in the construction of monitoring and control devices that process information from a group of subscribers (mode sensors, built-in monitoring tools and other sources). The purpose of the invention is to improve speed. The device contains blocks of permanent and random access memory 1, 2, block 3 forming the address, block 4 forms (L
Description
ровани адресов стека, первый и второй регистры адреса числа 7, 8, первый и,второй регистры микроопераций 9, 10, регистр адреса микрокоманд 11, с первого по третий регистры приема за вок 12-14, с первого по третий регистры хранени за вок 15-17, шифратор 18, первый и второй коммутаторы 19-21, с первого по четвертый блоки приоритета 23-26, первый и второй дешифраторы 28, 29, первый и второйstack addresses, the first and second registers of the address of the number 7, 8, the first and second registers of micro-operations 9, 10, the register of the address of micro-instructions 11, the first to the third registers of reception for wok 12-14, from the first to the third registers of storage for wok 15 -17, encoder 18, first and second switches 19-21, first to fourth blocks of priority 23-26, first and second decoders 28, 29, first and second
1one
Изобретение относитс к вычислительной технике и быть использовано при построении устройств контрол и управлени , обрабатывающих информацию от группы (абонентов)(датчиков режимов, встроенных средств контрол и других источников).The invention relates to computing and to be used in the construction of monitoring and control devices that process information from a group (subscribers) (mode sensors, built-in monitoring tools and other sources).
Цель изобретени - повышение быстродействи .The purpose of the invention is to increase speed.
На фиг.1 изображена функционапь- на схема предлагаемого устройства; на фиг.2 - блок формировани адреса микрокоманд; на фиг.З - блок формировани адресов стека; на фиг.4 - первый блок синхронизации; на фиг.З - второй блок синхронизации; на фиг.6 - схема коммутатора данных.Figure 1 shows the functional diagram of the proposed device; Fig. 2 shows a block for forming the address of micro-instructions; FIG. 3 shows a stack address generation unit; figure 4 - the first synchronization unit; on fig.Z - the second synchronization unit; figure 6 - diagram of the data switch.
.Устройство содержит блоки посто нной 1 и оперативной 2 пам ти, блок 3 формировани адреса микрокоманд, блок The device contains blocks of constant 1 and random-access memory 2, block 3 of the formation of the address of micro-instructions, block
4формировани адресов стека, первый4forming stack addresses, first
5и второй 6 блоки синхронизации, первый 7 и второй 8 регистры адреса числа , первый 9 и второй 10 регистры,- регистр 11 адреса микрокоманд, с пер- вого по третий регистры приема 12-145 and the second 6 blocks of synchronization, the first 7 and second 8 registers of the address numbers, the first 9 and second 10 registers - register 11 addresses of micro-instructions, from the first to the third reception registers 12-14
и хранени 15-17 за вок, шифратор 18, коммутаторы 9-22, с первого 23 по четвертый 26 блоки приоритета, третий ключ 27 с трехстабильным состо - нием, первый 28 и второй 29 дешифраторы , первый 30 и второй 31 ключи с трехстабильным состо нием, с первого 32 по четвертый 35 блоки элементов И, мультиплексор 36, триггер 37 блоки- ровки, п тый элемент И 38, третий 39 и четвертый 40 элементы И, с второго 41 по четвертый 43 элементы ИЛИ, шину 44 данных, шину 45 условий.and storage 15-17 for the wok, encoder 18, switches 9-22, from the first 23 to the fourth 26 priority blocks, the third key 27 with a three-stable state, the first 28 and second 29 decoders, the first 30 and second 31 keys with a three-stable state by the first, 32–4, the first 35 blocks of the AND elements, the multiplexer 36, the blocking trigger 37, the fifth element AND 38, the third 39 and the fourth 40 AND elements, the second 41 through the fourth 43 OR elements, the data bus 44, the bus 45 conditions
ключи с трехстабильным состо нием 30, 31, с первого по четвертый блоки элементов И 32, 35, мультиплексор 36, триггер блокировки 37, элементы И 38- 40, элементы ИЛИ 41-43. Поставленна цель достигаетс посредством наращивани аппаратных средств дл реализации трехуровневого приоритетного обслуживани группы абонентов с возможностью прерывани обработки менее приоритетных за вок. 6 ил., 1 табл.keys with a three-stable state 30, 31, first to fourth blocks of elements AND 32, 35, multiplexer 36, lock trigger 37, elements AND 38-40, elements OR 41-43. The goal is achieved by increasing the hardware to implement a three-level priority service for a group of subscribers with the possibility of interrupting the processing of lower priority applications. 6 ill., 1 tab.
Блок формировани адреса микрокоманд содержит первый элемент И 46, первый элемент ИЛИ 47, первый 48 и второй 49 коммутаторы, третий дешифратор 50, 1К-триггер 51, элемент ИЛИ-НЕ 52.The micro-command address generation unit contains the first element AND 46, the first element OR 47, the first 48 and the second 49 switches, the third decoder 50, the 1K flip-flop 51, the element OR-NOT 52.
Блок формировани адресов стека содержит п тый 53 и шестой 54 элементы И, п тый 55 и шестой 56 элементы ИЛИ, элемент 2И-ИЛИ 57, триггер 58 услови , счетчик 59.The block of formation of the stack addresses contains the fifth 53 and sixth 54 elements AND, the fifth 55 and sixth 56 elements OR, the element 2И-OR 57, the trigger 58 condition, the counter 59.
Первый блок синхронизации содержит первый триггер 60 штока, первый генератор 61 импульсов, второй элемент И 62. Второй блок синхронизации содержит второй триггер 63 пуска, второй генератор 64 импульсов, седьмой элемент И 65, седьмой 66 и восьмой 67 элементы ИЛИ.The first synchronization unit contains the first trigger 60 of the rod, the first generator 61 of pulses, the second element AND 62. The second synchronization unit contains the second trigger 63 of the start, the second generator of 64 pulses, the seventh element AND 65, the seventh 66 and the eighth 67 elements OR.
.Коммутатор данных содержит элемен НЕ 68, первый 69 и второй 70 ключи.The data switch contains the element NOT 68, the first 69 and the second 70 keys.
Микропрограммное устройство дл обслуживани группы абонентов работает следующим образом.The firmware for servicing the subscriber group operates as follows.
В исходном состо нии все регистры триггеры и счетчик 59 обнулены. Перед началом работы устройства включаетс первый блок 5 синхронизации сигналом по входу пуска устройства, после чего на выходах первого блока 5 синхронизации формируютс серии синхросигналов .In the initial state, all the registers triggers and the counter 59 are reset. Before starting operation of the device, the first synchronization unit 5 is turned on with a signal on the device start input, after which a series of synchronization signals are formed at the outputs of the first synchronization unit 5.
При поступлении за вок от абонен- .тов на их обслуживание путем выполнени требуемой последовательности соответствующих микроопераций на выходах устройства они запоминаютс в регистрах 12-14 приема за вок. За вки в устройство поступают по входамUpon receipt of a request from subscribers for their service by executing the required sequence of corresponding micro-operations at the outputs of the device, they are stored in registers 12–14 of the request. Vkki in the device come to the inputs
приема за вок абонентов в моменты времени , совпадающие с выработкой сигнала на втором выходе первого генератора 61. Поскольку триггер 37 блокировки выключен, в один из регистров 15-17 хранени за вок будет перезаписана сама старп1а из поступивших за вок по приоритету в момент выработки синхросигнала на первом выходе первого блока 5.синхронизацииreceiving subscribers' bids at times coinciding with the generation of a signal at the second output of the first generator 61. Since the blocking trigger 37 is off, the start1 of the received bids by priority at the time of the sync signal generation will be overwritten in one of the registers of the bid the first output of the first block 5. synchronization
В момент перезаписи за вки в один из регистров 15-17 хранени за вок на выходе элемента ИЛИ-КЕ 52 формируетс перепад .сигнала из высокого уровн в низкий, по которому включаетс триг- гер 51 управлени . На выходе шифратора 18 формируетс код начального адреса микропрограммы обслуживани данной за вки, который передаетс на информационный вход регистра 11 ад- реса микрокоманд.At the moment of rewriting the application into one of the storage registers 15-17, at the output of the element OR-KE 52 a differential signal is generated from a high level to a low one, by which control trigger 51 is activated. At the output of the encoder 18, a code is generated for the initial address of the service firmware for this application, which is transmitted to the information input of the register 11 of the microcommand address.
По сигналу на втором выходе первого блока 5 синхронизации включаетс триггер 37 блокировки (дл блокировки срабатывани с второго по четвер тый 33-35 блоков элементов И), запускаетс второй блок 6 синхронизации и по сигналу на выходе второго блока 6 синхронизации производитс запись адреса начальной микрокоманды микро- программы в регистр 11 адреса микрокоманд .The signal at the second output of the first synchronization unit 5 turns on the trigger 37 for blocking the second to fourth 33-35 blocks of elements I, triggers the second synchronization unit 6 and writes the address of the initial microcommand to the output of the second synchronization unit 6 - programs in register 11 addresses of microinstructions.
.- .-
По сигналу на третьем выходе первого блока 5 синхронизации обнул етс триггер 51 управлени и из одного из регистров 12-14 исключаетс за вка , прин та в один из регистров 15- 17 дл обслуживани устройством.On a signal at the third output of the first synchronization unit 5, the control trigger 51 is zeroed out and the application received in one of the registers 15-17 is serviced from one of the registers 12-14.
Так как в течение формировани сигналов на первых трех выходах второго генератора 64 сигнал на выходе седьмого элемента ИЛИ 66 (на входе младшего разр да адреса блока посто нной пам ти БПИ) отсутствует, то из БПП считываетс содержимое четной чейки пары, указываемой состо нием регистра 11 адр.еса микрокоманд, и по синхросигналу на первом выходе второго блока 6 синхронизации оно записываетс в первый регистр 9 микроопераций . Устройство начинает формировать микрооперации на своем выходе.Since during the formation of the signals at the first three outputs of the second generator 64 there is no signal at the output of the seventh element OR 66 (at the input of the lower bit of the address of the BPI memory block), the contents of the even cell of the pair indicated by the state of the register 11 the address of the microinstructions, and on the clock signal at the first output of the second synchronization unit 6, it is recorded in the first register 9 of the microoperations. The device begins to form micro-operations at its output.
Во второй фазе работы второго блО ка 6 синхронизации (моменты формировани сигналов на выходах с второго по шестой второго генератора 64) адресуетс нечетна чейка пары в БПП 1. При этом соответствующие пол вы-In the second phase of operation of the second synchronization block 6 (the moments of signal generation at the outputs from the second to the sixth second generator 64), the odd cell of the pair in the PPU 1 is addressed.
fOfO
15 2015 20
30 2530 25
3535
4040
4545
5050
хода БПП 1 распредел ютс и используютс следующим образом.Runs of PPP 1 are distributed and used as follows.
Содержимое пол микроопераций поступает на информационный вход регистра 10,в котором запоминаетс в момент формировани сигнала на п том выходе второго генератора 64. Содер- -жимое пол адреса микрокоманд с выхода БПП 1 поступает на информационный вход регистра 11 адреса микрокоманд, в котором запоминаетс в момент формировани сигнала на шестом выходе второго генератора 64. Содержимое пол адреса БОП 2 с выхода пол адреса БПП поступает через первый коммутатор 19 адреса на информационные входь регистров 7 и 8 дл старпшх и младших разр дов адреса и записываетс в них в момент формировани сигнала на четвертом выходе второго генератора 64, если в микрокоманде вырабатываетс микроопераци на тринадцатом выходе пол управлени регистра 9. Если алгоритм выполнени микропрограммы обслуживани прерывани требует вьщачи на шину 44 данных содержимого пол констант БПП 1, то вырабатываетс . микроопераци на дес том выходе регистра 9, по которой константа подаетс на выход коммутатора 21,The contents of the micro-ops field is fed to the information input of the register 10, which is stored at the time of generating the signal at the fifth output of the second generator 64. The sodder-pressing field of the micro-instructions address from the output of the control unit 1 is fed to the information input of the 11-register of the micro-instructions, which is stored at the moment forming the signal at the sixth output of the second generator 64. The contents of the BOP 2 address field from the output of the BNP address field are fed through the first switch 19 of the address to the information inputs of registers 7 and 8 for senior and lower bits address and written into them at the time of forming the signal at the fourth output of the second oscillator 64, if generated microoperations microinstruction output at the thirteenth floor control register 9. If algorithm execution firmware interrupt service requires vschachi on the data bus 44 the contents of field constants PPO 1 then generated. micro-operation at the tenth output of register 9, in which the constant is fed to the output of switch 21,
С выдачей новой серии синхросигналов на выходе второго блока 6 синхронизации работа устройства по вьщаче микроопераций на выходе устройства повтор етс , только с тем отличием, что адреса очередных микрокоманд в регистр 11 адреса микрокоманд поступают с выхода пол адреса БПП, а не с выхода шифратора 18. Если в процессе выполнени микропрограммы требует с запись информации с входа данных устройства в БОП 2 или выдача содержимого БОП 2 на выход данных устройства по адресам, задаваемым внешним абонентом на входе данных (или входе условий) устройства, то вырабатываютс соответствующие микрооперации, управл ющие работой первого коммутатора 19 адреса, коммутатора 20 данных и ключей 30 и 31 с трехстабиль- ным выходом, а также микрооперации обращени и записи дл БОП 2.With the issuance of a new series of sync signals at the output of the second synchronization unit 6, the operation of the device for high-level micro-operations at the device output is repeated only with the difference that the addresses of the next microcommands to the register 11 of the microcommands address come from the BPP address field, and not from the output of the encoder 18. If, during the execution of the firmware, it requires recording information from the device data input to the BOP 2 or outputting the content to the BOP 2 at the device data output at the addresses specified by the external subscriber at the data input (or condition input) the devices then develop the corresponding micro-operations that control the operation of the first address switch 19, the data switch 20 and the keys 30 and 31 with a three-stable output, as well as the access and write micro-operations for the BOP 2.
При выполнении линейных участков микропрограмм работа устройства (по выработке соответствующих микроопераций на выходе пол дл управлени работой абонентов и собственно самого устройства) происходит аналогичноWhen executing linear microprogram sections, the operation of the device (in developing appropriate microoperations at the output of the field to control the work of subscribers and the device itself) occurs in a similar way.
описанной в течение всего линейного участка микропрограммы.described during the entire linear portion of the firmware.
Организаци условных переходов при выполнении микропрограмм (ветв щиес фрагменты используемых микропрограмм происходит следующим образом.The organization of conditional transitions during the execution of microprograms (the branch fragments of the microprograms used are as follows.
Адрес очередной микрокоманды, модифицируемой логическими услови ми, поступающими на вход условий устройства , р&сполагаетс в поле констант БОТ 1, считываемом на его выходе. Дт арша часть адреса передаетс на информационный вход регистра 1I адреса микрокоманд без изменени , а вместо младшей части адреса очередной микрокоманды подаетс код с выхода первого блока 23 приоритета, который устанавливает приоритеты логических условий, поступаюпдах на его вход через первый ключ с трехстабильным выходом 30 и шину 45 условий.The address of the next microcommand modified by the logical conditions supplied to the input of the device conditions, p & is located in the field of the BOT 1 constants read at its output. The arsh part of the address is transmitted to the information input of the register of the 1I microcommand addresses without change, and instead of the lower part of the address of the next microcommand, a code is output from the output of the first priority block 23, which prioritizes the logical conditions received at its input through the first key with the three-stable output 30 and the bus 45 conditions.
Таким образом, устанавливаетс очередность обработки логических условий , которые снимаютс внешними устройствами по мере их обслуживани После исключени всех логических ус- Л.ОВИЙ при передаче адреса очередной микрокоманды с выхода пол констант ЕПП 1 и на регистр 11 адреса микрокоманд поступит адрес с нул ми в младших разр дах, соответствующих выходу первого блока 23 приоритета.Thus, the priority of processing logical conditions is established, which are removed by external devices as they are serviced. After eliminating all logical conditions, when the address of the next microcommand is transmitted from the output of the EPP 1 constant field, the address 11 will receive the address of the microinstructions. The bit corresponding to the output of the first priority block 23.
3535
Данный адрес соответствует микрокоманде выхода из ветв щегос фрагмента микропрограммы и переходу на линейный ее участок.This address corresponds to the microcommand for exiting a branch of a microprogram fragment and passing to its linear portion.
По окончании микропрограммы обслуживани соответствующей за вки исполн етс микрокоманда с микроопераци - Q ми на выходах 14 и 15 пол управлени регистра 9, по которым останавливаетс работа второго блока 6 синхронизации и устанавливаютс в исходноеAt the end of the service firmware of the corresponding application, a microcommand with microoperations is executed - Q at the outputs 14 and 15 of the control field of the register 9, through which the operation of the second synchronization unit 6 stops and is set to its original state
30 тов с более высоким приоритетом, устройство работает следующим образом. При поступлении за вок в регистр 12 приема за вок в процессе обслуживани за вок, поступивших на регистр 1 ( 14.) приема за вок, разрешение преры вани формируетс элементом 2И-ИЛИ. 57 (фиг.З) при наличии микрооперации на восемнадцатом выходе пол управлени первого регистра микрокоманд.30 combo with a higher priority, the device operates as follows. When a request arrives at the reception register 12 in the process of servicing the application that arrives at register reception 1 (14.), the interruption resolution is formed by the element 2I-OR. 57 (FIG. 3) in the presence of a micro-operation at the eighteenth exit of the control field of the first micro-command register.
При обслуживании за вок, поступивших в регистр 14 приема за вок, возможны прерывани микропрограмм их обслуживани за вками, вновь поступившими в этот же регистр 14 (за иссосто ние триггер 37 блокировки и ре- ,«г„- When servicing a request that arrives in the reception register 14 of the request, it is possible to interrupt the firmware of their servicing by applications that have reappeared in the same register 14 (for blocking trigger 37 and re-, "g" -
. . « ключением за вки, запоминаемой в сагистры 15-17 хранени за вок. Кроме того, устройство по окончании выполнени микропрограммы прекращает выдачу микроопераций на выход устройства .. . The exclusion of the application memorized in the storage sags 15-17. In addition, the device, at the end of the execution of the microprogram, stops the delivery of micro-operations to the output of the device.
5050
ключением за вки, мом младшем разр де регистра 14), ес ли вырабатываетс микроопераци на семнадцатом выходе пол управлени регистра 9. В этом случае элемент 2И-ИЛИ 57 также сформирует сигнал пре50switching over, the low-order low register reg 14), if a microoperation is produced at the seventeenth output of the control field of the register 9. In this case, the element 2И-OR 57 will also generate a signal 50
ключением за вки, мом младшем разр де регистра 14), ес ли вырабатываетс микроопераци на семнадцатом выходе пол управлени регистра 9. В этом случае элемент 2И-ИЛИ 57 также сформирует сигнал прерывани ,switching on, the low-order low register reg 14), if a microoperation is produced at the seventeenth output of the control field of the register 9. In this case, the element 2I-OR 57 will also generate an interrupt signal,
Прерывание выполнени текущих мик ропрограмм может быть осуществленоThe interruption of the execution of current microprograms can be carried out.
При обслуживании запросов абонентов , требующих выполнени последовательности микропрограмм (макропрограммы ) по окончании очередной микропрограммы (с первой по предпоследнюю) только на линейных ее участках, ког- ьсикрооперации на четырнадцатом и п т- да адрес очередной микрокоманды за- надцатом выходах пол регистра 9 не даетс на выходе пол адреса микро- вырабатьгоаютс , поэтому триггер 37 команд БПП 1 и когда в этой микроко- блокировки и регистры 15-17 хранени манде не используетс поле константWhen servicing the requests of subscribers requiring the execution of a sequence of microprograms (macro programs) at the end of the next microprogram (from first to last), only on its linear sections, when the fourteenth operation and the next microinstruction at the next outputs, the register 9 field is not given At the output of the address field, the microparameter is created, therefore the trigger 37 of the PPO 1 commands and when the constants field is not used in this micro lock and register 15-17
за вок не сбрасываютс и второй блок 6 синхронизации не останавливаетс , В этом случае на выходе управлени адресом регистра 10 вырабатываетс the order is not reset and the second synchronization unit 6 does not stop. In this case, the output of the control of the address of the register 10 is generated
код, обеспечивающий подачу на информационный вход регистра 11 адреса микрокоманд начального адреса микропрограммы с выхода первого коммутатора блока 3.a code that provides the information input of the register 11 with the micro-command address of the initial microprogram address from the output of the first switch of the block 3.
При этом начальный адрес микропрограммы формируетс абонентом из двух частей: на входе кода операций блока 3 формируетс код операции, а на входе условий устройства формируетс номер обслуживаемого устройства, поступающий на первый информационный вход первого коммутатора блока 3. После этого выполнение очередной микропрограммы происходит обычным путем.In this case, the initial address of the firmware is formed by the subscriber from two parts: the operation code is formed at the input of the operation code of unit 3, and the number of the serviced device is inputted at the first conditions input of the first switch of unit 3. After that, the next firmware runs in the usual way.
В конце последней микропрограммы (макропрограммы) происходит останов второго блока 6 синхронизации и установка в исходное состо ние триггера 37 блокировки и регистров 15-17 хранени за вок.At the end of the last firmware (macro), the second synchronization unit 6 is stopped and the lock trigger 37 and the storage registers 15-17 are reset to the initial state.
При возникновении ситуаций, требующих прерывани выполнени микропрограммы обслуживани за вок при поступлении за вок от (групп) абонентов с более высоким приоритетом, устройство работает следующим образом. При поступлении за вок в регистр 12 приема за вок в процессе обслуживани за вок, поступивших на регистр 13 (14.) приема за вок, разрешение прерывани формируетс элементом 2И-ИЛИ. 57 (фиг.З) при наличии микрооперации на восемнадцатом выходе пол управлени первого регистра микрокоманд.In the event of a situation requiring interruption of the fulfillment of the servicing firmware of the quota when the quotation arrives from (groups) subscribers with a higher priority, the device operates as follows. When a request arrives at the reception register 12 in the process of servicing the application that arrives at register 13 (14.) of receiving the request, the interrupt resolution is formed by element 2I-OR. 57 (FIG. 3) in the presence of a micro-operation at the eighteenth exit of the control field of the first micro-command register.
При обслуживании за вок, поступивших в регистр 14 приема за вок, возможны прерывани микропрограмм их обслуживани за вками, вновь посту ,«г„- When servicing the application entered into the reception register 14 of the application, it is possible to interrupt the firmware of their servicing by reloading the station, "g" -
« ключением за вки, запоминаемой в са50“The inclusion of the application memorized in ca50
ключением за вки, мом младшем разр де регистра 14), если вырабатываетс микроопераци на семнадцатом выходе пол управлени регистра 9. В этом случае элемент 2И-ИЛИ 57 также сформирует сигнал пре только на линейных ее участках, ког- да адрес очередной микрокоманды за- даетс на выходе пол адреса микро- команд БПП 1 и когда в этой микроко- манде не используетс поле константif the microoperation is produced at the seventeenth output of the control field of the register 9. In this case, the element 2И-OR 57 will also generate a signal on its linear segments only, when the address of the next microcommand is set at the output of the address field of the microprocessor PPP 1 and when the constant field is not used in this microcommand
рывани ,jerking
Прерывание выполнени текущих микропрограмм может быть осуществленоThe interruption of the current firmware can be done
только на линейных ее участках, ког- да адрес очередной микрокоманды за- даетс на выходе пол адреса микро- команд БПП 1 и когда в этой микроко- манде не используетс поле константonly on its linear sections, when the address of the next microcommand is given at the output of the address field of the microcommand of PPO 1 and when the field of constants is not used in this microcommand.
в БПП I. В микрокомандах микропрограмм , в которых задаетс разрешение прерывани микротфограммы сш налами на семнадцатом и восемнадцатом выходах пол управлени регистра 9,всег вырабатываютс микрооперации на четвертом , шестом, седьмом, дев том и дес том выходах пола управлени регистра 9, по которым (независимо от Toi o, имеетс прерывание микропрограммы , или нет) адрес очередной мирокоманды запоминаетс в стеке БОП 2 по адресу, указанному счетчиком 59, Поскольку увеличение на единицу содержимого счетчика 59 происходит только при прерывании микропрограмм то последний адрес микрокоманды, запомненный в стеке БОП 2 перед изменнием содержимого счетчика 59 будетin PPP I. In microprograms of microprograms, in which the resolution of interception of microtragrams is set at the seventeenth and eighteenth outputs of the control register 9, all microoperations are generated on the fourth, sixth, seventh, ninth and tenth outputs of the control register 9, which ( irrespective of Toi o, there is an interruption of the firmware, or not) the address of the next world command is stored in the BOP 2 stack at the address indicated by the counter 59, Since the increase in the content of the counter 59 occurs only when the interrupt ii microprograms the last address of the microinstruction stored in the BOP stack 2 before the contents of counter 59 will change
истинным адресом возврата в прерван ную микропрограмму.the true return address to the interrupted firmware.
Если при проверке наличи прерывани микроопераций на восемнадцато ( семнадцатом) выходе пол управлени регистра 9 устройства оказалось, чт прерывание наступает, то включенный в этом случае триггер 58 услови в момент существовани сигнала на восемнадцатом или семнадцатом выходе пол управлени регистра 9 увеличивает на единицу содержимое счетчика 59, подготавлива устройство к возможному очередному прерыванию.If, when checking for the presence of micro-operations on the eighteenth (seventeenth) output of the control register field 9 of the device, it turned out that the interruption occurs, then the trigger 58 enabled in this case at the time of the signal at the eighteenth or seventeenth output of the control register 9 increases the value of the counter 59 by one , preparing the device for a possible next interruption.
В зтой же микрокоманде на выходе пол управлени адресом регистра 10 вырабатываетс код, регистрирующий состо ние триггера 58 услови (таблица ) . При отсутствии прерывани (триггер 58 условно выключен) на информационный вход регистра I1 адреса микрокоманд адрес очередной микро In the same microinstruction, at the output of the register address control field 10, a code is generated that registers the state of the condition trigger 58 (table). In the absence of an interrupt (the trigger 58 is conditionally off), the information input of the register I1 of the microinstruction addresses is the address of the next micro
команды поступит с выхода пол адреса микрокоманд БПП 1 (естественное продолжение выполнени микропрограммы ) . При наличии прерьтани адрес очередной микрокоманды поступит в регистр 11 адреса микрокоманд с выхода пол констант БПП 1 и произойдет переход к очередной микрокоманде, в которой вырабатываютс микрооперации на четырнадцатом и п тнадцатом выходах пол управлени регистра 9, по которым произойдет останов второго блока 6 синхронизации и сброс тригге- the commands will come from the output of the address field of microcommands PPO 1 (a natural continuation of the execution of the firmware). If there is an interrupt, the address of the next micro-command will go to the register 11 of the micro-commands address from the output of the BPP 1 constant field and the transition to the next micro-command will occur, which will generate microoperations on the fourteenth and fifteenth outputs of the control register 9 on which the second synchronization unit 6 will stop and reset trigger
ра 37 блокировки и регистров 15-17 хранени за вок.37 blocking and storage registers 15-17.
Таким образом, вырабатываетс условие попадани за вки, вызвавшейIn this way, the condition of a hit that caused
5 five
OO
5five
00
0 сто ни 0 one hundred nor
прерывание, в регистр 15 (17) хранени за вок и устройство запускаетс на выполнение микропрограммы ее обслуживани .an interrupt, to the register 15 (17) of the storage order and the device is being launched to execute its service firmware.
Если в течение выполнени микропрограммы обслуживани за вки, прервавшей предыдущую микропрограмму, поступает прерывание (прерывание в прерывании ) , то описанные действи повтор ютс .If an interrupt (interrupt in interrupt) is received during the execution of the service firmware application that interrupted the previous firmware, the described actions are repeated.
Окончание микропрограммы обслуживани за вок, прервавших обслуживание других за вок, осуществл етс не останрвом работы устройства (выключе- 5 ние второго блока 6 синхронизации), а возвратом в прерванную микропрограмму следующим образом.The end of the servicing firmware of applications that interrupted the servicing of other applications is not done by stopping the operation of the device (turning off the second synchronization unit 6), but returning to the interrupted firmware as follows.
Перед окончанием выполнени микропрограммы производитс анализ сосодержимого счетчика 59 с помощью элементов И 46 и ИЛИ 47 и сигнала микрооперации на п том выходе пол управлени регистра 9 (фиг.2). Если на выходе шестого элемента ИЛИ блока 4 формировани адресов стека сигнал отсутствует (признак отсутстви прерванной и незаконченной микропрограммы ) , то выбираетс микрокоманда , оканчивающа работу устройства как описано, в противном случае происходит выборка микрокоманды, обеспечивающей возврат к прерванной микропрограмме . При выполнении этой микрокоманды содержимое счетчика 59 уменьшаетс на единицу (вырабатываетс Before the end of the firmware execution, the analysis of the co-contained counter 59 is performed using the elements AND 46 and OR 47 and the micro-operation signal at the fifth output of the control field of the register 9 (Fig. 2). If there is no signal at the output of the sixth element OR of the stack address generation unit 4 (a sign of the absence of an interrupted and incomplete microprogram), a microcommand is selected that ends the operation of the device as described, otherwise a microcommand is selected that returns to the interrupted microprogram. When executing this microcommand, the contents of counter 59 are reduced by one (produced
5five
микрокоманда на дев тнадцатом выходе пол управлени регистра 9).microinstruction on the nineteenth output of the control register field 9).
II
В следующей микрокоманде аналогич- 40 но описанному производитс анализ состо ни счетчика 59 (выхода элемента ИЛИ 56 блока 4) и происходит переходIn the following micro-command, the state of the counter 59 (the output of the OR element 56 of the block 4) is analyzed similarly to the described one and a transition occurs
к одной из двух микрокоманд. Причем, в одной из этих микрокоманд не выра- батываетс сигнал на шестнадцатом выходе пол управлени регистра 9 (признак того, что число прерванных и незавершенных микропрограмм более одной - сигнал на выходе элемента ИЛИ 56 блока 4 отсутствует) и триггер 58 услови не устанавливаетс в исходное состо ние, а в другой микрокоманде на шестнадцатом выходе пол управлени регистра 9 сигнал, обеспечивающий установку в исходное состо ние триггера 58 услови (на выходе элемента ИЛИ 56 блока 4), отсутствует, что вл етс признаком того, что микропрограмма, к которой происходит возврат, вл ет91to one of two microinstructions. Moreover, in one of these micro-commands, the signal at the sixteenth output of the control field of register 9 is not developed (a sign that the number of interrupted and incomplete microprograms is more than one — the signal at the output of the OR element 56 of block 4 is absent) and the trigger 58 is not set to its original the state, and in another microcommand on the sixteenth output of the control field of the register 9, the signal that sets the trigger state 58 to the initial state (the output of the OR element 56 of block 4) is absent, which is a sign that the microprocessor amma, for which the refund is et91
с последней или единственной в цепи прерванных микропрограмм.with the last or only circuit in the interrupted firmware.
Кроме того, в обоих указанных микрокомандах вырабатываютс микрооперации , обеспечивающие считывание из со- ответствующей чейки стека БОП 2 адреса микрокоманды прерванной микропрограммы и передачу ее через коммутатор 20 данных, шину 44 данных,второй ключ 31 с трехстабильным выходом, ши- ну 45 условий, мультиплексор 36 дл записи в регистр 11 адреса микрокоманд .In addition, microoperations are developed in both these microcommands that ensure that the address of the microcommand of the interrupted microprogram is read from the corresponding stack cell BOP 2 and transmitted through the data switch 20, data bus 44, second key 31 with three-stable output, bus 45 conditions, multiplexer 36 to write in the register 11 addresses of microinstructions.
В конце вьтолнени данной прерванной микропрограммы производ11 гс ана- ЛИЗ состо ни счетчика 59 (выхода элемента ИЛИ 56 блока 4) аналогично описанному и происходит прекращение работы устройства.At the end of the execution of this interrupted microprogram of the 11 gs analogous LIZ state of the counter 59 (element OR 56 output of block 4) as described above, the device stops working.
II
3535
4040
4545
00Выход первого коммутатора блока 300Exit of the first switch of unit 3
01Выход шины 45 условий01 Tire exit 45 conditions
10 Выход пол адреса БПП 110 Output address floor PPO 1
11 Вьпсод11 Vpsod
второго коммутатора бло 50second switch block 50
00Выход первого коммутао тора блока 3 5500 Output of the first switch of the block 3 55
01Выход шины 45 условий01 Tire exit 45 conditions
10 Продолжение таблицы10 Continuation of the table
5five
00
5five
00
5five
00
- безразличное состо ние, т.е. состо ние, не вли ющие на выработку кодов управлени мультиплексором 36 на выходе третьего дешифратора 50 блока 3.- an indifferent state, i.e. state that do not affect the generation of control codes by multiplexer 36 at the output of the third decoder 50 of block 3.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843803827A SU1302277A1 (en) | 1984-10-17 | 1984-10-17 | Microprogram device for priority servicing of subscriber group |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843803827A SU1302277A1 (en) | 1984-10-17 | 1984-10-17 | Microprogram device for priority servicing of subscriber group |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1302277A1 true SU1302277A1 (en) | 1987-04-07 |
Family
ID=21143498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843803827A SU1302277A1 (en) | 1984-10-17 | 1984-10-17 | Microprogram device for priority servicing of subscriber group |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1302277A1 (en) |
-
1984
- 1984-10-17 SU SU843803827A patent/SU1302277A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 959079, кл. G 06 F 9/22, 1982. Мик Дж., Брик Дж. Проектирование микропроцессорных устройств с раз- р дно-модульной организацией, кн. 1 М.: Мир, 1984, с. 25-28, рис. 2.3. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH05120114A (en) | Random access memory which is operated in synchronization with microprocessor | |
JPS60167034A (en) | Auxiliary control memory for upgrading performance of cpu pipeline | |
KR920007253B1 (en) | Controlling apparatus for micro-program | |
SU1302277A1 (en) | Microprogram device for priority servicing of subscriber group | |
US3883854A (en) | Interleaved memory control signal and data handling apparatus using pipelining techniques | |
JPS5532270A (en) | Read control circuit for memory unit | |
US4566062A (en) | Timing control system in data processor | |
SU1649540A1 (en) | Microprogram control unit | |
SU1020826A1 (en) | Microprogram control device | |
SU1280629A1 (en) | Microprogram control device with checking | |
EP0544370A2 (en) | Circuit structure having distributed registers with self-timed reading and writing operations | |
SU1137481A2 (en) | Hardware translation device | |
SU1273939A1 (en) | Microprocessor | |
SU482743A2 (en) | Firmware management for a digital computer | |
SU1187173A1 (en) | Device for lexical analysing of symbol texts | |
SU482744A1 (en) | Firmware control device | |
SU922742A1 (en) | Microprogramme-control device | |
SU1647519A1 (en) | Modular device for programmed testing and control | |
SU987623A1 (en) | Microprogramme control device | |
SU1589288A1 (en) | Device for executing logic operations | |
GB851418A (en) | Improvements relating to digital computers | |
RU2047920C1 (en) | Device for programming read-only memory chips | |
SU1195364A1 (en) | Microprocessor | |
JPH05143322A (en) | Microcomputer | |
SU1168939A1 (en) | Microprogram control unit |