Изобретение относитс к вычислительной технике и может быть использовано в микропрограммных автом тах, контроллерах, в частности в устройствах сопр жени вычислитель ных комплексов. Целью изобретени вл етс повышение быстродействи На фиг.1 представлена функционал на схема предлагаемого устройства/ на фиг.2 - временные диаграммы, иллюстрирующие функционирование устройства . I Микропрограммное устройство управлени содержит блок 1 пам ти микрокоманд, счетчик 2, блок 3 выде лени целого импульса, вьтолненного на элементе И, вход 4 синхронизации первый элемент 5 задержки, вход 6 сброса, дешифраторы .,, группу 8 входов, второй элемент 9 задержки и группу 10 выходов. Устройство работает следующим об разом. Исходное состо ние счетчика 2 ус танавливаетс при подаче на вход сброса 6 устройства импульса сброса Информаци с группы 8 входов поступает на первую группу адресных входов, блока 1 пам ти, при этом на вторую группу адресных входов блока 1 пам ти поступает информаци о состо нии счетчика 2. Эта же информаци о состо нии счетчика 2 поступает на информационные входы дешифраторов 1, - 7.J . В зависимости от ре жима работы, определ емого на соответствующих входах 8, происходит выборка того или иного дешифратора, при этом на один из выходов дешифратора , например на первом выходе, формируетс К-разр дна микрокоманда однословного формата, соответствующа первому микротакту. В первом микротакте как и в последующих ), в зависимости от алгори ма функционировани микропрограммно го устройства управлени , на вход блока 3 выделени целого импульса поступает информаци о запрете или разрешении прохождени синхроимпуль са, записанна в блоке 1 пам ти. При наличии с выхода блока 1 пам ти сигнала разрешени прохождени синх роимпульса и поступлении со входа 4 синхронизации синхроимпульсов на вход блока 3 выделени целого импул са с его выхода снимаетс первый це лый синхроимпульс, который стробирует выбранный дешифратор и, поступа через второй элемент 9 задержки на счетный вход счетчика 2, переводит последний в следующее состо ние. Двоичное число, соответствующее этому состо нию, поступает на вторую группу адресных входов блока I пам ти , при этом состо ние последнего, в зависимости от алгоритма работы устройства, может оставатьс прежним , и может и изменитьс .В первом случае счетный импульс, задержива сь первым элементом 5 задержки и поступа на вход записи счетчика 2, записывает в него прежнее подтверждение двоичного числа, после чего формируетс следующа микрокоманда. Во втором случае аналогичным образом происходит запись уже нового двоичного числа в счетчик 2. Таким образом осуществл етс безусловный переход в любой микротакт и формируетс соответствующа ему микрокоманда . При наличии сигнала запрета прохождени синхроимпульса на входе блока 3 выделени целого импульса синхроимпульсы не проход т на счетный вход счетчика 2 и данный такт сохран етс по необходимости долго. При поступлении на один или несколько входов 8 условий переходов измен етс значение числа на выходе блока 1 пам ти. Это новое значение числа записываетс в счетчик 2 и фор мируетс нова микрокоманда на выходе выбранного дешифратора. Таким образом осуществл етс условный переход в требуемый микротакт, в котором в зависимости от алгоритма работы возможно ожидание нового услови , и тогда в блоке 1 пам ти должен быть зашит логический О, который запрещает прохождение .синхроимпульсов на счетный вход счетчика.2, если в блоке 1 пам ти зашита логическа 1, то разрешено прохождение синхроимпульсов.. Работа микропрограммного устройства управлени осуществл етс до тех пор, пока не произойдет переход счетчика 2 в исходное (нулевое )состо ние или пока ао входа 6 не придет сигнал сброса и не сниметс сигнал выбора режима с соответствующие входов 8. При поступлении на другой вход 8 сигнала выбора режима происходит выборка уже другого дешифратора и происходит работа микропрограм-; много устройства управлени согласно Остановленному дл данного режима алгоритму.по описанному принципу.The invention relates to computing and can be used in microprogramming machines, controllers, in particular, in devices for interfacing computer complexes. The aim of the invention is to improve speed. Figure 1 shows the functionality of the proposed device / figure 2 - timing diagrams illustrating the operation of the device. I The microprogram control unit contains a block of 1 micro-command memory, a counter 2, a block 3 for extracting a whole pulse executed on the I element, a synchronization input 4, a first delay element 5, a reset input 6, decoders, a group of 8 inputs, a second delay element 9 and a group of 10 outputs. The device works as follows. The initial state of counter 2 is set when a reset pulse device 6 is applied to input 6. Information from group 8 of inputs goes to the first group of address inputs, memory block 1, while the second group of address inputs of memory 1 receives information about the state of the counter 2. The same information about the state of the counter 2 arrives at the information inputs of the decoder 1, - 7.J. Depending on the mode of operation determined by the corresponding inputs 8, one or another decoder is sampled, and the K-bit of a microcommand of a one-word format corresponding to the first microtakt is formed at one of the decoder outputs, for example, at the first output. In the first micro tact, as in the subsequent ones, depending on the algorithm of functioning of the microprogram control device, the input of the whole pulse extraction unit 3 receives information about the prohibition or resolution of the synchro impulse recorded in the memory block 1. In the presence of a sync pulse passing signal from the output of block 1 and the arrival of synchronization pulses from the synchronization input 4 to the input of the whole impulse extraction unit 3, the first whole sync pulse is removed from the output of the pulse, and entering through the second delay element 9 the counting input of counter 2 transfers the latter to the next state. The binary number corresponding to this state goes to the second group of address inputs of memory block I. The latter state, depending on the device operation algorithm, may remain the same and may change. In the first case, the counting pulse is delayed by the first element 5 of the delay and the input to the record entry of counter 2, writes into it the previous confirmation of the binary number, after which the next microinstruction is formed. In the second case, the new binary number is already recorded in the same way in counter 2. Thus, an unconditional transition to any microtocess is performed and the corresponding microinstruction is formed. If there is a signal to prohibit the passage of a sync pulse at the input of the whole pulse extraction unit 3, the sync pulses do not pass to the counting input of counter 2 and this clock cycle is kept as needed for a long time. When 8 transition conditions are received at one or several inputs, the value at the output of memory block 1 changes. This new value of the number is recorded in counter 2 and a new micro-command is formed at the output of the selected decoder. Thus, a conditional transition to the required micro-tact is carried out, in which, depending on the operation algorithm, waiting for a new condition is possible, and then a logical O must be sewn up in memory block 1, which prohibits the passage of sync pulses to the counter count input. 2, if in the block 1 of the memory is sewn up to logic 1, then the passage of synchronous pulses is allowed. The operation of the firmware is performed until the counter 2 returns to the initial (zero) state or until the input 6 comes the signal snimets not reset and the mode select signal from the corresponding input 8. When entering the other input 8 mode select signal is of a different sample of the decoder, and there is an operation mikroprogram-; a lot of control device according to the algorithm stopped for this mode. according to the described principle.
При совпадении сигналов по фазе на входах 4 И 8 микропрограммного устройства управлени блок 3 выделени целого импульса вырождаетс в элемент И.When the signals coincide in phase at the inputs 4 and 8 of the microprogram control unit, the whole pulse extraction unit 3 degenerates into the element I.
Фаг.1Phage.1
Фиг. 2FIG. 2