SU1221652A1 - Instruction access device - Google Patents

Instruction access device Download PDF

Info

Publication number
SU1221652A1
SU1221652A1 SU843779794A SU3779794A SU1221652A1 SU 1221652 A1 SU1221652 A1 SU 1221652A1 SU 843779794 A SU843779794 A SU 843779794A SU 3779794 A SU3779794 A SU 3779794A SU 1221652 A1 SU1221652 A1 SU 1221652A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
inputs
encoder
Prior art date
Application number
SU843779794A
Other languages
Russian (ru)
Inventor
Александр Юрьевич Веревкин
Юрий Сергеевич Мануйлов
Original Assignee
Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского
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 Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского filed Critical Военный Инженерный Краснознаменный Институт Им.А.Ф.Можайского
Priority to SU843779794A priority Critical patent/SU1221652A1/en
Application granted granted Critical
Publication of SU1221652A1 publication Critical patent/SU1221652A1/en

Links

Abstract

Изобретение относитс  к устройствам дл  предварительной выборки команд ЭВМ, к которым предъ вл ютс  высокие требовани  по быстродействию, аппаратурным затратам и энергопотреблению . Цель изобретени  - повышение быстродействи  устройства. Дл  этого в устройство введены триггер 12 перехода , шифраторы 14 и 15 команды пе25 X . W гз О) iptjt.lThe invention relates to devices for prefetching computer commands to which high demands are placed on speed, hardware costs and power consumption. The purpose of the invention is to increase the speed of the device. For this purpose, the trigger 12 transition, encoders 14 and 15 of the ne25 X command are entered into the device. W gz O) iptjt.l

Description

рехода и условного перехода, накапливающий сумматор 5 и третий элемент И 8, Вход и выход шифратора 14 соединены с выходом блока 3 пам ти команд и установочным входом триггера 12. Первый и второй входы сброса и выход триггера 12 подключены к синхровходу устройства, первому выходу шифратора 15 и входу сброса триггера 9 записи и установочному входу триггера 10 чтени . Установочный вход, синхро- вход, счетный вход, вход вычитани , информационный вход, информационный выход и выход переноса сумматора 5 соединены с первым адресным входом и синхровходом устройства, выходомtransition and conditional transition, accumulating adder 5 and the third element I 8, the input and output of the encoder 14 are connected to the output of the command memory block 3 and the setup input of the trigger 12. The first and second reset inputs and the output of the trigger 12 are connected to the encoder's first output 15 and the reset input of the trigger 9 write and the installation input of the trigger 10 reading. The setup input, the sync input, the count input, the subtract input, the information input, the information output, and the transfer output of the adder 5 are connected to the first address input and synchronous input of the device, the output

1one

Изобретение относитс  к цифровой вычислительной технике и может быть использовано в блоках предварительной выборки, команд ЭВМ, к которым предъ вл ютс  высокие требовани  по быстродействию, аппаратурным затратам и энергопотреблению.The invention relates to digital computing and can be used in pre-sampling units, computer commands, which are subject to high demands for speed, hardware costs and power consumption.

Цель изобретени  - повьшгение быстродействи  устройства.The purpose of the invention is to increase the speed of the device.

На фиг. 1 изображена структурна  схема устройства} на фиг. 2 - пример выполнени  пшфратора команды перехода; а на фиг. 3 - пример выполнени  шифратора команды условного переходаFIG. 1 shows a block diagram of the device} in FIG. 2 shows an example of executing a transition instruction command; and in fig. 3 shows an example of the execution of the conditional jump instruction encoder.

Устройство содержит (фиг. 1) счетчики 1 и 2 младшего и старшего адреса , блоки 3 и 4 пам ти команд и результата, накапливающий сумматор 5, элементы И 6 - 8, триггеры 9-12 записи, чтени , признака адреса и перехода, схему 13 сравнени , шифраторы 14 и 15 команды перехода и команды условного перехода, первый и второй адресные входы 16 и 17, выход 18 признака адреса, выход 19 сопровождени  команды, вход 20 запроса, тактовый вход 21, синхровход 22,вход 23 услови , информационный выход 24, первый и второй адресные выходы 25 и 26. Шифратор 14 (фиг. 2) содержит дешифратор 27 и элемент ИЛИ 28. Шифратор 15 (фиг. 3) содержит дешифратор 29, первый элемент ИЛИ 30,группуThe device contains (Fig. 1) counters 1 and 2 of the junior and senior addresses, blocks 3 and 4 of the memory of commands and the result, accumulating adder 5, elements AND 6-8, triggers 9-12 of writing, reading, indication of address and transition, circuit 13 comparisons, the coders 14 and 15 of the transition command and the conditional transition command, the first and second address inputs 16 and 17, the address sign output 18, the command output 19, the request input 20, the clock input 21, the synchronous input 22, the condition input 23, the information output 24, the first and second address outputs 25 and 26. The encoder 14 (FIG. 2) contains a decoder 27 and ale nt OR 28. The encoder 15 (Fig. 3) contains the decoder 29, the first element OR 30, group

третьего элемента И 8, вторым выходов шифратора 15, выходом блока 4 пам ти результата, вторым входом схемы 13 сравнени  и вторым входом сброса триггера 11 признака адреса. Первый и второй входы шифратора 15 подключены к выходу блока 4 и входу услови  устройства. Первый и второй входы и выход элемента И 8 соединены соответственно со вторым выходом шифратора 15, выходом элемента И 6 и выходом сопровождени  команды устройства. Кроме того, устройство содержит счетчики 1 и 2 младшего и старшего адреса и второй элемент И 7. 3 ил.the third element 8 and 8, the second outputs of the encoder 15, the output of the result memory block 4, the second input of the comparison circuit 13 and the second reset input of the address 11 trigger 11. The first and second inputs of the encoder 15 are connected to the output of block 4 and the input to the condition of the device. The first and second inputs and output of the And 8 element are connected respectively to the second output of the encoder 15, the output of the And 6 element and the output of the tracking device command. In addition, the device contains counters 1 and 2 junior and senior addresses and the second element And 7. 3 Il.

элементов И 31, второй элемент ИЛИ 32 и три элемента И 33- 35.elements AND 31, the second element OR 32 and three elements AND 33-35.

Счетчики 1 и 2 предназначены дл  счета младшей и старшей части адреса очередной команды, выбираемой из блока 3 пам ти и образуют единый счетчик команд. Блок 3 пам ти предназначен дл  хранени  команд. Блок 4 пам ти предназначен дл  промежуточного хранени  команд, выбираемых из блока 3, и представл ет собой быстро- действукмций блок пам ти, имеющий раздельные входы записи и чтени . Сумматор 5 накапливакнцего типа пред- назначен дл  изменени  адреса команды , выбираемой из блока 4 при последовательной выборке команд, и вычислени  начальной команды цикла при выполнении команд условного перехода. Он имеет установочный вход, через который производитс  начальна  запись информации при подаче сигнала на синхровход, счетный вход (вход суммировани  младшего разр да), ин- формационный вход, на который поступает код, подлежащий вычитанию, вход вычитани , по сигналу с которого происходит разрешение на вьтолнение этой операции, информационный выход и выход переноса. Элемент И 6 предназначен дл  формировани  сигнала считывани  команды при наличии запроса с входа 20 и отсутствии запрета с выхода триггера 10. Второй элемент И 7 предназначен дл  формировани  сигналов записи в блок 4 при наличии тактового сигнала со входа 21 и разрешени  с выходов триггеровCounters 1 and 2 are designed to count the lower and upper parts of the address of the next command selected from memory block 3 and form a single command counter. The memory unit 3 is for storing instructions. The memory block 4 is intended for intermediate storage of commands selected from block 3, and is a quick action memory block having separate write and read inputs. Accumulator-5 accumulator type 5 is designed to change the address of a command selected from block 4 when sequentially selecting commands, and calculating the initial cycle command when executing conditional jump instructions. It has an installation input, through which the initial recording of information is generated when a signal is sent to the synchronous input, a counting input (the low-order summation input), an information input that receives the code to be subtracted, a subtraction input, the signal from which the resolution to The implementation of this operation, the information output and the transfer output. Element 6 is designed to generate a command read signal when there is a request from input 20 and no trigger is denied from the output of trigger 10. The second element I 7 is intended to form recording signals in block 4 when there is a clock signal from input 21 and enable from the outputs of flip-flops

9и 11. Третий элемент И 8 предназначен дл  запрета выдачи сигнала сопровождени  команды на выход 19 при выполнении команд условного перехода исполн емых самим устройством дл  выборки команд.9 and 11. The third element And 8 is intended to prohibit the issuance of a signal accompanying the command to the output 19 when executing the conditional transition commands executed by the device itself for selecting the commands.

Триггер 9 предназначен дл  вьщачи сигнала Запрет записи, если в блоке 4 нет свободного места. ТриггерThe trigger 9 is intended for the signal to prevent recording, if in block 4 there is no free space. Trigger

10предназначен дл  вьщачи сигнала Запрет чтени , если блок 4 пуст. Триггер 11 предназначен дл  выдачи сигнала на выход 18, если адрес записи в блок 4 на сумматоре 5 оказалс  больше адреса на счетчике 1. Триггер 12 предназначен дл  вьщачи сигнала при наличии в блоке 4 команды перехода. Схема 13 сравнени  предназначена дл  вьщачи сигнала при совпадении кодов на выходах счетчика 110 is designed to block the read inhibit signal if block 4 is empty. The trigger 11 is designed to issue a signal to the output 18 if the address of the entry in block 4 on the adder 5 turned out to be greater than the address on the counter 1. The trigger 12 is designed to transmit a signal if there is a transition command in block 4. Comparison circuit 13 is designed to achieve a signal when the codes at the outputs of counter 1 match.

и сумматора 5. Шифратор 14 предназначен дл  вьщачи сигнала при записи в блок 4 команды перехода. Шифратор 15 при по влении на выходе 24 команды условного перехода вырабатывает сигнал на первом выходе, если услови с входа 23 выполнены и переход необходим , и на втором выходе, привод  в исходное состо ние, если выполн етс  следующа  команда. Единичные сигналы на выходах элементов И 3 группы свидетельствуют о том, что услови  данной команды условного перехода выполнены, т.е. переход необходим . Сигнал на выходе элемента 34 равен ,1, когда А, 00-0, т.е. устройство в перехода.and adder 5. The encoder 14 is designed to transmit a signal when writing to the block 4 transition commands. The encoder 15, when the conditional transition command appears at the output 24, produces a signal at the first output if the conditions from input 23 are fulfilled and the transition is necessary, and at the second output, reset to the initial state if the next command is executed. Single signals at the outputs of elements And 3 groups indicate that the conditions of this conditional transition command are fulfilled, i.e. transition is required. The signal at the output of element 34 is equal to 1, when A, 00-0, i.e. device in transition.

состо нии выполнить командуable to execute a command

Входы 16 и 17 используютс  дл  занесени  адреса команды в счетчики 1 и 2 и сумматор 5 в начале работы и при выполнении команд переходов. Занесение адреса сопровождаетс  синхросигналом с входа 22, привод щим в исходное состо ние триггеры 9-11. На вход 20 поступают запросы на очередную команду, которые прекращаютс  после вьщачи сигнала с выхода 19, свидетельствующего о готовности команды на выходе 24. На вход 21 поступает последовательность импульсов от генератора, период которых равен циклу обращени  .к пам ти. Предпола- гаетс , что сигналы на входах 20 иInputs 16 and 17 are used to record the command address in counters 1 and 2 and adder 5 at the start of the operation and during the execution of transition instructions. Addressing is accompanied by a clock signal from input 22, which reset triggers 9-11. The requests for the next command are received at the input 20, which stop after the signal from the output 19 is signaled that the command at the output 24 is ready. The input 21 receives a sequence of pulses from the generator, the period of which is equal to the access cycle to the memory. It is assumed that the signals at inputs 20 and

10ten

2020

2525

221652221652

21 сдвинуты относительно друг друга. На выходы 25 и 26 поступает адрес выполн емой команды. Причем если на выходе 18 имеетс  сигнал 1, то код 5 на выходе 25 должен уменьшатьс  на 1 дл  получени  действительного значени  адреса. На вход 23 из арифметического устройства поступают признаки, по которым может происходить условный переход.21 are shifted relative to each other. Outputs 25 and 26 receive the address of the command being executed. Moreover, if the output of signal 18 is 1, then the code 5 at output 25 must be reduced by 1 to obtain the actual value of the address. At the entrance 23 of the arithmetic unit receives signs, which may occur conditional transition.

Устройство работает следукицим образом .The device works in the following way.

В блоке 3 пам ти наход тс  команды , подлежащие выполнению. Уст-- )5 ройство приходит в исходное состо ние при подаче на входы 16 и 17 адреса начальной команды, сопровождаемой синхросигналом с входа 22. При этом старшие разр ды адресакоманды записываютс  в счетчик 2, а младщие - в счетчик 1 и сумматор 5. Кроме того, сигнал с выхода 22 устанавливает триггер 9 в состо ние 1, а триггеры 10 и 11 - в состо ние О. Сигнал с выхода триггера 11 поступает на выход 18 и свидетельствует о том, что код на выходе сумматора 5 не больше кода на выходе счетчика 1. Сигналы запроса с входа 20 не проход т через элемент И 6 и не удовлетвор ютс , так как блок 4 пуст. Сигнал с входа 21 (от генератора импульсов ), пройд  через элемент И 7, поступает на вход чтени  и обеспечивает считывание команды из блока 3 по адресу, хран щемус  в счетчиках 1 и 2, и по заднему фронту, поступив на вход записи блока 4, записывает эту команду по адресу, наход щемус  в счетчике 1. Кроме того, сигнал с выхода элемента И 7 увеличивает на 1 содержимое счетчика 1, подготавлива  адрес следующей команды,- а также устанавливает в 1 триггер 10, разреша  чтение из блока 4. Если после окончани  очередного чтени  из блока 3 оказываетс , что код в счетчике 1 совпадает с кодом в сумматоре 5, то блок 4 полностью зан т. Задний фронт сигнаша с выхода элемента И 7 поступает на синхробход триггера 9, и, поскольку на выходе схемы 13 присутствует сигнал 1, триггер 9 установитс  в состо ние О и закрывает элемент И 7. ЗаполнениеIn block 3 of the memory there are commands to be executed. The device ...) 5 solves the initial state when applying the address of the initial command to inputs 16 and 17, followed by a clock signal from input 22. The higher bits of the address of the command are written to counter 2, and the low bits to counter 1 and adder 5. Except In addition, the signal from the output 22 sets the trigger 9 to state 1, and the triggers 10 and 11 to the state O. The signal from the output of the trigger 11 goes to output 18 and indicates that the code at the output of the adder 5 is not greater than the code at the output counter 1. The request signals from input 20 do not pass through AND 6 and do not satisfy It is, as unit 4 is empty. The signal from the input 21 (from the pulse generator), passed through the element And 7, enters the reading input and provides the reading of the command from block 3 to the address stored in the counters 1 and 2, and the falling front, having entered the recording input of block 4, writes this command to the address located in counter 1. In addition, the signal from the output of the AND 7 element increases the contents of counter 1 by 1, preparing the address of the next command, and also sets the trigger 10 to 1, allowing reading from block 4. If after the end of the next reading from block 3 it turns out that the code in the account Note that 1 coincides with the code in adder 5, block 4 is fully occupied. The trailing edge of the signal from the output of the And 7 element goes to the sync clock of the trigger 9, and since the output of the circuit 13 contains the signal 1, the trigger 9 will be set to the state O and close Element And 7. Filling

30thirty

3535

4040

4545

5050

5555

блока 4 прекращаетс .block 4 is terminated.

Если блок 4 не пуст, то запрос на команду, пройд  через элемент И 6,If block 4 is not empty, then the request for the command, passed through the element And 6,

поступает на вход чтени  блока 4, в результате на выход 24 считаетс  команда, хран ща с  по адресу на выходе сумматора 5, а на выход 19 пос- тупает сброс выдачи. Сигнал с выхода элемента И 6 прибавл ет 1 к содержимому сумматора 5, и, сбросив триггер 9, разрешает считьшание из блока 3. Если при чтении из блока 4 происходит совпадение кодов на выходах счетчика 1 и сумматора 5, то блок 4 полностью выбран. При этом по заднему фронту сигнала с выхода элемента И 6 триггер 10 переводитс  в состо ние О, элемент И 6 закрыт, а чтение команд запрещено. В результате триггер 9 сбрасьтаетс  первой командой чтени  из блока 4, а триггер 10 - первой командой записи в блок 4.enters the read input of block 4; as a result, the output 24 is considered to be the command stored at the address at the output of the adder 5, and the output 19 returns the output. The signal from the output of the And 6 element adds 1 to the contents of the adder 5, and by dropping the flip-flop 9, it allows the reading from block 3. If the reading on the block 4 results in a coincidence of the codes on the outputs of the counter 1 and the adder 5, then block 4 is completely selected. At the same time, on the falling edge of the signal from the output of the And 6 element, the trigger 10 is transferred to the state O, the And 6 element is closed, and the reading of commands is prohibited. As a result, trigger 9 is reset by the first read command from block 4, and trigger 10 by the first write command in block 4.

Если блок 4 не пуст, то запрос на команду, пройд  через элемент И 6, поступает на вход чтени  блока 4,что обеспечивает считывание команды, хран щейс  по адресу на выходе сумматора 5, на выход 24 и поступление на выход 19Утроба выдачи. Сигнал с выхода элемента И 6 прибавл ет 1 к содержимому сумматора 5, и, сброси триггер 9, разрешает чтение из блока 3. Если при чтении из блока 4 происходит совпадение кодов на выходах счетчика 1 и сумматора 5, то блок 4 полностью выбран. При этом по заднему фронту сигнала с выхода элемента И 6 триггер 10 переводитс  в состо ние О, а элемент И 6 закрыт, т.е. чтение команд запрещено. В результате триггер 9 сбрасываетс  пер- вой командой чтени  из блока 4, а триггер 10 сбрасываетс  первой командой записи в блок 4.If block 4 is not empty, then the request for the command, passed through the element 6, enters the reading input of block 4, which ensures the reading of the command stored at the address at the output of the adder 5, at output 24 and arriving at the output of the 19th output. The signal from the output of the And 6 element adds 1 to the contents of the adder 5, and, resetting the trigger 9, permits reading from block 3. If the reading of block 4 results in coincidence of the codes on the outputs of counter 1 and adder 5, then block 4 is completely selected. At the same time, on the falling edge of the signal from the output of the element 6, the trigger 10 is transferred to the state O, and the element 6 is closed, i.e. reading commands is prohibited. As a result, the trigger 9 is reset by the first reading command from block 4, and the trigger 10 is reset by the first write command in block 4.

Рассмотрим процедуру изменени  адресов в счетчиках 1 и 2 и сумматоре 5. В исходном состо нии в счетчик 1 и сумматор 5 заноситс  один и тот же код и сумматор 5 вьшолн ет функцию Счета младшей части адреса следующей команды. Поскольку чтение из  чейки блока 4 происходит только после записи информации в нее, то адрес записи в счетчике 1 больше адреса чтени  в сумматоре 5. В этом случае адрес очередной команды, подлежащей выполнению, получаетс  на выходах 25 и 26, т.е. старшие разр ды адреса поступают со счетчика 2, а младшие 5Consider the procedure for changing addresses in counters 1 and 2 and adder 5. In the initial state, the same code and adder 5 is entered into the counter 1 and adder 5 in the Accounts of the younger part of the address of the next command. Since reading from the cell of block 4 occurs only after writing information to it, the write address in counter 1 is greater than the read address in adder 5. In this case, the address of the next command to be executed is obtained at outputs 25 and 26, i.e. the higher address bits come from counter 2, and the lower 5

j O 5 0 j O 5 0

с сумматора 5. Однако если счетчик. 2 обнулен (00-0) и в некоторый момент произошла запись в блок 4 по последнему адресу 11-1 (содержимое счетчика 1), а чтение должно происходить из  чейки с адресом--11-0, тогда следующий импульс с выхода элемента И 7 обнул ет счетчик 1, сигнал переноса которого прибавит 1 к содержимому счетчика 2 (0-01) и устанавливает в единичное состо ние триггер 11. В этом случае код на выходе счетчика 1 оказываетс  меньше кода на выходе сум- / матора 5 и дл  получени  действительного адреса следующей команды 11-0 необходимо вычесть 1 из кода в счетчике 2 (выход 25), о чем свидетельствует сигнал 1 на выходе 18. Поскольку адрес следующей команды необходим дл  выполнени  команды перехода относительно текущего адреса команды, то формирование нового адреса происходит в арифметико-логическом блоке путем суммировани  текущего адреса со смещением. В св зи с этим вычитание указанной 1 не вызывает трудностей. Когда в приведенном примере происходит переполнение сумматора 5, то сигнал переноса сбрасывает триггер 11, на выходе 19 оказьшаетс  О и, следовательно, код на выходах 25 и 26 соответствует адресу очередной команды.from the adder 5. However, if the counter. 2 zeroed (00-0) and at some point there was an entry in block 4 at the last address 11-1 (the contents of counter 1), and the reading should come from the cell with the address 11-0, then the next pulse from the output of the And 7 element zeroes counter 1, the transfer signal of which adds 1 to the contents of counter 2 (0-01) and sets trigger one to 11. In this case, the code at the output of counter 1 is less than the code at the output of sum / mat 5 and to get a valid addresses of the next command 11-0, you must subtract 1 from the code in counter 2 (exit 25), as witnessed Signal 1 is output 18. Since the address of the next command is needed to execute a jump command relative to the current address of the command, the new address is generated in the arithmetic logic unit by summing the current address with the offset. Therefore, the subtraction of the indicated 1 does not cause difficulties. When in the above example the adder 5 overflows, the transfer signal resets the trigger 11, O turns out at output 19 and, therefore, the code at outputs 25 and 26 corresponds to the address of the next command.

Рассмотрим работу устройства при выполнении команды условного перехода . Пусть с выхода блока 3 на вход шифратора 14 поступает команда условного перехода. Формат команды представлен на фиг. 2 и содержит код операции (КОП) и смещение относительно текущего адреса Д, и А. В системе команд ЭВМ может быть несколько команд условного и безусловного перехода (по нулю сумматора, переполнению и т.п.). Если дешифратор 27, проанализировав код операции, вы вл ет одну из команд перехода, то на выходе элемента ИЛИ 28 по вл етс  1. Сигнал с выхода шифратора 14 устанавливает в единичное состо ние триггер 12, который переводит триггеры 9 и 10 в состо ние, соответствующее полному заполнению блока 4 и удерживает их в этом состо нии. В результате запись в блок 4 запрещена (элемент И 6 закрыт), а чтение раз- :решено. После очередного запроса команды с входа 20 на выходе 24 по вл етс  команда перехода, котора  поступает на вход шифратора 15 (фиг. 3) причем команды предшествующие коман- де перехода, наход тс  в блоке 4. На второй вход шифратора 15 с входа 23 устройства поступают признаки, которым может происходить условный переход. При этом на выходе де- шифратора 29 по вл етс  сигнал 1, если поступила команда перехода. Если при этом выполнено соответствующее условие (например, в арифметическом устройстве содержитс  О), то на выходе соответствующего элемента И 31 группы по вл етс  1, котора , пройд  элемент ИЛИ 32, поступает на входы элементов И 33 и 35.Consider the operation of the device when executing a conditional jump command. Let the output of block 3 to the input of the encoder 14 receives the command conditional transition. The format of the command is shown in FIG. 2 and contains the operation code (CPC) and the offset relative to the current address D, and A. In the system of computer commands there can be several teams of conditional and unconditional jump (zero adder, overflow, etc.). If the decoder 27, having analyzed the operation code, reveals one of the transition commands, then the output of the OR element 28 appears 1. The signal from the output of the encoder 14 sets in one state the trigger 12, which puts the triggers 9 and 10 into the state corresponding to the complete filling of block 4 and keeps them in this state. As a result, writing to block 4 is prohibited (element 6 and closed), and reading time-: decided. After the next request for a command from input 20, output 24 of the transition command appears, which is fed to the input of the encoder 15 (Fig. 3) and the commands preceding the transition command are in block 4. To the second input of the encoder 15 from the input 23 of the device There are signs that can occur conditional transition. In this case, a signal 1 appears at the output of the decoder 29 if a transition command is received. If the corresponding condition is fulfilled (for example, O is contained in the arithmetic unit), then at the output of the corresponding element AND 31 of the group appears 1, which, having passed the OR element 32, enters the inputs of the elements 33 and 35.

Устройство может самосто тельно выполнить команду условного перехода если переход происходит не более чем на Aj 11-1 команд вверх по программе , причем разр дность совпадает с разр дностью счетчика 1 и суммато- ра 5. В этом случае все команды, предшествующие команде условного перехода , наход тс  в блоке 4. Если А, 00-0, то на выходе элемента И 34 по вл етс  сигнал 1, свидетельст- вующий о приходе команды условного перехода, которую может самосто тельно выполнить устройство. Если А, 00-0, то сигнал с выхода элемента И 34 поступает на вход элемен- та И 33 и на его выходе по витс  1 котора  поступает на вход элемента И 8 и закрывает его. В результате эта команда условного перехода не передаетс  дл  исполнени . Кроме то- го, этот же сигнал поступает на вход сумматора 5 и задает в нем режим вычитани . При этом из содержимого сумматора 5 вычитаетс  код смещени  А, поступивший с выхода 24. Таким образом, в сумматоре 5 оказываетс  адрес начальной команды цикла, записанного в блоке 4. Выполнение цикла повтор етс . Повторение продолжаетс  до тех пор, пока на втором выходе шифратора 15 не по вл етс  сигнал, означакмций, что -признак, вызьшАющий условный переход, отсутствует и должна выполн тьс  команда, следующа  за командой условного перехода. В этом случае сигналом с. выхода элемента И 35 сбрасьтаетс  триггер 12, а триггер 10 устанавливаетс  в состо ние,The device can independently execute the conditional jump command if the transition occurs by no more than Aj 11-1 commands up the program, and the bit matches the digit of counter 1 and totalizer 5. In this case, all the commands preceding the conditional jump command, are in block 4. If A, 00-0, then at the output of element 34, a signal 1 appears, indicating the arrival of a conditional transition command, which the device itself can execute. If A, 00–0, then the signal from the output of the AND 34 element enters the input of the AND 33 element and at its output through W which 1 enters the input of the AND 8 element and closes it. As a result, this conditional branch command is not transmitted for execution. In addition, the same signal is fed to the input of the adder 5 and sets in it the subtraction mode. In this case, the offset code A received from the output 24 is subtracted from the contents of the adder 5. Thus, the adder 5 has the address of the initial cycle command written in block 4. The execution of the cycle is repeated. The repetition continues until a signal appears at the second output of the encoder 15, meaning that the вы sign indicating the conditional jump is absent and the command following the conditional jump command must be executed. In this case, the signal with. the output of the AND element 35 is reset trigger 12, and the trigger 10 is set to the state

соответствукицее пустому блоку 4. Другим способом выхода из данного режима  вл етс  по вление команды перехода, которую устройство самосто тельно не выполн ет. Тогда переход происходит обычным путем, т.е. осуществл етс  занесением нового содержимого в счетчики 1 и 2 и сумматор 5 с входов 16 и 17 в сопровождении сигнала 22, который сбрасывает триггер 12.corresponding to the empty block 4. Another way to exit this mode is to create a transition command, which the device does not execute by itself. Then the transition occurs in the usual way, i.e. carried out by recording the new content in the counters 1 and 2 and the adder 5 from the inputs 16 and 17, accompanied by the signal 22, which resets the trigger 12.

Claims (3)

1. Устройство дл  выборки команд, содержащее блок пам ти команд,блок пам ти результата, счетчик младшего адреса, счетчик старшего адреса, триггер записи, триггер чтени ,триггер признака адреса, два элемента И и схему сравнени , первый вход которой соединен с информационным выходом счетчика младшего адреса,а выход схемы сравнени  подключен к информационным входам триггеров записи и чтени , информационные входы счетчика младшего адреса и счетчика старшего адреса соединены соответственно с первым и вторым адресныьш входами устройства, синхровходы счетчиков младшего и старшего адреса подключены к синхровходу устройства, информационный выход счетчика младшего адреса соединен с первыми адресными входами блока пам ти команд и блока пам ти результата, информационный выход счетчика старшего адреса подключен к второму адресному входу блока пам ти команд и первому1. A device for selecting commands containing a command memory, a result memory, a low address counter, a high address counter, a write trigger, a read trigger, an address sign trigger, two AND elements and a comparison circuit whose first input is connected to an information output the low address counter, and the output of the comparison circuit is connected to the information inputs of the write and read triggers, the information inputs of the low address counter and the high address counter are connected respectively to the first and second address inputs of the device, the sync inputs of the low and high address counters are connected to the device's synchronization, the information output of the low address counter is connected to the first address inputs of the command memory and the result memory, the information output of the high address counter is connected to the second address input of the command memory and the first адресному выходу устройства, выход Iaddress output device, output I переноса счетчика младшего адреса соединен со счетным входом счетчика старшего адреса и установочным входом триггера признака адреса, выход и первый вход сброса которого подключены соответственно к выходу признак адреса и синхровходу устройства,первый и второй входы первого элемента И соединены соответственно с входом за проса устройства и выходом триггера чтени , а выход первого элемента 1Й подключен к синхровходу триггера чтени , входу чтени  блока пам ти результата и первому установочному входу триггера записи, первый и второй входы второго элемента И соединены соответственно с тактовым входом устройства и выходом триггера записи, а выход второго элемента И подключен к входу записи блока пам ти результата , входу чтени  блока пам ти команд, синхровходу триггера записи, первому входу сброса триггера чтени  и счетному входу счетчика младшего адреса, второй установочный вход триггера записи и второй вход сброса триггера чтени  соединены с синхровходом устройства , а информационньй вход и выход блока пам ти результата подключены соответственно к выходу блока пам ти команд и информационному вы- ходу устройства, отл.ичающее- с   тем, что, с целью повышени  быстродействи , оно содержит шифратор команды перехода, шифратор команды условного перехода, триггер перехода третий элемент И и накапливающий сумматор , установочный вход, синхровход счетный вход, вход вычитани , информационный вход, информационный выход и выход переноса которого соединены соответственно с первым адресным входом и синхровходом устройства, выходом первого элемента И, первым выходом шифратора команды условного перехода,выходом блока пам ти резуль- тата, вторым входом схемы сравнени  и вторым входом сброса триггера признака адреса, кроме того, информационный выход накапливаиицего сумматора подключен к второму адресному входу.. блока пам ти результата и второму адресному выходу устройства, вход и выход шифратора команды перехода соединены соответственно с выходом блока пам ти команд и установочным входом триггера перехода, первый и второй входы Сброса которого подключены соответственно к синхровходу устройства и второму выходу шифратора команды условного перехода, ко- торый соединен с третьим входом сброса триггера чтени , выход триггераthe transfer of the low address counter is connected to the counting input of the high address counter and the installation input of the address attribute trigger, the output and the first reset input of which are connected respectively to the output address sign and device sync input, the first and second inputs of the first element And are connected respectively to the input for the device and the output the read trigger, and the output of the first element 1Y is connected to the synchronization input of the read trigger, the read input of the result memory, and the first setup input of the write trigger, the first and second the inputs of the second element I are connected respectively to the clock input of the device and the output of the recording trigger, and the output of the second element I is connected to the recording input of the result memory, the reading input of the instruction memory, the synchronization input of the recording trigger, the first reset input of the reading trigger and the count input of the junior the addresses, the second setup input of the write trigger and the second reset input of the read trigger are connected to the synchronous input of the device, and the information input and output of the result memory block are connected respectively to the output of the block memory of commands and information output of the device, which differs from the fact that, in order to improve speed, it contains a transition instruction encoder, a conditional transition instruction encoder, a transition trigger, the third element AND and accumulating adder, a setup input, a synchronous input counting input , the input of the subtraction, the information input, the information output and the transfer output of which are connected respectively to the first address input and the synchronous input of the device, the output of the first AND element, the first output of the encoder of the conditional branch instruction, output the house of the result memory unit, the second input of the comparison circuit and the second reset input of the address indication trigger; in addition, the information output of the accumulating adder is connected to the second address input .. of the result memory and the second address output of the device connected respectively to the output of the command memory and the installation input of the transition trigger, the first and second inputs of the Reset of which are connected respectively to the synchronous input of the device and the second output of the encoder of the conditional command th transition Ko tory connected to the third input of the read reset flip-flop, the flip-flop output перехода подключен к входу сброса . триггера записи и установочному входу триггера чтени , первый и второй входы шифратора команды условного перехода соединены соответственно с выходом блока пам ти результата и входом услови  устройства, а первый и второй входы и выход третьего элемента И подключены соответственно к первому выходу шифратора команды условного перехода, выходу первого элемента И и выходу сопровождени  команды устройства.junction is connected to the reset input. the write trigger and the setup input of the read trigger, the first and second inputs of the encoder of the conditional jump instruction are connected respectively to the output of the result memory and the input of the device condition, and the first and second inputs and output of the third And element are connected respectively to the first output of the jumper encoder, output the first element And the output of the accompanying device commands. 2.Устройство по п. 1, отличающеес  тем, что, шифратор команды перехода содержит дешифратор и элемент ИЛИ, вход и выход которого соединены соответственно с выходом дешифратора и выходом шифратора, а вход дешифратора подключен к входу шифратора.2. The device according to claim 1, characterized in that the transition instruction encoder comprises a decoder and an OR element whose input and output are connected respectively to the output of the decoder and the output of the encoder, and the input of the decoder is connected to the input of the encoder. 3.Устройство по п. 1, отличающеес  тем, что шифратор команды условного перехода содержит дешифратор, два элемента ИЛИ, три элемента И и группу элементов И,первые входы которых соединены с соответствующими выходами дешифратора и входами первого элемента ИЛИ, вход дешифратора подключен к первому входу шифратора, вторые входы и выходы элементов И группы соединены соответственно с вторым входом шифратора и входами второго элемента ИЛИ, выход , первый и второй входы первого элемента И подключены соответственно к первому выходу шифратора, выходу второго элемента ШШ и выходу второго элемента И, входы которого соединены с первым входом шифратора, а первый и второй входы и выход третьего элемента И подключены соответственно к выходам первого и второго элементов ИЛИ и второму выходу шифратора .3. The device according to claim 1, characterized in that the conditional branch instruction encoder comprises a decoder, two OR elements, three AND elements and the AND element group, the first inputs of which are connected to the corresponding decoder outputs and the inputs of the first OR element, the decoder input is connected to the first to the input of the encoder, the second inputs and outputs of the elements AND groups are connected respectively to the second input of the encoder and the inputs of the second element OR, the output, the first and second inputs of the first element AND are connected respectively to the first output of the encoder, output Hilti second row element and the output of the second AND gate having inputs connected to the first input of the encoder, and the first and second input and an output of the third AND gate connected respectively to the outputs of first and second OR and the second output of the encoder. 23фиг.З23fig.Z Составитель Г.Виталиев Редактор Н.Воловик Техред В. КадарCompiled by G.Vitaliyev Editor N. Volovik Tehred V. Kadar 1613/54 Тираж 671Подписное1613/54 Circulation 671 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий t13035, Москва, Ж-35, Раушска  наб., д. 4/5for inventions and discoveries t13035, Moscow, Zh-35, Raushsk nab., 4/5 Филиал ППП Патент, г, Ужгород, ул. Проектна , 4Filial PPP Patent, g, Uzhgorod, st. Project, 4 Корректор Л. ПатайProofreader L. Patay
SU843779794A 1984-08-10 1984-08-10 Instruction access device SU1221652A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843779794A SU1221652A1 (en) 1984-08-10 1984-08-10 Instruction access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843779794A SU1221652A1 (en) 1984-08-10 1984-08-10 Instruction access device

Publications (1)

Publication Number Publication Date
SU1221652A1 true SU1221652A1 (en) 1986-03-30

Family

ID=21134375

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843779794A SU1221652A1 (en) 1984-08-10 1984-08-10 Instruction access device

Country Status (1)

Country Link
SU (1) SU1221652A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Королев Л.Н. Структуры ЭВМ и их математическое обеспечение. М.I Наука 1978, с. 109. Авторское свидетельство СССР 1149257, кл. G 06 F 9/36, 1984. *

Similar Documents

Publication Publication Date Title
US3725868A (en) Small reconfigurable processor for a variety of data processing applications
US4112489A (en) Data processing systems
US4295193A (en) Machine for multiple instruction execution
US5511207A (en) Program control circuit determining the designated number of times a sequence of instructions is repetitively executed to prevent further execution of a jump instruction
GB1324617A (en) Digital processor
GB1274830A (en) Data processing system
US3673573A (en) Computer with program tracing facility
US4462072A (en) Clock system having a stall capability to enable processing of errors
GB1003921A (en) Computer cycling and control system
SU1221652A1 (en) Instruction access device
SU1149257A1 (en) Instruction access driver
SU1251128A1 (en) Device for checking programs
SU989555A1 (en) Information input device
SU1188736A1 (en) Microprogram control device
RU1789982C (en) Device for buffering of instructions
SU1660007A1 (en) Device for jump checking
SU1137472A1 (en) Debugging device
SU802963A1 (en) Microprogramme-control device
SU840903A1 (en) Buffer storage control device
SU1247870A1 (en) Microprogram control device
SU1367013A1 (en) Multiprogram control device
SU1275457A1 (en) Microprogram processor
SU943731A1 (en) Device for code sequence analysis
SU1608675A1 (en) Device for monitoring running of programs in computer
SU482744A1 (en) Firmware control device