Claims (2)
- . .1. Изобретение относитс к вычислительной технике и автоматике и может .быть использовано дл сопр жени уст ройств с различными скорост ми Ьбмен информацией. Известно устройство сопр жени , содержащее блок пам ти моментов поступлени требований, регистры, блоки входных.и выходных злементов И 1. Это устройство обеспечивает адаптацию к изменению параметров входных сигналов, но не позвол ет преобразовывать формы данных. Из известных устройств наиболее близким по технической сущности и достигаемому эффекту к прзедлагаемому вл етс устройство дл обмена, информацией , содержащее регистр данных блоки входных и выходных элементов И, блок управлени приемом данных и блок управлени выдачей данных, регистр признаков и триггер останова, причем первый и второй выходы блока выходных элементов И св заны с сротIветствующими выходами устройства,пер вый вход-с одноименным выходомЬлокй управлени выдачей данных, а второй вход - с выходом регистра данных, вход которого соединен с выходом бло ка входных элементов И, первый, второй , третий и четвертый входы котррого св заны с выходом блока управлени приемом данных, первым входом устройства , вторым входом устройства и первым выходом регистра признаков, соответственно, второй выход регистра признаков соединен с первыми входами блока управлени приемом данных и блока управлени выдачей данных,первый вход с соответствующим входом - устройства,а второй вход-с одноименными входами блока управлени приемом данных и блока управлени выдачей данных, а также с выходом триггера останова,вход которого св зан со вторым выходом блока управлени выдачей данных,дополнительный вход и выход которого соединен с одноименными выходом и входом блока управлени приемом данных 2. Однако в известном устройстве не обеспечиваетс сопр жение разноскоростных устройств, что сужает его функциональные возможности. Цель изобретени - расширение функциональных возможностей путем организации режима обмена абонентов с различным &лстродействием. Поставленна цель достигаетс тем, что в устройство дл обмена даннами , содержащее регистр данн{лх, выход которого соединен с информационным входом выходного коммутатора, управл ющий вход которого соединен . с первым выходом блока управлени выдачей, блок управлени пр иемом, первый выход которого соединен с первым управл ющим входом входного коммутатора , регистр признаков, первый выход которого соединен со вторы управл ющим входом входного коммутатора , триггер останова, выход которо го соединен с первым управл ющим вхо дом регистра признаков, причем первый , второй третий входы, первый, второй выходы устройства соединены . соответственно с первым, вторым управл ющими входами входного коммутатора , с информационным входом регист ра признаков, с первым, вторым выходами выходного коммутатора, второй выход блока управлени выдачей соединен со входом триггера останова, первый,второй выходы регистра призна ков соединены соответственно с первым , вторым входами блоков управлени приемом и выдачей, а выход входного коммутатора соединен с первым входом регистра данных, введены блок приори тета и блок синхронизации, причем ин формационные входы блока приоритета соединены с первым, вторым входами . устройства, управл ющий вход - с выходом триггера останова, выходы блок приоритета соединены со входами блок синхронизации и со вторым, третьим управл ющими входами регистра признаков , первый выход блока синхрониза ции соединен с третьими входами блоков управлени приемом и выдачей,вто рой выход блока синхронизации соединен с четвертым входом, блока управле ни приемом,второй и третий выходы которого соединены соответственно со входом триггера останова и со вторым входом регистра данных; что блок управлени приемом содержит три элемента И, триггер и элемент ИЛИ, причем первый вход блока и выход триггера соединены с первым и вторым вхо дами элемента ИЛИ,выход которого сое динен с первым входом первого элемента И, выход которого соединен с первым выходом блока и первым входом вторО1 о элемента И , второй вход бло ка соединен со вторым входом первого элемента И и с первым входом третьего элемента И, второй вход и выход (Которого соединены соответствен р с третьим входом блока и с пер вым входом триггера , четвертый вход блока соединен со вторым входом второго элемента И, выход которого соединен со вторым входом триггера и со вторым выходом блока, третий выход блока соединен с выходом триггера; блок управлени выдачей содержит два элемента И, первые входы которых сое динены с первым входом блока, второй третий входы блока соединены со вторыми входами соответственно первого и второго элементов И, выходы элементов И вл ютс выходами блока. На фиг. 1 .приведена структурна схема устройства; на фиг. 2 - то же, блока приоритета; на фиг. 3 - то же,. блока синхронизации; на фиг. 4 - то же, блока управлени приемом; на фиг.5 - то же, блока управлени выдачей; на фиг. 6 - то же, регистра признаков. Устройство дл обмена данными содержит блок 1 синхронизации, блок 2 приоритета, блок 3 управлени выда .чей, блок 4 управлени приемом, выходной коммутатор 5, регистр б данных, входной коммутатор 7, регистр 8 признаков , триггер 9 останова, выходы 10 и 11, входы 12-14 устройства, входы 15-17 и выходы 18 и19 блока приоритета , входы 20 и 21 и выходы 22 и 23 блока синхронизации, входы 24-26 и выходы 27 и 28 блока управлени выдачей , входы 29-32 и выходы 33-35 блока управлени приемом, входы 3639 и выходы 40-42 регистра признаков. Блок приоритета может быть выполней в виде триггера 43, элемента И-НЕ 44,триггера 45, элемента И-НЕ-46 и элe v1eнтa 47 задержки. Блок синхронизации может быть выполнен в виде генератора 48 импульсов, регистра 49 сдвига, формировател 50, элемен- . та ИЛИ 51, формировател 52, элементов И 53-56, элементов ИЛИ 57 и 58. Блок управлени приемом может быть выполнен в виде элемента ИЛИ 59, элемента И 60, триггера 61, элементов И 62 и 63. Блок управлени вы- дачей может быть выполнен в виде элементов И 64 и 65. Регистр признаков может быть выполнен в виде элементов НЕ 66 и 67, элементов 2И-НЕ 68 и 69 и триггера 70.. Устройство работает следующим образом . G момента по влени сигнала Запрос на обслуживание приход щего от одного из абонентов на вход 12 или 13, устройство начинает работу. Если сигнал Запрос на обслуживание поступает одновременно от обоих абонентов на входы 15 и 16 блока 2 приоритета, который производит анализ приоритета устройства а обслуживание, то первым право на бслуживание получает абонент ,со хода 15, так как в цепи приема сигнала Запроо на обслуживание т абонента со входа 16 стоит элеент 47 задержки. В случае раздеени во времени этих сигналов перым обслуживаетс тот абонент, сигал от которого пришел раньше. С выходов 18 и 19 блока приоритеа сигналы поступают на вход 20 и 1 блока 1 синхронизации, который ормирует серию импульсов, синхрониэирующую прием информации, от первоiго абонента и выдачу ее второму абоненту (и наоборот) и поступающую на вход 24 блока 3 управлени выдачей и на входы 29 и 30 блока 4 управлени приемом. С -выходов 18 и 19 блока 2 приоритета сигналы поступают также на вход 36 и 37 регистра 8 признаков в котором формируютс сигналы, подго тавливающие цепи управлени приемом или выдачей в блоке 4 управлени при емом и блоке 3 управлени выдачей. Этими операци ми заканчиваетс этап подготовки устройства к обмену информацией.При этом блок 2 приоритета имеет высокий уровень на выходе 18, управл ющем передачей данных от первого абонента,а на другом выходе 19,управл ющем приемом данных-сигнал низкого уровн (в случае передачи данных от второго абонента к первому уровни сигналов мен ютс ). Эти сигналы поступают на входы 20 и 21 блока 1 синхронизации, где управл ют цеп ми выдачи тактовыг импульсов, че рез блок 3 управлени выдачей - вы .ходной коммутатор 5 и через блок 4 управлени приемом - входной коммутатор 7. Если информаци поступает от первого абонента, т.е. на вход 12 устройства и на соответствующий вход входного коммутатора 7, она з аносит с в регистр 6 данных по сигналам, сформированным в блоке 4 управлени приемом (выход 33 блока 4). Из регистра 6 данных информаци передаетс на выходной коммутатор 5 и .по сигналу Строб выдачи , поступающе му с выхода 28 блока 3 управлени вы дачей, выдаетс на выход 11 устройст к которому подключаетс второй абонент . При поступлении информации вход 13 устройства алгоритм работы устройства сохран етс , а вывод, информации производитс с выхода 10, к которому подключаетс первый абонент . Обмен информацией производитс до тех пор, пока на вход 14 устройст ва не поступает от одного из абонентов признак останова,которым вл етс сигнал на прекращение обмена,отсутствие готовности или сигналСбой Эти сигналы поступают на вход 38 регистра 8 признаков, где преобразуютс в сигнал Сброс, поступающий на входы 31 и 32 блока 4 управлени приемом, а с его выхода 34 поступают на триггер 9 останова, который выдает сигналы на вход 39 регистра 8 признаков и вход 17 блока 2 прио ритета. По ним блок 2 приоритета и регистр 8 признаков сигналами привод тс в исходное состо ние, и св зь между абонентами прекращаетс . Предлагаемое устройство позвол ет расширить функциональные возможное-: ти известного устройства, что позвол ет сопр гать устройства с различными скорост ми обмена информацией в асинхронном режиме. . Формула изобретени 1.Устройство дл обмена данными, содержащее регистр данных, выход которого соединен с информационным входом выходного коммутатора, управл ющий вход которого соединен с первым выходом блока управлени выдачей, блок управлени приемом, первый выход которого соединен с первым управл ющим входом входного коммутатора, регистр признаков, первый выход которого соединен со вторым управл ющим входом входного коммутатдра, триггер останова, выход которого соединен с первым управл ющим входом регистра признаков, причем первый, второй, третий входы, первый, второй выходаа устройства соJдинeны соответственно с первым, вторым управл ющими входами входного коммутатора , с информационным входом регистра признаков, с первым, вторым выходами выходного коммутатора, второй выход блока управлени выдачей соединен со входом триггера останова , первый, второй выходы регистра признаков соединены соответственно с первым, вторым входами блоков управлени приемом и выдачей, а выход входного коммутатора соединен с первым входом регистра данных, отличающеес тем, что, с целью расширени функциональных возможностей путем организации режима абонентов с различным быстродействием , оно содержит блок приоритета и блок синхронизации, причем информационные входы блока приоритета соединены с первым, вторым входами уст- ройства ,управл ющий вход - с выходом триггера останова,выходы блока приоритета соединены с входами блока синхронизации и со вторым,третьим управл ющими входами регистра признакод первый выход блока синхронизации соединен с третьими входами блоков управлени приемом и выдачей, второй выход блока синхронизации соединен с четвертым входом блока управлени приемом, второй и третий выходы которого соединены соответственно со входом триггера останова и со вторым входом регистра данных.. -. .one. The invention relates to computing and automation and can be used for interfacing devices with different speeds of information exchange. A device is known that contains a memory block of the arrival times of the requirements, registers, blocks of input and output elements AND 1. This device provides adaptation to changes in the parameters of the input signals, but does not allow for the conversion of data forms. Of the known devices, the closest in technical essence and effect achieved to the proposed is the device for the exchange, information, which contains the data register blocks of input and output elements AND, the control unit for receiving data and the control unit for issuing data, the register of signs and the trigger trigger, the first and the second outputs of the block of output elements And are connected with the corresponding outputs of the device, the first input with the same output of the data output control, and the second input with the output of the data register, the input of the cat connected to the output of the input element I, the first, second, third and fourth inputs of which are connected to the output of the data reception control unit, the first input of the device, the second input of the device and the first output of the sign register, respectively, the second sign register output is connected to the first the inputs of the data reception control unit and the data output control unit, the first input with the corresponding input is the device, and the second input is with the same inputs of the data reception control unit and the data output control unit, and also with the output of the stop trigger, the input of which is connected to the second output of the data output control unit, the additional input and output of which are connected to the same output and input of the data reception control unit 2. However, in the known device there is no interfacing of the different speed devices opportunities. The purpose of the invention is to expand the functionality by organizing the exchange mode of subscribers with different & action. This goal is achieved by the fact that a data exchange device containing a data register {lx, the output of which is connected to the information input of the output switch, the control input of which is connected. with the first output of the output control unit, the control unit of the power supply, the first output of which is connected to the first control input of the input switch, the feature register, the first output of which is connected to the second control input of the input switch, the trigger trigger, the output of which is connected to the first control input of the register of signs, with the first, second, third inputs, the first, second outputs of the device connected. respectively, with the first, second control inputs of the input switch, with the information input of the sign register, with the first, second outputs of the output switch, the second output of the output control unit is connected to the input of the stop trigger, the first, second outputs of the register of signs are connected respectively with the first, second the inputs of the reception and output control blocks, and the output of the input switch is connected to the first input of the data register, a priority block and a synchronization block are entered, and the information inputs of the priority block with connected to the first, second inputs. control input devices - with the output of the stop trigger, the outputs of the priority block are connected to the inputs of the synchronization block and the second, third control inputs of the sign register, the first output of the synchronization block is connected to the third inputs of the receive and issue control blocks, the second output of the synchronization block connected to the fourth input, the receiving control unit, the second and third outputs of which are connected respectively to the input of the stop trigger and to the second input of the data register; that the reception control block contains three AND elements, a trigger and an OR element, with the first input of the block and the trigger output connected to the first and second inputs of the OR element whose output is connected to the first input of the first AND element whose output is connected to the first output of the block and the first input of the second element And the second input of the unit is connected to the second input of the first element And to the first input of the third element And the second input and output (of which are connected respectively to the third input of the block and the first input of the trigger, the fourth input of the block Connected to the second input of the second element And, the output of which is connected to the second input of the trigger and the second output of the block, the third output of the block connected to the output of the trigger; the output control unit contains two elements And, the first inputs of which are connected to the first input of the block, the second third inputs the block is connected to the second inputs of the first and second elements, respectively, and the outputs of the elements are the outputs of the block. Fig. 1 is a block diagram of the device; in fig. 2 - the same, priority block; in fig. 3 - the same. sync block; in fig. 4 is the same, the reception control unit; Figure 5 is the same as an issuance control unit; in fig. 6 - the same register of signs. The device for data exchange contains a synchronization block 1, a priority block 2, an output control block 3, a reception control block 4, an output switch 5, a data register B, an input switch 7, a sign register 8, a stop trigger 9, outputs 10 and 11, inputs 12-14 of the device, inputs 15-17 and outputs 18 and 19 of the priority block, inputs 20 and 21 and outputs 22 and 23 of the synchronization block, inputs 24-26 and outputs 27 and 28 of the output control unit, inputs 29-32 and outputs 33- 35 of the reception control unit, inputs 3639 and outputs 40-42 of the feature register. The priority block can be executed in the form of a trigger 43, the element AND-NO 44, the trigger 45, the element AND-HE-46 and the delay v1ent 47. The synchronization unit can be made in the form of a pulse generator 48, a shift register 49, a driver 50, element. and OR 51, driver 52, elements AND 53-56, elements OR 57 and 58. The reception control unit can be made as an OR element 59, And element 60, a trigger 61, And elements 62 and 63. The output control unit can be made in the form of elements And 64 and 65. The register of signs can be made in the form of elements NOT 66 and 67, elements 2И-НЕ 68 and 69 and trigger 70 .. The device works as follows. G of the moment of signal occurrence. A request for service coming from one of the subscribers to the input 12 or 13, the device starts operation. If the signal Service request comes simultaneously from both subscribers to inputs 15 and 16 of priority block 2, which analyzes the device’s priority and service, then the subscriber receives the right to service from 15, as in the signal receiving chain from input 16 there is an element 47 delay. In the case of the separation in time of these signals, the subscriber from whom he arrived earlier is served first by the subscriber. From outputs 18 and 19 of the priority unit, signals are received at input 20 and 1 of synchronization unit 1, which organizes a series of pulses, synchronizing reception of information, from the primary subscriber and outputting it to the second subscriber (and vice versa) and entering input 24 of the output control unit 3 and inputs 29 and 30 of reception control unit 4. The C-outputs 18 and 19 of the priority block 2 also arrive at inputs 36 and 37 of the register 8 of features in which signals are generated that prepare the control circuits for receiving or issuing in control unit 4 of the receiving control and block 3 of issuing control. These operations end the preparation of the device for the exchange of information. At that, priority block 2 has a high level at output 18, controlling data transfer from the first subscriber, and at another output 19 controlling reception of data, a low-level signal (in the case of data transfer from the second subscriber to the first the signal levels vary). These signals are fed to the inputs 20 and 21 of the synchronization unit 1, where they control the output circuits of the pulses, through the issuance control unit 3 — you go switch 5 and through the receive control unit 4 — the input switch 7. If the information comes from the first subscriber i.e. to the input 12 of the device and to the corresponding input of the input switch 7, it connects to the data register 6 with the signals generated in the reception control block 4 (output 33 of block 4). From the data register 6, the information is transmitted to the output switch 5 and, according to the signal, the output gate, outputted from the output 28 of the output control unit 3, is output to the output 11 of the device to which the second subscriber is connected. When information is received, the input 13 of the device, the algorithm of operation of the device is saved, and the output, information is produced from output 10, to which the first subscriber is connected. The information is exchanged until the device input 14 is received from one of the subscribers by a stop sign, which is the signal to stop the exchange, lack of readiness or the failure signal. These signals are fed to the input 38 of the 8 signs register, where they are converted to the Reset signal, arriving at inputs 31 and 32 of the reception control block 4, and from its output 34 arriving at the stop trigger 9, which outputs signals 39 to the register of 8 signs and input 17 of the priority block 2. According to them, the priority block 2 and the flag register 8 are reset to the initial state, and the communication between the subscribers is terminated. The proposed device allows extending the functional capabilities of: a known device, which allows devices to be interfaced with different information exchange rates in an asynchronous mode. . Claim 1. Data exchange device containing data register, output of which is connected to information input of output switch, control input of which is connected to first output of output control unit, reception control unit, first output of which is connected to first control input of input switch, the feature register, the first output of which is connected to the second control input of the input switchboard, the stop trigger, the output of which is connected to the first control input of the characteristic register, and the first, second, third inputs, first, second output of the device are respectively connected with the first, second control inputs of the input switch, with the information input of the characteristics register, with the first, second outputs of the output switch, the second output of the output control unit is connected to the input of the stop trigger, the first The second outputs of the characteristic register are connected respectively to the first, second inputs of the reception and output control units, and the output of the input switch is connected to the first input of the data register, characterized in that In order to expand the functionality by organizing the mode of subscribers with different speeds, it contains a priority block and a synchronization block, the information inputs of the priority block are connected to the first, second inputs of the device, the control input is connected to the output of the stop trigger, the outputs of the priority block are connected to inputs of the synchronization unit and with the second, third control inputs of the register, the feature code, the first output of the synchronization unit is connected to the third inputs of the receiving and issuing control units, the second in stroke sync block is coupled to a fourth input of the reception control unit, second and third outputs of which are respectively connected to the input of the stop trigger and the second input data register ..
2.Устройство по п. 1, отличающеес тем, что блок управлени приемом содержит три элемента И, триггер и элемент ИЛИ, причем первый вход блока и выход триггера соединены с первым и вторым входами элемента ИЛИ, выход которого соединен с первым входом первого элемента И, выход которого соединен с первым выходом блока, и первым входом второго элемента И второй вход блока2. The device according to claim 1, characterized in that the reception control unit comprises three AND elements, a trigger and an OR element, wherein the first input of the block and the output of the trigger are connected to the first and second inputs of the OR element, the output of which is connected to the first input of the first AND element whose output is connected to the first output of the block and the first input of the second element And the second input of the block