SU1238104A1 - Device for translating codes from one language to another - Google Patents
Device for translating codes from one language to another Download PDFInfo
- Publication number
- SU1238104A1 SU1238104A1 SU843814123A SU3814123A SU1238104A1 SU 1238104 A1 SU1238104 A1 SU 1238104A1 SU 843814123 A SU843814123 A SU 843814123A SU 3814123 A SU3814123 A SU 3814123A SU 1238104 A1 SU1238104 A1 SU 1238104A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- address
- register
- memory block
- Prior art date
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Изобретение относитс к вычислительной технике. Целью изобретени вл етс сокращение оборудовани . Устройство содержит блок 1 пам ти, группу 2 блоков пам ти, регистр 3 адреса, регистр 4 вьвдачи, коммутатор 5 адреса, мультиплексор 6, триггер 7, генератор 8 тактовое импульсов, одновибратор 9, элементы 10, 11 задержки , информадионный вход 12, вход 13 пуска устройства, вход 14 условий и выход 15 устрЬй- ства. 1 ил. (Л The invention relates to computing. The aim of the invention is to reduce equipment. The device contains a memory block 1, a group of 2 memory blocks, an address register 3, a register 4, an address switch 5, a multiplexer 6, a trigger 7, a clock generator 8, a one-shot 9, delay elements 11, 11, a data input 12, an input 13 start-up of the device, input 14 conditions and output 15 of the device. 1 il. (L
Description
Изобретение относитс к вычислиельной технике и может быть использовано в системах непосредственной еализации зыков высокого уровн , аппаратурных трансл торах, а также в системах с диалоговым режимом разработки , отладки и выполнени программ , эмул торах и интерпретаторах.The invention relates to computing technology and can be used in systems of direct implementation of high-level languages, instrumental translators, as well as in systems with interactive development, debugging and program execution, emulators and interpreters.
Цель Изобретени - сокращение оборудовани .The purpose of the invention is to reduce equipment.
На чертеже представлена схема предлагаемого устройства.The drawing shows a diagram of the proposed device.
На чертеже прин ты следующие обозначени : блок 1 пам ти, группа 2 блоков пам ти, регистр 3 адреса, регистр 4 выдачи, коммутатор 5 адреса , мультиплексор 6, триггер 7, генератор 8 тактовых импульсов, одно- вибратор 9, эле;менты 10 и 11 задержки , информационный вход 12, вход 13 пуска устройства, вход 14 условий и выход 15 устройства.In the drawing, the following designations are accepted: memory block 1, group 2 memory blocks, address register 3, output register 4, address switch 5, multiplexer 6, trigger 7, generator 8 clock pulses, single vibrator 9, ele; cops 10 and 11 delays, information input 12, device start input 13, condition input 14 and device output 15.
Группа 2 блоков пам ти предназначена дл хранени информации об отдельных слогах выходных слов. Хранение слогов выходных слов в отдельных блоках пам ти позвол ет облегчить процесс адаптации к новым входным алгоритмическим зыкам, поскольку вьпсодной зык (слова выходного зыка ) хран тс в виде объектов - кластеров , прёдставл кмдих собой некоторый абстрактный тип данных.Тем самым в устройстве реализуетс ортогональный двухуровневый, двухканальный) процесс управлени преобразованием. В первом канале происходит управление адресами, во втором - непосредственно формирование выходных слов из от- дельных слогов.Group 2 of memory blocks is designed to store information about individual syllables of output words. Storing the syllables of the output words in separate memory blocks makes it easier to adapt to new input algorithmic languages, since the transcript (words of the output language) are stored as objects — clusters, represented by some kind of abstract data. In this device the orthogonal is realized. a two-level, two-channel) conversion control process. In the first channel, addresses are managed, in the second, output words are formed directly from individual syllables.
. Мультиплексор 6 предназначен дл формировани значени модифицируемого разр да адреса очередного адресно- го слова и реализует следующую логическую функцию:. Multiplexer 6 is designed to form the value of a modifiable address bit of the next address word and implements the following logic function:
y,« Xja+y,z,...x, z, где у,, - выходной сигнал мультиплексора 6;.y, “Xja + y, z, ... x, z, where y ,, is the output signal of the multiplexer 6 ;.
X, - конъюнкци of,, oZj соответствующа коду с выхода блока I пам ти (кода условий преобразовани ) , разрешающему про хожйёнйе; модифицируемого адресного разр да а без изменений;; :X, is the conjunction of ,, oZj corresponding to the code from the output of memory block I (the code of the transformation conditions), allowing resolution; modified address bit and no change ;; :
Х 2 л, ei д .. «Ы X j (Xi-Oij, . . .Ot } ХX 2 l, ei d. «Ы X j (Xi-Oij,.. .Ot} X
S,ot,t ,(it, ,.л - конъюнкции, соответствующие кодам, определ ющим прохожде1238104 . 1S, ot, t, (it,, .l - conjunctions corresponding to the codes defining the transmission 1238104. 1
ние на выход мультиплексора 6 одного из сигналов условий преобразовани output to multiplexer 6 of one of the conversion conditions
ч h
5five
00
5five
00
5five
00
5five
00
5five
. .. z, с входа 14 условий. Коммутатор 5 адреса предназначен дл коммутации или первого адресного слова , соответствующего процессу преобразовани поступивщего входного слова , или очередного адресного слова.. .. z, with input 14 conditions. The address switch 5 is intended for switching either the first address word corresponding to the conversion process of the incoming input word or the next address word.
Работа устройства состоит в следующем .The operation of the device is as follows.
В исходном состо нии злементы пам ти устройства наход тс в нулевом состо нии. Начало работы устройства происходит при поступлении на вход 13 устройства сигнала пуска. Данный сигнал поступает на единичный вход триггера 7 и устанавливает его в единичное состо ние. Сигнал логической единицы с выхода триггера 7 раз- рещает прохождение с входа 12 входного слова дл его преобразовани в некоторое множество слов выходного зыка. Входное слово через .коммутатор 5 поступает на вход регистра 3 адреса и по концу первого тактового импульса заноситс в регистр 3 адреса . Тем самым формируетс адрес первого адресного слова в блоке 1 п.ам - ти. Б соответствии с адресом слова, наход щегос в регистре 3 адреса, по первому тактовому импульсу с блока 1 пам ти считьшаютс адреса слогов первого выходного слова (при реалн- зации режима Один в несколько) . По тактовому импульсу выхода генератора 8 по данным адресам проводитс выборка информации из группы 2 блоков пам ти. И по этому же тактовому импульсу , задержанному на элементе 11 задержки, выбранна информаци в ыход- lioro слова заноситс в регистр 4 вы- дачи и с его выхода поступает на вы-j ход 15 устройства.In the initial state, the memory elements of the device are in the zero state. The device starts working when a start signal arrives at the input 13 of the device. This signal arrives at the single input of the trigger 7 and sets it to the single state. The logic unit signal from the output of trigger 7 permits the passage from input 12 of the input word to convert it to some set of words in the output language. The input word through the switch 5 is fed to the input of the register 3 addresses and at the end of the first clock pulse is entered into the register 3 addresses. Thereby, the address of the first address word is formed in the block 1 item. According to the address of the word, which is in the 3 address register, the addresses of the syllables of the first output word are computed by the first clock pulse from memory block 1 (when the One mode is implemented in several). The clock pulse of the output of the generator 8 at these addresses is used to sample information from group 2 of memory blocks. And by the same clock pulse delayed on the delay element 11, the selected information is output in the output register of the word into the output register 4 and from its output goes to the output 15 of the device 15.
Очередное выходное слово может быть или выходным словом линейной последовательности слов, или его адрес зависит от некоторых условий, определ кнцих процесс преобразовани . Кроме того, возможен режим преобразовани Один к одному,в котором каждому входному слову соответствует одно вьпсодное слово. При реализации этого режима одновременно с вьщачей адресов слогов выходного слова вьща- етс метка - признак окончани преобразовани с выхода блока 1 пам ти. Данна метка - признак поступает на вход одновибратора 9, на выходе коThe next output word can be either the output word of a linear sequence of words, or its address depends on certain conditions defined by the conversion process. In addition, the One-to-One conversion mode is possible in which one input word corresponds to each input word. When this mode is implemented simultaneously with the addresses of the syllables of the output word, a label is displayed - a sign of the end of the conversion from the output of memory block 1. This label - a sign is fed to the input of the one-shot 9, the output to
торого формируетс импульс, обнул ющий триггер 7, тем самым устройство готово к приему очередного входного слова. Если очередное выходное слово вл етс выходным словом линейной последовательности, то с выхода блок I пам ти на вход коммутатора 5 адрес поступает код очередного адресного слова, которое производит выборку и формирование очередного выходного слова аналогично указанному. Если очередное выходное слово вл етс словом, после которого процесс преобразовани идет по одному из возможных путей, определ емому некоторыми услови ми, то с вькода блока 1 пам ти на вход мультиплексора 6 поступает код услови преобразовани (его .посто нна - немодифицируема часть) С выхода блока 1 пам ти поступает также модифицируемый разр д. Код провер емого услови преобразовани на мультиплексоре 6 промодифицирован услови ми, поступающими с входа 14 условий. Если провер емое условие измен ет (промодифицирует) разр д, то на выходе мультиплексора 6 присутствует сигнал логической едини- ць1, который дополн ет адрес очередного адресного слова и тем самым измен ет ветвь преобразовани . Сформированный образом код очередного адреса поступает через коммутатор 5 адреса на регистр 3 адресаJ и устройство продолжает функционирование . С выдачей адресов слогов последнего выходного слова с выхода блока I пам ти вьщаетс метка - признак окончани преобразовани . Данна метка через одиовибратор 9 обнул ет триггер 7 и запрещает тем самым генерацию импульсов. Устройств готово к приему очередного входного слова.Secondly, a pulse is formed, zeroing trigger 7, thus the device is ready to receive the next input word. If the next output word is the output word of a linear sequence, then from the output of memory block I to the input of switch 5 the address receives the code of the next address word, which selects and forms the next output word similarly to the specified one. If the next output word is a word, after which the conversion process follows one of the possible paths determined by certain conditions, then from the code of memory block 1 to the input of multiplexer 6, the conversion condition code (its constant - unmodifiable part) C the output of memory block 1 also receives a modified bit. The code of the transformed condition to be tested on multiplexer 6 is modified by conditions coming from the input of 14 conditions. If the condition being tested changes (modifies) the bit, then the output of multiplexer 6 is a logical unit1 signal, which supplements the address of the next address word and thereby changes the branch of the transformation. The code of the next address generated in the image is sent through the address switch 5 to the address register 3 J and the device continues its operation. With the output of addresses of the syllables of the last output word from the output of memory block I, a label is displayed - a sign of the end of the conversion. This label through the odovibrator 9 zeroes trigger 7 and thereby prohibits the generation of pulses. The device is ready to receive the next input word.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843814123A SU1238104A1 (en) | 1984-11-20 | 1984-11-20 | Device for translating codes from one language to another |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843814123A SU1238104A1 (en) | 1984-11-20 | 1984-11-20 | Device for translating codes from one language to another |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1238104A1 true SU1238104A1 (en) | 1986-06-15 |
Family
ID=21147378
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843814123A SU1238104A1 (en) | 1984-11-20 | 1984-11-20 | Device for translating codes from one language to another |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1238104A1 (en) |
-
1984
- 1984-11-20 SU SU843814123A patent/SU1238104A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1034045, кл. G 06 F 15/38, 1982. Авторское свидетельство СССР 1136183, кл. G 06 F 15/38, 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1238104A1 (en) | Device for translating codes from one language to another | |
SU1283798A1 (en) | Device for translating codes from one language to another | |
US4424730A (en) | Electronic musical instrument | |
SU1429121A1 (en) | Device for generating tests | |
SU1464157A1 (en) | Device for unpacking commands | |
SU1136183A1 (en) | Device for translating codes from one language to another | |
SU1561074A1 (en) | Device for determining ratio of 16/90 sets | |
SU1187173A1 (en) | Device for lexical analysing of symbol texts | |
SU1111176A1 (en) | Device for transforming languages | |
SU1216776A1 (en) | Information input device | |
SU1513440A1 (en) | Tunable logic device | |
SU1520480A1 (en) | Program control device | |
SU1007106A1 (en) | Microprogramme device | |
SU1441391A1 (en) | Device for shaping periodic functions | |
SU860045A1 (en) | Interfacing device | |
KR0168795B1 (en) | Tone generator using digital signal processor | |
SU1141394A1 (en) | Information input device | |
SU641434A1 (en) | Device for programme-interfacing of electronic computers | |
SU1332345A1 (en) | Device for coding and registering the graphic information | |
SU943729A1 (en) | Microprogram device for program analysis | |
SU1228096A1 (en) | Information input device | |
SU1488965A1 (en) | Converter and detector of code combination | |
SU1200272A1 (en) | Information input device | |
SU1478213A1 (en) | Sine and cosine computer | |
SU1589288A1 (en) | Device for executing logic operations |