SU1569804A1 - Program control device - Google Patents
Program control device Download PDFInfo
- Publication number
- SU1569804A1 SU1569804A1 SU884453372A SU4453372A SU1569804A1 SU 1569804 A1 SU1569804 A1 SU 1569804A1 SU 884453372 A SU884453372 A SU 884453372A SU 4453372 A SU4453372 A SU 4453372A SU 1569804 A1 SU1569804 A1 SU 1569804A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- group
- counter
- multiplexer
- Prior art date
Links
Landscapes
- Pulse Circuits (AREA)
Abstract
Изобретение относитс к импульсной технике и может быть использовано в устройствах автоматики и вычислительной техники. Целью изобретени вл етс экономи объема блока пам ти при управлении системами по "жесткой" временной циклограмме, имеющей разные временные циклы. Устройство содержит входной счетчик 1, дешифратор 2, выходной регистр 3, блок 4 пам ти, элемент 5 задержки, счетчик 6 адреса, вход 7 и выход 8, M первых регистров 91...9M сдвига, N вторых регистров 101...10N сдвига, первый 11 и второй 12 мультиплексоры, дополнительный счетчик 13, первый 14 и второй 15 триггеры, третий мультиплексор 16. Данное устройство позвол ет уменьшить объем блока пам ти за счет исключени избыточной информации путем преобразовани "длинных" команд в "короткие". 1 ил.The invention relates to a pulse technique and can be used in automation and computing devices. The aim of the invention is to save the volume of the memory block when managing systems according to a " hard " time cyclogram having different time cycles. The device contains an input counter 1, a decoder 2, an output register 3, a memory block 4, a delay element 5, an address counter 6, input 7 and output 8, M first registers 9 1 ... 9 M shift, N second registers 10 1 . ..10 N shift, first 11 and second 12 multiplexers, additional counter 13, first 14 and second 15 triggers, third multiplexer 16. This device allows to reduce the size of the memory block by eliminating redundant information by converting the "long" commands into " short. " 1 il.
Description
8eight
C/JC / J
Л1Г.1L1G.1
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в качестве устройства .управлени системами в реальном масштабе времени.The invention relates to automation and computing and can be used as a device for real-time system control.
Целью изобретени вл етс экономи объема пам ти устройства за счет уменьшени части объема избыточной информации путем выравнивани разр дности кода временного интервала и кода операции по совокупности из наибо-ь лее повтор ющихс команд, при этом длинные команды разбиваютс на несколько обычных.The aim of the invention is to save the device memory by reducing part of the amount of redundant information by equalizing the bit of the time interval code and the operation code in the aggregate of the most repeated commands, while the long commands are broken up into several normal ones.
На чертеже приведена структурна схема предлагаемого устройства.The drawing shows a block diagram of the proposed device.
Устройство дл программного управлени содержит входной счетчик 1, дешифратор 2, выходной регистр 3, блок 4 пам ти, элемент 5 задержки (каскадное соединение одновибраторов), счетчик 6 адреса, выход которого подключен к адресному входу блока 4 пам ти , первый вход входного счетчика 1 вл етс входом 7 устройства, выход элемента 5 задержки соединен с входом счетчика 6 адреса, выход выходного ре гистра соединен с дешифратором 2, выход которого вл етс выходом 8.устройства , которое содержит первую 9 - 9у и вторую 10д - 10П группы регистров сдвига, первый II и второй 12 мультиплексоры, дополнительный счетчик 13 импульсов, первый 14 и второй 15 триггеры и третий мультиплексор 16. Устройство работает следующим образом .The device for software control contains an input counter 1, a decoder 2, an output register 3, a memory block 4, a delay element 5 (a cascade of one-vibrators), an address counter 6, the output of which is connected to the address input of the memory block 4, the first input of the input counter 1 is the device input 7, the output of the delay element 5 is connected to the input of the address counter 6, the output of the output register is connected to the decoder 2, the output of which is the output of the device 8. which contains the first 9-9y and the second 10d-10P groups of shift registers, the first II and second multiplexers 12, an additional pulse counter 13, the first 14 and second 15 flip-flops and a third multiplexer 16. The apparatus operates as follows.
Обычна команда - команда заданной длины, разр дность которой позвол ет производить выдачу наиболее часто встречающихс команд,состо щим из кодов операции и интервалов времени между командами.A normal command is a command of a given length, the width of which allows the issuance of the most frequently encountered commands, consisting of operation codes and time intervals between commands.
Кажда чейка пам ти блока 4 пам ти содержит код операции и код временного интервала, через который должна быть выполнена следующа команда, а также признак следовани длинных команд, который указывает ее первый и последний адрес. С целью наиболее эффективного использовани блока пам ти длинные команды разбиты на несколь ко обычных команд.Each memory location of memory 4 contains an operation code and a time interval code at which the next command should be executed, as well as a sign of following long commands that indicates its first and last address. In order to use the memory block most efficiently, the long commands are divided into several normal commands.
В исходном состо нии счетчик 6 ад реса установлен в нулевое состо ние, триггер 14 находитс в исходном состо нии , сигнал с его выхода устанав- ливает мультиплексор 11 в положение,In the initial state, the 6-address counter is set to the zero state, the trigger 14 is in the initial state, the signal from its output sets the multiplexer 11 to the position
00
5five
00
5five
00
5five
когда вход 7 подключен к счетному входу счетчика 13, причем состо ние счетчика 1 может быть произвольным, так как выход переноса счетчика 1 заблокирован мультиплексором I1. Во все разр ды входного 1 и дополнительногоwhen the input 7 is connected to the counting input of the counter 13, and the state of the counter 1 can be arbitrary, since the transfer output of the counter 1 is blocked by multiplexer I1. In all bits of input 1 and additional
13счетчиков записаны единицы, первый13 counters recorded units, first
14и второй 15 триггеры установлены14 and second 15 triggers installed
в нулевое состо ние, при этом нулевое состо ние счетчика 6 адреса соответствует адресу первой чейки блока 4 пам ти, а вход 7 устройства через рой мультиплексор 11 подключен к входу дополнительного счетчика 13.to the zero state, while the zero state of the counter 6 of the address corresponds to the address of the first cell of the memory block 4, and the input 7 of the device through a swarm multiplexer 11 is connected to the input of the additional counter 13.
Поступивший на вход 7 устройства сигнал входной частоты вызывает по вление сигнала переполнени дополнительного счетчика 13, который через вход мультиплексора 16, поступив на управл ющий вход блока 4 пам ти , производит считывание содержимого первой чейки пам ти в m первых,регистрах 9,, - 9m сдвига и в п разр дов выходного регистра 3 по сигналу с управл ющего выхода блока 4 пам ти. С выхода дополнительного счетчика 13 сигнал также поступает на вход триггера 14, который остаетс в исходном состо нии в случае прохождени обычной команды. Записанный в m первых регистрах 9 « - Ч и, сдвига код временного интервала , через который необходимо выполнить следующую команду, поступает по входам в дополнительный счетчик 13. Задержанный элементом 5 задержки сигнал увеличивает содержимое счетчика 6 адреса на единицу. Код операции с п разр дов выходного регистра 3 поступает на вход дешифратора 2 и на выходе У устройства по вл етс сигнал управлени . Сигналами входной частоты через мультиплексор 11 отсчитываетс временной интервал между командами, при этом сигнал переполнени дополнительного счетчика 13 вызывает считывание содержимого второй чейки пам ти блока 4 пам ти и т.д. В дальнейшем работа устройства повтор етс при поступлении обычных команд.The input frequency signal received at input 7 of the device causes the overflow signal of the additional counter 13, which through the input of multiplexer 16, arriving at the control input of memory 4, reads the contents of the first memory cell in m first, registers 9, - 9m the shift and in n bits of the output register 3 according to the signal from the control output of the memory block 4. From the output of the additional counter 13, the signal also enters the input of the trigger 14, which remains in the initial state in the case of passing the usual command. The code of the time interval recorded in the m first registers 9 ″ - и and the shift, through which the next command must be executed, arrives at the inputs to the additional counter 13. The signal delayed by the delay element 5 increases the content of the counter 6 of the address by one. The operation code from the n bits of the output register 3 is fed to the input of the decoder 2 and the control signal appears at the output of the device. The input frequency signals through multiplexer 11 count the time interval between the commands, and the overflow signal of the additional counter 13 causes the contents of the second memory cell of the memory 4 to be read, etc. Further, the operation of the device is repeated when ordinary commands are received.
II
Считывание длинных команд с блока 4 пам ти осуществл етс последовательно в виде 1 составл ющих частей команды , которые отличаютс от обычных команд признаком опознавани .The reading of long instructions from memory block 4 is carried out sequentially in the form of 1 constituent parts of a command, which differ from ordinary commands by a sign of identification.
Устройство при исполнении длинной команды, состо щей из нескольких обычных команд,работает следующим образом .The device, when executing a long command consisting of several ordinary commands, operates as follows.
Пусть по очередному сигналу переполнени счетчика 13, который поступает через мультиплексор 16 на управл ющий вход блока 4, пам ти, происходит считывание содержимого чейки пам ти , имеющей опознавание длинной команды. При этом по сигналу с управл ющего выхода блока 4 пам ти с приходом входной частоты (по входу 7) срабатывает триггер 15, выходной сигнал которого переводит мультиплексор 16 в состо ние, отключающее выход счетчика 13 и подключающее входную частоту к элементу 5 задержки и управл ющему входу блока 4 пам ти. По срабатыванию триггера 14 посредством мультиплексора 12 выход переноса входного счетчика 1 подключаетс к входу дополнительного счетчика 13. Одновременно сигналом с второго выхода мультиплексора 12 происходит считывание информации с вторых п выходов блока 4 пам ти в п регистров 10 - lOn сдвига, запись которых на выходной регистр 3 запрещена сигналом с выхода мультиплексора 12. При этом код временного интервала адреса длинной команды записываетс в п первых регистров 9Д - 9т сдвига по сигналу с второго выхода элемента 5 задержки, а код операции - в п второй группы регистров 10 4 - 10П. Далее с приходом импульсов входной частоты через мультиплексор 16 с задержкой происходит увеличение содержимого счетчика 6 адреса на единицу и последовательное считывание инЛормации с блока 4 пам ти с соответствующим сдвигом ранее записанной инЛормации в п первой труп пы регистров 9 - Ч сднига и п второй группы регистров 10ц - 1 Оп сдвига соответственно до прихода сигнала с признаком последнего адреса длинной команды. С приводом 1-го (последнего) адреса с управл ющего выхода блока 4 пам ти поступает сигнал на триггер 14, и триггер 15 по импульсу входной частоты в эвращаетс в исходное состо ние , подключа выход дополнительного счетчика 13 через мультиплексор 16 к управл ющему входу блока 4 пам ти и к входу элемента 5 задержки.Let the next overflow signal of the counter 13, which is fed through the multiplexer 16 to the control input of the block 4, the memory, reads the contents of the memory cell that has the recognition of a long command. At the same time, the signal from the control output of the memory 4 with the arrival of the input frequency (input 7) triggers the trigger 15, the output of which brings the multiplexer 16 to the state that turns off the output of the counter 13 and connects the input frequency to the delay element 5 and controls input block 4 memory. Upon triggering trigger 14 through multiplexer 12, the transfer output of input counter 1 is connected to the input of additional counter 13. Simultaneously, the signal from the second output of multiplexer 12 reads information from the second n outputs of memory block 4 in n shift registers 10 - lOn, which are written to the output register 3 is prohibited by the signal from the output of the multiplexer 12. In this case, the code of the time interval of the address of the long command is recorded in the n first 9D – 9t shift registers according to the signal from the second output of delay element 5, and the operation code is in the second group of registers 10 4 - 10P. Further, with the arrival of input frequency pulses through multiplexer 16 with a delay, the content of address 6 is incremented by one and sequential reading of inLormation from memory block 4 with a corresponding shift of previously recorded inLormation in n of the first corporal of registers 9 – Hdnig and n of the second group of registers 10ts - 1 Op shift, respectively, before the arrival of a signal with a sign of the last address of a long command. With the drive of the 1st (last) address, the control output of the memory block 4 receives the trigger 14, and the trigger 15 pushes the input frequency back to its original state, connecting the output of the additional counter 13 via the multiplexer 16 to the control input of the block 4 memories and to the input of the delay element 5.
При этом по сигналу с выхода элеента 5 задержки через мультиплексор 12 производитс запись кода временного нтервала первой и второй группы выодов m первых регистров 9 - 9т двига в дополнительный 13 и входнойAt the same time, the signal from the output of the delay element 5 through the multiplexer 12 records the time code of the first and second groups of outputs m of the first registers 9–9 tons of the motor to an additional 13 and input
698046698046
I счетчики, а код операций с выходов п вторых регистров 10 - 10„ сдвига в выходной регистр 3 и через дешиф- , ратор 2 на выход 8 устройства.I counters, and the code of operations from the outputs n of the second registers 10 - 10 „shift to the output register 3 and through the decoder, rator 2 to the output 8 of the device.
Сигналами входной частоты отсчитываетс временной интервал, сигнал 4 переполнени с дополнительного счетчика 13 вызывает считывание содержи-The time interval is counted by the input frequency signals, the overflow signal 4 from the additional counter 13 causes the reading of the contents
Ю мого очередной чейки блока А пам ти и далее работа устройства повтор етс .The next regular cell of memory block A and further the operation of the device is repeated.
Начальна запись в блок 4 пам ти может быть осуществлена путем ни дополнительного адресного входа и входа импульсов записи (цепи - - чальной записи не показаны).The initial recording in the memory block 4 can be carried out by either the additional address input and the input of recording pulses (the - - initial recording circuit is not shown).
В предлагаемом устройстве объем пам ти уменьшен за счет исключени In the proposed device, the memory capacity is reduced due to the exclusion
20 пол пам ти, содержащего адрес следу ющей команды, что соответственно уменьшает аппаратурные затраты. Крск того, устройство дл программного уп равлени по сравнению с известным20 fields of memory containing the address of the next command, which consequently reduces hardware costs. In addition, the device for software control compared to the known
25 позвол ет уменьшить объем блока пам ти за счет исключени избыточной информации путем преобразовани длинны команд в короткие.25 makes it possible to reduce the size of the memory block by eliminating redundant information by converting command lengths into short ones.
30thirty
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884453372A SU1569804A1 (en) | 1988-06-30 | 1988-06-30 | Program control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884453372A SU1569804A1 (en) | 1988-06-30 | 1988-06-30 | Program control device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1569804A1 true SU1569804A1 (en) | 1990-06-07 |
Family
ID=21386760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884453372A SU1569804A1 (en) | 1988-06-30 | 1988-06-30 | Program control device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1569804A1 (en) |
-
1988
- 1988-06-30 SU SU884453372A patent/SU1569804A1/en active
Non-Patent Citations (1)
Title |
---|
Коган Б. М. Электронные вычислительные машины и системы. - П.: Энер- гоатомиздат, 1985, с. 169, рис. 7.6. Авторское свидетельство СССР № 1252759, кл. G 05 В 19/18, 1985. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1569804A1 (en) | Program control device | |
SU1606972A1 (en) | Device for sorting data | |
SU1439533A2 (en) | Program control device | |
SU1274002A1 (en) | Associative storage | |
SU1283780A1 (en) | Interface for linking microcomputer with peripheral unit | |
SU1089608A1 (en) | Device for receiving serial code | |
SU1148116A1 (en) | Polyinput counting device | |
SU1164890A1 (en) | Device for converting codes | |
SU1481846A1 (en) | Digital information magnetic recording device | |
SU1290423A1 (en) | Buffer storage | |
SU1173414A1 (en) | Program control device | |
SU1019637A1 (en) | Counting device | |
SU1689960A2 (en) | Device for interfacing information source with processor | |
SU1368880A1 (en) | Control device | |
SU1742823A1 (en) | Device for interfacing processor with memory | |
RU1807562C (en) | Decoder of time-pulse codes | |
SU1363228A1 (en) | Information-exchange device | |
SU1179349A1 (en) | Device for checking microprograms | |
SU1278862A1 (en) | Device for controlling information input | |
SU1278869A1 (en) | Interface for linking electronic computer with peripheral equipment | |
SU520703A1 (en) | Device for converting parallel code to serial | |
SU1410033A1 (en) | Logical analyzer | |
SU679980A1 (en) | Microprogram control unit | |
SU576588A1 (en) | Magnetic digital recording apparatus | |
SU1198461A1 (en) | Programmed control device |