SU1087999A1 - Device for checking microinstruction sequence - Google Patents
Device for checking microinstruction sequence Download PDFInfo
- Publication number
- SU1087999A1 SU1087999A1 SU833544869A SU3544869A SU1087999A1 SU 1087999 A1 SU1087999 A1 SU 1087999A1 SU 833544869 A SU833544869 A SU 833544869A SU 3544869 A SU3544869 A SU 3544869A SU 1087999 A1 SU1087999 A1 SU 1087999A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- elements
- output
- inputs
- zero
- Prior art date
Links
- 238000012544 monitoring process Methods 0.000 claims abstract 2
- 230000001934 delay Effects 0.000 abstract description 2
- 230000008878 coupling Effects 0.000 abstract 1
- 238000010168 coupling process Methods 0.000 abstract 1
- 238000005859 coupling reaction Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 102000003815 Interleukin-11 Human genes 0.000 description 1
- 108090000177 Interleukin-11 Proteins 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000008034 disappearance Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
Landscapes
- Executing Machine-Instructions (AREA)
Abstract
УСТРОЙСТЮ ДОЯ КОНТРОЛЯ ПОСЛЕДОВАТЕЛЬНОСТИ ШКРОКОМАНД, содержащее дешифраторы,входы которых в л ютс входами устройства, элемент 11Ш-1, отли ч ающее с тем, что,с целью расширени области применени устройства, оно содержит две группы из К+Г элементов ПЛИ (где К - число контролируемых микрокоманд ); шифратора,накаппиваКЯФ1Й сумматор, два элемента задержки н блок сравнени с. нулем, причем выходы первого и второго дешифраторов соединены соответственно с входами элементов ИЛИ первой и вто4 vi U .С-ЫЛ рой групп, выходы К элементовИЛИ первой группы через первый шифратор соединены с первым информационным входом накапливанщего сумматора , второй информационный вход которого через,первый элемент задержки соединен с выходом второго шифрaTojpа, входы которого соединены с выходами К элементов ИЛИ второй групгы, вход окончани в кpooпepa ции устройства соединен с запускающим входом блока сравнени с. нулем и через второй элемент задержки с управл кицим входом накапливающего сум матора,/информационный выход котороS го соединен с соответствующим блока сравнени с нулем,а вы (/) С ход знакового разр да - с первым входом элемента ИЛИ, второй вход которого соединен с выходом блока сравнени с нулем, а третий и четч вертый входы - соответствегнно с выходами (К-И)-х элементов ИЛИ первой и второй групп, 1ход элемента 00 ИЛИ вл етс выходом прерывани устЧ ройства. Ф Ф соDEVICE FOR MONITORING THE SEQUENCE SHKROKOMAND, containing decoders, the inputs of which are the inputs of the device, element 11Ш-1, different from the fact that, in order to expand the field of application of the device, it contains two groups of K + G PLI elements (where K - the number of controlled microinstructions); the encoder, the adder, the adder, two delay elements and the comparison unit with. zero, and the outputs of the first and second decoders are connected respectively to the inputs of the elements OR of the first and second 4 U U.S-EH swarm groups, the outputs of the elements OR of the first group through the first encoder are connected to the first information input of the accumulating adder, the second information input of which through the first element the delays are connected to the output of the second cipher Topo, whose inputs are connected to the outputs K of the elements OR of the second group, the input of the termination in the coupling of the device is connected to the trigger input of the comparison unit. zero and through the second delay element controlling the input of the accumulating summator, / the information output of which is connected to the corresponding comparison block with zero, and you (/) C the sign bit course - to the first input of the OR element, the second input of which is connected to the output the comparison block with zero, and the third and even fourth inputs correspond with the outputs of the (K-I) elements OR of the first and second groups, element input 00 OR is the output of device interrupt. F f co
Description
Изобретение относитс к ци( вычислительной технике и автоматике и может быть использовано при пост роении аппаратных средств контрол мкpoпpoгpaммныx устройств управлен микропроцессоров и обычш 1х ЭВМ. Известно устройство дл контрол выполнени последовательности г«|кр команд, содержащее элементы И, ИЛИ св занные с управл ющими шинами,и триггер ошибки ClZ Недостатками такого устройства л ютс ограничение функциональных возможностей процессора,св занное необходимостью выработки только одного управл киц4го сигнапа и только одной шине и необходимостью жестког чередова1ш хз гналов чтени и запис что при известных ограничени х дл ропроцессора по быстродействию создает дополнительные трудности, а также необходигюсть увеличени размерности управл ющей шины и усложнени устройства управлени , св занные с введением контролышх кодов и управлением ими. Наиболее близким к изобретению по технической сущности вл етс микропрограммное устройство управ лени ,содержащее генератор тактоswx импульсов, блок пам ти,счетчик микрокоманд, дешифраторы,выходы которых соединены с узлом свертки , соединенным со схемой сравнени ,счетчик тактов, соединенный с элементом 11ПИ, и регистр, соединен1В 1й с дешифраторами и счетчиком hMK рокоманд, элемент НЕ,генератор тактовых импульсов, соединенньй о схе мой сравнени ,пам тью и элементом ИЛИ t2. Недостатками известного устройст ва вл ютс ограниченность области применени только процессорами,не использующиг и одновременно сигналы чтени и запиш дп разных регистро и возможность по влени ,ложного сигнала при одновременном пропадани действительного. Целью изобретени вл етс расюирегше области применени устройства ,в частности за счет обеспечени возможности использовани в одном т те работы процессссфа К операций записи и m операций считывани дл различных регистров, причем пара метры .К и m могут варьироватьс изменением соответствуюп х вводимых элементов без принципиалыгых изменений алгоритма работы устройства. Поставленна цель достигаетс тем, что в устройство дл контрол последовательности микрокоманд,содержащее дегаиЛраторы,входы которых вл ютс входами устройства,элемент ИЛИ,введены две группы из К-И элементов 1ИИ (где К - число ijOHTpoлируег-ых 1«крокоманд) , два шифратора, накапливающий сумматор, два элемента задержки и блок сравнени с нулем, причем выходы первого и второго деши115)аторов соединены соответственно с входаг« элег ентов 1ШИ первой и второй групп, а 1ходы К элементов И-ТИ первой группы через первый шифратор соединены с первым информационным входом накапливающего сумматора, второй информационный вход которого через первый элемент задержки соединен с выходом второго шифратора,входы которого соединены с выходами К элементов ИЛИ второй группьц вход окончани микрооперации устройства соединен с запускающим входом блока сравнени с нулем и через второй -элемент задержки с управл ющим входом накапливак дего сумматора,информационный выход которого соединен с соответствующим входом блока сравнени с нулем, а выход знакового разр да - с первым входом элемента ИЛИ, второй вход которого соединен с нлходом блока сравнени , с нулем, а третий и четвертьгй входы соответственно с выходами (К+1)х элементов ИЛ11 первой и второй групп, выход элемента ИЛИ вл етс выходом прерывани устройства. На чертеже представлена функциональна схема устройства. Устройство содержит первый дешифратор 1 (микрокоманд записи ), второй де1Ш1фратор 2 (микрокоманд считывани ), первую группу 3 из К+Г элементов ИЛИ, вторую группу 4 из K+l элементов 1ШИ,1Ш1фраторы 5 и 6, накапливающий сумматор 7, первый элемент 8 задержки, блок 9 сравнени с нулем, второй элемент 10 задержки ,элемент ШШ II, входы 12 и 13 устройства (микрокоманд считывани и записи соответственно), вход 14 окончани микрооперации,выход 15 прерывани , элементы ИЛИ 16 и 17 первой и второй групп. Устройство, работает следую|щм образом. 3 Выполнение микропрограммы в процессоре осуществл етс путем передачи информации между регистрами под действием управл ющих сигналов записи и считывани , вырабатываемых блоком микропрограммного управлени , В проц-ессе передачи возможны и менени передаваемой информации, как,например,при выполнении арифметических операций. При этом дл современных микропроцессоров число регистров п может достигать шестидес ти четырех, а блок управлени одновременно способен формировать К сигналов записи и п сигналов счиThe invention relates to qi (computer technology and automation and can be used in the construction of hardware of microprocessor control computers, microprocessor control and simple 1x computers. A device is known for controlling the execution of the sequence of | | kr commands containing AND elements OR associated with control tires, and the ClZ error trigger. The disadvantages of such a device are limiting the functionality of the processor, due to the need to produce only one control signal and only one bus. and the need for a hard alternation of reading and writing, which, given the known speed limits for the processor, creates additional difficulties, as well as the need to increase the dimension of the control bus and the complexity of the control device associated with the introduction of control codes and their management. the technical entity is a firmware control device containing a pulse clock generator, a memory unit, a micro-command counter, decoders, the outputs of which are connected a convolution node connected to the comparison circuit, a clock counter connected to the 11PI element, and a register are connected1V 1st to the decoders and the hMK rokomand counter, the NO element, the clock generator connected to the comparison circuit, the memory and the OR t2 element. The disadvantages of the known device are the limited scope of the application only by processors that do not use and at the same time read signals and write down various register and possibility of the appearance of a spurious signal while simultaneously disappearing the actual one. The aim of the invention is to exploit the field of application of the device, in particular by providing the possibility of using in one workflow process processes K write operations and m read operations for different registers, and the parameters K and m can be varied by changing the corresponding input elements without fundamental changes the algorithm of the device. The goal is achieved by the fact that the device for controlling the sequence of microinstructions, containing degasters, whose inputs are the inputs of the device, the OR element, has two groups of KI elements 1II (where K is the number of ijOHTproducers 1 "crocs) the accumulating adder, two delay elements and a comparison block with zero, with the outputs of the first and second drives 115) connected to the inputs of the first and second groups respectively, and the inputs of the first IT elements of the first group are connected to the first and The information input of the accumulating adder, the second information input of which through the first delay element is connected to the output of the second encoder, the inputs of which are connected to the outputs K of the elements OR the second group of the micro-operation end input of the device is connected to the trigger input of the comparison unit with zero and through the second - the delay element from the control the input is the accumulator of the dego adder, the information output of which is connected to the corresponding input of the comparison block with zero, and the output of the sign bit with the first input is an element OR, a second input coupled to the comparison unit nlhodom, with zero, and the third and chetvertgy inputs respectively to the outputs (K + 1) th elements IL11 first and second groups, an output of OR is the output of an interrupt apparatus. The drawing shows the functional diagram of the device. The device contains the first decoder 1 (write microcommands), the second decal 1 (read microcommands), the first group 3 of the K + G elements OR, the second group 4 of the K + l elements 1ShI, 1SH1fritors 5 and 6, accumulating adder 7, the first element 8 delays, block 9 comparison with zero, second delay element 10, element II and II, inputs 12 and 13 of the device (read and write microcommands, respectively), input 14 of the end of the microoperation, output 15 of the interrupt, elements OR 16 and 17 of the first and second groups. The device works the following way | 3 The execution of the microprogram in the processor is carried out by transferring information between registers under the action of the write and read control signals generated by the microprogram control unit. In the course of the transfer, the information transmitted can also be changed, such as during arithmetic operations. At the same time, for modern microprocessors, the number of registers n can reach sixty four, and the control unit at the same time is able to generate K recording signals and n read signals
вани дл различных реп стров.При этом микропрограммы составл ютс таким образом, что если в регасТр производитс запись, то независимо от такта микропрограммы информаци с него должна быть считана, а поэтому к моменту окончани выполне- ни микропрограммы общее число сигналов записи и сигналов считывани должно быть одинаково.for different reps. In this case, the microprograms are compiled in such a way that if a recording is made in the regasTr, then regardless of the microprogram beat, the information from it must be read, and therefore by the time the microprogram runs out, the total number of write signals and read signals must be be the same.
Выполнение микропрограммы начинаетс после занесени в регистр команд управлени очередной команды и расшифровки ее. Поэтому поступление сигнала записи в регистр команд следует зо на The execution of the microprogram starts after the next command is entered into the control register and decrypted. Therefore, the entry signal to the command register should be
рассматривать как момент начала выполнени очередной г-шкропрограммы и окончани предыдущей. При поступлении сигнала на вход 14 осуществл етс сравнение с нулем содержимого cyNiMaTopa 7 по результатам выполнени предыдущей микропрограммы и после истечени задержки на элементе 10 задержки - установка в ноль накапливающего сумматора 7.to consider as the moment of the beginning of the execution of the next g-program and the end of the previous one. When a signal arrives at input 14, the cyNiMaTopa 7 content is compared with zero according to the results of the previous firmware, and after the delay on delay element 10 has elapsed, the accumulative accumulator 7 is set to zero.
Фррмируемь1е при нормальной работе блока микропрограммного управлени комбинации сигналов записи на входах 13 и сигналов считывани на входах 12 воспринимаютс соответствующими дешифраторами 1 и 2 . Первый выход дейифратора 1 формируемый по булевой функции из входных сигналов, соединен непосредственно с входом шифратора 5 и соответствует отсутствию сигналов заПИО1 в данном такте микропрограммы. Последующие выходы дешифратора 1, фop вIpye ыe по своим булевым функци м и соответствующие разрешенным комбинаци м упр.авл ющих сигналов записи, объединены на К элементах ИПИ 16 группы элементов 1ШИ 3 в К групп, кажда из которых представл не отражаюищм принадлежность соответствующих сигналов к разрегаенным комбинаци м, .объединены на. (К+1)-м элементе РШИ 16 и характеризуют за1фёщен ме комбинации сигналов записи. Снимаемый с одного из (К+1) выходов группы элементов ИЛИ 3 один из (К+1) возможных выходных сигналов, соответствующий количеству вырабо- . талных в данном такте сигналов записи подаетс на шифратор 5 не выхода последнего в виде положительного двоичного числа в пр 1« м коде (знаковый разр д равен ) подаетс During normal operation of the firmware control unit, the combination of the write signals at inputs 13 and the read signals at inputs 12 is perceived by the corresponding decoders 1 and 2. The first output of the deifferator 1, formed from the input signals by the Boolean function, is connected directly to the input of the encoder 5 and corresponds to the absence of the FIDO1 signals in this microprogram cycle. The subsequent outputs of the decoder 1, the frames of the Ipye in their Boolean functions and corresponding to the allowed combinations of control recording signals, are combined on K elements of the IPI 16 groups of elements 1 or 3 in K groups, each of which represent the corresponding signals to the negative signals combinations combined on. The (K + 1) -th element of RSHI 16 is characterized by a combination of recording signals. Removed from one of the (K + 1) outputs of the group of elements OR 3 one of (K + 1) possible output signals, corresponding to the number of output. In this cycle, the recording signals are sent to the encoder 5 that the output of the latter does not appear as a positive binary number in the apr 1 "code (the sign bit is equal) is supplied
Аналогично производитс обработка сигналов чтени , и с одного из (К+1) выходов группы элементов ИЛИ 4 в том же такте микропрограммы подает35 с сигнал на шифратор6. С выхода последнего соответствук цее отрицательное двоичное число в обратном коде знаковый разр д равен единице ) через элемент 8 задержки осуществл -Similarly, the processing of read signals is performed, and from one of the (K + 1) outputs of the group of elements OR 4 in the same firmware cycle, it supplies 35 seconds to the encoder6. From the last output, the corresponding binary number in the opposite code is the sign bit equal to one) through delay element 8, the
40 КН1ЩЙ временной кода на часть машинного дл обеспечени уелоЮ1Й работы накапливакицего сумматора, подаетс на второй информационный вход накапливающего cyt-iMaTOpa 7.В 5 сумматоре поступившие двоичные числа в пр мом и обратном коде последовательно алгебраически складываютс , причем знаковый разр д сумгФг должен быть всегда равен нулю,так как сигнал40 KN1CHCH time code on the part of the machine to ensure the work of the accumulator accumulator, is fed to the second information input of the accumulating cyt-iMaTOpa 7. In the 5 adder, the received binary numbers in the forward and reverse code are sequentially algebraically added, and the digit digit of the FG should always be equal zero because the signal
5Q записи всегда должен предшествовать сигналу считывани и общее количество сигналов должно быть,следовательно J меньше или равно числу сигналов записи.The 5Q write must always precede the read signal and the total number of signals must, therefore, J be less than or equal to the number of write signals.
5S Момент окоача ни выполнени микропрограм1 ы фиксируетс сигналом иа входе 14, который инициирует работу блока 9, осуществл кицёго сравнение г. 99 ет собой дизъюнкцию выходов дешифратора , в булевой функции которых сумма сигналов равна 1,2,...,(К-1),К соответственно. Разрешенной i-й комбинацией сигналов записи (считывани ) названа комбинаци управл кщих сигналов на входах записи ;(считывани ), необходима дл выполнени i-й микрокоманды. Ч11сло таких комбинаций соответствует числу микрокоманд . Дополнительно к классу разрешенных отнесено отсутствие управл ющих сигналов записи (считывани /. Все остальные выходы дешифратора. формируе1Ф е по булевым функци м. накаппиванадий сумматор 7.5S The moment of the microprocessor's execution is fixed by the signal at input 14, which initiates the operation of block 9, carried out a comparison of the year 99, which is the disjunction of the decoder outputs, in the Boolean function of which the sum of the signals is 1.2, ..., (K-1 ), K, respectively. The allowed i-th record (read) signal combination is the combination of control signals at the write inputs; (read) required to execute the i-th micro-command. The number of such combinations corresponds to the number of micro-instructions. In addition to the allowed class, the absence of write control signals (read /) is assigned. All other outputs of the decoder. Formation is based on Boolean functions. Nakapivanadium adder 7.
$10879996$ 10879996
нулем содержимого сумматора 7. Привыводат кодовую комбинацию, в классzero of the contents of the adder 7. Privododat code combination in the class
: выполнений названных условий едк-,запрещенных (одновременное пропада{шца через элемент иШ 11 с блока 9 не Bb aeTCR-jia выход 15 в схеме при ритетного прерывани блока управлени , что свидетельствует об исправной работе блока ми1фопрограммно го управлени . В процес е функционнрованн процессора ме дцу блоком управлени и регистрами, управл емыми им,возможно по вление ошибок, состо щих в; пропадании необходимых сигналов управлени (записи или считывани ) либо в по влении ложшлх, а также в нарушении последовательности формир вани сигналов (т.е. чтение раньше записи). Если по вившас ошибка внесением ложного сигнала или потерей действительного выводит получившуюс , комбинации управл ющих сигналов чтени или записи в класс запре щеншлх, то сигнал по вл етс на том выходе дешифратора соответственно 2 или 1, который соединен с входом соответственно (К+1)-го 7 или (К+)-го 16 элемента ШШ. С выхода последних через элемент HJDi выдаетс на выход 15 сигнал неправильной работы. Если же ошибка не ние действительного и по вление ложного сигналов маловеро тно), то после окончани микропрограммы блок 9 фиксирует в сумматоре число , отличное от нул ,либо еще до окончани (шкропрограммы в cy a4aторе 7 формируетс отрицательное число и в знаковом разр де по вл етс еданица. В обоих случа х выдаетс сигнал неправильной работы на выход 15. Аналогачно при нарушении последовательности формировани сигналов в микропрограмме в сумматоре 7 в Качестве промежуточного результата на i-M шаге получаетс отрицательна сумма, свидетельствующа о том, что сигналов чтени сформировано больше, чем записи., В этом случае со знакового выхода сумматора выдаетс логическа единица через элемент ИЛИ 11, свидетельствующа о наличии ошибки. Таким образом, расширена область применени устройства контрол дл микропроцессорных модулей, обладающих болышм числом регистров и требующих совмещени во времени их ра- . боты дл повьшени быстродействи .: fulfillment of the conditions mentioned below, banned (simultaneous disappearance through the ISh 11 element from block 9 not Bb aeTCR-jia output 15 in the circuit for routine interruption of the control unit, which indicates proper operation of the microprogram control unit. During the processor's operation The control unit and the registers controlled by it may experience errors in the loss of the necessary control signals (writing or reading) or in the appearance of false signals, as well as in violation of the sequence of formation of the signals (i.e. reading before writing. If the error you make by inserting a false signal or losing a valid output results in a combination of read or write control signals to the prohibition class, then the signal appears on that decoder output, respectively, 2 or 1, which is connected to the input, respectively ( K + 1) -7 or (K +) -th 16 element from the last. An output signal is outputted via the HJDi element to the output 15. A malfunction signal is output to output 15. If the error is not valid and the appearance of spurious signals is not likely), then firmware b Block 9 fixes a non-zero number in the adder or even before the end (the curriculum in cy a4 auto 7 forms a negative number and a sign appears in the significant bit. In both cases, a malfunction signal is output to output 15. Similarly, if the signal generation sequence in the microprogram is violated in adder 7, a negative amount is obtained at the iM step, indicating that the read signals are greater than the records. In this In the case of a character output of the adder, a logical unit is output through the element OR 11, indicating the presence of an error. Thus, the field of application of the control device for microprocessor modules, which have a large number of registers and require their pa- raction in time, has been expanded. speed bots.
бb
шsh
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833544869A SU1087999A1 (en) | 1983-01-24 | 1983-01-24 | Device for checking microinstruction sequence |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833544869A SU1087999A1 (en) | 1983-01-24 | 1983-01-24 | Device for checking microinstruction sequence |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1087999A1 true SU1087999A1 (en) | 1984-04-23 |
Family
ID=21047064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU833544869A SU1087999A1 (en) | 1983-01-24 | 1983-01-24 | Device for checking microinstruction sequence |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1087999A1 (en) |
-
1983
- 1983-01-24 SU SU833544869A patent/SU1087999A1/en active
Non-Patent Citations (1)
Title |
---|
I. Авторское свидетельство СССР 813432, кл. G 06 F 11/00, 1978, 2, Авторское свидетельство СССР 898431, кл. G 06 F 9/22, G 06 F 11/00, 1980 (прототип), - Г, . * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4462072A (en) | Clock system having a stall capability to enable processing of errors | |
US3548177A (en) | Computer error anticipator and cycle extender | |
US5247624A (en) | Microprogram controller including leading microinstruction from a generator executed while succeeding microinstruction from memory is read out | |
SU1087999A1 (en) | Device for checking microinstruction sequence | |
US4171765A (en) | Error detection system | |
US5388253A (en) | Processing system having device for testing the correct execution of instructions | |
SU1439564A1 (en) | Test action generator | |
SU1116426A1 (en) | Device for searching numbers in given range | |
SU1365082A1 (en) | Multiprogram self-monitoring control device | |
SU966694A1 (en) | Microprogramme control device with transition | |
SU1056201A1 (en) | Device for checking microinstruction sequence | |
SU1755284A1 (en) | Device for checking information | |
SU970367A1 (en) | Microprogram control device | |
SU1471190A1 (en) | Microprogram control unit | |
SU1451680A1 (en) | Monitored arithmetic device | |
SU1734096A1 (en) | Microprogram running checker | |
SU1211746A1 (en) | Microprogram processor computer system | |
RU1807487C (en) | Device for correcting errors in computational process | |
SU1168939A1 (en) | Microprogram control unit | |
SU1142833A1 (en) | Microprogram control device | |
SU949657A1 (en) | Microprogram control device | |
SU1290358A1 (en) | Device for converting expressions in polish backward notation | |
SU1430959A1 (en) | Device for monitoring microprogram run | |
SU968814A1 (en) | Microprogramme control device | |
SU1140121A1 (en) | Microprogram control device with check |