SU1109743A1 - Device for computing polynomial of second order - Google Patents
Device for computing polynomial of second order Download PDFInfo
- Publication number
- SU1109743A1 SU1109743A1 SU833571596A SU3571596A SU1109743A1 SU 1109743 A1 SU1109743 A1 SU 1109743A1 SU 833571596 A SU833571596 A SU 833571596A SU 3571596 A SU3571596 A SU 3571596A SU 1109743 A1 SU1109743 A1 SU 1109743A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- pulse
- inputs
- trigger
- Prior art date
Links
- 238000004364 calculation method Methods 0.000 description 7
- 238000012887 quadratic function Methods 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 4
- 230000000903 blocking effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000001208 nuclear magnetic resonance pulse sequence Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Complex Calculations (AREA)
Abstract
1. УСТРОЙСТВО ДЛЯ ВЫЧИСЛЕНИЯ ПОЛИНОМА ВТОРОЙ СТЕПЕНИ, содержащее первый и второй регистры сдвига, сумматор, два элемента И, элемент ИЛИ, элемент задержки, триггер, блок синхронизации, причем инверсный выход триггера соединен с первым входом первого элемента И, вторбй вход которого соединен с выходом элемента ИЛИ, первый вход которого соединен через элемент задержки, с пр мым выходом триггера, выход второго регистра сдвига соединен с вторым входом элемента ИЛИ и входом сброса триггера , выход первого элемента И соединен с входом сдвига второго регистра сдвига, выход первого регистра сдвига соединен с входом первого операнда сумматора, выход которого соединен с входом сдвига первого регистра сдвига, первый вход блока синхронизации соединен с входами синхронизации первого и второго регистров сдвига, входы сброса которых соединены с вторым выходом блока синхронизации, третий вход которого соединен с первым входсж второго элемента И, отличающеес тем, что, с целью сокращени объема оборудовани , в него введены два формировател импульсов, два тактовател импульсов, второй и третий элементы ИЛИ, третий, четвертый и п тый элементы И, элемент НЕ, элемент задержки , причем четвертый выход блока синхронизации соединен с управл ющими входами первого и второго формирователей импульсов, информационные входы которых соединены соответственно с первым и вторым информационными входами устройства, выход первого формировател импульсов соединен с первыми входами второго элемента ИЛИ и третьего элемента И, вторые входы которых соединены с вы (Л ходом второго формировател импуль- сов, выходы второго элемента ИЛИ и третьего элемента И соединены соответственно , с управл ющими входами первого и второго тактователей импульсов , информационные входы первого и второго тактователей импульсов соединены с п тым выходом блока синсо и хронизации, выход второго регистра сдвига соединен через второй элемент задержки с первым входом четвертого О9 элемента И, второй вход четвертого элемента И соединен с вторым входом второго элемента И, с входом элемента НЕ и первым выходом второго тактовател импульсов, второй выход которого соединен с информационным входом триггера, выход первого тактовател импульсов соединен с первым входом п того элемента И, выход которого соединен с первым входом третьего элемента ИЛИ, второй и третий входы которого соединены соответственно с выходами второго и чет1. A device for calculating a second degree polynomial containing the first and second shift registers, an adder, two AND elements, an OR element, a delay element, a trigger, a synchronization unit, the inverse output of the trigger being connected to the first input of the first And element, the second input of which is connected to the output of the OR element, the first input of which is connected via the delay element, to the direct output of the trigger, the output of the second shift register is connected to the second input of the OR element and the reset input of the trigger, the output of the first AND element is connected to the shift input and the second shift register, the output of the first shift register is connected to the input of the first operand of the adder, the output of which is connected to the shift input of the first shift register, the first input of the synchronization unit is connected to the synchronization inputs of the first and second shift registers, the reset inputs of which are connected to the second output of the synchronization unit, the third input of which is connected to the first input of the second element I, characterized in that, in order to reduce the volume of the equipment, two pulse formers are introduced into it, two pulse taps The second and third elements OR, the third, fourth and fifth elements AND, the element NOT, the delay element, the fourth output of the synchronization unit connected to the control inputs of the first and second pulse shapers, the information inputs of which are connected respectively to the first and second information inputs device, the output of the first pulse generator is connected to the first inputs of the second element OR and the third element AND, the second inputs of which are connected to you (L by the second pulse driver, the outputs of the second the OR element and the third element And are connected respectively to the control inputs of the first and second pulse drivers, the information inputs of the first and second pulse drivers are connected to the fifth output of the synso and timing unit, the output of the second shift register is connected via the second delay element to the first input of the fourth O9 element And, the second input of the fourth element And is connected to the second input of the second element And, to the input of the element NOT and the first output of the second pulse clock, the second output of which is connected to and information input of the trigger, the output of the first pulse clock is connected to the first input of the fifth AND element, the output of which is connected to the first input of the third OR element, the second and third inputs of which are connected respectively to the second and even outputs
Description
вертого элементов И, выход элемента ИЛИ соединен с входом второго о ранда сумматора, второй и третий входы п того элемента И соединены соответственно с выходом элемента и выходом второго регистра сдвига. 2. Устройство по п. 1, отли чающеес тем, что тактователь импульсов содержит два элемен та И-НЕ. элемент ИЛИ, два элемеита НЕ, причем информационный вход тактовател импульсов соединен с п вым входом элемента ИЛИ и первым 43 входом первого элемента И-НЕ, выход которого соединен через первьй элемент НЕ с вторым викодом тактовател импульсов, первый выход которого соединен с выходом второго элемента И-НЕ и вторым входом первого элемента И-НЕ, выход которого соединен с первым входом второго элемента И-НЕ, второй вход которого соединен с выходом элемента ИЛИ, второй вход которого СОРчинен с выходом втопого элемента irE, вход которого соединен с управл ющим входом тактовател импульсов.And, the output of the OR element is connected to the input of the second rand adder, the second and third inputs of the fifth And element are connected respectively to the output of the element and the output of the second shift register. 2. The device according to claim 1, characterized in that the pulse clock contains two AND-NOT elements. the OR element, two NOT elements, the information input of the pulse clock is connected to the fifth input of the OR element and the first 43 input of the first NAND element, the output of which is connected via the first element NOT to the second pulse clock Vicode, which is connected to the output of the second element NAND and the second input of the first NAND element, the output of which is connected to the first input of the second element NAND, the second input of which is connected to the output of the OR element, the second input of which is SORCHENEN with the output of the second element IRE, whose input is Inonii a control input taktovatel pulses.
1one
Изобретение относитс к автоматике и вычислительной технике и предназначено дл возведени в квадрат либо дл умножени двух величин, представленных в цифровой или аналоговой форме представлени информацииThe invention relates to automation and computer technology and is intended to be squared or to multiply two quantities represented in a digital or analog form of information representation.
Известен квадратор, содержащий два регистра сдвига, сумматор, два элемента задержки, триггер, два элемента ИЛИ и элемент И l ).Known quadrator containing two shift registers, an adder, two delay elements, a trigger, two OR elements and an AND element).
Недостаток такого устройства ограниченность функциональных возможностей , так как оно не позвол ет вьтолнить умножение двух величин, представленных в цифровой или аналоговой форме представлени информацииThe lack of such a device is limited functionality, since it does not allow multiplication of two quantities presented in a digital or analog form of information representation.
Наиболее близким к предлагаемому по технической сущности вл етс устройство дл вычислени полинома второй степени, содержащее первый и второй регистры сдвига, сумматор, два элемента И, элемент ИЛИ, элемент задержки, триггер, блок синхронизации , причем инверсный выход триггера соединен с первым.входом первого эле мента И, второй вход которого соединен с выходом элемента ИЛИ, первый вход которого соединен через элемент задержки с пр мым выходом триггера, выход второго регистра сдвига соединен с вторым входом, элемента ИЛИ и входом сброса треггера, выход первого элемента И соединен с входом сдвига второго регистра сдвига, выход первого регистра сдвига соединен с входом первого операнда сумматора, выход которого соединен с входом сдвига первого регистра сдвига, первый выход блока синхронизации соединен с входами синхронизации первого и второго регистров сдвига, входы сброса которых соединены с вторым выходом блока синхронизации , третий выход которого соединен с первым входом второго элемента И 2.Closest to the proposed technical entity is a device for calculating a second-degree polynomial containing the first and second shift registers, an adder, two AND elements, an OR element, a delay element, a trigger, a synchronization unit, and the inverse trigger output is connected to the first. And element, the second input of which is connected to the output of the OR element, the first input of which is connected through the delay element to the direct output of the trigger, the output of the second shift register is connected to the second input of the OR element and the reset input sa trigger, the output of the first element And is connected to the shift input of the second shift register, the output of the first shift register is connected to the input of the first operand of the adder, the output of which is connected to the shift input of the first shift register, the first output of the synchronization unit is connected to the clock inputs of the first and second shift registers, the reset inputs of which are connected to the second output of the synchronization unit, the third output of which is connected to the first input of the second element I 2.
Недостатком известного устройства вл етс большой объем оборудовани .A disadvantage of the known device is a large amount of equipment.
Цель изобретени - сокращение объема оборудовани .The purpose of the invention is to reduce the amount of equipment.
Поставленна цель достигаетс тем, что в устройство, содержащее первый и второй регистры сдвига, сумматор , два элемента И, элемент ИЛИ, элемент задержки, триггер, блок синхронизации , причем инверсный выход триггера соединен с первым входом первого элемента И, второй вход которого соединен с выходом элемента ИЛИ, первый вход которого соединен через элемент задержки с пр мым выходом триггера, выход второго регистра сдвига соединен с вторым входом элемента ИЛИ и входом сброса триггера, выход первого элемента И соединен с входом сдвига второго регистра сдвига , выход первого регистра сдвига соединен с входом первого операнда сумматора , выход которого соединен с входом сдвига первого 1егистра сдвига, первый выход блока синхронизации соединен с входами синхронизации первого и второго регистров сдвига, входы сброса которых соединены с вторымThe goal is achieved by the fact that the device containing the first and second shift registers, an adder, two AND elements, an OR element, a delay element, a trigger, a synchronization unit, the inverse trigger output is connected to the first input of the first AND element, the second input of which is connected to the output of the OR element, the first input of which is connected through the delay element to the direct output of the trigger, the output of the second shift register is connected to the second input of the OR element and the reset input of the trigger, the output of the first AND element is connected to the shift input of the second th shift register of the first shift register output is connected to the input of the first adder operand whose output is connected to the input of the first shift shift 1egistra, a first output connected to the synchronization unit inputs the synchronization of the first and second shift registers, the reset inputs of which are connected to the second
выходом блока синхронизации, третий выход которого соединен с первым входом второго элемента И, введены два формировател импульсов, два тактовател импульсов, второй и третий 5 элементы ИЛИ, третий, четвертый и п тый элементы И, элемент НЕ, элемент задержки, причем четвертый выход блока синхронизации соединен с управл ющими входами первого и второго форми- О рователей импульсов, информационные входы которых соединены соответственно с первым и вторым информационными входами устройства, выход первого формировател импульсов соединен с пер- 5 выми входами второго элемента ИЛИ и третьего элемента И, вторые входы которых соединены с выходом второго формировател импульсов, выходы вторЬго элемента ИЛИ и третьего элемен- 20 та И соединены соответственно с управл ющими-входами первого и второго тактователей импульсов, информационные входы первого и второго тактователей импульсов соединены с п тым выхо- 25 ды 30-34,the output of the synchronization unit, the third output of which is connected to the first input of the second element AND, two pulse makers, two pulse clock, the second and third 5 elements OR, the third, fourth and fifth elements AND, the element NOT, the delay element, and the fourth output of the block synchronization is connected to the control inputs of the first and second pulse shaper, whose information inputs are connected to the first and second information inputs of the device, respectively, the output of the first pulse shaper is connected to the first inputs of the second element OR and the third element AND, the second inputs of which are connected to the output of the second pulse shaper, the outputs of the second element OR, and the third element 20 AND are connected respectively to the control inputs of the first and second pulse watchers, the information inputs of the first and the second pulse clock is connected to the fifth output of 30-34,
дом блока синхронизации, выход второго регистра сдвига соединен через второй элемент задержки с первым входом четвертого элемента И, второй вход четвертого элемента И соединен с вторым входом второго элемента И, с входом элемента НЕ и первым выходом второго тактовател импульсов, второй вькод которого соединен с информационным входом триггера, выход первого тактовател импульсов соединен с первым входом п того элемента И, выход которого соединен с первым входом третьего элемента ИЛИ, второй и третий входы которого соединены соответственно с выходами второго и четвертого элементов И, выход элемента ИЛИ. соединен с входом второго операнда сумматора, второй и третий входы п того элемента И соединены соответственно с выходом элемента НЕ и выходом второго регистра сдвига.the synchronization block house, the output of the second shift register is connected via the second delay element to the first input of the fourth element I, the second input of the fourth element I is connected to the second input of the second element I, to the input of the element NOT and the first output of the second pulse clock, the second code of which is connected to the information the trigger input, the output of the first pulse clock is connected to the first input of the fifth AND element, the output of which is connected to the first input of the third OR element, the second and third inputs of which are connected respectively venno to the outputs of the second and fourth AND gates, the output OR gate. connected to the input of the second operand of the adder, the second and third inputs of the fifth element And are connected respectively to the output of the element NOT and the output of the second shift register.
Кроме того, тактователь импульсов содержит два элемента И-НЕ, элемент ИЛИу два элемента НЕ, причем информационный вход тактовател импульсов соединен с первым, входом элемента ШШ и первым входом первого элемента И-НЕ, выход которого соединен через первый элемент НЕ с вторым выходом тактовател импульсов, первый выход которого соединен с выходом второго, элемента И-НЕ и вторым входом первогЬ элемента И-НЕ, выход которого соединен с чIn addition, the pulse clock contains two AND-NOT elements, the ORI element has two NOT elements, and the information input of the pulse clock is connected to the first, the input of the SH and the first input of the first AND-NOT element, the output of which is connected through the first element to the second clock output. pulses, the first output of which is connected to the output of the second, the element AND-NOT and the second input of the first element AND-NOT, the output of which is connected to
первым входом второго элемента И-НЕ, второй вход которого соединен с выходом элемента ИЛИ, второй вход которого соединен с выходом второго элемента НЕ, вход которого соединен с управл ющим входом тактовател импульсов ,the first input of the second NAND element, the second input of which is connected to the output of the OR element, the second input of which is connected to the output of the second element NOT, the input of which is connected to the control input of the pulse clock,
На фиг. 1 представлена структурна схема устройства; на фиг. 2 - структурна схема блока синхронизации и тактовател импульсов.FIG. 1 shows a block diagram of the device; in fig. 2 is a block diagram of a synchronization unit and pulse clock.
Устройство содержит регистры 1 и 2 сдвига, сумматор 3, триггер 4, элементы ИЛИ 5-7, элементы И 8-12, элементы 13 и 14 задержки на такт, элемент НЕ 15, блок 16 синхронизации, тактователи 17 и 18 импульсов, формирователи 19 и 20 импульсов, информационные входы 21 и 22 устройства.The device contains the registers 1 and 2 shift, adder 3, trigger 4, elements OR 5-7, elements AND 8-12, elements 13 and 14 of the delay per cycle, the element 15, the block 16 synchronization, clocks 17 and 18 pulses, drivers 19 and 20 pulses, information inputs 21 and 22 devices.
Блок синхронизации содержит генератор 23 тактовых импульсов, распределитель 24 импульсов, генератор 25 одиночных импульсов, триггер 26, The synchronization unit contains a generator of 23 clock pulses, a distributor of 24 pulses, a generator of 25 single pulses, a trigger 26,
коммутаторы 27 и 28, элемент НЕ 29, выхоТактователи 17 и 18 импульсов содержат элементы И-НЕ 35 и 36, элементы НЕ 37 и 38, элемент ИЛИ 39, информационный вход 40, управл ющий вход 41 и выходы 42 и 43.the switches 27 and 28, the element NOT 29, the outputrs 17 and 18 of the pulses contain the elements AND-NOT 35 and 36, the elements NOT 37 and 38, the element OR 39, the information input 40, the control input 41 and the outputs 42 and 43.
Устройство работаетследующим образом,The device works as follows
В исходном состо нии коммутатором 27 блока 16 синхронизации подключают выход генератора 25 одиночных импульсов к информационному входу триггера 26, Генератор 23 тактовых импульсов блока 16 синхронизации формирует последовательность тактовых импульсов , из которых п-разр дный распределитель 24 импульсов формирует п последовательностей импульсов, длительностью 1/f, периодом и сдвинутых один относительно другого на врем , где f - частота- тактовых импульсов генератора 23 тактовых импульсов, п - количество разр дов регистров 1 и 2 сдвига. Кот-п утатором 28 подают сигнал логической единицы с выхода элемента НЕ 29 на вход запуска, генератора 25 одиночных импульсов , на выходе которого выдел етс одиночный импульс из последовательности п-го разр да распределител 24 импульсов. Выходной импульс генератора 25 одиночных импульсов через коммутатор 27 поступает на информащ1онный вход триггера 26 устанавлива его в единичное состо ние. Сигнал логической единицы пр мого выхода три гера 26 поступает на входы управлен регистров 1 и 2 сдвига, которые под действием тактовых импульсов, посту щих с первого выхода блока 16 синхр низации, устанавливаютс в нулевое состо ние, поскольку на их входе.вв да данных действует сигнал логического нул . Триггер 4 устанавливаетс в нулевое состо ние нулевым сигналом сдвигаемым с выхода регистра 2 сдвига . Таким образом, р исходной состо нии регистры 1 и 2 сдвига, а также триггер 4 наход тс в нулевом состо нии . Режим вычислений устанавливаетс коммутатором 27 путем подключени выхода генератора 25 одиночных импульсов к входам запуска формирователей 19 и 20 импульсов. Вычислени к квадраторе-умножителе начинаютс после запуска с помощью коммутатора 28 генератора 25 одиночных импульсов , выходной импульс которого запускает формирователи 19 и 20 импульсов . На выходах формирователей 19 и 20 импульсов формируютс импульсы, длительность которых пропорциональна сигналам (аналоговым или цифровым), действующим на информационных входах 21 и 22 устройства. Если длительность выходных импуль сов формирователей 19 и 20 импульсов различна, то наибольший по длительности импульс выдел етс на выходе . элемента ИЛИ 7, а импульс меньшей длительности - на выходе элемента И 12, под действием которого тактователь 17 импульсов формирует из последовательности импульсов п-го разр да распределител 24 импульсов пачку импульсов, количество которых пропорционально наименьшей величине действующей на одном из информационных входов 21 и 22 устройства, а также импульс, стробирующий эту пачку импульсов. Стробирующий импульс тактовател 17 импульсов открывает элементы И 9 и 10, а также через элемент НЕ 15 блокирует элемент И 1 Пачка импульсов с импульсного выхода тактовател 17 импульсов поступает на информационный вход триггера 4. Первьй импульс пачки устанавливает в единичное состо ние триггер 4 в п-м такте (соответствуницем сдвигу п-х разр дов кодов с выходов регистров 1 и 2 сдвига). Установка триггера 4 в единичное, состо ние приводит к формированию на его инверсном выходе нулевого сигнала, блокирующего элемент И 8, а на пр мом выходе - единичного сигнала, который спуст врем задержки элементом 13 задержки на такт начинает действовать через элемент ИЛИ 5 на первом входе элемента И 8. Под действием .тактовьк импульсов первого выхода .блока 16 синхронизации с выхода регистра 2 сдвига в первом такте сдвигаетс младший разр д начального нулевого кода, сигнал которого поступает на инверсный вход.сброса триггера 4 и устанавливает его в нулевое положение. В нулевом состо нии на инверсном выходе триггера 4 формируетс единичный сигнал, который снимает блокировку элемента ИЗ. Благодар задержке элементом 13 задержки на такт сигнала пр мого выхода триггера 4 на входе элемента И 8 формируетс импульсный сигнал, который в первом такТе записываетс в качестве младшего разр да кода в регистр 2 сдвига под действием тактовых импульсов первого выхода блока 16 синхронизации. В течение первого такта выходной сигнал первого разр да распределител 24 импульсов, действующий на третьем выходе блока 16 синхронизации, поступает через элемент И 10, открытый сигналом стробирующего выхода тактовател 17 импульсов, и через элемент ИЛИ 6, сумматор 3 на информационный вход регистра 1 сдвига. Под действием тактовых импульсов первого выхода блока 16 синхронизации в первом такте в регистр 1 сдвига записываетс единичный сигнал в качестве младшего разр да кода. В течение последующих тактов с второго до п-го нулевые разр ды кодов с второго по п-й под действием тактовых импульсов первого выхода блока 16 синхронизации переписываютс с выходов регистров 1 и 2 сдвига на их информационные входы , а единица младшего разр да кода продвигаетс в последний разр д регистров 1 и 2 сдвига. Таким образом,после шага вычислений в течение п тактов в регистра 1 и 2 сдвига формируютс cooTBetcTBeHHo двоичные коды квадратной функции х 1 и аргумента Х;, 1. На втором и последующих шагах вычислений доокончани действи наименьшего импульсного сигнала на выходах формирователей 19 и 20 импульсов устройство формирует в регистрах 1 и 2 сдвига с ответственно двоичные коды квадратич ной функции и аргумента согласно соотношению xf XiV2xi.,+ 1, где Xj и значени аргумента квадратичной функции на i и i-1 шагах вычислений соответственно. Например, установка триггера 4 в единичное состо ние i-м импульсом пачки, действующей на импульсном выходе тактовател 17 импульсов,обеспе чивает формирование в регистрах 1 и сдвига двоичных кодов величин х 2 и X. соответственно согласно соотношению (1) следующим образом. Под действием тактовых импульсов первого выхода блока 16 синхронизации на первый вход сумматора 3 сдвигаетс двоичный код величины X квадратичной функции на предьщущем шаге вычислений, а с выхода регистра 2 сдвига через элемент 14 задержки на такт, элементы И 9 или 6 на второй вход сумматора 3 сдвигаетс двоичный код аргумента х.. Элемент 14 задержки обеспечивает сдвиг на один разр д двоичного кода х аргумента на предьщущем шаге вьшисле ний по отношению к двоичному коду функции х, сдвигаемому с выхода ре гистра 1 сдвига. Сумматор 3 формируе согласно соотношению (1) двоичный, код квадратичной функции х ; на i-м шаге вычислений, который последовательно , начина с младшего разр да, сдвигаетс с выхода сумматора 3 в ре гистр 1 сдвига. Единица младшего раз р да поступает с третьего выхода бло ка 16 синхронизации через элементы И 10, ИЛИ 6 на второй вход суммат ра 3. В это врем в регистре 2 сдвига двоичный код величины х. увеличиваетс на единицу. Действительно, уста новка триггера 4 в едини«1ное состо ние обеспечивает разрыв цепи циркул ции кодов с выхода регистра 2 сдвига на его вход, так как элемент И 8 закрыт нулевым сигналом инверсного выхода триггера 4. Следовательно, до возврата триггера 4 в нулевое состо ние в младшие разр ды кода регистра 2 сдвига записываютс нулевые сигналы. Триггер 4 возвращает в нулевое состо ние первый, начина с младшего разр да, нулевой сигнал кода, который сдвигаетс с выхода регистра 2 сдвига. Переход триггера 4 из единичного состо ни в нулевое приводит к формированию на выходе элемента И 8 импульсного сигнала благодар задержке элементом 13 задержки единичного сигнала пр мого выхода триггера 4 его предьщущего состо ни . Следовательно, вместо сдвигаемого с выхода регистра 2 сдвига нулевого сигнала на информационный вход регистра 2 сдвига поступает единичный сигнал с выхода элемента И 8. Остальные разр ды двоичного кода, сдвигаемого с выхода регистра 2 сдвига, переписываютс в регистр 2 сдвига без изменени через элементы ИЛИ 5 и И 8, так как триггер 4 находитс в нулевом состо нии . Таким образом, двоичный код в регистре 2 сдвига на каждом шаге вычислений увеличиваетс на единицу и соответствует количеству импульсов , действующих на импульсном выходе тактовател 17 импульсов. После окончани действи наименьшего импульса на выходе формировател 19 или 20 импульсов элемент И 12 закрываетс и. на выходах тактовател 17 импульсов устанавливаютс нулевые сигналы. Нулевой сигнал стробирующего выхода тактовател 17 импульсов блокирует элементы И 9 и 10, а также через элемент НЕ 15 снимает блокировку элемента И 11, на третьем входе которого продолжает действовать импульс стробирующего выхода тактовател 18 до окончани действи наибольшего импульса на выходе формировател 19 или 20 импульсов. На интервале времени от момента окончани наименьшего до момента окончани наибольшего импульса на выходах формирователей 19 и 20 импульсов устройство реализует операцию умножени двух величин согласно следующему соотношению x-a X , (2) где X - наименьший сомножитель; у - наибольший сомножитель. К моменту окончани наименьшего импульса (соответствующего наименьшему сомножителю), в регистре 1 сдвигаIn the initial state, the switch 27 of the synchronization unit 16 connects the generator output 25 of single pulses to the information input of the trigger 26. The clock generator 23 of the synchronization unit 16 generates a sequence of clock pulses, of which n-bit distributor 24 pulses form n pulse sequences of duration 1 / f, period, and shifted one relative to the other at the time, where f is the frequency-clock pulses of the generator 23 clock pulses, n is the number of bits of shift registers 1 and 2. Cote-p utator 28 sends a logical unit signal from the output of the NOT 29 element to the start input, a generator of 25 single pulses, the output of which separates a single pulse from the sequence of the n-th bit of the distributor 24 pulses. The output pulse of the generator 25 single pulses through the switch 27 is fed to the information input of the trigger 26, setting it to one state. The signal of the logical unit of the direct output of triple 26 is fed to the inputs of the control of the shift registers 1 and 2, which, under the action of the clock pulses coming from the first output of the synchronization unit 16, are set to the zero state, because logical zero signal. The trigger 4 is set to zero by a zero signal shifted from the output of the shift register 2. Thus, in the initial state, the shift registers 1 and 2, as well as the trigger 4, are in the zero state. The calculation mode is established by the switch 27 by connecting the generator output 25 of single pulses to the start inputs of the drivers 19 and 20 pulses. Calculations to the multiplier quadrant begin after the launch, using the switch 28 of the generator 25 single pulses, the output pulse of which triggers the pulse formers 19 and 20. At the outputs of the formers 19 and 20 pulses, pulses are formed, the duration of which is proportional to the signals (analog or digital) acting on the information inputs 21 and 22 of the device. If the duration of the output pulses of the formers 19 and 20 pulses are different, then the longest pulse is released at the output. of the element OR 7, and a smaller pulse is at the output of the element 12, under the action of which the pulse clock 17 forms a pulse train of 24 times the pulse distributor 24 pulse pulses, the number of which is proportional to the smallest value acting on one of the information inputs 21 and 22 devices, as well as the pulse strobe this batch of pulses. A clock pulse strobe 17 pulses opens AND 9 and 10 elements, and also blocks NOT element I 15 through a pulse element. Pulse output pulse pulse pulse 17 arrives at the trigger information input 4. The first burst pulse sets the trigger state 4 to 1 m tact (corresponding to the shift of the n-th bits of the codes from the outputs of registers 1 and 2 shift). Setting the trigger 4 to one, the state leads to the formation of a zero signal at its inverse output, blocking the AND 8 element, and at the direct output - a single signal that after the delay time of the delay element 13 starts to act through the element OR 5 at the first input element 8. Under the action of .contact pulses of the first output of the synchronization unit 16 from the output of the shift register 2 in the first cycle the lower bit of the initial zero code is shifted, the signal of which goes to the inverse reset of the trigger 4 and sets casts it in the zero position. In the zero state, on the inverse output of the trigger 4, a single signal is generated, which removes the blocking of the IZ element. Due to the delay element 13 of the clock cycle of the direct output signal of the trigger 4 at the input of the element 8, a pulse signal is generated, which in the first TC is recorded as the low-order code in the shift register 2 under the action of the clock pulses of the first output of the synchronization unit 16. During the first clock cycle, the output signal of the first bit of the pulse distributor 24 acting on the third output of the synchronization unit 16 comes through an AND 10 element, opened by the pulse gate output signal of the 17 pulse pulses, and through the OR 6 element, the adder 3 to the information input of the shift register 1. Under the action of the clock pulses of the first output of the synchronization unit 16 in the first clock cycle, a single signal is recorded in the shift register 1 as a low-order bit. During the subsequent clocks from the second to the n-th, the zero bits of the codes from the second to the nth under the action of the clock pulses of the first output of the synchronization unit 16 are copied from the outputs of the shift registers 1 and 2 to their information inputs, and the low-order code moves to the last bit of registers 1 and 2 shift. Thus, after the calculation step, the binary codes of the square function x 1 and the argument X ;, 1 are formed during the clock cycles in the shift register 1 and 2 cooTBetcTBeHHo. In the second and subsequent calculation steps, the smallest pulse signal at the outputs of the formers 19 and 20 pulses in registers 1 and 2, c forms the binary codes of the quadratic function and the argument according to the relation xf XiV2xi., + 1, where Xj and the argument values of the quadratic function at the i and i-1 calculation steps, respectively. For example, setting trigger 4 to the single state by the i-th pulse of a stack acting on the pulse output of the clock 17 pulses ensures that the binary codes of x 2 and X are shifted in registers 1 and the shifts, respectively, according to relation (1) as follows. Under the action of the clock pulses of the first output of the synchronization unit 16 to the first input of the adder 3, the binary code of the X value of the quadratic function is shifted in the previous calculation step, and from the output of the shift register 2 through the delay unit 14, the tacts And 9 or 6 to the second input of the adder 3 are shifted the binary code of the argument x .. The delay element 14 provides a shift by one bit of the binary code x of the argument in the previous step of the assignment with respect to the binary code of the function x, shifted from the output of the register of the 1 shift. The adder 3 is formed according to the relation (1) binary, the code of the quadratic function x; at the i-th computation step, which is sequentially, starting with the least significant bit, is shifted from the output of the adder 3 to the register of the 1st shift. The unit of the youngest row enters from the third output of the synchronization block 16 through the elements AND 10, OR 6 to the second input of the accumulator 3. At this time, in the shift register 2, the binary code of the value x. increases by one. Indeed, the installation of trigger 4 into one state ensures the breaking of the circulation circuit of the codes from the output of shift register 2 to its input, since element 8 is closed by the zero signal of the inverse output of trigger 4. Therefore, until the trigger 4 returns to the zero state the lower bits of the shift register register 2 record zero signals. The trigger 4 returns to the first zero state, starting with the lower bit, the zero code signal, which is shifted from the output of the shift register 2. The transition of the trigger 4 from the single state to the zero state leads to the formation at the output of the element And 8 of a pulse signal due to the delay by the element 13 of the delay of a single signal of the direct output of the trigger 4 of its previous state. Therefore, instead of a zero signal shifted from the output of register 2, a single signal from the output of element 8 arrives at the information input of the shift register 2. The remaining bits of the binary code shifted from the output of shift register 2 are rewritten into shift register 2 without changing through the elements OR 5 and And 8, since trigger 4 is in the zero state. Thus, the binary code in the shift register 2 at each step of the computation increases by one and corresponds to the number of pulses operating at the pulse output of the clock 17 pulses. After the expiration of the smallest pulse at the output of shaper 19 or 20 pulses, element And 12 is closed and. at the outputs of the clock pulse 17, zero signals are set. The zero signal of the gate output of the pulse generator 17 blocks And 9 and 10 elements, and also removes the block Element I 11 through the element NOT 15, at the third input of which the pulse output of the clock pulse 18 continues to operate until the end of the maximum pulse of the generator 19 or 20 pulses. In the time interval from the moment of the end of the smallest to the moment of termination of the largest pulse at the outputs of the formers 19 and 20 pulses, the device implements the operation of multiplying two quantities according to the following relation x-a X, (2) where X is the smallest factor; y is the largest factor. By the end of the smallest pulse (corresponding to the smallest factor), in shift register 1
формируетс согласно соотношению ,(1) двоичный код X квадрата наименьшего co raoжитeл , а в регистре 2 сдвига двоичный код X наименьшего сомножител , который под действием тактовых импульсов первого выхода блока 16 синхронизации сдвигаетс через элементы И 11 и ИЛИ 6 на второй вход сумматора 3, где суммируетс с двоичным кодом величины х, сдвигаемой с выхода регистра 1 сдвига. Двоичный код суммы, начина с младшего разр да, под действием тактовых импульсов первого выхода блока 16 синхронизации записываетс в- регистра 1 сдвига за врем п тактов.the binary code X of the smallest co-generator square is formed according to the relation (1), and in the shift register 2 the binary code X of the smallest multiplier is shifted by AND 11 and OR 6 to the second input of the adder 3, where is summed with the binary code of the value x shifted from the output of the shift register 1. The binary code of the sum, starting with the least significant bit, under the action of the clock pulses of the first output of the synchronization unit 16, is recorded in the shift register 1 during the p-cycles.
Формирование согласно соотношению (2) продолжаетс аналогичным образом на последующих шагах вычислений до тех пор, пока действует импульс наибольшего сомножител на выходе формировател 19 или 20 импульсов .The formation according to relation (2) proceeds in a similar manner at subsequent steps of the calculations as long as the pulse of the largest factor at the output of the generator 19 or 20 pulses is in effect.
После окончани импульса наибольшего сомножител на стробируницем выходе тактовател 18 импульсов устанавливаетс нулевой сигнал, блокирующий элемент И 11. Так как элементы И 9 и 10 также блокируютс нулевым сигналом стробирующего выхода тактовател 17 импульсов, то на втором входе сумматора 3 действуют нулевые сигналы, а в регистре 1 сдвига динамическим способом, путем циркул ции кода через сумматор 3 фиксируетс двоичный код произведени двух входных величин.After the termination of the pulse of the largest multiplier at the gate output of the pulse clock 18, a zero signal is set, the blocking element is And 11. Since the elements 9 and 10 are also blocked by the zero signal of the gate output of the pulse clock 17, zero signals act on the second input of the adder 3, and in the register 1, the shift in a dynamic way, by circulating the code through the adder 3, fixes the binary code of the product of the two input values.
В регистре 2 сдвига запоминаетс динамическим способом (путем циркул ции кода через элементы ИЛИ 5 и И 8), двоичный код наименьшего сомножител входной величины.In shift register 2, is stored dynamically (by circulating the code through the elements OR 5 and AND 8), the binary code of the smallest factor of the input quantity.
Тактователь 17 или 18 импульсов работает следующим образом. The clock 17 or 18 pulses operates as follows.
На информационный вход 40 поступает последовательность импульсов, а на управл ю ций вход 41 - сигнал управлени .The information input 40 receives a sequence of pulses, and the control input 41 receives a control signal.
В случае отсутстви сигнала управлени на управл ющем входе 41 на выходе элемента НЕ 38 устанавливаетс сигнал логической единицы, поступающий через элемент ИЛИ 39 на один из элемента И-НЕ 36. Во BpeMfi пдузы между импульсами на входе 33 на выходе элемента Й-НЕ 35 формируетс сигнал логической единицы, который совместно с единичным сигналом вькода элемента ИЛИ 39 устанавливает на выходе элемента И-НЕ 36 сигнал логического нул , блокирующий элемент И-НЕ 35 во врем действи импульса на входе 33. Сигнал логической единиш 1 выхода элемента И-НЕ 35 поддерживает сигнал логического нул на выходе элемента НЕ 37«In the absence of a control signal at the control input 41, the output of the NOT element 38 is set to a signal of a logical unit, coming through the element OR 39 to one of the AND-NOT element 36. In BpeMfi there is a pduza between the pulses at the input 33 at the output of the Y-NO 35 element the signal of the logical unit, which, together with the unit signal of the element OR 39 code, sets the signal of the logical zero to the output of the AND-36 element, blocking the AND-35 element during the action of the pulse at input 33. The signal of the logical unit 1 of the output of the AND-35 element supports ivaet logic zero signal at the output of NOT element 37 '
В случае действи единичного сигнала на управл ющем входе 41 на выходе элемента НЕ 38 устанавливаетс сигнал логического нул . Во врем паузы между импульсами на входе 33 на выходе элемента ИЛИ 39 устанавливаетс сигнал логического нул , формирующий на выходе элемента И-НЕ 36 единичный сигнал строба, который пропускает последовательность импульсов входа 33 через Элементы И-НЕ 35 и НЕ 37 на выход 42 тактовател 17 импульсов. В этом режиме во врем действи импульса на входе 33 нулевой сигнал на выходе элемента И-НЕ 35 блокирует элемент И-НЕ 36, на выходе которого поддерживаетс сигнал логической единицы строба.In the case of a single signal at control input 41, a logic zero signal is set at the output of the NOT element 38. During the pause between the pulses at the input 33 at the output of the element OR 39, a logical zero signal is set, which at the output of the element AND-NOT 36 is a single strobe signal that passes a sequence of pulses of the input 33 through the elements AND-NOT 35 and NOT 37 to the output 42 of the clock 17 pulses. In this mode, during a pulse at input 33, the zero signal at the output of the NAND element 35 blocks the NAND element 36, the output of which supports the signal of the strobe logical unit.
Предлагаемое устройство может использоватьс в режиме формировани квадратичной функции, если на входы 2 Г и 22 устройства поступает один и тот же сигнал (аналоговый или цифровой ). Если сигналы на входах 21 и 22 устройства различны, то оно формирует двоичный код произведени входных величин.The proposed device can be used in the quadratic function formation mode if the same signal (analog or digital) is fed to the inputs 2 and 22 of the device. If the signals at the inputs 21 and 22 of the device are different, then it forms the binary code of the product of the input quantities.
Использование предлагаемого устройства позвол ет сократить объем оборудовани по сравнению с известным устройством.The use of the proposed device makes it possible to reduce the amount of equipment as compared with the known device.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU833571596A SU1109743A1 (en) | 1983-02-16 | 1983-02-16 | Device for computing polynomial of second order |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU833571596A SU1109743A1 (en) | 1983-02-16 | 1983-02-16 | Device for computing polynomial of second order |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1109743A1 true SU1109743A1 (en) | 1984-08-23 |
Family
ID=21056359
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU833571596A SU1109743A1 (en) | 1983-02-16 | 1983-02-16 | Device for computing polynomial of second order |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1109743A1 (en) |
-
1983
- 1983-02-16 SU SU833571596A patent/SU1109743A1/en active
Non-Patent Citations (1)
| Title |
|---|
| 1. Авторское свидетельство СССР № 826345, кл. С 06 F 7/552, 1980. 2. Авторское свидетельство СССР по за вке № 3411857/24, кл. G 06 F 7/552, 1982 (прототип). * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| SU1109743A1 (en) | Device for computing polynomial of second order | |
| SU1322273A1 (en) | Square-law function generator | |
| SU1108442A1 (en) | Function generator | |
| SU1026140A1 (en) | Device for computing polynominal of degree 2 | |
| SU1180885A1 (en) | Square-law function generator | |
| SU1501049A1 (en) | Squarer | |
| SU1116424A1 (en) | Translator from residual class system code to position code | |
| SU1531086A1 (en) | Arithmetic-logic device | |
| SU1057944A2 (en) | Device for computing values of exponential function | |
| SU1254476A1 (en) | Device for calculating value of square root | |
| SU1117622A1 (en) | Walsh function generator | |
| SU911522A1 (en) | Digital function generator | |
| SU1168930A1 (en) | Device for calculating values of simple functions | |
| RU1777131C (en) | Stochastic generator of walsh functions | |
| SU1509878A1 (en) | Device for computing polynominals | |
| SU1057954A1 (en) | Correlator | |
| SU1198521A1 (en) | Device for controlling operation sequence of digital calculator | |
| SU896619A1 (en) | Exponential function computing device | |
| SU1141399A1 (en) | Device for calculating values of simple functions | |
| SU390671A1 (en) | ALL-UNION RATXt *! '! •'! '”••' t" ';.';?! ^ :: ii; ^ if and | |
| SU1487030A1 (en) | Digital functional converter | |
| SU1001092A1 (en) | Digital function converter | |
| SU1007103A1 (en) | Square rooting device | |
| SU422102A1 (en) | DELAY DEVICE | |
| SU911508A1 (en) | Device for comparing two numbers |