SU1283797A1 - Device for translating codes from one language to another - Google Patents

Device for translating codes from one language to another Download PDF

Info

Publication number
SU1283797A1
SU1283797A1 SU853910457A SU3910457A SU1283797A1 SU 1283797 A1 SU1283797 A1 SU 1283797A1 SU 853910457 A SU853910457 A SU 853910457A SU 3910457 A SU3910457 A SU 3910457A SU 1283797 A1 SU1283797 A1 SU 1283797A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
register
block
trigger
Prior art date
Application number
SU853910457A
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 SU853910457A priority Critical patent/SU1283797A1/en
Application granted granted Critical
Publication of SU1283797A1 publication Critical patent/SU1283797A1/en

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в системах реализации  зыков высокого уровн , в аппаратурных трансл торах , эмул торах и интерпретаторах . Целью изобретени   вл етс  расширение функциональных возможностей за счет обеспечени  выполнени  операции ограничени  рел ционной алгебры. Устройство содержит блок пам ти, регистр приема, регистр выдачи, регистр адреса, буферный регистр, два блока сумматоров по модулю два, блок элементов ИЛИ, триггер запуска, генератор тактовых импульсов. 1 ил.The invention relates to computing and can be used in systems for implementing high-level languages, instrumental translators, emulators and interpreters. The aim of the invention is to extend the functionality by ensuring that the operation of restricting relational algebra is performed. The device contains a memory block, a receive register, a issue register, an address register, a buffer register, two modulo adders, an OR block, a trigger trigger, a clock generator. 1 il.

Description

(L

сwith

1чЭ1HE

0000

со with

соwith

чh

Изобретение относитс  к вычислительной технике и может быть использовано в системах управлени  рел 1Ш- онными базами данных, в системах непосредственной реализации  зыков высокого уровн , в аппаратурных трансл торах , эмул торах и интерпретаторах .The invention relates to computing technology and can be used in control systems of relativistic databases, in systems of direct implementation of high-level languages, in instrumental translators, emulators and interpreters.

Цель изобретени  - расширение функциональных возможностей за счет .обеспечени  выполнени  операции ограничени  рел ционной алгебры.The purpose of the invention is to expand the functionality by ensuring the execution of the operation of restricting relational algebra.

На чертеже представлена функциональна  схема устройства.The drawing shows the functional diagram of the device.

Устройство содержит блок 1 пам ти, регистр 2 приема, регистр 3 адреса, буферный регистр 4, регистр 5 выдачи, блок 6 сумматоров по модулю два, блок 7 сумматоров по модулю два, блок 8 элементов ИЛИ, триггер 9 запуска, ге нератор 10 тактовых импульсов, информационный вход 11 устройства, вход 12 запуска устройства,-вход 13 условий преобразовани , выход 14 устройству .The device contains a memory block 1, a reception register 2, an address register 3, a buffer register 4, a output register 5, a modulo-2 block 6, a modulo-two block 7, a block of 8 OR elements, a trigger trigger 9, a clock generator 10 pulses, information input 11 of the device, input 12 of the start of the device, input 13 of the conversion conditions, output 14 of the device.

Устройство работает следующим об- разом.The device works as follows.

: В исходном состо нии элементы пам ти устройства наход тс  в нулевом состо нии (за исключением разр да ; регистра выдачи, определ ющего признак окончани  процесса преобразовани входного слова в некоторую совокуп- ность, в том числе нулевую, выходных слов),: In the initial state, the memory elements of the device are in the zero state (with the exception of the bit; the issue register defining the sign of the end of the process of converting the input word to a certain set, including zero, output words),

Входное слово поступает на информационньй вход 11 устройства и заноситс  в регистр 2 приема. При этом входное слово состоит из двух полуслов: одно - непосредственно дл  преобразовани  в выходную последовательность слов, другое - дл  организации операции ограничени  рел ционной ал- гебры. Работа устройства начинаетс  при поступлении на вход 12 импульса, который переводит триггер 9 запуска в единичное Состо ние. Потенциал логической единицы на управл ющем вход генератора 10 разрешает формирование на его выходах тактовых импульсов. По импульсу генератора 10, поступаю- щему на (синхронизирующий вход регистра 3 адреса, входное слово переписываетс  с первого пол  регистру 2 приема через блок 8 элементов ИЛИ в регистр 3 адреса. Тем самым будет сформирован начальный адрес програмThe input word arrives at the information input 11 of the device and is entered into the receive register 2. At the same time, the input word consists of two half words: one - directly for conversion into the output word sequence, the other - for organizing the operation of restricting the relational algebra. The operation of the device begins when a pulse arrives at the input 12, which translates the trigger trigger 9 into a single State. The potential of a logical unit at the control input of the generator 10 permits the generation of clock pulses at its outputs. The generator 10 impulse arrives at (the synchronization input of the address register 3, the input word is rewritten from the first floor to the reception register 2 via the block 8 elements OR to the address register 3. This will form the initial address of the program

fOfO

1515

2020

2525

5 five

40 45 59 - 40 45 59 -

мы преобразовани  входного слова в множество выходных слов.we convert the input word to a set of output words.

Блок 1 пам ти хранит как непосредственно выходные слова, так и адреса очередных выходйых слов после вьщачи предыдущего выходного слова.Memory block 1 stores both the output words and the addresses of the next output words after the previous output word.

При выдаче очередного тактового импульса с выхода генератора 10 первое выходное слово программы преобразовани  заноситс  в буферный регистр 4. Адрес очередного выходного слова задаетс  либо  вно при линейной последовательности слов, либо Косвенно, когда адрес зависит от условий преобразовани . Код провер емого услови , которое определ ет путь дальнейшего преобразовани , задан в первом поле буферного регистра 4. Непосредственно модификаци  адреса происходит на блоке сумматоров по модулю два, когда код провер емого услови  преобразовани  модифицируетс  услови ми преобразовани , поступающими с входа 13 устройства. По очередному тактовому импульсу выход ное слово с буферного регистра 4 через блок 7 заноситс  в регистр 5 выдачи. С регистра 5 выдачи сформированное выходное слово по- ступает на выход 14 устройства.When issuing the next clock pulse from the output of the generator 10, the first output word of the conversion program is entered into the buffer register 4. The address of the next output word is set either explicitly with a linear sequence of words or indirectly, when the address depends on the conversion conditions. The code of the condition being tested, which determines the path for further conversion, is specified in the first field of the buffer register 4. Directly the address is modified on the modulo-two adder block when the code of the transformed condition is modified by the conversion conditions from the device 13. On the next clock pulse, the output word from buffer register 4 through block 7 is entered into output register 5. From the output register 5, the generated output word enters the output 14 of the device.

Если входному слову соответствует строго одно выходное слово, т.е. осуществл етс  режим преобразовани  I один к одному, то одновременно с вьщачей выходного слова выдаетс  метка-признак окончани  процесса преобразовани . Эта метка обнул ет триггер 9 запуска, регистр 3 адреса, бу- ферньш регистр 4 и регистр 5 выдачи, а также заносит в регистр 2 приема очередное входное слово на преобразование (не показано).If the input word matches exactly one output word, i.e. If the one-to-one I conversion mode is performed, then simultaneously with the output word, a label indicates that the conversion process is complete. This label zeroes the trigger trigger 9, the address register 3, the boolean register 4 and the issue register 5, and also enters the next input word for conversion (not shown) in reception register 2.

Если очередное выходное слово  вл етс  выходным словом линейной последовательности , то с выхода буферного регистра 4 через блок 8 элементов ШШ на информационный вход регистра 3 адреса поступает код адреса очередного выходного слова. Далее выборка информации из блока 1 пам ти и функционирование устройства происход т аналогично описанному ранее.If the next output word is the output word of a linear sequence, then from the output of the buffer register 4, through the block 8 of the NPS elements, the address input of the next output word enters the information input of the address register 3. Further, the selection of information from memory block 1 and the operation of the device occur as described above.

Если очередное выходное слово Явл етс  словом, после которого процесс 55 преобразовани  пойдет по одному из возможных путей, определ емому некоторыми услови ми, то с пол  буферного регистра 4 будет считан косвенный адрес последующего выходного слова. СIf the next output word is a word, after which the conversion process 55 follows one of the possible paths determined by certain conditions, then the indirect address of the next output word will be read from the floor of the buffer register 4. WITH

30thirty

312312

другого ПОЛЯ буферного регистра 4 будет считан код провер емого услови . Данный код на блоке 6 промодифициро- ван логическими услови ми, поступающими с входа 13 устройства. В резуль- тате модификации косвенного адреса на входах регистра 3 образуетс  адрес очередного слова, определ ющего дальнейший процесс преобразовани  слов входного  зыка в слова выходного (в том числе машинного)  зыка.another FIELD buffer register 4 will be read the code of the condition being checked. This code on block 6 is modified by logical conditions from the input 13 of the device. As a result of the modification of the indirect address at the inputs of the register 3, the address of the next word is formed, which determines the further process of converting the words of the input language to the words of the output (including machine) language.

Работа устройства при реализации операции ограничени  рел ционной алгебры аналогична работе устройства при реализации обычного списка вход- ных слов. Отличительным  вл етс  то, что при необходимости реализации операции ограничени  с входа 11 устройства во второе поле регистра 2 заноситс  некоторый код. Поэтому считан- ное выходное слово с третьего пол  буферного регистра 4 промодифициро- вано (изменено) кодом с регистра 2 на блоке 7 сумматоров по модулю два. В результате модификации выходное слово поступает на регистр 5 вьщачи и затем на выход 14 устройства.The operation of the device in the implementation of the operation of restriction of relational algebra is similar to the operation of the device in the implementation of the usual list of input words. A distinctive feature is that, if it is necessary to implement the restriction operation, from input 11 of the device, some code is entered into the second field of register 2. Therefore, the read output word from the third floor of the buffer register 4 is modified (modified) by the code from register 2 at block 7 modulo-two adders. As a result of the modification, the output word is fed to register 5, and then to output 14 of the device.

Таким образом, устройство допускает исключение слова из выходной последовательности , например, при условии , что не выполн етс  заданное отношение между заданными буквами этого слова.Thus, the device allows the exclusion of a word from the output sequence, for example, provided that the specified relation between the given letters of the word is not fulfilled.

Claims (1)

Формула изобре.тени Formula invented Устройство дл  преобразовани  кодов с одного  зыка на другой, содержащее блок пам ти, .регистр приема, регистр вьщачи, блок элементов ИЛИ, первый блок сумматоров по модулю два, буферный регистр, регистр адреса, триггер запуска, генератор тактовых импульсов, причем вход запуска устрой ства соединен с единичным входом триггера запуска, единичный выход которого соединен .с управл ющим входом геA device for converting codes from one language to another, containing a memory block, reception register, a register, an OR block, the first block of modulo-two adders, a buffer register, an address register, a trigger trigger, a clock generator, and a trigger input is connected to the single trigger trigger input, the single output of which is connected to the control input 5 О 5 o 0 0 30thirty 3535 4040 4545 974974 нератора тактовых импульсов, первый выход которого соединен с синхронизирующим входом регистра адреса, выход регистра адреса соединен с адресным входим блока пам ти, информационный вход устройства соединен с входом регистра приема, выходы разр дов первого пол  которого соединены с первым входом блока элементов ИЛИ, выход .блока элементов ИЛИ соединен с первым iинформационным входом регистра адреса , вход условий преобразовани  устройства соединен с первым входом первого блока сумматоров по модулю два, выход которого соединен с вторым информационным входом регистра адреса , второй выход генератора тактовых импульсов соединен с синхронизирующим входом буферного регистра, третий выход генератора тактовых импульсов соединен с синхронизирующим входом регистра выдачи, информациоиньй выход которого соединен с выходом устройства , выход признака окончани  процесса iпреобразовани  регистра выдачи соединен с нулевьпу входом триггера запуска , отличающеес  тем, что, с целью расширени  функциональных возможностей за счет обеспечени  выполнени  операции ограничени  рел ционной алгебры, в него введен второй блок сумматоров по модулю два, причем выход блока пам ти соединен с информационным входом буферного регистра , выходы разр дов первого пол  которого соединены с вторым входом первого блока сумматоров по модулю , два, выходы разр дов второго пол  буферного регистра соединены с вто- рьт входом блока элементов ИЛИ, выходы разр дов третьего пол  буферного регистра соединены с первым входом второго блока сумматоров по модулю два, второй вход которого соединен с выxoдa iи разр дов второго пол  ре- гистра приема, выход второго блока сумматоров по модулю два,соединен с информационным входом регистра вьщачи.clock pulse, the first output of which is connected to the synchronization input of the address register, the output of the address register is connected to the address memory block, the information input of the device is connected to the input of the reception register, the output bits of the first floor of which are connected to the first input of the block of elements OR, output. a block of elements OR is connected to the first information input of the address register; the input of the device conversion conditions is connected to the first input of the first modulo-two block, the output of which is connected to the second the information input of the address register, the second output of the clock generator is connected to the synchronization input of the buffer register, the third output of the clock generator is connected to the synchronization input of the output register, the information output of which is connected to the output of the device, the output of the indication of the end of the process of converting the output register is connected to the zero trigger input , characterized in that, in order to extend the functionality by ensuring the implementation of the operation of limiting rel the second block of modulo-two adders, the output of the memory block is connected to the information input of the buffer register, the bits of the first field of which are connected to the second input of the first block of modulators, two, the outputs of the bits of the second floor of the buffer register connected to the second input of the block of OR elements, the outputs of the bits of the third floor of the buffer register are connected to the first input of the second block of adders modulo two, the second input of which is connected to the output i and the bits of the second floor of the register The receiver, the output of the second block of modulo-two adders, is connected to the information input of the register.
SU853910457A 1985-06-17 1985-06-17 Device for translating codes from one language to another SU1283797A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853910457A SU1283797A1 (en) 1985-06-17 1985-06-17 Device for translating codes from one language to another

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853910457A SU1283797A1 (en) 1985-06-17 1985-06-17 Device for translating codes from one language to another

Publications (1)

Publication Number Publication Date
SU1283797A1 true SU1283797A1 (en) 1987-01-15

Family

ID=21182586

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853910457A SU1283797A1 (en) 1985-06-17 1985-06-17 Device for translating codes from one language to another

Country Status (1)

Country Link
SU (1) SU1283797A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Патент US № 4439836, кл. G 06 F 15/38, 1984. Авторское свидетельство СССР № 1124329, кл. G 06 F 15/38, 1983. Авторское свидетельство СССР № 1136183, кл. G 06 F 15/38, 1983. *

Similar Documents

Publication Publication Date Title
SU1283797A1 (en) Device for translating codes from one language to another
Mössenböck Alex—A simple and efficient scanner generator
SU1238104A1 (en) Device for translating codes from one language to another
SU1161950A1 (en) 8-bit microprocessor
SU985791A1 (en) Microprogram processor having checking
SU877515A1 (en) Data input device
SU1399741A1 (en) Syntax analyzer
SU1442990A1 (en) Memory addressing device
SU1218470A1 (en) Device for translating codes
SU1721828A1 (en) Binary code-to-redundant binary code converter
SU860045A1 (en) Interfacing device
SU1520528A1 (en) Memory addressing device
SU1290259A1 (en) Device for time programmed control
SU641434A1 (en) Device for programme-interfacing of electronic computers
SU1672573A1 (en) Encoder
SU1251075A1 (en) Device for unpacking instructions
SU1631729A1 (en) Binary-to-unitary binary code converter
SU1674114A1 (en) Generator of pseudorandom sequence of numbers
SU1270766A1 (en) Device for hardware compiling of programming languages
SU1709394A1 (en) Dynamic memory regeneration address generator
SU1714611A1 (en) Device for information input
SU1176328A1 (en) Microprogram control device
SU1667259A1 (en) Binary-to-binary-coded-decimal converter
RU2007031C1 (en) Code converter
SU1249512A1 (en) Random sequence generator