SU1453416A1 - Device for converting codes from language to language - Google Patents

Device for converting codes from language to language Download PDF

Info

Publication number
SU1453416A1
SU1453416A1 SU874278716A SU4278716A SU1453416A1 SU 1453416 A1 SU1453416 A1 SU 1453416A1 SU 874278716 A SU874278716 A SU 874278716A SU 4278716 A SU4278716 A SU 4278716A SU 1453416 A1 SU1453416 A1 SU 1453416A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
address
input
language
information
Prior art date
Application number
SU874278716A
Other languages
Russian (ru)
Inventor
Владимир Петрович Беликов
Владимир Иванович Мартюгин
Юрий Петрович Обухов
Геннадий Вячеславович Дворецкий
Original Assignee
Предприятие П/Я В-2969
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 Предприятие П/Я В-2969 filed Critical Предприятие П/Я В-2969
Priority to SU874278716A priority Critical patent/SU1453416A1/en
Application granted granted Critical
Publication of SU1453416A1 publication Critical patent/SU1453416A1/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано при создании быстродействующих операционных систем обработки информации в системах с диалоговым режимом работы, отладки и выполнени  программ в аппаратных преобразовател х (эмул торах, интерпретаторах ji ТоП.) при непосредственной реализации  зыThe invention relates to computing and can be used to create high-speed operating systems for information processing in systems with interactive mode of operation, debugging and execution of programs in hardware converters (emulators, interpreters ji ToP) with the direct implementation of

Description

1one

Изобретение относитс  к вычислительной технике и может быть использовано при создании быстродействующих оператщонных систем обработки информации в системах с диалоговом режимом работы, отладки и выполне- -ни  программ в аппаратных преобразовател х (эмул торах, интерпретаторах и т.п.) при непосредственной реализации  зыков высокого уровн , а также в устройствах с адаптивной распределенной обработкой информации повьпиенной достоверности.The invention relates to computing and can be used to create high-speed operative information processing systems in systems with dialog operation, debugging, and executing programs in hardware converters (emulators, interpreters, etc.) with the direct implementation of high-level languages. level, as well as in devices with adaptive distributed information processing of povipennoy reliability.

Цель изобретени  - увеличение бы родействи  и расширение функциональных возможностей за счет введени  адаптивной распределенной обработки информации.The purpose of the invention is to increase the relationship and enhance the functionality by introducing adaptive distributed information processing.

На фиг. 1 и 2 приведены функцио- нальные схемы устройства и блока модификации адреса соответственно;; на фиг. 3 - временные диаграммы работы устройства; на фиг. 4 - пример преобразовани  слова-входного  зыка высокого уровн  в последовательность слов выходного  зыка объектных кодов; на фиг. 5-7 - структурные схемы алгоритма преобразовани  (коды выходных слов показаны в шестнадцатиричной форме),FIG. Figures 1 and 2 show the functional diagrams of the device and the address modification block, respectively ;; in fig. 3 - time diagrams of the device; in fig. 4 shows an example of converting a high-level input language into an output language sequence of object codes; in fig. 5-7 - block diagrams of the conversion algorithm (codes of the output words are shown in hexadecimal form),

Устройство содержит (фиг. 1) блок 1 пам ти, блоки пам ти, регистр 3 адреса, блок 4 синхронизации , мультиплексор 5 адреса, блок 6 модификации адреса, триггер 7, генератор 8 тактовых импульсов, элементы 9, 10, 11,- 11„ задержки, ин- форма)дионный вход 12, регистры 13,-13,, адреса, вход 14 условий преобразовани  входного  зыка, выходы 15i-15, регистры 16,-16 вьщачи, вход 17 пуска, вход 18 сброса, мультиплексоры адреса, узлы 20,-20 преобразовани  кодов промежуточного  зыка в выходной, блоки модификации адреса, входы 22,-22 условий преобразовани  промежуточного  зыка.The device contains (Fig. 1) memory block 1, memory blocks, address register 3, synchronization block 4, address multiplexer 5, address modification block 6, trigger 7, clock generator 8, elements 9, 10, 11, - 11 Delays, information), dionic input 12, registers 13, -13 ,, addresses, input 14 of the input language conversion conditions, outputs 15i-15, registers 16, -16 steps, start input 17, reset input 18, address multiplexers, nodes 20, -20 translate intermediate language codes to output, address modification blocks, inputs 22, -22 intermediate language conversion conditions.

Блоки 6 и содержат (фиг.2) регистр 23 и поразр дный сумматор 24 по модулю два.Blocks 6 and contain (FIG. 2) a register 23 and a bitwise adder 24 modulo two.

Регистр 3 адреса предназначен дл  временной записи адреса очередного слова промежуточного  зыка и информации о состо нии узлов 20 преобра- зовани  кодов с промежуточного  зыка в выходной„The address register 3 is intended for the temporary recording of the address of the next intermediate language word and information about the status of the nodes 20 of the conversion of codes from the intermediate language into the output language.

Регистр 3 адреса разбит на зоны (фиг о 1): R, - зона адреса очередного слова промежуточного  зыка; R2.1 - R 2.П - части зоны информащш о состо нии соответственно узлов 20 преобразовани  кодов с промежуточного  зыка в выходной. Выход регистра 3 адреса формирует адрес, дешифрируемый в блоке 1 пам ти.The address register 3 is divided into zones (FIG. 1): R, is the address zone of the next word of the intermediate language; R2.1 - R 2.P - parts of the zone of information about the status of nodes 20 of the conversion of codes from intermediate language into output, respectively. The output of the address register 3 generates the address decoded in the memory block 1.

Блок 1 пам ти предназначен дл  хранени  выходных слов промежуточного  зыка и информации об адресе очередного слова промежуточного  зыка, а также дл  хранени  информации по координации работы узлов преобразовани  кодов с промежуточного  зыка в выходной.The memory unit 1 is intended for storing intermediate language output words and information about the address of the next intermediate language word, as well as for storing information on the coordination of the operation of code points from the intermediate language into the output language.

Блок 1 пам ти разбит на р д полей пам ти, каждому из которых соответствуют свои выходы (фиг. 1): П1 -, поле управлен1   мультиплексором 5 адреса; П2о1 -П2.п - пол  координа-. ции работы соответственно узлов преобразовани  кодов с промежуточного  зыка в выходной; ПЗ - поле слов промежуточного  зыка; П4 - поле адресов проверки условий преобразовани  промежуточного  зыка; П5 - поле немодифидируемых адресов очередного слова промежуточного  зыка.Memory block 1 is divided into a number of memory fields, each of which has its own outputs (Fig. 1): P1 -, the control1 field of the multiplexer 5 addresses; P2O1-P2.p - floor coordinator. of the operation of the intermediate language code into the output language, respectively; ПЗ - intermediate word field; P4 - Address field for checking intermediate language translation conditions; A5 is a field of unmodified addresses of the next word of the intermediate language.

Мультиплексор 5 адреса предназнасосто нии узла 20 преобразовани  кодов с промежуточного  зыка в выходной .The multiplexer 5 is the pre-address address of the code 20 node from the intermediate language to the output language.

Блок 2 пам ти разбит на р д полей пам ти, каждому из которых соответствуют свои группы выходов блока 2 пам ти (фиг. 1): П1 - поле управлени  коммутатором адреса узла 10 преобразовани  кодов с промежуточного  зыка в выходной; П2 - поле информации о состо нии узла преобразовани  кодов с промежуточного  зыка в выходной: ПЗ - поле слов выходно- 15 го  зыка; Ц4 - поле адресов проверки условий преобразовани  выходного  зы ка; П5 - поле немодифицируемых адресов очередного слова выходного  зыка Мультиплексор 19 адреса предназна- 20 чен дл  формировани  зоны R1 регистра 13 адреса в зависимости от информации , записанной в поле П1 блока 2 пам ти.Memory block 2 is divided into a number of memory fields, each of which has its own output groups of memory block 2 (Fig. 1): P1 - switch address control field of node 10 address converting codes from intermediate language to output; P2 is a field of information about the status of the code conversion node from the intermediate language into the output language: PZ is the word field of the output 15th language; Q4 is the address field for checking the conditions of the output language conversion; A5 - field of unmodifiable addresses of the next word of the output language. The address multiplexer 19 is designed to form the R1 zone of the address register 13 depending on the information recorded in the P1 field of the memory block 2.

Если соответствующий полю П1 перчен дл  формировани  зоны R1 регистра 3 адреса в. зависимости от информа- 25 вый информационный выход блока 2 ции, записанной в поле П1 блока 1 пам ти имеет значение Лог.1, муль- пам тио If the corresponding field P1 is peppered to form the R1 zone of register 3 of the address c. Depending on the informational information output of the 2 nd block recorded in the P1 field of the memory 1 block, the value is Log.1, thio multi

Если соответствующий полю- П1 первый информационный выход блока 1 патиплексор 19 адреса переключаетс  на прием очередного слова промежуточного  зыка с выхода блока 1 пам ти.If the corresponding field P1 is the first information output of the block 1, the address piplexer 19 switches to the reception of the next intermediate language word from the output of the block 1 of the memory.

м ти имеет значение Лог..Г , .то муль- зо а если данньй выход имеет- значениеm t has a value Log ... G, .to a multitude, but if the given output has a value

Лог.О, мультиплексор .19 адреса переключаетс  на прием следующего адреса очередного слова выходного  зыка, поступак цего с выхода блока 21 модификации адреса и п того выхода блока 2 пам ти, соответствующего полю ПЗ блока 2,Log.O, the address multiplexer .19 switches to receiving the next address of the next word of the output language, received from the output of the address modification block 21 and the fifth output of the memory block 2 corresponding to the PZ field of the block 2,

типлексор 5 переключаетс  на прием. очередного входного слова с входа 12 устройства, а если данный выход имеет значение Лог.О, то коммутатор адреса переключаетс  на прием следующего адреса очередного слова промежуточного  зыка, поступающего с выхода блока 6 модификации адреса   п того выхода блока 1 пам ти, соответствующего полю П5 блока 1 пам ти.Tiplexer 5 switches to receive. next input word from input 12 of the device, and if this output is Log.O, the address switch switches to receiving the next address of the next intermediate language word from the output of block 6 of the modification of the address of the fifth output of memory 1 corresponding to the field A5 of the block 1 memory.

Регистр 13 адреса предназначен дп  временной записи адреса очеред- ного слова выходного  зыка (ипи начального адреса выходной последовательности ) и информации по .координации работы узла преобразовани  кодов с промежуточного  зыка в выходной.The address register 13 is intended for dp of temporarily recording the address of the next word of the output language (ipi the starting address of the output sequence) and information on coordinating the operation of the code conversion unit from the intermediate language to the output one.

Регистр 13 адреса разбит на зоны (фиг. 1): R1 - зона адреса очередно- го слова выходного  зыка; R2 - зона информации по координа14ии работы узла преобразовани  кодов с .промежуточного  зыка в выходной.Address register 13 is divided into zones (Fig. 1): R1 is the address zone of the next word of the output language; R2 is the information area for coordinating the operation of the code conversion unit from the intermediate language to the output.

Выход регистра 13 формирует адрес , дешифрируемьй в блоке 2 пам ти.The output of the register 13 forms the address decrypted in memory block 2.

Блок 2 пам ти предназначен -дл  хранени  слов выходного  зыка и информации об адресе очередного слова, а также дл  хранени  информации оThe memory unit 2 is intended to store the output language words and information about the address of the next word, as well as to store information about

состо нии узла 20 преобразовани  кодов с промежуточного  зыка в выходной .the state of the node 20 for converting codes from the intermediate language into the output language.

Блок 2 пам ти разбит на р д полей пам ти, каждому из которых соответствуют свои группы выходов блока 2 пам ти (фиг. 1): П1 - поле управлени  коммутатором адреса узла преобразовани  кодов с промежуточного  зыка в выходной; П2 - поле информации о состо нии узла преобразовани  кодов с промежуточного  зыка в выходной: ПЗ - поле слов выходно- го  зыка; Ц4 - поле адресов проверки условий преобразовани  выходного  зыка; П5 - поле немодифицируемых адресов очередного слова выходного  зыка. Мультиплексор 19 адреса предназна- чен дл  формировани  зоны R1 регистра 13 адреса в зависимости от информации , записанной в поле П1 блока 2 пам ти.Memory block 2 is divided into a number of memory fields, each of which has its own output groups of memory block 2 (Fig. 1): P1 - switch control field of the address of the code conversion node from the intermediate language to the output; P2 is a field of information on the status of the code conversion node from the intermediate language into the output language: PZ is the word field of the output language; Q4 is the address field for checking the conditions of the output language conversion; P5 - field of unmodified addresses of the next word of the output language. The address multiplexer 19 is designed to form the R1 zone of the address register 13, depending on the information recorded in the P1 field of the memory block 2.

Если соответствующий полю П1 первый информационный выход блока 2 пам ти имеет значение Лог.1, муль- If the first information output of memory block 2 corresponding to the P1 field is set to Log.1, the multi-

вый информационный выход блока 2 пам ти имеет значение Лог.1, муль- the second information output of memory block 2 is set to Log.1, the multi-

типлексор 19 адреса переключаетс  на прием очередного слова промежуточного  зыка с выхода блока 1 пам ти.The address type 19 switches to the reception of the next intermediate language word from the output of memory block 1.

а если данньй выход имеет- значениеand if the given exit has a meaning

Лог.О, мультиплексор .19 адреса переключаетс  на прием следующего адреса очередного слова выходного  зыка, поступак цего с выхода блока 21 модификации адреса и п того выхода блока 2 пам ти, соответствующего полю ПЗ блока 2,Log.O, the address multiplexer .19 switches to receiving the next address of the next word of the output language, received from the output of the address modification block 21 and the fifth output of the memory block 2 corresponding to the PZ field of the block 2,

Блок 6 модификации адреса пред- . назначен дл  формировани  дополненного адреса очередного адресного слова, а также дл  направлени  процесса преобразовани  по одному из возможных путей, определ емому соответствующими внешними услови ми.Block 6 address modification pred. assigned to form an added address of the next address word, as well as to direct the conversion process along one of the possible paths determined by the relevant external conditions.

Блоки 21 модификации адреса имеют аналогичное назначение и отличаютс , например, разр дностью.Address modification blocks 21 have a similar purpose and are different, for example, in size.

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

В начальный момент времени злемен- ты пам ти устройства могут находитьс  в произвольном состо нии. Генератор 8 тактювых импульсов при ном Д1итании всегда находитс  в рабо- те и вьщает последовательности тактовых импульсов согласно временной диаграмме (фиг. 3).At the initial moment of time, the memory elements of the device may be in an arbitrary state. The generator 8 tactical pulses at the nominal power is always in operation and gives a sequence of clock pulses according to the timing diagram (Fig. 3).

В исходное состо ние устройство приводитс  при поступлении на входThe device is reset to its initial state upon arrival at the input.

18 сигнала Сброс, который переводит триггер 7 в нулевое состо ние. Сигнал с инверсного выхода триггера 7 поступает на входы сброса регистра 3 адреса и регистров 13 адреса и производит их обнуление. Таким образом на адресный вход блока 1 пам ти , а также на адресные входы всех блоков 2 пам ти узлоч 20 преобразовани  кодов промежуточного  зыка поступает с соответствующих регистров нулевой адрес по синхросигналу , поступающему на вход синхронизации блока 1 пам ти с выхода элемента 10 задержки, производитс  д,- Щифращ1  нулевого адреса в блоке 1 пам ти, а по синхросигналам, поступающим на входы блоков 2 пам ти узлов18 signal Reset, which sets trigger 7 to the zero state. The signal from the inverted output of the trigger 7 is fed to the reset inputs of the address 3 register and the address registers 13 and produces them reset. Thus, the address input of memory block 1, as well as the address inputs of all memory blocks 2 of the intermediate language code conversion node 20, receives from the respective registers the zero address of the sync signal input to the synchronization input of memory 1 of the delay element 10, is performed d, - Shifrash1 zero address in memory block 1, and on the sync signals received at the inputs of blocks 2 memory nodes

14534161453416

10ten

По соответствующег г, синхроимп су с выхода генератора 8 тактовы импульсов в регистр 3 адреса зап 5 ваетс  с выхода мультиплексора 5 реса начальньй адрес преобразова входного  зыка в промежуточный, по соответствующем синхроимпульс с группы выходов генератора 8 в гистры 13 адреса узлов образовани  кодов с промежуточно  зыка в выходной записываютс  с .ходов мультиплексоров 19 адреса ответстную1 ще начальные адреса п 15 образовани  кодов с промежуточно  зыка в выходной. По начальным а сам преобразовани  в поле П1 бло пам ти и пол х П1 блоков 2 пам т записана единична  информаци , кFor the corresponding r, clock sync impulse from the generator output 8 clock pulses to the address register 3 is written 5 from the output of the multiplexer 5 res the initial address converts the input language to an intermediate one, according to the corresponding clock pulse from the group of outputs of the generator 8 to the hirs 13 the output is recorded from the inputs of the multiplexers 19, the address responsible for the initial addresses n 15 of the formation of codes from the intermediate language into the output. On the initial and the conversion itself, in the field P1 of the memory block and the fields x P1 of the blocks 2 of the memory, single information is recorded,

ТЧЯС TTfii-ij ч.-..л.. ТЧЯС TTfii-ij h .- .. l ..

wjxuo и. пам ти узлов  wjxuo and. memory nodes

/си преобразовани  промежутЪчного  зы- рп «-j- -., к/ s convert intermediate zyrn "-j- -, to

ка с группы выходов генератора 8 так- Г Т °° твующие вькоды товьк импульсов, производитс  де ифра- ,. поступает на ци  нулевого адреса в блоках 2 пам ти всех узлов 20 преобразовани  промежуточного  зыка.From the group of outputs of the generator 8, the same impulses are produced, and if it is produced,. enters the zero address qi in blocks 2 of the memory of all nodes 20 of the intermediate language conversion.

По нулевому адресу в пол х П4, П5 блока 1 пам ти и пол х ПА, П5 всех блоков 2 пам ти записаны некоторые начальные адреса преобразовани , которые поступают на соответствующие регистры 3 и 13 адреса, но не записываютс  в них по приходу синхросигналов , поскольку данные регистры обнулены . Во всех остальных пол х всех блоков пам ти по нулевому адресу записана нулева  информаци . Таким об- Разом, на адресные входы блоков 1 и пам ти по-прежнему поступает нулевой адрес, и далее устройство деший - рирует нулевой адрес до тех пор, поWilT T TTTTnj- T 7 ... -- fj 1 (2л iiup ,At the zero address in fields P4, P5 of memory block 1 and fields PA, P5 of all memory blocks 2, some initial conversion addresses are recorded, which go to the corresponding registers 3 and 13 addresses, but are not recorded in them by the arrival of clock signals, These registers are set to zero. In all other fields of all memory blocks, zero information is recorded at the zero address. Thus, the address inputs of the blocks 1 and the memory still receive the zero address, and then the device is next - it generates the zero address until WilT T TTTTnj- T 7 ... - fj 1 (2i iiup,

ка триггер 7 не будет переведен в единичное состо ние. При сн тии с входа 22 устройства.сигнала Сброс устройство будет оставатьс  в исходТТОКТ .i-r ttr-r trigger 7 will not be translated to a single state. When the signal is reset from input 22 of the device. Reset, the device will remain at the end of the TTTOK. I-r ttr-r

ном состо нии до сохранени  нулевого .. Т Г °°P ™ Работы узлов 2 состо ни  триггера 7. «У евого 45 преобразовани  кодов с промежуточnominal state before the zero state is maintained. T G °° P ™ The operation of the nodes 2 states of the trigger 7. "At the first 45 conversion codes with intermediate

НПГТ OOLiT/- л Т-, i..NPGT OOLiT / - l T-, i ..

-.j. iiaci Hcl-.j. iiaci Hcl

Управл Ю1чие входы соответственно мультиплексоров 5 и и пер ключает их на прием слов соответс венно входного и промежуточного   . ково Во всех остальных пол х всех блоков пам ти по начальному адрес записана нулева  информаци . in ni «° единичной информации из пол - П1 блока 1 пам ти с входа 12 устр ства поступает слово входного  зы которое через мультиплексор 5 адр са поступает на вход регистра 3 а реса и по соответствующему синхро 35 пульсу с выхода генератора 8 зано ситс  в регистр 3 адреса. Тем сам по соответствующему синхроимпульс поступающему на вход блока 1 пам  с выхода элемента 10 задержки, Аор 40 мируетс  первое слово промежуточно  зыка в поле ПЗ блока 1 пам ти.The control inputs are, respectively, multiplexers 5 and and switches them to receive words, respectively, input and intermediate. For all the remaining fields of all memory blocks, zero information is recorded at the starting address. in ni "° of single information from the floor - P1 of the memory block 1 from the input 12 of the device enters the input word which through the multiplexer 5 address enters the input of the register 3 of the res and via the corresponding synchronous 35 pulse from the output of the generator 8 enters the register 3 addresses. On the corresponding sync pulse arriving at the input of block 1 of the memory from the output of the delay element 10, Aor 40 consequently, the first word of the intermediate language is written in the PZ field of the block 1 of memory.

Одновременно в пол х П2.1-П2.п блока 1 пам ти формируетс  инфогжа ци  по координации работы узлов 20At the same time, in the fields P2.1-P2.p of the memory block 1, the infogazhi is formed to coordinate the work of the nodes 20

ТТТЛ oRn i3f5j-,,..™. - .TTTL oRn i3f5j - ,, .. ™. -.

ного  зыка в выходной. Каждому сло входного  зыка соответствует либо одно слово промежуточного  зьжа (р жим Одно в одно), либо последова тельность слов промежуто ного  зык ( режим Одно в несколько).on the weekend. Each word in the input language corresponds to either one word of the intermediate language (we press One to One), or a sequence of words of the intermediate language (One to several mode).

Работа устройства начинаетс  на вход 17 устройства сигнала Пуск отсутствии на входе 18 сигналаThe operation of the device begins at the input 17 of the signal device. The absence of the signal at the input 18 of the signal

. Данный сигнал устанавливает , триггер 7 в единичное состо ние синхронно с поступлением на тактовый вход триггера 7 соответствующего синхроимпульса с выхода генератора 8 тактовых импульсов (фиг. 3). Выход триггера 7 снимает обнуление с регистра 3 адреса и всех регистров 13 адреса. . This signal sets the trigger 7 to one state synchronously with the arrival at the clock input of the trigger 7 of the corresponding sync pulse from the generator output 8 clock pulses (Fig. 3). The output of the trigger 7 removes the reset from the register 3 addresses and all registers 13 addresses.

14534161453416

00

По соответствующег г, синхроимпульсу с выхода генератора 8 тактовых импульсов в регистр 3 адреса записы- 5 ваетс  с выхода мультиплексора 5 адреса начальньй адрес преобразовани  входного  зыка в промежуточный, а по соответствующем синхроимпульсам с группы выходов генератора 8 в регистры 13 адреса узлов преобразовани  кодов с промежуточного  зыка в выходной записываютс  с вы- .ходов мультиплексоров 19 адреса со- ответстную1 ще начальные адреса пре- 5 образовани  кодов с промежуточного  зыка в выходной. По начальным адресам преобразовани  в поле П1 блока 1 пам ти и пол х П1 блоков 2 пам ти записана единична  информаци , котоТЧЯС TTfii-ij ч.-..л.. For the corresponding r, the clock pulse from the generator output 8 clock pulses into the address register 3 is written from the output of the multiplexer 5 address, the starting address for converting the input language to the intermediate one, and for the corresponding clock pulses from the output group of the generator 8 to the registers 13 for the code conversion node nodes from the intermediate A language in the output is recorded from the outputs of the multiplexers 19, the addresses corresponding to the initial addresses of the conversion of the codes from the intermediate language to the output. At the initial addresses of the conversion, in field P1 of memory block 1 and fields X P1 of memory block 2, a single information is recorded that TTHYa TTfii-ij h.- .. l.

п «-j- -., кn "-j- -., to

Г Т °° твующие вькоды ,. поступает на R T °° which vkody,. arrives at

Г Т °° твующие вькоды ,. поступает на R T °° which vkody,. arrives at

. Т Г °°P ™ Работы узлов 2 5 преобразовани  кодов с промежуточ. T ° ° P ™ Works of nodes 2 5 code conversion with intermediate

-.j. iiaci Hcl-.j. iiaci Hcl

Управл Ю1чие входы соответственно мультиплексоров 5 и и пере- ключает их на прием слов соответственно входного и промежуточного  зы- .ково Во всех остальных пол х всех блоков пам ти по начальному адресу записана нулева  информаци . in ni «° единичной информации из пол  П1 блока 1 пам ти с входа 12 устройства поступает слово входного  зыка. которое через мультиплексор 5 адреса поступает на вход регистра 3 адреса и по соответствующему синхроим- 5 пульсу с выхода генератора 8 зано- ситс  в регистр 3 адреса. Тем самым по соответствующему синхроимпульсу поступающему на вход блока 1 пам -и с выхода элемента 10 задержки, Аор- 0 мируетс  первое слово промежуточного  зыка в поле ПЗ блока 1 пам ти.Controlling the inputs of multiplexers 5, respectively, and and switches them to receive words of the input and intermediate, respectively. In all other fields of all memory blocks, zero information is recorded at the starting address. in ni "° of single information from the field P1 of the block 1 of the memory from the input 12 of the device enters the word of the input language. which, through the multiplexer 5 of the address, enters the input of the register 3 of the address and according to the corresponding synchronous 5 pulse from the output of the generator 8 is entered into the register of the 3 addresses. Thereby, the first word of the intermediate language in the PZ field of the memory 1 block is generated by the corresponding sync pulse arriving at the input of block 1 of memory and from the output of delay element 10.

Одновременно в пол х П2.1-П2.п блока 1 пам ти формируетс  инфогжа- ци  по координации работы узлов 20At the same time, in the fields P2.1-P2. Of the memory block 1, the infogaming is formed to coordinate the work of the nodes 20

ТТТЛ oRn i3f5j-,,..™. - .TTTL oRn i3f5j - ,, .. ™. -.

.. Т Г °°P ™ Работы узлов 2 45 преобразовани  кодов с промежуточ.. T ° ° P P Works of nodes 2 45 conversion codes with intermediate

НПГТ OOLiT/- л Т-, i..NPGT OOLiT / - l T-, i ..

5050

ного  зыка в выходной. Каждому слову входного  зыка соответствует либо одно слово промежуточного  зьжа (ре- жим Одно в одно), либо последова-. тельность слов промежуто ного  зыка (режим Одно в несколько).on the weekend. Each word in the input language corresponds to either one word of the intermediate language (the One to One mode), or a sequence. the complexity of the words of the intermediate language (mode One to several).

При реализации режима. Одно в од- но одновременно с вьщачей слова про- 65 межуточного  зыка вьщаетс  единична  информаци  с пол  П1 блока 1 пам ти и по ней мультиплексор 5 адреса переключаетс  на прием очередного слова входного  зыка.With the implementation of the regime. One at a time with the word of the intermediate 65 language, a single information from the P1 field of the memory unit 1 is delivered, and the address multiplexer 5 switches to receive the next word of the input language.

71457145

При реалиэадаи режима Одно в несколько каждое очередное слово промежуточного  зыка может быть либо выходным словом линейной поеладова- тельности слов, либо его адрес зависит от некоторых условий, определ ющи процесс преобразовани  входного  зыка в промежуточньй. Очередной немо- дифицируемьй адрес формируетс  в по- ле П5 блока 1 пам ти и поступает на мультиплексор 5 адреса. Адрес проверки условий преобразовани  формируетс  в поле П4 блока 1 пам ти и модифицируетс  некоторыми внешними услови-  ми в блок 6 модификацией адреса, после чего также поступает на мультиплексор 5 адреса, где формируетс  адрес очередного слова промежуточного  зыка, которьм через мультиплек- сор 5 адреса поступает на входы регистра 3 адреса. Кроме того, адрес очередного слова промежуточного  зы- ка зависит от внутренних состо нийWith the implementation of the One-to-several mode, each intermediate word of the intermediate language can be either the output word of the linearity of the words, or its address depends on certain conditions determining the process of converting the input language into the intermediate language. The next unmodifiable address is generated in the P5 field of memory block 1 and is sent to the address multiplexer 5. The address for checking the conversion conditions is formed in the P4 field of the memory unit 1 and modified by some external conditions in the unit 6 by modifying the address, after which it also goes to the address multiplexer 5, where the address of the next intermediate language word is generated, which is received through the address multiplexer 5 The inputs of the register are 3 addresses. In addition, the address of the next word of the intermediate language depends on internal conditions.

узлов 20,-20„ преобразовани  кодов с промежуточного  зыка в выходной, информаци  о которых поступает на входы зон R2.2-R2.n регистра 3 адреса непосредственно.nodes 20, -20 "translate codes from intermediate language into output, information about which is fed to the inputs of zones R2.2-R2.n of register 3 addresses directly.

Слово промежуточного  зыка с вы- хода пол  ПЗ блока 1 пам ти поступает через мультиплексоры 19 адреса на входы зон R1 регистров 13 адре- ga соответствуюощх узлов 20 преобразовани  кодов с промежуточного  зы- ка в выходной. Кроме того, на входы зон R2 регистров 13 адреса поступает с полей П2.1-П2,п блока 1 пам ти информаци  по координации работы узлов 20 преобразовани  кодов с промежуточ ного  зыка в выходной и-таким образо формируютс  адреса слов выходных  зыков , которые по соответствующим синхроимпульсам с группы выходов генератора 8 записываютс  в регистры 13 ад реса, а по синхроимпульсам с выходов элементов 11 задержки узлов преобразовани  кодов с промежуточного  зыка в выходной дешифрируютс  в блоках 2 пам ти,The intermediate language word from the field output of the PZ of the memory block 1 is fed through the address multiplexers 19 to the inputs of the R1 zones of the registers 13 to the corresponding nodes of the code conversion 20 from the intermediate to the output languages. In addition, the inputs of the R2 zones of the address registers 13 come from fields A2.1 to A2, n of the memory block 1, information on coordinating the work of nodes 20 converting codes from an intermediate language into an output and thus form addresses of the words of the output languages, which the corresponding sync pulses from the output group of the generator 8 are recorded in the address registers 13, and sync pulses from the outputs of the delay elements 11 of the code conversion nodes from the intermediate language to the output are decoded in memory blocks 2,

Каждому слову промежуточного  зыка соответствует либо одно слово выходного  зыка (режим Одно в одно), либо последовательность слов выходного  зыка (режим Одно в несколь- Each word of the intermediate language corresponds to either one word of the output language (One to One mode), or a sequence of words of the output language (One to several mode

ко).to).

При реализации режима Одно вод-г но одновременно с вьщачей словавыходного  зыка выдаетс  единична инормаци  с пол  П1 блока 2 пам ти и по ней мультиплексор 19 адреса переключаетс  на прием очередного слова промежуточного  зыка.When the One mode water mode is implemented, at the same time as the output language, a single information is output from the P1 floor of the memory block 2, and the address multiplexer 19 switches to receive the next intermediate language word.

При реализации режима Одно в несколько каждое очередное слово выходного  зыка может быть либо выходным словом линейной последовательности слов, либо его адрес зависит от некоторых условий, определ нщих процесс преобразовани  промежуточного  зыка в выходной Очередной немодифи- цируе йзй адрес формируетс  в поле П5 блока 2 пам ти и поступает на мультиплексор 19 адреса. Адрес проверки условий преобразовани  формируетс  в поле П4 блока 2 пам ти и модифици- руетс  некоторыми внешними услови ми в блоке 21 модификации адреса, после чего также поступает на мультиплексор 19 адреса, где формируетс  адрес очередного слова выходного  зыка, который через мультиплексор 19 адреса поступает на входы регистра 13 адреса. Кроме того, адрес очередного слова выходного  зыка зависит от информации по координации работы дл  каждого из узлов 20,-20„ преобразовани  кодов с промежуточного  зыка в выходной , котора  поступает на входы зоны R2 регистров 13 адреса каждого из узлов 20 преобразовани  кодов с промежуточного  зыка в выходной с выходов полей П2.1-П2.П блока 1 пам ти.When implementing the One into several mode, each successive word of the output language can be either the output word of a linear sequence of words, or its address depends on some conditions determining the process of converting the intermediate language to the output. Another unmodified address is generated in the P5 field of the memory block 2 and goes to the address multiplexer 19. The address for checking the conversion conditions is generated in the P4 field of the memory block 2 and modified by some external conditions in the address modification block 21, after which it also goes to the address multiplexer 19, where the address of the next word of the output language is formed, which through the multiplexer 19 of the address goes to the inputs of the register 13 addresses. In addition, the address of the next word of the output language depends on the information on the coordination of work for each of the nodes 20, -20 „translate codes from intermediate language into output, which goes to the inputs of zone R2 of the registers 13 addresses of each of the nodes 20 convert codes from intermediate language to output from the outputs of fields P2.1-P2.P of memory block 1.

Слова выходного  зыка с выходов полей ПЗ блоков 2 пам ти поступают на входы регистров 16 вьщачи и по соответствующим синхрош-шульсам с выходов элементов 11 задержки запи- рываютс  в них, после чего поступают на выходы 15 устройства.The words of the output language from the outputs of the PZ fields of the memory blocks 2 are fed to the inputs of the registers 16 and, through the corresponding synchroshulses from the outputs of the delay elements 11, are locked in them, after which they go to the outputs 15 of the device.

Блоки 6 и 21 модификации адреса аналтогичны по реализации и могут отличатьс  разр дностью. Блок модификации адреса работает следующим образом.Blocks 6 and 21 of the address modification are analogous in implementation and may differ in size. Block address modification works as follows.

На вход 14 (22) подаетс  парал- лельньй код входных условий и по синхроимпульсу запоминаетс  в регистре , через регистр (при наличии единицы в первом разр де первой группы, подаваемой на уи-равп ют ш вход регистра 23) подаетс  на вход поразр дного сумматора 24 по модулю два. Одновременно параллельньм код входных условий подаетс  на второй вход поразр дного сумматора 24. На третий вход поразр дного сумматора 24 пода9 . 14534 етс  адрес проверки условий преобразовани  с первой группы входов блока 21 модификат ии. Работа поразр дного сумматора описываетс  следующим уравнением:Input 14 (22) is supplied with a parallel code of input conditions and is stored in a register on a synchronization pulse, through a register (if there is a unit in the first position of the first group supplied to the input and input of the register 23), it is fed to the one-digit adder 24 modulo two. At the same time, the parallel code of input conditions is fed to the second input of bitwise adder 24. To the third input of bitwise adder 24 is supplied9. 14534, the address of checking the conditions of the conversion from the first group of inputs of the block 21 of modifications. The work of the one-bit adder is described by the following equation:

1515

2020

2525

30thirty

(А1 YBi)ci Di(A1 YBi) ci Di

Урав.нение описывает операции над 1-м разр дом входных слов, причем юThe equation describes operations on the 1st bit of the input words, and

I iI i

AI - 1-й разр д слова, хр н щегос  в регистре .23; в - 1-й разр д слова входных условий, подаваемого непосредственно на сумматор 24; С1 - 1-й разр д адреса проверки условий преобразовани ; DI - 1-й разр д вы- ходного слова блока 6 (21) модификации адреса; Y - операци  Логическое © - операци  Сложение по модулю ,AI is the 1st bit of a word, xp is incorrect in the register .23; c - the 1st bit of the word input conditions, fed directly to the adder 24; C1 is the 1st bit address of the conversion condition check; DI is the 1st bit of the output word of block 6 (21) address modification; Y - operations Logical © - operations Addition modulo,

Таким образом, блок 6 (21) моди- фикащи адреса реализует функцию модификации адреса как в зависимости от содержани  текуп его слова выходных условий, так и от содержимого ранее поданного в произвольный момент времени слова входных условий, зафиксированного по соответствук цей команде в р.егистре 23.Thus, block 6 (21) of the address modification implements the function of address modification both depending on the content of the word’s output tekup word and the content of the word of the input condition previously submitted at an arbitrary time, fixed by the corresponding command in the registrar 23.

Рассмотрим пример функционировани  устройства при преобразовании слова входного  зыка высокого уровн  в промежуточньй  зьж типа ассемблера и  зык объектных кодов. I .Consider an example of the operation of a device when converting a high-level input language into intermediate type assembly language and object code language. I.

В данном примере сл:ово входногоIn this example, the following is: ovo input

 зыка Высокого уровн  преобразуетс  в последовательность из трех слов . промежуточного  зыка, затем каждое из слов промежуточного  зыка преобра-40 зуетс  в свою очередь в соответству- Ю1цие последовательности из двух слов выходного  зыка объектных кодов (фиг. 4), При этом-предлагаемый алгоритм реализуетс  устройством, со- 45 держащим три узла 20 преобразовани  кодов с промежуточного  зьпса в выходной . На вькодах двух узлов 20, например первого и третьего, форми:- уютс  слова эквивалентной последовательности в  зыке объект1и 1х кодов, . а на выходе, например, второго узла 28 формируетс  эквивалентна  последовательность слов промежуточного  зыа . Преобразование осуществл етс  в соответствии со структурной схемой алгоритма преобразовани  дл  данного римера, содержащей потактную послеовательность адресных слов с учетомThe High Level language is transformed into a three-word sequence. intermediate language, then each of the intermediate language words is transformed in turn in accordance with the sequence of two words of the output language of the object codes (Fig. 4). In this case, the proposed algorithm is implemented by a device containing 45 transform nodes 20 codes from intermediate zypsa to output. On codes of two nodes 20, for example, the first and the third, form: - Coziness of the word of an equivalent sequence in the language of the object and 1x codes,. and at the output of, for example, the second node 28, an equivalent intermediate word sequence is formed. The transformation is carried out in accordance with the block diagram of the transformation algorithm for a given rimer, which contains a consistent sequence of address words, taking into account

3535

5050

5555

10ten

6 6

зон регистров адреса и кодов, содер- жардихс  в соответствующих адресным словам  чейках пам ти, с учетом полей блоков пам ти, а также с учетом информа1и{онных.св зей устройства (фиг. 5-7).zones of the address registers and codes, contents in the corresponding address words of the memory cells, taking into account the fields of the memory blocks, as well as taking into account the information and links of the device (Fig. 5-7).

1515

2020

2525

30thirty

юYu

0 5 0 5

5five

00

5five

Claims (1)

1. Устройство дл  преобразовани  кодов с одного  зьпса на другие, содержащее блок пам ти, регистр адреса, мультиплексор адреса, блок модификации адреса, первьм узел преобразовани  кодов промежуточного  зыка в выходной и блок синхронизации, первьй информационный вход мультиплексора адреса соединен с информационным входом устройства, выход .мультиплексора, адреса соединен с первым инфор -{ациоЕ- ным входом регистра адреса, выход которого соединен с адресным входом блока пам ти, первьй выход которого соединен с первым входом блока модификации адреса, второй вход которого соединен с входом условий преобразовани  входного  зыка, разр д.ы выхода блока модификации ад.реса и второго выхода блока пам ти соединены с разр дами второго информационного входа мультиплексора адреса, третий выход1. A device for converting from one link to another, containing a memory block, an address register, an address multiplexer, an address modification block, an intermediate intermediate code to an output code conversion node, and a synchronization block, the first information input of the address multiplexer, is connected to the information input of the device, the output of the multiplexer, the address is connected to the first information {{acioE} input of the address register, the output of which is connected to the address input of the memory unit, the first output of which is connected to the first input of the modi ation addresses, a second input coupled to the input conditions of the tongue converting the input, the output bit d.y ad.resa modification unit and second output unit connected to the memory of the second information bits of the input address multiplexer, the third output блока пам ти соединен с первым информационным входом первого узла преобразовани  кодов промежуточного  зыка в выходной, выход которого соединен с первым информационным выxoдo E устройства , вход запуска устройства соединен с одноименным входом блока синхронизации, первый, второй, третий и четвертый выходы которого соединены с входами стробировани  регистра адреса, блока пам ти и первым и вторым входами стробировани  первого узла преобразовани  кодов промежуточного  зыка в выходной, отличающеес  тем, что5 с целью увеличени  быстродействи  и расщире- ни  функциональных возможностей за счет введени  адаптивной распределенной обработки информации, в него введены с второго по п-й узлы преобразовани  кодов промежуточного  зы- . 1ка в выходной, выходы которых соединены с второго по п-й информационными выходами устройства соответственно , первые информационные входы и первые входы стрббировани  с второгоthe memory unit is connected to the first information input of the first intermediate language code conversion node, the output of which is connected to the first information output E of the device, the device start input is connected to the synchronous input of the same name, the first, second, third and fourth outputs of which are connected to the gating inputs the address register, the memory block and the first and second gates of the first intermediate language code conversion node, characterized in that 5 in order to increase the speed Corollary rasschire- and audio functionality by introducing an adaptive distributed information processing, it entered from the second to n-th conversion codes zy- intermediate nodes. 1k to the output, the outputs of which are connected from the second to the nth information outputs of the device, respectively, the first information inputs and the first inputs from the second Фиг.22 Такт работыWork tact Такт рвдоты 1 ycmpoucmSaTact rvdoty 1 ycmpoucmSa Слббо $ одноео  зыкаStlbbo $ one language Зкдивалентнал tiocJKSo arr№j Mxmb слоб промежуточного  зыкаTiocJKSo arr№j Mxmb intermediate language script Зкдийситнтныв последовательности с/юд быходноео  зыкаSequence sequences with / bypass language Фиг. ЗFIG. H ЖF RVRV Q 0 Q 0 0 0 Q 1 0 0 0 0Q 0 Q 0 0 0 Q 1 0 0 0 0 ПЗPZ 000000000000 Ofrtjj n ОГо и тик, QOO o bQ Q Q О О О QOfrtjj n ОГо и тик, QOO o bQ Q Q О О О Q ytyt Такт ОSo that 1one гg 33 «" 5five Вхо9Sign in II RiRi ii 0 0 0 0 00 00 000 0 0 0 00 00 00 Ш,Sh, inin Q Q Q I 00 0 1 00Q Q Q I 00 0 1 00 KlKl Q Q Q Q Q о о 0 7x1 О О ОТГГОО О О О О О О ОQ Q Q Q Q о о 0 7x1 О О ОГГГОО О О О О О О О О пчpch П5A5 /7г;/ 7g; /72 ff23/ 72 ff23 О Q Q О О ОAbout Q Q About About About L-A К О 1L-A K O 1 L А К 1 00000L A K 1 00000 000000 000000000000 000000 О О О 1 О Q О 1 О О О ОAbout About About 1 About Q About 1 About About About О ОOh oh Q 1Q 1 о Jabout j О 1 О О О ОAbout 1 About About About About 00 0000 00 oror 00 00 0000 00 00 J LJ l 1 М51 M5 II В&веодV & Vod
SU874278716A 1987-04-27 1987-04-27 Device for converting codes from language to language SU1453416A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874278716A SU1453416A1 (en) 1987-04-27 1987-04-27 Device for converting codes from language to language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874278716A SU1453416A1 (en) 1987-04-27 1987-04-27 Device for converting codes from language to language

Publications (1)

Publication Number Publication Date
SU1453416A1 true SU1453416A1 (en) 1989-01-23

Family

ID=21317338

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874278716A SU1453416A1 (en) 1987-04-27 1987-04-27 Device for converting codes from language to language

Country Status (1)

Country Link
SU (1) SU1453416A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1238104, кл. G 06 F 15/38, 1984. Авторское свидетельство СССР № 1283798, кл. С 06 F 15/38, 9/44, 1985. *

Similar Documents

Publication Publication Date Title
US4593393A (en) Quasi parallel cyclic redundancy checker
EP0311448A2 (en) Digital multiplexer
SU1453416A1 (en) Device for converting codes from language to language
SU1207407A3 (en) Coding or decoding byte generator
SU1513448A1 (en) Double-level device for controlling microcommand memory
SU1418656A1 (en) Switching device for controlling a stepping motor
JP2670328B2 (en) Signal conversion circuit
SU1019449A1 (en) Microprogram control device
SU1589288A1 (en) Device for executing logic operations
SU1077050A1 (en) Device for majority decoding of binary codes
SU1751767A1 (en) Device for testing programs
SU1714591A1 (en) Summing device
RU1827718C (en) Decoder of pulse-time codes
SU1211731A1 (en) Multichannel signature analyzer
SU1649676A1 (en) Code converter
SU1580559A1 (en) Device for coding and decoding information
SU1341633A1 (en) Serial adder
SU1327173A1 (en) Apparatus for magnetic record of information
SU1406514A1 (en) Phase inverter
SU1176328A1 (en) Microprogram control device
SU1037234A1 (en) Data input device
SU1635187A1 (en) Test generator
SU1636993A1 (en) Pseudo random sequence generator
SU1297234A1 (en) Device for converting serial code to parallel code
SU1438008A1 (en) Code converter