[go: up one dir, main page]

RU2475812C1 - Apparatus for multiplying numbers in "1 out of 4" code - Google Patents

Apparatus for multiplying numbers in "1 out of 4" code Download PDF

Info

Publication number
RU2475812C1
RU2475812C1 RU2011154055/08A RU2011154055A RU2475812C1 RU 2475812 C1 RU2475812 C1 RU 2475812C1 RU 2011154055/08 A RU2011154055/08 A RU 2011154055/08A RU 2011154055 A RU2011154055 A RU 2011154055A RU 2475812 C1 RU2475812 C1 RU 2475812C1
Authority
RU
Russia
Prior art keywords
code
block
nodes
transfer
inputs
Prior art date
Application number
RU2011154055/08A
Other languages
Russian (ru)
Inventor
Игорь Михайлович Ядыкин
Original Assignee
Федеральное государственное автономное образовательное учреждение высшего профессионального образования "Национальный исследовательский ядерный университет "МИФИ" (НИЯУ МИФИ)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Федеральное государственное автономное образовательное учреждение высшего профессионального образования "Национальный исследовательский ядерный университет "МИФИ" (НИЯУ МИФИ) filed Critical Федеральное государственное автономное образовательное учреждение высшего профессионального образования "Национальный исследовательский ядерный университет "МИФИ" (НИЯУ МИФИ)
Priority to RU2011154055/08A priority Critical patent/RU2475812C1/en
Application granted granted Critical
Publication of RU2475812C1 publication Critical patent/RU2475812C1/en

Links

Images

Landscapes

  • Complex Calculations (AREA)

Abstract

FIELD: information technology.
SUBSTANCE: apparatus has a tetrad shift register, a second multiplier register, a partial product unit, a product carry unit, a first carry adder unit, an adder unit, a sum carry flip flop unit, a second carry adder unit, a result register in "1 out of 4" code, a result carry unit, a control unit, n-bit quaternary inputs in "1 out of 4" code of the first and second multipliers, where n is the number of quaternary bits of multipliers, a shift input and error feature outputs.
EFFECT: faster operation of the device.
7 dwg, 3 tbl

Description

Изобретение относится к вычислительной технике, в частности к устройствам обработки данных, и может быть использовано для построения вычислительных систем с повышенной достоверностью получения результата и с высоким быстродействием.The invention relates to computer technology, in particular to data processing devices, and can be used to build computer systems with increased reliability of obtaining the result and with high speed.

Известно устройство для умножения чисел (RU №2021633 С1, МПК G06F 7/52, заявлено 10.07.1991, опубл. 15.10.1994), содержащее n одноразрядных узлов умножения (n - разрядность множимого), две группы по n буферных регистров, n комбинационных сумматоров первой группы и (n+1) комбинационных сумматоров второй группы, (n+1) регистров промежуточного результата, n триггеров переноса, (n-1) коммутаторов и узел формирования коррекции с соответствующими связями.A device for multiplying numbers (RU No. 2021633 C1, IPC G06F 7/52, claimed 10.07.1991, publ. 10/15/1994), containing n single-digit multiplication nodes (n - multiplicity of multiplicable), two groups of n buffer registers, n combination adders of the first group and (n + 1) combinational adders of the second group, (n + 1) registers of the intermediate result, n transfer triggers, (n-1) switches and a correction generation unit with corresponding connections.

Недостатком данного устройства является то, что в режиме функционирования не проводится проверка правильности выдаваемых данных, что, в свою очередь, не дает возможности повысить достоверность выдаваемых результатов.The disadvantage of this device is that in the operating mode does not check the correctness of the issued data, which, in turn, does not make it possible to increase the reliability of the issued results.

Причины, препятствующие достижению требуемого технического результата, заключаются в отсутствии средств, обеспечивающих возможность проверки правильности выдаваемого кода данных.The reasons that impede the achievement of the required technical result are the lack of tools that provide the ability to verify the correctness of the issued data code.

Известен ускоренный умножитель на нейронах (RU №2322688 С2, МПК G06F 7/52, заявлено 03.04.2006, опубл. 20.10.2007, БИ №11), содержащий блок ввода данных, блок регистра множимого, блок регистра множителя, блок суммирования, блок дешифратора, блок хранения результата, блок управления. В умножителе происходит умножение двоичных чисел. Произведение чисел получается как сумма частичных произведений, путем анализа младших разрядов множителя, сдвига на два разряда множителя вправо и сдвига множимого влево.Known accelerated multiplier on neurons (RU No. 2323288 C2, IPC G06F 7/52, announced April 3, 2006, publ. 10/20/2007, BI No. 11), containing a data input unit, a register register multiplier, a register register multiplier, a summation block, a block a decoder, a result storage unit, a control unit. In the multiplier, binary numbers are multiplied. The product of the numbers is obtained as the sum of the partial products, by analyzing the least significant bits of the factor, a shift of two bits of the factor to the right, and a shift of the multiplier to the left.

Недостатком данного устройства является то, что в режиме функционирования не проводится проверка правильности выдаваемых данных, что, в свою очередь, не дает возможности повысить достоверность выдаваемых результатов.The disadvantage of this device is that in the operating mode does not check the correctness of the issued data, which, in turn, does not make it possible to increase the reliability of the issued results.

Причины, препятствующие достижению требуемого технического результата, заключаются в отсутствии средств, обеспечивающих возможность проверки правильности выдаваемого кода данных.The reasons that impede the achievement of the required technical result are the lack of tools that provide the ability to verify the correctness of the issued data code.

Известно устройство для умножения чисел по модулю (патент РФ №2143723 С1, МПК G06F 7/52, G06F 7/72, заявлено 29.07.98, опубл. 27.12.99), содержащее первый и второй преобразователи двоичного кода по первому внутреннему модулю, первый и второй преобразователи двоичного кода по второму внутреннему модулю, с первого по шестой блоки элементов И, табличный вычислитель, преобразователи унитарного кода по первому и второму модулям и сумматор по модулю. Устройство обеспечивает умножение чисел в системе остаточных классов по двум модулям.A device for multiplying numbers modulo is known (RF patent No. 2143723 C1, IPC G06F 7/52, G06F 7/72, claimed July 29, 1998, publ. 12/27/99), containing the first and second binary code converters for the first internal module, the first and the second binary code converters for the second internal module, the first to sixth blocks of AND elements, a table computer, unitary code converters for the first and second modules, and an adder modulo. The device provides multiplication of numbers in the system of residual classes for two modules.

Недостаток данного устройства заключаются в том, что не проводится проверка правильности выдаваемых данных, что, в свою очередь, не дает возможности повысить достоверность выдаваемых результатов.The disadvantage of this device is that it does not check the correctness of the issued data, which, in turn, does not make it possible to increase the reliability of the issued results.

Причины, препятствующие достижению требуемого технического результата, заключаются в отсутствии средств, обеспечивающих возможность проверки правильности выдаваемого кода данных.The reasons that impede the achievement of the required technical result are the lack of tools that provide the ability to verify the correctness of the issued data code.

Наиболее близким устройством того же назначения к заявленному изобретению по совокупности признаков является принятое за прототип устройство для умножения чисел в коде "1 из 4" (RU №2251144 С1, МПК G06F 7/52, заявлено 28.10.2003, опубл. 27.04.2005, БИ №12), содержащее регистр тетрадного сдвига, блок частичных произведений, блок сумматоров, регистр результата в коде "1 из 4", блок контроля, входы четверичных разрядов в коде "1 из 4" первого и второго сомножителей устройства, вход записи устройства, вход синхроимпульсов устройства, вход константы 0 в коде "1 из 4" и выходы признака ошибки, при этом регистр тетрадного сдвига содержит n тетрад, где n - количество четверичных разрядов сомножителей, причем входы четверичных разрядов в коде "1 из 4" первого сомножителя устройства соединены с информационными входами соответствующих тетрад регистра тетрадного сдвига, информационные входы сдвига четверичных разрядов в коде "1 из 4" с первой по (n-1)-ю тетрад соединены соответственно с выходами четверичных разрядов в коде "1 из 4" со второй по n-ю тетрад регистра тетрадного сдвига, информационные входы сдвига четверичных разрядов n-й тетрады соединены с входом константы 0 в коде "1 из 4", блок частичных произведений содержит n узлов частичных произведений в коде "1 из 4", причем входы первой группы тетрад блока частичных произведений соединены с выходами младшей первой тетрады регистра тетрадного сдвига, причем блок сумматоров содержит (n-1) сумматор в коде "1 из 4", а регистр результата в коде " 1 из 4" содержит 2n тетрад четверичных разрядов, причем информационные входы с первой по n-ю тетрад четверичных разрядов регистра результата в коде "1 из 4" соединены с выходами старшей группы четверичных разрядов соответственно со второй по (n+1)-ю тетрад четверичных разрядов регистра результата в коде "1 из 4", выходы четверичных разрядов с (n+2)-й по 2n-ю тетрад регистра результата в коде "1 из 4" соединены соответственно с входами четверичных разрядов второго слагаемого с первого по (n-1)-й сумматоров в коде "1 из 4", при этом блок контроля содержит 2n узлов контроля кода "1 из 4", выходы которых соединены с выходами признака ошибки устройства, входы с первого по (n+1)-й узлов блока контроля кода "1 из 4" соединены с выходами четверичных разрядов соответственно с первой по (n+1)-ю тетрад четверичных разрядов регистра результата в коде "1 из 4", вход записи устройства соединен с входом установки регистра результата в коде "1 из 4" и входом записи регистра тетрадного сдвига, вход синхроимпульсов устройства соединен с синхровходами регистра результата в коде "1 из 4" и регистра тетрадного сдвига.The closest device of the same purpose to the claimed invention in terms of features is the prototype device for multiplying numbers in the code "1 of 4" (RU No. 2251144 C1, IPC G06F 7/52, claimed October 28, 2003, published on April 27, 2005, BI No. 12), which contains a notebook shift register, a partial product block, an adder block, a result register in the “1 of 4” code, a control block, quadruple inputs in the “1 of 4” code of the first and second device factors, a device recording input, device clock input, constant 0 input in the code "1 of 4" and outputs a sign of error, while the tetrad shift register contains n tetrads, where n is the number of quadruple bits of the factors, and the inputs of the quadruple bits in the code “1 of 4” of the first factor of the device are connected to the information inputs of the corresponding tetrads of the tetrad shift register, the information inputs of the quadruple bits shift to in the code “1 of 4” from the first to the (n-1) th tetrad are connected, respectively, with the outputs of the four-digit bits in the code “1 of 4” from the second to the n-th tetrad of the tetrad shift register, the information inputs of the quadruple shift are the rows of the nth notebook are connected to the input of the constant 0 in the code “1 of 4”, the block of partial products contains n nodes of partial works in the code “1 of 4”, the inputs of the first group of notebooks of the block of partial works connected to the outputs of the lower first notebook of the notebook register shift, and the adder block contains (n-1) the adder in the code "1 of 4", and the result register in the code "1 of 4" contains 2n tetrads of four-digit bits, and the information inputs are from the first to the nth tetrads of four-digit bits of the result register in the code "1 of 4" are connected to the outputs of a hundred group of quaternary digits, respectively, with the second in the (n + 1) th tetrad of quaternary digits of the result register in the code "1 of 4", the outputs of the quaternary digits with the (n + 2) th in the 2nth tetrad of the result register in the code "1 of 4 "are connected respectively to the inputs of the four-digit bits of the second term from the first to (n-1) -th adders in the code" 1 of 4 ", while the control unit contains 2n nodes of the code" 1 of 4 ", the outputs of which are connected to the outputs a sign of a device error, inputs from the first to (n + 1) -th nodes of the code control block "1 of 4" are connected to the outputs of the quad digits, respectively, from the first to (n + 1) th tetrad of four-digit digits of the result register in the code "1 of 4", the input of the recording device is connected to the input of the register of the result in the code "1 of 4" and the input of the register of the notebook shift register, the clock input the device is connected to the sync inputs of the result register in the code "1 of 4" and the notebook shift register.

Недостатком данного устройства является то, что на каждом шаге вычислений значения текущей накапливаемой суммы частичных произведений устанавливаются на регистре результата через время, равное сумме времени вычисления поразрядных произведений, плюс время поразрядного суммирования и плюс время на выполнение последовательной коррекции n межразрядных переносов.The disadvantage of this device is that at each step of the calculation, the values of the current accumulated sum of partial products are set on the result register after a time equal to the sum of the time for calculating the bitwise products, plus the time for the bitwise summation and plus the time for sequential correction of n bitwise transfers.

Причины, препятствующие достижению требуемого технического результата, заключаются в том, что в устройстве отсутствуют средства, обеспечивающие хранение поразрядных переносов и связи для передачи их на следующем шаге.The reasons that impede the achievement of the required technical result are that the device lacks the means to store bitwise transfers and communications for transferring them to the next step.

Техническим результатом изобретения является увеличение быстродействия устройства.The technical result of the invention is to increase the speed of the device.

Предлагаемое устройство отличает регулярность связей узлов и связей, а также обеспечение повышенной достоверности выдаваемого результата, за счет поразрядного контроля выполнения операции умножения чисел, и равномерное распределение энергии по разрядам в процессе работы, что особенно важно при реализации аппаратуры устройства в виде СБИС.The proposed device is distinguished by the regularity of the connections of nodes and links, as well as providing increased reliability of the output, due to bitwise control of the operation of multiplication of numbers, and uniform distribution of energy over the discharges during operation, which is especially important when implementing device equipment in the form of VLSI.

Указанный технический результат при осуществлении изобретения достигается тем, что в устройство для умножения чисел в коде "1 из 4", содержащее регистр тетрадного сдвига, блок частичных произведений, блок сумматоров, регистр результата в коде "1 из 4", блок контроля, входы четверичных разрядов в коде "1 из 4" первого и второго сомножителей устройства, вход записи устройства, вход синхроимпульсов устройства, вход константы 0 в коде "1 из 4" и выходы признака ошибки, при этом регистр тетрадного сдвига содержит n тетрад, где n - количество четверичных разрядов сомножителей, причем входы четверичных разрядов в коде "1 из 4" первого сомножителя устройства соединены с информационными входами соответствующих тетрад регистра тетрадного сдвига, информационные входы сдвига четверичных разрядов в коде "1 из 4" с первой по (n-1)-ю тетрад соединены соответственно с выходами четверичных разрядов в коде "1 из 4" со второй по n-ю тетрад регистра тетрадного сдвига, информационные входы сдвига четверичных разрядов n-й тетрады соединены с входом константы 0 в коде "1 из 4", блок частичных произведений содержит n узлов частичных произведений в коде "1 из 4", причем входы первой группы тетрад блока частичных произведений соединены с выходами младшей первой тетрады регистра тетрадного сдвига, причем блок сумматоров содержит (n-1) сумматор в коде "1 из 4", а регистр результата в коде "1 из 4" содержит 2n тетрад четверичных разрядов, причем информационные входы с первой по п-ю тетрад четверичных разрядов регистра результата в коде "1 из 4" соединены с выходами старшей группы четверичных разрядов соответственно со второй по (n+1)-ю тетрад четверичных разрядов регистра результата в коде "1 из 4", выходы четверичных разрядов с (n+2)-й по 2n-ю тетрад регистра результата в коде "1 из 4" соединены соответственно с входами четверичных разрядов второго слагаемого с первого по (n-1)-й сумматоров в коде "1 из 4", при этом блок контроля содержит 2n узлов контроля кода "1 из 4", выходы которых соединены с выходами признака ошибки устройства, входы с первого по (n+1)-й узлов блока контроля кода "1 из 4" соединены с выходами четверичных разрядов соответственно с первой по (n+1)-ю тетрад четверичных разрядов регистра результата в коде "1 из 4", вход записи устройства соединен с входом установки регистра результата в коде "1 из 4" и входом записи регистра тетрадного сдвига, вход синхроимпульсов устройства соединен с синхровходами регистра результата в коде "1 из 4" и регистра тетрадного сдвига, дополнительно введены регистр второго сомножителя, блок переносов произведения, первый блок сумматоров переносов, блок триггеров переноса суммы, второй блок сумматоров переносов, блок переносов результата и вход сдвига, причем регистр второго сомножителя содержит n тетрад, причем входы четверичных разрядов в коде "1 из 4" второго сомножителя устройства соединены с информационными входами соответствующих тетрад регистра второго сомножителя, а выходы регистра соединены с входами второй группы соответствующих тетрад блока частичных произведений, при этом блок переносов произведения и первый блок сумматоров переносов содержат по n узлов, причем выходы тетрад блока частичных произведений в коде " 1 из 4" соединены с входами первой группы соответствующих узлов первого блока сумматоров переносов, входы второй группы которого соединены с выходами в коде "1 из 3" соответствующих узлов блока переносов произведения, выход переноса узлов первого блока сумматоров переносов соединен с первым входом одного переноса соответствующих узлов блока переносов произведения, второй вход одного переноса и вход двух переносов узлов блока переносов произведения соединены с одноименными выходами соответствующих узлов тетрад блока частичных произведений в коде "1 из 4", выходы в коде "1 из 4" с первого по (n-1)-й узлов первого блока сумматоров переносов соединены с соответствующими входами четверичных разрядов в коде "1 из 4" первого слагаемого соответственно с первого по (n-1)-й сумматоров блока сумматоров, выходы в коде "1 из 4" n-го узла первого блока сумматоров переносов соединены с информационными входами 2n-й тетрады четверичных разрядов регистра результата в коде "1 из 4", при этом блок триггеров переноса суммы и второй блок сумматоров переносов содержат по (n-1) узлов, причем входы первой группы в коде "1 из 4" с первого по (n-1)-й узлов второго блока сумматоров переносов соединены с информационными выходами соответственно с первого по (n-1)-й сумматоров в коде "1 из 4" блока сумматоров, входы второй группы в коде "1 из 2" с первого по (n-1)-й узлов второго блока сумматоров переносов соединены с соответствующими выходами соответственно с первого по (n-1)-й узлов блока триггеров переноса суммы, выход переноса с первого по (n-1)-й узлов второго блока сумматоров переносов соединен с первым входом переноса соответствующих узлов блока триггеров переноса суммы, второй вход переноса которых соединен с выходами переносов соответственно с первого по (n-1)-й сумматоров в коде "1 из 4" блока сумматоров, блок переносов результата содержит (n-1) узлов, причем информационные входы первой группы в коде "1 из 4" с первого по (n-1)-й узлов которого соединены с информационными выходами четверичных разрядов с (n+2)-й по 2n-ю тетрад регистра результата в коде "1 из 4", первые входы переносов с первого по (n-1)-й узлов блока переносов результата соединены с прямым выходом единицы в коде "1 из 2" соответственно с первого по (n-1)-й узлов блока триггеров переноса суммы, вторые входы переносов со второго по (n-1)-й узлов блока переносов результата соединены с выходами переносов соответственно с первого по (n-2)-й узлов блока переносов результата, второй вход переносов первого узла блока переносов соединен с константой нуля, входы с (n+2)-го по 2n-й узлов блока контроля кода "1 из 4" соединены с выходами четверичных разрядов соответственно с первого по (n-1)-й узлов блока переносов результата в коде "1 из 4", вход синхроимпульсов устройства также соединен с синхровходами узлов блока переносов произведения и блока триггеров переноса суммы, вход записи устройства также соединен с входом записи регистра второго сомножителя, с входами установки узлов блока переносов произведения и блока триггеров переноса суммы, вход сдвига устройства соединен с входом сдвига с первого по (n-1)-й узлов блока переносов результата.The specified technical result in the implementation of the invention is achieved by the fact that in the device for multiplying numbers in the code "1 of 4", containing a notebook shift register, a block of partial products, a block of adders, a register of results in the code "1 of 4", a control unit, quadruple inputs digits in the code “1 of 4” of the first and second device factors, the input of the device recording, the input of the device clock, the input of the constant 0 in the code “1 of 4” and the outputs of the error indicator, while the notebook shift register contains n tetrads, where n is the number of quaternary p rows of factors, and the inputs of the four-digit bits in the code "1 of 4" of the first factor of the device are connected to the information inputs of the corresponding notebooks of the tetrad shift register, the information inputs of the shift of the four-digit bits in the code "1 of 4" from the first to (n-1) -th notebook connected respectively to the outputs of the four-digit bits in the code “1 of 4” from the second to the nth tetrads of the notebook shift register, the information inputs of the four-digit bits of the nth notebook are connected to the input of the constant 0 in the code “1 of 4”, the block of partial works contains n y of partial works in the code "1 of 4", and the inputs of the first group of tetrads of the block of partial works are connected to the outputs of the lower first tetrad of the notebook shift register, and the adder block contains (n-1) the adder in the code "1 of 4", and the result register in the code “1 of 4” contains 2n tetrads of quadruple digits, and the information inputs from the first to the fifth tetrades of quadruple digits of the result register in the code “1 of 4” are connected to the outputs of the oldest group of quadruple digits, respectively, from the second to (n + 1) 4th tetrad tetrad register and the result in the code “1 of 4”, the outputs of the four-digit bits from the (n + 2) -th through the 2nth notebook of the result register in the code “1 of 4” are connected respectively to the inputs of the four-digit bits of the second term from the first to (n-1 ) of the adders in the code "1 of 4", while the control unit contains 2n nodes of the code "1 of 4", the outputs of which are connected to the outputs of the device error indicator, inputs from the first to (n + 1) -th nodes of the control unit the codes “1 of 4” are connected to the outputs of the four-digit bits, respectively, from the first to (n + 1) -th tetrads of the four-digit bits of the result register in the code “1 of 4 ", the input of the recording device is connected to the input of the register of the result register in the code" 1 of 4 "and the input of the write register of the notebook shift, the input of the clock pulses of the device is connected to the clock inputs of the register of the result in the code" 1 of 4 "and the register of the notebook shift, the register of the second factor is additionally entered , a hyphenation block of a product, a first block of hyphenation adders, a block of summation transfer triggers, a second block of hyphenation adders, a hyphenation block of a result, and a shift input, and the register of the second factor contains n notebooks, the inputs being the digits in the code "1 of 4" of the second factor of the device are connected to the information inputs of the corresponding tetrads of the register of the second factor, and the outputs of the register are connected to the inputs of the second group of the corresponding tetrads of the block of partial products, while the transfer unit of the product and the first block of transfer adders contain n nodes moreover, the outputs of the tetrads of the block of partial works in the code "1 of 4" are connected to the inputs of the first group of the corresponding nodes of the first block of carry adders, the inputs of the second group of which are dined with outputs in the code “1 of 3” of the corresponding units of the unit of transfers of work, the output of the transfer of nodes of the first block of adders of transfers is connected to the first input of one transfer of the corresponding nodes of the unit of transfers of work, the second input of one transfer and the input of two transfers of nodes of the block of transfers of the product are connected to the same the outputs of the corresponding nodes of the notebooks of the block of partial works in the code "1 of 4", the outputs in the code "1 of 4" from the first to the (n-1) th nodes of the first block of carry-over adders are connected to the corresponding inputs four-digit bits in the code “1 of 4” of the first term, respectively, from the first to the (n-1) th adders of the adder block, the outputs in the code “1 of 4” of the nth node of the first block of adder transfers are connected to the information inputs of the 2nth tetrads of quaternary digits of the result register in the code "1 of 4", while the block of transfer triggers of the sum and the second block of carry adders contain (n-1) nodes, and the inputs of the first group in the code "1 of 4" from the first to (n- 1) of the nodes of the second block of adders carry connected to the information outputs, respectively, with the first o by the (n-1) th adders in the code “1 of 4” of the adder block, the inputs of the second group in the code “1 of 2” from the first to the (n-1) th nodes of the second block of adders of transfers are connected to the corresponding outputs, respectively from the first to (n-1) -th nodes of the sum transfer trigger block, the transfer output from the first to (n-1) -th nodes of the second transfer adder block is connected to the first transfer input of the corresponding nodes of the sum transfer trigger block, the second transfer input of which is connected with carry outputs from the first to the (n-1) -th adders in the code "1 of 4" of the sum block mators, the result transfer block contains (n-1) nodes, the information inputs of the first group in the code "1 of 4" from the first to (n-1) -th nodes of which are connected to the information outputs of the quadruple digits with (n + 2) - 1st through 2nth notebook of the result register in the code "1 of 4", the first inputs of transfers from the first to (n-1) -th nodes of the block of transfers of results are connected to the direct output of the unit in the code "1 of 2", respectively, from the first to ( n-1) -th nodes of the sum transfer trigger block, second transfer inputs from the second to (n-1) -th nodes of the result transfer block are connected to the output and transfers from the first to the (n-2) th nodes of the transfer block of the result, the second input of the transfers of the first node of the transfer block is connected to a zero constant, the inputs from the (n + 2) th to 2 n-th nodes of the code control block "1 of 4 "are connected to the outputs of the four-digit bits, respectively, from the first to the (n-1) th nodes of the result transfer block in the code" 1 of 4 ", the input of the device clock pulses is also connected to the clock inputs of the nodes of the product transfer block and the sum transfer trigger block, the recording input of the device also connected to the input of the register entry of the second som ozhitelya with inputs setting unit transfers work units and block transfer amount triggers shift input device connected to the input offset of the first to (n-1) -th transfer unit assemblies result.

На фиг.1 представлена функциональная схема предлагаемого устройства для умножения чисел в коде "1 из 4"; на фиг.2 представлен вариант реализации узла 3i блока частичных произведений; на фиг.3 представлен вариант реализации узла 6i блока сумматора в коде "1 из 4"; на фиг.4 представлен вариант реализации узла 10i блока переноса результата; на фиг.5 представлен вариант реализации узла 4i блока переносов произведения; на фиг.6 представлен вариант реализации узла 7i блока триггеров переноса суммы; на фиг.7 приведены временные диаграммы управляющих сигналов.Figure 1 presents the functional diagram of the proposed device for multiplying numbers in the code "1 of 4"; figure 2 presents an embodiment of a node 3 i block partial works; figure 3 presents an embodiment of a node 6 i of the adder block in the code "1 of 4"; figure 4 presents an embodiment of a node 10 i block transfer result; figure 5 presents an embodiment of a node 4 i block transfers of the product; 6 shows an embodiment of a node 7 i of a block of triggers for transferring a sum; 7 shows timing diagrams of control signals.

Устройство для умножения чисел в коде "1 из 4" (фиг.1) содержит регистр тетрадного сдвига 1, регистр второго сомножителя 2, блок частичных произведений 3, блок переносов произведения 4, первый блок сумматоров переносов 5, блок сумматоров 6, блок триггеров переноса суммы 7, второй блок сумматоров переносов 8, регистр результата в коде "1 из 4" 9, блок переносов результата 10, блок контроля 11, входы четверичных разрядов в коде "1 из 4" первого В и второго А сомножителей устройства, вход записи устройства 12, вход синхроимпульсов устройства 13, вход константы 0 в коде "1 из 4" 14, вход сдвига 15 и выходы признака ошибки 16. При этом регистр тетрадного сдвига 1 содержит n тетрад четверичных разрядов в коде "1 из 4" 11…1n, где n - количество четверичных разрядов сомножителей, и предназначен для первого сомножителя, осуществляет сдвиг в сторону младших разрядов потетрадно за один такт и вводом константы 0 в коде " 1 из 4" с входа 14 в старшие разряды, регистр второго сомножителя 2 содержит n тетрад четверичных разрядов в коде "1 из 4" 21…2n, блок частичных произведений 3 содержит n узлов частичных произведений 31…3n, блок переносов произведения 4 содержит n узлов хранения переносов в коде " 1 из 3" 41…4n, первый блок сумматоров переносов 5 содержит n узлов в коде "1 из 4" 51…5n, блок сумматоров 6 содержит (n-1) сумматор в коде "1 из 4" 61…6n-1, блок триггеров переноса суммы 7 содержит (n-1) узлов хранения переносов 71…7n-1, второй блок сумматоров переносов 8 содержит (n-1) узлов в коде "1 из 4" 81…8n-1, регистр результата в коде "1 из 4" 9 содержит 2n тетрад четверичных разрядов 91…92n, блок переносов результата 10 содержит (n-1) узлов в коде "1 из 4" 101…10n-1, блок контроля 11 содержит 2n узлов контроля в коде "1 из 4" 111…112n.A device for multiplying numbers in the code "1 of 4" (Fig. 1) contains a notebook shift register 1, a second factor register 2, a partial product block 3, a product carry unit 4, a first carry adder unit 5, an adder unit 6, a transfer trigger unit sums 7, the second block of carry-over adders 8, the result register in the code “1 of 4” 9, the carry-over block of the result 10, the control unit 11, the inputs of the four-digit bits in the code “1 of 4” of the first B and second A factors of the device, the input of the device record 12, the clock input of the device 13, the input of the constant 0 to the code “1 of 4” 14, the input of the shift 15 and the outputs of the sign of error 16. In this case, the register of the tetrad shift 1 contains n tetrads of four-digit bits in the code “1 of 4” 1 1 ... 1 n , where n is the number of four-digit bits of the factors, and it is intended for the first factor, carries out a shift towards the lower digits one notebook at a time and by entering the constant 0 in the code "1 of 4" from the input 14 to the upper digits, the register of the second factor 2 contains n tetrads of four-digit digits in the code "1 of 4" 2 1 ... 2 n , block of partial products 3 contains n nodes of partial products 3 1 ... 3 n , hyphenation of product 4 contains n hyphenation storage nodes in the code “1 of 3” 4 1 ... 4 n , the first block of hyphenation adders 5 contains n nodes in the code “1 of 4” 5 1 ... 5 n , the adder block 6 contains (n- 1) the adder in the code "1 of 4" 6 1 ... 6 n-1 , the block of transfer triggers of the sum 7 contains (n-1) nodes of the storage of transfers 7 1 ... 7 n-1 , the second block of the adders of transfers 8 contains (n-1 ) nodes in the code "1 of 4" 8 1 ... 8 n-1 , the result register in the code "1 of 4" 9 contains 2n tetrads of quadruple digits 9 1 ... 9 2n , the transfer block of the result 10 contains (n-1) nodes in code "1 of 4" 10 1 ... 10 n-1 , control unit 11 contains 2n nodes ov control in the code "1 of 4" 11 1 ... 11 2n .

Входы четверичных разрядов в коде "1 из 4" первого сомножителя В устройства соединены с информационными входами соответствующих тетрад 1i регистра 1 тетрадного сдвига, информационные входы сдвига четверичных разрядов в коде "1 из 4" с первой по (n-1)-ю тетрад 11-1(n-1) соединены соответственно с выходами четверичных разрядов в коде "1 из 4" со второй по n-ю тетрад 12-1n регистра 1 тетрадного сдвига, информационные входы сдвига четверичных разрядов n-й тетрады 1n соединены с входом 14 константы 0 в коде "1 из 4".The inputs of the four-digit bits in the code “1 of 4” of the first factor B of the device are connected to the information inputs of the corresponding tetrads 1 i of the register 1 of the tetrad shift, the information inputs of the four-digit bits in the code “1 of 4” from the first to the (n-1) th notebook 1 1 -1 (n-1) are connected respectively to the outputs of the quaternary digits in the code "1 of 4" from the second to the nth tetrads 1 2 -1n of the register 1 of the tetrad shift, the information inputs of the quadruple digits shift of the nth tetrad 1 n are connected with input 14 constants 0 in the code "1 of 4".

Входы четверичных разрядов в коде "1 из 4" второго сомножителя А устройства соединены с информационными входами соответствующих тетрад 2i регистра 2 второго сомножителя.The inputs of the four-digit bits in the code "1 of 4" of the second factor A of the device are connected to the information inputs of the corresponding tetrads 2 i of register 2 of the second factor.

Входы первой группы узлов 3i тетрад блока частичных произведений 3 соединены с выходами младшей первой тетрады 1i регистра тетрадного сдвига 1, входы второй группы узлов 3i тетрад блока частичных произведений 3 соединены с выходами соответствующих узлов 2i тетрад регистра 2 второго сомножителя.The inputs of the first group of nodes 3 i tetrads of the block of partial products 3 are connected to the outputs of the youngest first notebook 1 i of the notebook shift register 1, the inputs of the second group of nodes 3 i of the tetrads of the block of partial products 3 are connected to the outputs of the corresponding nodes 2 i of the books of the register 2 of the second factor.

Выходы узлов 3i тетрад блока частичных произведений 3 в коде "1 из 4" соединены с входами первой группы соответствующих узлов 5i первого блока 5 сумматоров переносов, входы второй группы которого соединены с выходами в коде "1 из 3" соответствующих узлов 4i блока переносов произведения 4, выход переноса ПМ1 узлов 5i первого блока сумматоров переносов 5 соединен с первым входом одного переноса ПМ1 соответствующих узлов 4i блока переносов произведения 4, второй вход одного переноса Р1 и вход двух переносов Р2 которых соединены с одноименными выходами соответствующих узлов 3i тетрад блока частичных произведений 3 в коде "1 из 4".The outputs of nodes 3 i tetrads of the block of partial works 3 in the code "1 of 4" are connected to the inputs of the first group of the corresponding nodes 5 i of the first block 5 of adders, the inputs of the second group of which are connected to the outputs in the code "1 of 3" of the corresponding nodes 4 i of the block transfers of product 4, transfer output PM1 of nodes 5 i of the first block of transfer adders 5 is connected to the first input of one transfer PM1 of the corresponding nodes 4 i of the transfer of product of 4, the second input of one transfer P1 and the input of two transfers P2 of which are connected to the outputs of the same name corresponding nodes 3 i tetrads of the block of partial works 3 in the code "1 of 4".

Выходы в коде "1 из 4" с первого по (n-1)-й узлов 51-5(n-1) первого блока сумматоров переносов 5 соединены с соответствующими входами четверичных разрядов первого слагаемого соответственно с первого по (n-1)-й узлов 61-6(n-1) блока сумматоров 6 в коде "1 из 4", выходы в коде "1 из 4" n-го узла 5n первого блока сумматоров переносов 5 соединены с информационными входами 2n-й тетрады 92n четверичных разрядов регистра результата 9 в коде "1 из 4".The outputs in the code “1 of 4” from the first through the (n-1) th nodes 5 1 -5 (n-1) of the first block of carry-over adders 5 are connected to the corresponding inputs of the four-digit bits of the first term, respectively, from the first to (n-1) of the nodes 6 1 -6 (n-1) of the adder block 6 in the code "1 of 4", the outputs in the code "1 of 4" of the n-th node 5 n of the first block of carry-over adders 5 are connected to the information inputs of the 2nth notebook 9 2n quaternary digits of result register 9 in code "1 of 4".

Входы первой группы в коде "1 из 4" с первого по (n-1)-й узлов 81-8(n-1) второго блока сумматоров переносов 8 соединены с информационными выходами соответственно с первого по (n-1)-й узлов 61-6(n-1) блока сумматоров 6 в коде "1 из 4", входы второй группы в коде "1 из 2" с первого по (n-1)-й узлов 81-8(n-1) второго блока сумматоров переносов 8 соединены с соответствующими выходами соответственно с первого по (n-1)-й узлов 71-7(n-1) блока триггеров переноса суммы 7, выход переноса ПС с первого по (n-1)-й узлов 81-8(n-1) второго блока сумматоров переносов 8 соединен с первым входом переноса ПС соответствующих узлов 71-7(n-1) блока триггеров переноса суммы 7, второй вход переноса ПS которых соединен с выходами переносов ПS соответственно с первого по (n-1)-й сумматоров 61-6(n-1) в коде "1 из 4".The inputs of the first group in the code "1 of 4" from the first through the (n-1) -th nodes 8 1 -8 (n-1) of the second block of carry-over adders 8 are connected to the information outputs, respectively, from the first to (n-1) -th nodes 6 1 -6 (n-1) of the adder block 6 in the code "1 of 4", the inputs of the second group in the code "1 of 2" from the first to (n-1) -th nodes 8 1 -8 (n-1 ) of the second block of transfer adders 8 are connected to the corresponding outputs, respectively, from the first through the (n-1) th nodes 7 1 -7 (n-1) of the transfer trigger block of the sum 7, the transfer output of the PS from the first to (n-1) th node 8 1 -8 (n-1) of the second unit carries adders 8 is connected to a first input transferring the respective nodes SS 7 1 -7 (n-1) triggers the transfer unit 7, the sum, the second input transfer ns which is connected to the outputs of shifts ns respectively to the first to (n-1) th adders June 1 -6 (n-1) in the code "1 of 4".

Информационные входы с первой по n-ю тетрад 91-9n четверичных разрядов регистра результата 9 в коде "1 из 4" соединены с выходами старшей группы четверичных разрядов соответственно со второй по (n+1)-ю тетрад 92-9(n+1) четверичных разрядов регистра результата 9 в коде "1 из 4", выходы четверичных разрядов с (n+2)-й по 2n-ю тетрад 9(n+2)-92n регистра результата 9 в коде "1 из 4" соединены соответственно с входами четверичных разрядов второго слагаемого с первого по (n-1)-й узлов 61-6(n-1) блока сумматоров 6 в коде "1 из 4" и информационными входами первой группы в коде "1 из 4" с первого по (n-1)-й узлов 101-10(n-1) блока переносов результата 10, первые входы переносов ТП с первого по (n-1)-й узлов 101-10(n-1) блока переносов результата 10 соединены с прямым выходом ТП единицы в коде "1 из 2" соответственно с первого по (n-1)-й узлов 71-7(n-1) блока триггеров переноса суммы 7, вторые входы переносов П со второго по (n-1)-й узлов 102-10(n-1) блока переносов результата соединены с выходами переносов П соответственно с первого по (n-2)-й узлов 101-10(n-2) блока переносов результата 10, второй вход переносов П первого узла блока переносов 101 соединен с константой нуля.Information inputs from the first to the nth tetrads 9 1 -9 n of the four-digit bits of the register of the result 9 in the code "1 of 4" are connected to the outputs of the senior group of the four-digit bits, respectively, from the second to the (n + 1) -th notebook 9 2 -9 ( n + 1) four-digit bits of the register of result 9 in the code "1 of 4", outputs of the four-digit bits from the (n + 2) -th through the 2nth tetrads 9 (n + 2) -9 2n of the register of the result of 9 in the code "1 of 4 4 "are connected respectively to the inputs of the four-digit bits of the second term from the first to the (n-1) th nodes 6 1 -6 (n-1) of the adder block 6 in the code" 1 of 4 "and the information inputs of the first group in the code" 1 from 4 "from the first to the (n-1) th nodes 10 1 -10 (n-1) of the hyphenation block of the result 10, the first inputs of the transfers of the TP from the first to (n-1) -th nodes 10 1 -10 (n- 1) the transfer unit of result 10 is connected to the direct output of the unit unit in the code "1 of 2", respectively, from the first to (n-1) -th nodes 7 1 -7 (n-1) of the transfer trigger block of the sum 7, the second transfer inputs are П from the second by (n-1) th nodes 10 2 -10 (n-1) of the result transfer block are connected to the outputs of transfers P, respectively, from the first by (n-2) -th nodes of 10 1 -10 (n-2) block 10 transfers the result, the second input of the first node transfers P transfer unit 10 1 is connected constant zero.

Входы с первого по (n+1)-й узлов 111-11(n+1) блока 11 контроля кода "1 из 4" соединены с выходами четверичных разрядов соответственно с первой по (n+1)-ю тетрад 92-9(n+1) четверичных разрядов регистра результата 9 в коде "1 из 4", входы с (n+2)-го по 2n-й узлов 11(n+2)-11n блока 11 контроля кода "1 из 4" соединены с выходами четверичных разрядов соответственно с первого по (n-1)-й узлов 101-10(n-1) блока переносов результата 10 в коде "1 из 4".The inputs from the first through the (n + 1) th nodes 11 1 -11 (n + 1) of the control unit 11 of the code "1 out of 4" are connected to the outputs of the four-digit bits, respectively, from the first to the (n + 1) th notebook 9 2 - 9 (n + 1) quaternary digits of result register 9 in the code "1 of 4", inputs from the (n + 2) -th through 2n-th nodes 11 (n + 2) -11 n of the block 11 control code "1 of 4 "are connected to the outputs of the quaternary digits, respectively, from the first through the (n-1) th nodes 10 1 -10 (n-1) of the carry block of the result 10 in the code" 1 of 4 ".

Выходы 2n узлов 111-112n блока 11 контроля кода "1 из 4" соединены с выходами 16 признака ошибки устройства.The outputs of 2n nodes 11 1 -11 2n of the control unit 11 of the code "1 of 4" are connected to the outputs 16 of the error sign of the device.

Вход 12 записи устройства соединен с входом установки регистра результата 9 в коде "1 из 4", входом записи регистра тетрадного сдвига 1, входом записи регистра второго сомножителя 2, с входами установки узлов блока переносов произведения 4 и блока триггеров переноса суммы 7.The input 12 of the recording device is connected to the input of the register setting of the result 9 in the code "1 of 4", the input of the register of the notebook shift 1, the input of the register of the second factor 2, with the installation inputs of the nodes of the transfer unit of product 4 and the block of transfer triggers of the sum 7.

Вход 13 синхроимпульсов устройства соединен с синхровходами узлов регистра результата 9 в коде "1 из 4", регистра тетрадного сдвига 1, блока переносов произведения 4 и блока триггеров переноса суммы 7.The input 13 of the device’s clock pulses is connected to the clock inputs of the result register 9 nodes in the code “1 of 4”, the notebook shift register 1, the product transfer unit 4, and the total transfer trigger unit 7.

Вход сдвига 15 устройства соединен с входом сдвига с первого по (n-1)-й узлы 101-10(n-1) блока переносов результата 10.The shift input 15 of the device is connected to the shift input from the first through the (n-1) -th nodes 10 1 -10 (n-1) of the transfer block of the result 10.

Возможный вариант узла частичных произведений в коде "1 из 4" 3i (фиг.2) содержит с первой по четвертую группы элементов И 17-20, группу элементов ИЛИ 21 и элемент ИЛИ 22. Группа элементов ИЛИ 21 содержит 4 элемента ИЛИ, каждая группа элементов И 17-20 содержит 4 элемента И, образуя матрицу 4×4. Первые входы одноименных элементов И с первого по четвертый каждой группы соединены между собой и соединены с соответствующими бинарными составляющими четверичного разряда сомножителя а3i a2i а1i а0i, являющиеся второй группой входов узла 3i, вторые входы элементов И каждой группы с первой по четвертую соединены между собой и соединены с соответствующими бинарными составляющими четверичного разряда сомножителя b0i b1i b2i b3i, являющиеся первой группой входов узла 3i. Выходы матрицы 4х4 элементов И подсоединены к входам группы элементов ИЛИ 21 и элементу ИЛИ 22 в соответствии с преобразованием входных значений сомножителей в частичные произведения и переносы, приведенным в таблице 1, а выходы группы элементов ИЛИ 21 являются группой выходов узла 3i бинарных составляющих четверичного разряда произведения с3i с2i с1i с0i, выход р1i элемента ИЛИ 22 является выходом одного переноса узла 3i, выход р2i первого элемента четвертой группы элементов И 20 является выходом двух переносов узла 3i.A possible variant of the partial works node in the code “1 of 4” 3 i (FIG. 2) contains the first to fourth groups of elements AND 17-20, the group of elements OR 21 and the element OR 22. The group of elements OR 21 contains 4 elements OR, each the group of elements And 17-20 contains 4 elements And, forming a 4 × 4 matrix. The first inputs of the same elements And from the first to the fourth of each group are interconnected and connected to the corresponding binary components of the four-digit discharge of the factor a 3i a 2i a 1i a 0i , which are the second group of inputs of the node 3 i , the second inputs of the elements And of each group from the first to the fourth interconnected and connected to the corresponding binary components of the four-digit discharge of the factor b 0i b 1i b 2i b 3i , which are the first group of inputs of node 3 i . The outputs of the matrix of 4x4 AND elements are connected to the inputs of the group of elements OR 21 and the element OR 22 in accordance with the conversion of the input values of the factors into partial products and transfers, shown in table 1, and the outputs of the group of elements OR 21 are the group of outputs of the node 3 i of binary components of the quadruple discharge works with 3i with 2i with 1i with 0i , the output p1 i of the OR element 22 is the output of one transfer of the node 3 i , the output p2 i of the first element of the fourth group of elements And 20 is the output of two transfers of the node 3 i .

Возможный вариант узла сумматора в коде "1 из 4" 6i (фиг.3) содержит с первой по четвертую группы элементов И 23-26, группу элементов ИЛИ 27 и элемент ИЛИ 28. Группа элементов ИЛИ 27 содержит 4 элемента ИЛИ, каждая группа элементов И 23-26 содержит 4 элемента И. Группы элементов И 23-26, аналогично узлу частичных произведений 3i, образуют матрицу 4×4, но выходы матрицы соединены к входам группы элементов ИЛИ 27 и элементу ИЛИ 28 в соответствии с преобразованием входных значений слагаемых в сумму и перенос по таблице 2. Группы входов а3i а2i а1i а0i и b3i b2i b1i b0i являются группами первого и второго слагаемых узла 6i блока сумматоров 6, а выходы группы элементов ИЛИ 27 являются группой выходов узла 6i бинарных составляющих четверичного разряда суммы s3i s2i s1i s0i выход ПSi элемента ИЛИ 28 является выходом переноса узла 6i.A possible variant of the adder node in the code "1 of 4" 6 i (Fig. 3) contains from the first to the fourth group of elements AND 23-26, a group of elements OR 27 and an element OR 28. The group of elements OR 27 contains 4 elements OR, each group And the elements 23-26 contains 4 elements I. The groups of elements 23-26, similarly to the partial product node 3 i , form a 4 × 4 matrix, but the matrix outputs are connected to the inputs of the group of OR elements 27 and the OR element 28 in accordance with the conversion of input values in terms of amount and wrapping table 2. Groups and inputs and 3i 1i and 2i and 3i 0i and b b b 2i 1i b 0i is tsya groups of first and second terms node 6 i adders 6 unit, and outputs element group OR 27 are a group node 6 i binary components yields quaternary discharge amount s 3i s 2i s 1i s 0i output ns i OR gate 28 is the output node migration 6 i .

Возможный вариант узла 5i первого блока сумматоров переносов 5 может быть реализован аналогично узлу 6i блока сумматоров 6, причем вторая группа входов включает только три бинарные составляющие b2i b1i b0i в коде "1 из 3", при этом образуется матрица 4×3 и исключаются 4-я группа элементов И 26 и соответствующие связи.A possible variant of node 5 i of the first block of adders 5 can be implemented similarly to node 6 i of the block of adders 6, and the second group of inputs includes only three binary components b 2i b 1i b 0i in the code “1 of 3”, and a 4 × matrix is formed 3 and the 4th group of elements And 26 and the corresponding relationships are excluded.

Возможный вариант узла 8i второго блока сумматоров переносов 8 может быть реализован аналогично узлу 6i блока сумматоров 6, причем вторая группа входов включает только две бинарные составляющие b1i b0i в коде "1 из 2", при этом образуется матрица 4×2 и исключаются 4-я и 3-я группы элементов И 26-25 и соответствующие связи.A possible variant of node 8 i of the second block of adders 8 can be implemented similarly to node 6 i of the block of adders 6, and the second group of inputs includes only two binary components b 1i b 0i in the code “1 of 2”, and a 4 × 2 matrix is formed and the 4th and 3rd groups of elements And 26-25 and the corresponding relationships are excluded.

Возможный вариант узла 10i блока переносов результата 10 (фиг.4) содержит первую вторую группы элементов И 29-30, группу элементов ИЛИ 31, элемент ИЛИ 32, элемент ИЛИ-НЕ 33 и элемент И 34. Каждая группа элементов И 29-30 содержит 4 элемента И, образуя матрицу 4×2, выходы которой соединены с входами группы элементов ИЛИ 31, аналогично узлам блока сумматоров 6 в соответствии с таблицей 2 при двух бинарных составляющих b1i b0i в коде "1 из 2", выходы группы элементов ИЛИ 31 являются группой выходов узла 10i бинарных составляющих четверичного разряда произведения z3i z2i z1i z0i, выход Пi является выходом переноса узла 10i. Первые входы элементов ИЛИ 32 и ИЛИ-НЕ 33 соединены между собой и являются внешним вторым входом переноса Пi-1 из младшего узла 10i-1 блока переносов 10, вторые входы элементов ИЛИ 32 и ИЛИ-НЕ 33 соединены между собой и подключены к выходу элемента И 34, входы которого являются внешними первым входом переноса ТПi-1 из младшего узла 7i блока триггеров переноса суммы 7 и входом сдвига 15. Выходы элементов ИЛИ 32 и ИЛИ-НЕ 33 являются бинарными составляющими второго слагаемого b1i b0i для матрицы элементов 4х2.A possible variant of the node 10 i of the transfer block of the result 10 (Fig. 4) contains the first second group of elements AND 29-30, the group of elements OR 31, element OR 32, element OR NOT 33 and element AND 34. Each group of elements And 29-30 contains 4 AND elements, forming a 4 × 2 matrix, the outputs of which are connected to the inputs of the group of elements OR 31, similarly to the nodes of the adder block 6 in accordance with table 2 with two binary components b 1i b 0i in the code "1 of 2", the outputs of the group of elements OR 31 are the group of outputs of the node 10 i of binary components of the quadruple discharge of the product z 3i z 2i z 1i z 0i, the output P i is the transfer output of the node 10 i . The first inputs of the OR 32 and OR 33 elements are interconnected and are the external second transfer input P i-1 from the junior node 10 i-1 of the transfer block 10, the second inputs of the OR 32 and OR NOT 33 elements are interconnected and connected to the output of the AND 34 element, the inputs of which are the external first transfer transfer TP i-1 from the junior node 7 i of the transfer trigger block 7 and the shift input 15. The outputs of the OR 32 and OR 33 elements are binary components of the second term b 1i b 0i for matrix of 4x2 elements.

Возможный вариант узла 4i блока переносов произведения 4 (фиг.5) содержит синхронный D-триггер 35 с входом установки в единицу, два синхронных D-триггера 36-37 с входом установки в ноль, элемент ИЛИ-НЕ 38, элемент ИСКЛЮЧАЮЩЕЕ-ИЛИ 39, элемент И 40 и элемент ИЛИ 41. Входы синхронизации триггеров 35-37 соединены между собой и подключены к внешнему входу 13 синхронизации СИ, входы начальной установки триггеров 35-37 соединены между собой и подключены к внешнему входу 12 начальной записи ЗАПИСЬ. Логические элементы 38-41 преобразуют входы двух переносов Р2i и одного переноса Р1i, от узла 3i частичных произведений, и вход одного переноса ПМ1i, от узла 5i первого блока сумматоров переносов 5, в код "1 из 3" в соответствии с таблицей 3. Первые входы элементов ИЛИ-НЕ 38, ИСКЛЮЧАЮЩЕЕ-ИЛИ 39 и И 40 соединены между собой и подключены к внешнему входу одного переноса ПМ1i, от узла 5i, а их вторые входы соединены между собой и они подключены к внешнему входу одного переноса Р1i, от узла 3i, третий вход элемента ИЛИ-НЕ 38 соединен со вторым входом элемента ИЛИ 41 и подключены к внешнему входу двух переносов Р2i, от узла 3i, первый вход элемента ИЛИ 41 соединен с выходом элемента И 40. Выход элемента ИЛИ-НЕ 38 является младшим первым разрядом b0i составляющих в коде "1 из 3" и подключен к информационному входу D триггера 35, выход элемента ИСКЛЮЧАЮЩЕЕ-ИЛИ 39 является вторым разрядом b1i и подключен к информационному входу D триггера 36, выход элемента ИЛИ 41 является старшим третьим разрядом b2i и подключен к информационному входу D триггера 37. Выходы триггеров 37-35 являются выходами ТР2i ТР1i ТР0i узла 4i блока переносов произведения 4 в коде "1 из 3".A possible variant of node 4 i of the carry unit of product 4 (Fig. 5) contains a synchronous D-flip-flop 35 with an installation input of one, two synchronous D-flip-flops 36-37 with an installation input of zero, an OR-NOT 38 element, an EXCLUSIVE-OR element 39, AND element 40 and OR element 41. Synchronization inputs of triggers 35-37 are interconnected and connected to the external input of SI synchronization 13, the inputs of the initial installation of triggers 35-37 are interconnected and connected to the external input 12 of the initial recording. Logic elements 38-41 convert the inputs of two transfers P2 i and one transfer P1 i , from the node 3 i of partial products, and the input of one transfer PM1 i , from node 5 i of the first block of adders of transfers 5, into the code "1 of 3" in accordance with table 3. The first inputs of the OR-NOT 38, EXCLUSIVE-OR 39 and И 40 elements are interconnected and connected to the external input of one transfer PM1 i , from node 5 i , and their second inputs are interconnected and they are connected to the external input one transfer P1 i , from node 3 i , the third input of the OR-NOT 38 element is connected to the second input of the IL element And 41 and are connected to the external input of the two transfers P2 i , from the node 3 i , the first input of the OR element 41 is connected to the output of the AND 40 element. The output of the OR-NOT 38 element is the lowest first bit b 0i of the components in the code “1 of 3” and connected to the information input D of the trigger 35, the output of the EXCLUSIVE-OR element 39 is the second bit b 1i and connected to the information input D of the trigger 36, the output of the element OR 41 is the senior third bit b 2i and connected to the information input D of the trigger 37. Outputs of the triggers 37 -35 are outputs TP1 TP2 i i i TP0 assembly 4 i per unit 4 noses product code "1 in 3".

Возможный вариант узла 7i блока триггеров переноса суммы 7 (фиг.6) содержит синхронный D-триггер 42 с входом установки в ноль и имеющий прямой и инверсный выходы, и элемент ИЛИ 43. Вход синхронизации триггера 42 подключен к внешнему входу 13 синхронизации СИ, вход начальной установки триггеров 42 подключен к внешнему входу 12 начальной записи ЗАПИСЬ. Выходы триггера 42 являются выходами b1i и b0i составляющих в коде "1 из 2" и являются выходами узла 7i. Информационный вход D триггера 42 соединен с выходом элемента ИЛИ 43, первый вход которого соединен с внешним входом одного переноса ПСi, от узла 8i, а второй вход соединен с внешним входом одного переноса ПSi, от узла 6i, которые также являются внешними входами узла 7i.A possible version of the node 7 i block transfer triggers sum 7 (Fig.6) contains a synchronous D-flip-flop 42 with the installation input to zero and having direct and inverse outputs, and an OR element 43. The trigger synchronization input 42 is connected to the external input 13 synchronization SI, the input of the initial installation of the triggers 42 is connected to the external input 12 of the initial recording RECORD. The outputs of the trigger 42 are the outputs b 1i and b 0i of the components in the code "1 of 2" and are the outputs of the node 7 i . The information input D of the trigger 42 is connected to the output of the OR element 43, the first input of which is connected to the external input of one transfer of PS i from node 8 i , and the second input is connected to the external input of one transfer of PS i from node 6 i , which are also external the inputs of node 7 i .

Устройство для умножения чисел в коде "1 из 4" работает следующим образом.A device for multiplying numbers in the code "1 of 4" works as follows.

Числа сомножителей В и А представлены в четверичной системеThe numbers of factors B and A are presented in the quaternary system

B=bn×4n-1+…+b2×41+b1×4°,B = b n × 4 n-1 + ... + b 2 × 4 1 + b 1 × 4 °,

А=an×4n-1+…+а2×411×4°,A = a n × 4 n-1 + ... + a 2 × 4 1 + a 1 × 4 °,

где n - количество четверичных разрядов, a1 и b1 - младшие разряды, an и bn - старшие разряды.where n is the number of quaternary digits, a 1 and b 1 are the least significant bits, a n and b n are the highest bits.

Устройство работает по алгоритму умножения с младших разрядов множителя и сдвигом накапливаемой суммы частичных произведений вправо в сторону младших разрядовThe device works according to the algorithm of multiplication from the least significant bits of the factor and the shift of the accumulated sum of partial products to the right towards the lower bits

Z=B×A=(((b1×(аn×4n-1+…+а2×41+a1×4°)×4-1+Z = B × A = (((b 1 × (a n × 4 n-1 + ... + a 2 × 4 1 + a 1 × 4 °) × 4 -1 +

+b2×41×(аn×4n-1+…+а2×411×4°))×4-1 + b 2 × 4 1 × (a n × 4 n-1 + ... + a 2 × 4 1 + a 1 × 4 °)) × 4 -1

+…++ ... +

+bn-1×(an×4n-1+…+a2×41+a1×4°))×4-1++ b n-1 × (a n × 4 n-1 + ... + a 2 × 4 1 + a 1 × 4 °)) × 4 -1 +

+bn×(an×4n-1+…+a2×41+a1×4°))×4-1,+ b n × (a n × 4 n-1 + ... + a 2 × 4 1 + a 1 × 4 °)) × 4 -1 ,

где аi и bi представляются в коде "1 из 4".where a i and b i are represented in the code "1 of 4".

Умножение и суммирование проводятся по соответствующим весам четверичных разрядов в коде "1 из 4".Multiplication and summation are carried out according to the corresponding weights of the four-digit digits in the code "1 of 4".

В таблице 1 приведены коды преобразования входных значений сомножителей в выходные в узлах частичных произведений 3i при перемножении четверичных разрядов в коде "1 из 4" и условия формирования одного переноса Р1 и двух переносов Р2 в следующий четверичный разряд.Table 1 shows the codes for converting the input values of the factors into the weekend in the nodes of partial products 3 i when multiplying the quadruple digits in the code "1 of 4" and the conditions for the formation of one transfer P1 and two transfers P2 to the next four-digit discharge.

Очевидно, что возникновение одного P1i-1 или двух P2i-1 переносов из предыдущего (i-1)-го четверичного разряда не приводит к необходимости формирования дополнительного сигнала третьего переноса, так как максимальное значение кода частичного произведения при активном сигнале даже двух переносов Р2i из текущего разряда равно 0010 и, следовательно, даже два переноса P2i-1 из предыдущего разряда дадут код результата 1000 без необходимости формирования дополнительного сигнала переноса.Obviously, the occurrence of one P1 i-1 or two P2 i-1 transfers from the previous (i-1) -th quadruple discharge does not necessitate the formation of an additional signal of the third transfer, since the maximum value of the partial product code with the active signal of even two transfers P2 i from the current discharge is 0010 and, therefore, even two transfers P2 i-1 from the previous discharge will give a result code 1000 without the need for generating an additional transfer signal.

В таблице 2 приведены коды преобразования входных значений слагаемых в выходные в сумматорах 6i при суммировании четверичных разрядов в коде "1 из 4" и условия формирования переноса П1.Table 2 shows the codes for converting the input values of the terms into the weekend in adders 6 i when summing the quadruple digits in the code "1 of 4" and the conditions for the formation of transfer P1.

Очевидно, что возникновение переноса П1i-1 из предыдущего (i-1)-го четверичного разряда не приводит к необходимости формирования дополнительного сигнала переноса, так как максимальное значение кода суммы при активном сигнале переноса П1i из текущего разряда равно 0100 и, следовательно, перенос П1i-1 из предыдущего разряда даст код результата 1000 без необходимости формирования дополнительного сигнала переноса.Obviously, the occurrence of the transfer of P1 i-1 from the previous (i-1) -th quadruple discharge does not necessitate the formation of an additional transfer signal, since the maximum value of the sum code with the active transfer signal P1 i from the current discharge is 0100 and, therefore, transferring P1 i-1 from the previous bit will give a result code of 1000 without the need for generating an additional transfer signal.

В основу реализации алгоритма умножения положен метод сохранения переносов. При реализации алгоритма умножения переносы частичных произведений Р2i, Р1i и переносы суммы частичных произведений П1, возникающие на каждом шаге вычислений, не передаются в соответствующие старшие разряды произведения и суммы, а запоминаются в блоках хранения переносов произведения 4i и переноса суммы 7i текущего i-го четверичного разряда. На следующем такте проводится сдвиг текущей суммы частичных произведений в сторону младших разрядов, который выполняется при передаче значений суммы из (i+1)-го узла регистра 9 результата в i-й узел сумматора 6, и в каждом i-м разряде проводится суммирование сдвинутой текущей суммы частичных произведений и следующего значения частичного произведения из узла 3i и соответствующих сохраненных переносов произведения из узла 4i и переносов суммы из узлов 7i.The implementation of the multiplication algorithm is based on the hyphenation conservation method. When implementing the multiplication algorithm, transfers of partial products P2 i , P1 i and transfers of the sum of partial products P1 that occur at each step of the calculations are not transferred to the corresponding higher digits of the product and the amount, but are stored in the storage blocks of the transfers of the product 4 i and the transfer of the sum 7 i of the current i-th quadruple discharge. At the next step, the current sum of partial products is shifted towards the lower digits, which is performed when the sum values are transferred from the (i + 1) th node of the result register 9 to the i-th node of the adder 6, and in each i-th bit the summation is shifted the current amount of partial products and the next value of the partial product from node 3 i and the corresponding stored transfers of the product from node 4 i and transfers of the sum from nodes 7 i .

После выполнения n шагов алгоритма на следующем (n+1)-м шаге частичное произведение будет равно нулю, так как на каждом шаге при сдвиге в регистр тетрадного сдвига 1 последовательно вводится константа 0 в коде "1 из 4" с входа 14. Поэтому на (n+1)-м шаге проводится суммирование текущего значения суммы частичных произведений только с сохраненными переносами произведений и сохраненными переносами суммы. Далее разрешается работа блока переносов результата 10, в котором проводится коррекция результата на значения сохраненных переносов в узлах 71…7n-i. При этом выполняется последовательный межразрядный перенос в сторону старших разрядов. На каждом шаге вычислений проводится контроль результата в узлах 111…112n блоках контроля 11.After completing n steps of the algorithm at the next (n + 1) th step, the partial product will be equal to zero, since at each step, when shifting to the notebook shift register 1, the constant 0 in the code "1 of 4" from input 14 is sequentially entered. Therefore, on The (n + 1) -th step is the summation of the current value of the sum of partial works only with saved transfers of works and saved transfers of the amount. Next, the operation of the transfer unit of result 10 is allowed, in which the result is corrected for the values of the stored transfers in nodes 7 1 ... 7 ni . In this case, a sequential interdischarge transfer to the higher bits is performed. At each step of the calculations, the result is monitored in nodes 11 1 ... 11 2n control units 11.

В начале выполнения операции умножение на вход 12 устройства подается сигнал Запись (фиг.7), по которому проводится запись операндов сомножителя В в регистр тетрадного сдвига 1 и сомножителя А в регистр второго сомножителя 2 и установка в ноль в коде "1 из 4" узлов регистра результата 9, в ноль в коде "1 из 3" узлов блока переносов произведения 4 и в ноль в коде "1 из 2" узлов блока триггеров переноса суммы 7.At the beginning of the operation, multiplying the input 12 of the device, the Write signal is sent (Fig. 7), by which the operands of the factor B are recorded in the notebook shift register 1 and the factor A in the register of the second factor 2 and the nodes are set to zero in the code “1 of 4” result register 9, to zero in the code "1 of 3" nodes of the transfer unit of product 4 and to zero in the code "1 of 2" nodes of the block of transfer triggers of the sum 7.

Каждый из четверичных разрядов аi сомножителя А представлен кодом "1 из 4" а3i а2i а1i а0i и заносится в i-ю тетраду регистра 2, а каждый из четверичных разрядов bi сомножителя В представлен кодом "1 из 4" b3i b2i b2i b0i и заносится в i-ю тетраду регистра тетрадного сдвига 1. Выход младшей тетрады регистра 1 соединен с первой группой входов всех узлов 3i частичных произведений в коде "1 из 4" блока частичных произведений 3, на вторые группы входов которых подаются соответствующие четверичные разряды в коде "1 из 4" из регистра второго сомножителя 2. Так как узлы частичных произведений 3i блока 3 комбинационные, то через время переходного процесса только внутри каждого узла блока 3, на выходе узлов частичных произведений 3i в соответствии с алгоритмом умножения установятся значения поразрядного умножения b×an, b1×an-1, … b1×а2, b1×а1 и значения сформированных одного переноса Р1 или двух переносов Р2 в следующий четверичный разряд.Each of the quaternary digits a i of the factor A is represented by the code "1 of 4" a 3i a 2i a 1i a 0i and is entered in the i-th notebook of register 2, and each of the quadruple digits b i of the factor B is represented by the code "1 of 4" b 3i b 2i b 2i b 0i and is entered in the i-th notebook of the notebook shift register 1. The output of the lower notebook of register 1 is connected to the first group of inputs of all nodes 3 i of the partial products in the code “1 of 4” of the block of partial products 3, into the second groups the inputs of which are supplied with the corresponding quaternary digits in the code "1 of 4" from the register of the second factor 2. Since the node partial products 3 i unit 3 combination, then a transient time within each node unit 3, the output partial products nodes 3 i in accordance with the multiplication algorithm set values bitwise multiplication of b × a n, b 1 × a n-1, ... b 1 × a 2 , b 1 × a 1 and the values of the formed one transfer P1 or two transfers P2 to the next four-digit discharge.

Значения поразрядного умножения с узлов 3i подаются на группы вторых входов соответствующих узлов 5i первого блока сумматоров переносов 5, которые также комбинационные, а на первые группы входов подаются значения нулей в коде "1 из 3" с узлов 4i установленного в ноль блока переносов произведения 4. На выходах узлов 5i, через время переходного процесса только внутри каждого узла блока 5, будут установлены значения поразрядного умножения, которые поступают на группы вторых входов соответствующих узлов 6i блока сумматоров 6, а на группы первых входов значения нулей в коде "1 из 4" со следующих старших узлов 9i+1 регистра 9 результата. На выходах узлов 6i блока сумматоров 6, который также комбинационный, через время переходного процесса только внутри каждого узла 6i блока сумматоров 6, будут установлены значения поразрядного умножения, которые поступают на группы вторых входов узлов 8i второго блока сумматоров переносов 8, а на группы первых входов которых значения нулей в коде "1 из 2" с установленного в ноль блока триггеров переноса суммы 7. В результате на выходах четверичных разрядов 8i второго блока сумматоров переносов 8, который также комбинационный, через время переходного процесса только внутри каждого узла 8i второго блока сумматоров переносов 8, будут установлены значения поразрядного умножения b1×an, b1×an-1, … b1×a2, b1×a1, а также на входах блока переносов произведения 4 и блока триггеров переноса суммы 7 будут установлены соответственно значения одного или двух переносов. Сигналы в узлах 4i блока переносов произведения 4 формируются в соответствие с таблицей 3 в коде "1 из 3". Из таблицы 3 следует, что при любых входных значениях сомножителей и возникновении двух переносов не может возникнуть дополнительного третьего переноса в следующий разряд. Сигналы в узлах 7i блока переносов суммы 7 реализуют логическую функцию ИЛИ от переносов - ПS∨ПС и значение формируется в коде "1 из 2".The values of bitwise multiplication from nodes 3 i are supplied to the groups of second inputs of the corresponding nodes 5 i of the first block of carry adders 5, which are also combinational, and the values of zeros in the code “1 of 3” from nodes 4 i of the zero block of transfers set to zero are fed to the first groups of inputs 4. at work output nodes 5 i, through the transient within each node unit 5 will be installed bitwise multiplication values, which are applied to respective input group of second nodes 6 i adders unit 6, and a group of first Rin rows of zeros in the code value "1 of 4" with the following older nodes i + 1 9 9 result register. At the outputs of nodes 6 i of the adder block 6, which is also combinational, after the transition process only inside each node 6 i of the adder block 6, bitwise multiplication values will be set that go to the groups of second inputs of nodes 8 i of the second block of adders 8, and to groups of first inputs whose values are zeros in the code "1 of 2" from the set of transfer trigger triggers to zero 7. As a result, at the outputs of the quadruple bits 8 i of the second block of carry adders 8, which is also combinational, after the transition time of the process only inside each node 8 i of the second block of carry-over adders 8, bitwise multiplication values b 1 × a n , b 1 × a n-1 , ... b 1 × a 2 , b 1 × a 1 , and also at the inputs the carry-over unit of product 4 and the transfer-trigger block of the sum 7 will set the values of one or two transfers, respectively. The signals in nodes 4 i of the hyphenation block of product 4 are formed in accordance with table 3 in the code “1 of 3”. From table 3 it follows that for any input values of the factors and the occurrence of two transfers, an additional third transfer to the next category cannot occur. The signals in nodes 7 i of the carry unit of the sum 7 realize the logical function OR from transfers - PS∨PS and the value is generated in the code “1 of 2”.

По переднему фронту первого синхроимпульса СИ (фиг.7) вычисленные значения будут занесены в соответствующие разряды регистра результата 9, блока переносов произведения 4 и блока триггеров переноса суммы 7. Таким образом, будут зафиксированы значения поразрядного умножения и значения переносов произведения и суммы в следующие разряды. Кроме того, по этому же фронту сигнала СИ осуществляется сдвиг сомножителя В на один четверичный разряд в регистре тетрадного сдвига 1 и вводится константа 0 в коде "1 из 4" в старший разряд регистра 1.On the leading edge of the first SI clock pulse (Fig. 7), the calculated values will be entered in the corresponding bits of the register of result 9, the carry unit of the product 4, and the block of trigger for the transfer of the sum 7. Thus, the values of bitwise multiplication and the values of the product and total transfers in the next bits will be fixed . In addition, on the same front of the SI signal, the factor B is shifted by one quadruple digit in the tetrad shift register 1 and the constant 0 in the code "1 of 4" is entered in the highest bit of register 1.

После этого на входы первой группы блока 3 частичных произведений поступает значение следующего четверичного разряда b2 сомножителя В, на выходах блока 3 образуется значение поразрядного умножения b2×an, b2×an-1, … b2×a2, b2×а1 и значения сформированных одного переноса Р1 или двух переносов Р2 в следующий четверичный разряд. На выходах узлов 5i первого блока сумматоров переносов 5 будут сформированы суммы частичных произведений i-го четверичного разряда в коде "1 из 4" и переносов в коде "1 из 3" i-го разряда, поступающих из узлов 4i блока переносов произведения 4, сохраненных на предыдущем шаге. Далее эта сумма складывается на сумматорах 6i первого блока сумматоров 6 со сдвинутым на один четверичный разряд в сторону младших разрядов кодом четверичного разряда накопленной частичной суммы из регистра 9. Затем эта сумма поразрядно складывается в узлах 8i разрядов второго блока сумматоров переносов 8 с сохраненным переносом суммы i-го разряда на предыдущем шаге из узлов 7i блока триггеров переноса суммы 7. Таким образом, на выходах блока 8 сумматора переносов образуются коды очередной частичной суммы с учетом переносов предыдущего шага, которые поступают на входы узлов регистра 9 результата, а также формируются переносы в следующие разряды на входах блока переносов произведения 4 и блока триггеров переноса суммы 7, которые заносятся в регистр 9 результата и блоки переносов произведения 4 и переносов суммы 7 по переднему фронту второго синхроимпульса СИ. Одновременно младший разряд частичной суммы предыдущего шага вычислений сдвигается на один четверичный разряд в регистре результата 9 в сторону младших разрядов с выхода (n+1)-го разряда в n-й разряд.After that, the inputs of the first group of block 3 of partial products receive the value of the next four-digit discharge b 2 of factor B, the outputs of block 3 produce the value of bitwise multiplication b 2 × a n , b 2 × a n-1 , ... b 2 × a 2 , b 2 × a 1 and the values of the formed one transfer P1 or two transfers P2 to the next four-digit discharge. At the outputs of nodes 5 i of the first block of carry-over adders 5, the sums of partial products of the i-th quadruple discharge in the code “1 of 4” and transfers in the code “1 of 3” of the i-th category coming from nodes 4 i of the carry-over blocks of product 4 will be generated saved in the previous step. Then this sum is added to adders 6 i of the first adder block 6 with the accumulated partial sum from register 9 shifted by one quadruple digit towards the lower digits. Then this sum is bitwise added to the 8 i bits of the second block of carry-over adders 8 with the stored carry sum i-th bit in the previous step of the nodes i 7 triggers transfer unit amounts 7. Thus, the next partial sum output of the adder unit 8 transfers codes formed with the translations of the previous step that go to the inputs of the nodes of the register 9 of the result, and also transfers are formed to the next bits at the inputs of the transfer unit of product 4 and the block of transfer triggers of the sum 7, which are entered in the register 9 of the result and the transfer units of the product 4 and transfers of the amount 7 along the leading edge of the second clock SI At the same time, the least significant bit of the partial sum of the previous calculation step is shifted by one four-digit bit in the result register 9 in the direction of the least significant bits from the output of the (n + 1) th digit to the n-th digit.

В дальнейшем процесс вычислений циклически повторяется. In the future, the calculation process is cyclically repeated.

После подачи n-го импульса СИ в регистре 4 результата образуется поразрядная сумма частичных произведений и поразрядная фиксация переносов произведения в блоке 4 и переносов суммы в блоке 7. Далее проводится соответственно их поразрядное суммирование в узлах первого блока сумматоров переносов 5, блока сумматоров 6 и второго блока сумматоров переносов 8, при этом на первую группу входов блока 3 частичных произведений из регистра 1 тетрадного поступает константа 0 в коде "1 из 4". При подаче (n+1)-го импульса СИ результат суммирования заносится в регистр 9 результата и блок переносов суммы 7, а в блок переносов произведения 4 заносится константа 0 в коде "1 из 4", так как будут отсутствовать переносы из блока 3 произведений и блока 5 сумматоров переносов.After applying the n-th SI pulse in the result register 4, a bitwise sum of partial products and bitwise fixation of product transfers in block 4 and sum transfers in block 7 are formed. Next, their bitwise summation is performed in the nodes of the first block of carry totalizers 5, block of adders 6 and second block adders 8, while the first group of inputs of block 3 of partial works from the register 1 notebook receives constant 0 in the code "1 of 4". When the (n + 1) th SI pulse is applied, the summation result is entered into the result register 9 and the transfer unit of the sum 7, and the constant 0 in the code “1 of 4” is entered into the transfer unit of the product 4, since there will be no transfers from the block 3 of products and block 5 adders carry.

Одновременно (фиг.7) на вход 15 подается сигнал СДВИГ и проводится коррекция переносов суммы с межразрядным переносом в сторону старших разрядов, которая выполняется в узлах 101…10n-1, блока переносов результата 10 в коде "1 из 4". Так как узлы 10i блоков переноса комбинационные, то через время переходного процесса старшие разряды z2n…zn+2 суммы частичных произведений будут сформированы на выходах узлов 10n-1…101 блока переносов результата 10. Длительность сигнала СДВИГА должна быть больше времени переходного процесса в блоке 10 и времени удержания результата произведения на выходах устройства. Младшие разряды zn+1…z1 полной суммы частичных произведений Z=А×В снимаются с выходов и узлов 9n+1…91 тетрад четверичных разрядов регистра результата 9 в коде "1 из 4".At the same time (Fig. 7), the input SHIFT is applied to input 15 and the transfers are carried out with the inter-bit transfer to the higher bits, which is performed at nodes 10 1 ... 10 n-1 , transfer block of result 10 in the code "1 of 4". Since the nodes 10 i of the transfer blocks are combinational, then after the transition process the senior bits z 2n ... z n + 2 the sums of the partial products will be formed at the outputs of the nodes 10 n-1 ... 10 1 of the transfer block of the result 10. The duration of the SHIFT signal should be longer transient in block 10 and the retention time of the result of the work on the outputs of the device. The least significant bits z n + 1 ... z 1 of the total sum of partial products Z = A × B are removed from the outputs and nodes 9 n + 1 ... 9 1 tetrads of four-digit bits of the register of result 9 in the code "1 out of 4".

На каждом шаге вычислений выходы всех 2n разрядов четверичных текущих сумм частичных произведений поступают на входы соответствующих узлов контроля кода "1 из 4" 111…112n блока контроля 11, так как при отсутствии сигнала СДВИГ узлы 101…10n-1 передают на выход значения тетрад регистра результата 9 в коде "1 из 4". В случае появления несоответствия кода хотя бы в одном разряде zi коду "1 из 4" на выходах 16i устройства будет выдан сигнал признака ошибки Ош.At each step of the calculations, the outputs of all 2n digits of the quadruple current sums of partial products go to the inputs of the corresponding control nodes of the code "1 of 4" 11 1 ... 11 2n of the control unit 11, since in the absence of a shift signal the nodes 10 1 ... 10 n-1 are transmitted to output of the value of the tetrads of the register of result 9 in the code "1 of 4". In the event of a mismatch of the code in at least one bit z i, the code “1 of 4” at the outputs 16 i of the device will signal Osh.

Комбинационные узлы 3i частичных произведений в коде "1 из 4" (фиг.2) блока частичных произведений работают следующим образом. Каждая группа элементов И 17-20 содержит 4 элемента И, образуя матрицу 4×4. На первые входы элементов И с первой по четвертую групп подаются бинарные составляющие четверичного разряда сомножителя b3i b2i b1i b0i на вторые входы элементов И с первого по четвертый каждой группы подаются бинарные составляющие четверичного разряда сомножителя а3i а2i а1i a0i. На шестнадцати выходах матрицы элементов И может, очевидно, возникнуть только одна "1", остальные нули (любая другая комбинация, пройдя через логические элементы комбинационных узлов блока частичных произведений 3, первого блока сумматоров переносов 5, блок сумматоров 6, второго блока сумматоров переносов 8 и записи в регистр результата 9 в коде "1 из 4" приведет к возникновению сигнала признака ошибки на одном из выходов блока контроля 11). Выходы элементов И групп 17-20 подключены ко входам четырех группы элементов ИЛИ 21 таким образом, что на их выходах реализуется необходимый результат частичного произведения в соответствии с табл.2. При этом на выходе элемента ИЛИ 22 формируется сигнал признака одного переноса Р1i и с выхода первого элемента И четвертой группы элементов И 20 снимается сигнал признака второго переноса Р2i в следующий четверичный разряд.Combination nodes 3 i partial works in the code "1 of 4" (Fig.2) block partial works work as follows. Each group of elements And 17-20 contains 4 elements And, forming a 4 × 4 matrix. The binary inputs of the elements And from the first to the fourth groups give the binary components of the quadruple discharge of the factor b 3i b 2i b 1i b 0i to the second inputs of the elements And from the first to the fourth of each group the binary components of the quadruple discharge of the factor a 3i a 2i a 1i a 0i are fed. At sixteen outputs of the matrix of elements And, obviously, only one “1” can appear, the remaining zeros (any other combination, passing through the logical elements of the combination nodes of the block of partial products 3, the first block of adders 5, the block adders 6, the second block adders 8 and writing to the result register 9 in the code “1 of 4” will lead to the occurrence of an error sign signal at one of the outputs of the control unit 11). The outputs of the elements AND groups 17-20 are connected to the inputs of the four groups of elements OR 21 in such a way that at their outputs the necessary result of the partial product is realized in accordance with Table 2. At the same time, at the output of the OR element 22, a signal of the sign of one transfer P1 i is formed and from the output of the first element And the fourth group of elements And 20, the signal of the sign of the second transfer P2 i to the next four-digit discharge is taken.

Комбинационные узлы 5i первого блока сумматоров переносов 5 проводят суммирование частичного произведения текущего i-го четверичного разряда и сигналов двух Р2 и одного Р1 переносов из предыдущего (i-1)-го разряда частичных переносов, сохраненные в узлах 4i блока переносов произведения 4. При этом на выходах переноса ПМ1i узлов 5i может быть сформирован активный сигнал. Сигналы двух переносов Р2i и одного переноса Р1i из узла 3i частичных произведений в коде "1 из 4" и одного переноса из узла 5i первого блока сумматоров переносов текущего i-го разряда поступают на входы узла 4i блока переносов произведения 4. В соответствии с таблицей 3 в узлах 4i формируется значение переноса в коде "1 из 3" в следующий разряд, которое записывается в триггеры 35-37. В таблице 3 отмечено, что при любых входных значениях сомножителей и возникновении двух переносов не может возникнуть дополнительного третьего переноса в следующий разряд.The combination nodes 5 i of the first block of carry-over adders 5 summarize a partial product of the current i-th quadruple discharge and the signals of two P2 and one P1 transfers from the previous (i-1) -th bit of partial transfers, stored in nodes 4 i of the transfer block of product 4. In this case, an active signal can be generated at the transfer outputs PM1 i of nodes 5 i . The signals of two transfers P2 i and one transfer P1 i from the node 3 i of partial works in the code "1 of 4" and one transfer from node 5 i of the first block of adders of transfers of the current i-th category are fed to the inputs of node 4 i of the transfers of product 4. In accordance with table 3, nodes 4 i form the transfer value in the code “1 of 3” to the next bit, which is recorded in triggers 35-37. Table 3 indicates that for any input values of the factors and the occurrence of two transfers, an additional third transfer to the next category cannot occur.

Комбинационные сумматоры в коде "1 из 4" 6i блока сумматоров 6 (фиг.3) реализуют преобразование по таблице 2. Каждая группа элементов И 23-26 содержит 4 элемента И, образуя матрицу 4×4. На первые входы элементов И с первой по четвертую группы И 23-26 подаются бинарные составляющие четверичного разряда слагаемого а0i, а1i, а2i, а3i, на вторые входы элементов И с первого по четвертый каждой группы И 23-26 подаются бинарные составляющие четверичного разряда второго слагаемого b0i, b1i, b2i, b3i. На шестнадцати выходах матрицы элементов И может, очевидно, возникнуть только одна "1", остальные нули (любая другая комбинация, пройдя через логические элементы сумматора 6i, второго блока сумматоров переносов 8 и записи в регистр результата 9 в коде "1 из 4" приведет к возникновению сигнала признака ошибки на одном из выходов блока контроля). На первые группы входов сумматоров 6i в коде "1 из 4" подаются бинарные составляющие четверичного разряда i-й тетрады частичного произведения с узлов 5i, а на вторые группы входов подаются бинарные составляющие четверичного разряда старшей (i+1)-й тетрады суммы с регистра 9 результата. Выходы элементов И групп 23-26 подключены ко входам четырех элементов ИЛИ группы 27 таким образом, что на их выходах реализуется необходимый поразрядный результат суммы частичного произведения в соответствии с таблицей 2. При этом на выходе элемента ИЛИ 28 формируется сигнал признака переноса ПSi в следующий четверичный разряд.The combiners in the code "1 of 4" 6 i block adders 6 (figure 3) implement the conversion according to table 2. Each group of elements And 23-26 contains 4 elements And, forming a 4 × 4 matrix. The binary inputs of the quadruple category of the term a 0i , 1i , and 2i , and 3i are fed to the first inputs of the elements And from the first to the fourth groups of And 23-26, the binary inputs are fed to the second inputs of the elements And from the first to the fourth of each group And 23-26 the quadruple discharge of the second term b 0i , b 1i , b 2i , b 3i . At sixteen outputs of the matrix of elements And, obviously, only one "1" can appear, the remaining zeros (any other combination, going through the logical elements of the adder 6 i , the second block of carry-over adders 8 and writing to the result register 9 in the code "1 of 4" will lead to the occurrence of an error sign signal at one of the outputs of the control unit). In the first groups of inputs of adders 6 i in the code "1 of 4" binary components of the quadruple discharge of the i-th partial product block from nodes 5 i are fed, and the second groups of inputs are supplied with binary components of the four-digit discharge of the highest (i + 1) th tetrad of the sum from register 9 result. The outputs of the elements AND groups 23-26 are connected to the inputs of the four elements OR of group 27 in such a way that the required bit-wise result of the sum of the partial product is realized at their outputs in accordance with table 2. At the same time, the signal of the transfer sign PS i to the next is generated at the output of the element OR 28 quadruple discharge.

Комбинационные узлы 8i второго блока сумматоров переносов 8 проводят суммирование текущей суммы частичного произведения i-го четверичного разряда и сигнала переноса ТП из предыдущего (i-1)-го разряда, сохраненные в узлах 7i блока переносов суммы 7. При этом на выходах переноса ПСi узлов 8i может быть сформирован активный сигнал. Сигнал переноса ПСi из узла 8i и переноса ПSi из узла 6i блока сумматоров текущего i-го разряда поступают на входы узла 7i блока переносов суммы 7. В узлах 7i формируется значение переноса в коде "1 из 2", как логическая сумма ПСi∨ПSi, в следующий разряд, которое записывается в триггеры 42i. При этом при любых входных значениях слагаемых и формировании переносов не может возникнуть дополнительно двух переносов в следующий разряд.The combination nodes 8 i of the second block of transfer adders 8 summarize the current sum of the partial product of the i-th quadruple discharge and the transfer signal TP from the previous (i-1) -th discharge stored in nodes 7 i of the transfer block of amount 7. Moreover, at the transfer outputs PS i nodes 8 i can be formed an active signal. The signal of transfer of PS i from node 8 i and transfer of PS i from node 6 i of the adder block of the current i-th category is fed to the inputs of node 7 i of the transfer block of sum 7. In nodes 7 i , the transfer value is generated in the code "1 of 2", as logical sum PS i ∨PS i, the next discharge, which is written in the flip-flops 42 i. Moreover, for any input values of the terms and the formation of transfers, two additional transfers to the next category cannot occur.

В результате работы устройства 2n-разрядный результат умножения Z=A×B формируется на выходах узлов 101…10n-1 блока переносов результата 10 и узлов 91…9n+1 тетрад четверичных разрядов регистра 9 результата в коде "1 из 4" после (n+1)-го шага сигналов СИ и при наличии сигнала СДВИГ на входе 15. На каждом шаге вычислений проводится поразрядный контроль выполнения операции и в случае появления несоответствия кода хотя бы в одном разряде zi коду "1 из 4" на выходах 16i устройства будет выдан сигнал признака ошибки Ош.As a result of the operation of the device, a 2n-bit multiplication result Z = A × B is generated at the outputs of nodes 10 1 ... 10 n-1 of the carry block of result 10 and nodes 9 1 ... 9 n + 1 tetrads of four-digit bits of register 9 of the result in the code "1 of 4 "after the (n + 1) -th step of the SI signals and in the presence of a shift signal at the input 15. At each step of the calculations, bitwise control of the operation is carried out and in case of a code mismatch in at least one bit z i to the code" 1 of 4 "on the outputs 16 i of the device will be issued a signal of a sign of error Osh.

Оценим быстродействие предлагаемого устройства.Rate the performance of the proposed device.

В предлагаемом устройстве период синхроимпульсов СИ определяется только суммой задержек прохождения сигналами четырех последовательных блоков 3i, 5i, 6i, 8i и времени формирования переноса в блоке 7, и не зависит от разрядности n сомножителей. Разрядность n задает количество шагов вычислений, а также учитывается только на (n+1)-м шаге при коррекции переносов в узлах блока 10.In the proposed device, the clock cycle of the SI is determined only by the sum of the delays in the passage of signals from four consecutive blocks 3 i , 5 i , 6 i , 8 i and the transfer formation time in block 7, and does not depend on the bit depth of n factors. Bit depth n defines the number of calculation steps, and is also taken into account only at the (n + 1) -th step in the correction of transfers in the nodes of block 10.

В прототипе на каждом шаге вычислений выполняется последовательный межразрядный перенос через (n-1) узел в блоке частичных произведений или в блоке сумматоров. Поэтому период синхроимпульсов СИ в прототипе на каждом шаге прямо пропорционален количеству разрядов n и будет приблизительно равен общему времени выполнения операции умножения для предлагаемого устройства.In the prototype, at each step of the calculations, a sequential inter-bit transfer is performed through the (n-1) node in the block of partial works or in the block of adders. Therefore, the period of SI clock pulses in the prototype at each step is directly proportional to the number of bits n and will be approximately equal to the total execution time of the multiplication operation for the proposed device.

Таким образом, предлагаемое устройство обладает более высоким быстродействием, в сравнении с прототипом.Thus, the proposed device has a higher speed, in comparison with the prototype.

Вышеизложенные сведения позволяют сделать вывод, что предлагаемое устройство для умножения чисел в коде "1 из 4" обладает регулярностью узлов и связей, обеспечивает повышенную достоверность результата умножения за счет поразрядного контроля выполнения операции, равномерное распределение энергии по разрядам в процессе работы и соответствует заявляемому техническому результату - увеличение быстродействия устройства.The above information allows us to conclude that the proposed device for multiplying numbers in the code "1 of 4" has a regularity of nodes and connections, provides increased reliability of the multiplication result due to bitwise control of the operation, uniform distribution of energy over the discharges during operation and corresponds to the claimed technical result - increase the speed of the device.

Таблица 1Table 1 Четверичный кодQuaternary code 00 1one 22 33 Сомножители "1 из 4"Multipliers "1 of 4" 00010001 00100010 01000100 10001000 00 00010001 =0001= 0001 =0001= 0001 =0001= 0001 =0001= 0001 1one 00100010 =0001= 0001 =0010= 0010 =0100= 0100 =1000= 1000 22 01000100 =0001= 0001 =0100= 0100 =0001+Р1= 0001 + P1 =0100+Р1= 0100 + P1 33 10001000 =0001= 0001 =1000= 1000 =0100+Р1= 0100 + P1 =0010+Р2= 0010 + P2

Таблица 2table 2 Четверичный кодQuaternary code 00 1one 22 33 Слагаемые "1 из 4"The terms "1 of 4" 00010001 00100010 01000100 10001000 00 00010001 =0001= 0001 =0010= 0010 =0100= 0100 =1000= 1000 1one 00100010 =0010= 0010 =0100= 0100 =1000= 1000 =0001+П1= 0001 + P1 22 01000100 =0100= 0100 =1000= 1000 =0001+П1= 0001 + P1 =0010+П1= 0010 + P1 33 10001000 =1000= 1000 =0001+П1= 0001 + P1 =0010+П1= 0010 + P1 =0100+П1= 0100 + P1

Таблица 3Table 3 ВходыInputs ВыходыOutputs Р2P2 Р1P1 ПМ1PM1 ТР2TP2 ТР1TP1 ТР0TP0 00 00 00 00 00 1one 00 00 1one 00 1one 00 00 1one 00 00 1one 00 00 1one 1one 1one 00 00 1one 00 00 1one 00 00 1one 00 1one XX XX XX 1one 1one 00 XX XX XX 1one 1one 1one XX XX XX

Claims (1)

Устройство для умножения чисел в коде "1 из 4", содержащее регистр тетрадного сдвига, блок частичных произведений, блок сумматоров, регистр результата в коде "1 из 4", блок контроля, входы четверичных разрядов в коде " 1 из 4" первого и второго сомножителей устройства, вход записи устройства, вход синхроимпульсов устройства, вход константы 0 в коде "1 из 4" и выходы признака ошибки, при этом регистр тетрадного сдвига содержит n тетрад, где n - количество четверичных разрядов сомножителей, причем входы четверичных разрядов в коде "1 из 4" первого сомножителя устройства соединены с информационными входами соответствующих тетрад регистра тетрадного сдвига, информационные входы сдвига четверичных разрядов в коде "1 из 4" с первой по (n-1)-ю тетрад соединены соответственно с выходами четверичных разрядов в коде "1 из 4" со второй по n-ю тетрад регистра тетрадного сдвига, информационные входы сдвига четверичных разрядов n-й тетрады соединены с входом константы 0 в коде "1 из 4", блок частичных произведений содержит n узлов частичных произведений в коде "1 из 4", причем входы первой группы тетрад блока частичных произведений соединены с выходами младшей первой тетрады регистра тетрадного сдвига, причем блок сумматоров содержит (n-1) сумматор в коде "1 из 4", а регистр результата в коде "1 из 4" содержит 2n тетрад четверичных разрядов, причем информационные входы с первой по n-ю тетрад четверичных разрядов регистра результата в коде "1 из 4" соединены с выходами старшей группы четверичных разрядов соответственно со второй по (n+1)-ю тетрад четверичных разрядов регистра результата в коде "1 из 4", выходы четверичных разрядов с (n+2)-й по 2n-ю тетрад регистра результата в коде "1 из 4" соединены соответственно с входами четверичных разрядов второго слагаемого с первого по (n-1)-й сумматоров в коде "1 из 4", при этом блок контроля содержит 2n узлов контроля кода "1 из 4", выходы которых соединены с выходами признака ошибки устройства, входы с первого по (n+1)-й узлов блока контроля кода "1 из 4" соединены с выходами четверичных разрядов соответственно с первой по (n+1)-ю тетрад четверичных разрядов регистра результата в коде "1 из 4", вход записи устройства соединен с входом установки регистра результата в коде "1 из 4" и входом записи регистра тетрадного сдвига, вход синхроимпульсов устройства соединен с синхровходами регистра результата в коде "1 из 4" и регистра тетрадного сдвига, отличающееся тем, что введены регистр второго сомножителя, блок переносов произведения, первый блок сумматоров переносов, блок триггеров переноса суммы, второй блок сумматоров переносов, блок переносов результата и вход сдвига, причем регистр второго сомножителя содержит n тетрад, причем входы четверичных разрядов в коде "1 из 4" второго сомножителя устройства соединены с информационными входами соответствующих тетрад регистра второго сомножителя, а выходы регистра соединены с входами второй группы соответствующих тетрад блока частичных произведений, при этом блок переносов произведения и первый блок сумматоров переносов содержат по n узлов, причем выходы тетрад блока частичных произведений в коде "1 из 4" соединены с входами первой группы соответствующих узлов первого блока сумматоров переносов, входы второй группы которого соединены с выходами в коде "1 из 3" соответствующих узлов блока переносов произведения, выход переноса узлов первого блока сумматоров переносов соединен с первым входом одного переноса соответствующих узлов блока переносов произведения, второй вход одного переноса и вход двух переносов узлов блока переносов произведения соединены с одноименными выходами соответствующих узлов тетрад блока частичных произведений в коде "1 из 4", выходы в коде "1 из 4" с первого по (n-1)-й узлов первого блока сумматоров переносов соединены с соответствующими входами четверичных разрядов в коде "1 из 4" первого слагаемого соответственно с первого по (n-1)-й сумматоров блока сумматоров, выходы в коде "1 из 4" n-го узла первого блока сумматоров переносов соединены с информационными входами 2n-й тетрады четверичных разрядов регистра результата в коде "1 из 4", при этом блок триггеров переноса суммы и второй блок сумматоров переносов содержат по (n-1) узлов, причем входы первой группы в коде "1 из 4" с первого по (n-1)-й узлов второго блока сумматоров переносов соединены с информационными выходами соответственно с первого по (n-1)-й сумматоров в коде "1 из 4" блока сумматоров, входы второй группы в коде "1 из 2" с первого по (n-1)-й узлов второго блока сумматоров переносов соединены с соответствующими выходами соответственно с первого по (n-1)-й узлов блока триггеров переноса суммы, выход переноса с первого по (n-1)-й узлов второго блока сумматоров переносов соединен с первым входом переноса соответствующих узлов блока триггеров переноса суммы, второй вход переноса которых соединен с выходами переносов соответственно с первого по (n-1)-й сумматоров в коде "1 из 4" блока сумматоров, блок переносов результата содержит (n-1) узлов, причем информационные входы первой группы в коде "1 из 4" с первого по (n-1)-й узлов которого соединены с информационными выходами четверичных разрядов с (n+2)-й по 2n-ю тетрад регистра результата в коде "1 из 4", первые входы переносов с первого по (n-1)-й узлов блока переносов результата соединены с прямым выходом единицы в коде "1 из 2" соответственно с первого по (n-1)-й узлов блока триггеров переноса суммы, вторые входы переносов со второго по (n-1)-й узлов блока переносов результата соединены с выходами переносов соответственно с первого по (n-2)-й узлов блока переносов результата, второй вход переносов первого узла блока переносов соединен с константой нуля, входы с (n+2)-го по 2n-й узлов блока контроля кода "1 из 4" соединены с выходами четверичных разрядов соответственно с первого по (n-1)-й узлов блока переносов результата в коде "1 из 4", вход синхроимпульсов устройства также соединен с синхровходами узлов блока переносов произведения и блока триггеров переноса суммы, вход записи устройства также соединен с входом записи регистра второго сомножителя, с входами установки узлов блока переносов произведения и блока триггеров переноса суммы, вход сдвига устройства соединен с входом сдвига с первого по (n-1)-й узлов блока переносов результата. A device for multiplying numbers in the "1 of 4" code, containing a tetrad shift register, a partial product block, an adder block, a result register in the "1 of 4" code, a control unit, quadruple inputs in the "1 of 4" code of the first and second device factors, device recording input, device clock input, constant 0 input in the “1 of 4” code and error indicator outputs, while the tetrad shift register contains n tetrads, where n is the number of quadruple bits of the factors, and the inputs of quadruple bits in the code 1 in 4 "of the first multiplies If devices are connected to the information inputs of the corresponding notebooks of the tetrad shift register, the information inputs of the four-digit shift in the code “1 of 4” from the first to the (n-1) -th tetrads are connected respectively to the outputs of the quadruple bits in the code “1 of 4” from the second according to the nth tetrad of the tetrad shift register, the information inputs of the quaternary digit shift of the nth tetrad are connected to the input of the constant 0 in the code “1 of 4”, the block of partial works contains n nodes of partial works in the code “1 of 4”, and the inputs of the first groups of notebooks block hour of different products are connected to the outputs of the lowest first tetrad of the tetrad shift register, and the adder block contains (n-1) the adder in the code “1 of 4”, and the result register in the code “1 of 4” contains 2n tetrads of four-digit digits, and the information inputs with the first by the nth tetrad of tetrads of the result register in the code "1 of 4" are connected to the outputs of the highest group of quaternary digits, respectively, with the second by the (n + 1) of the tetrads of quaternary bits of the register of the result in the code "1 of 4", the outputs of the quaternary bits from the (n + 2) -th through the 2n-th tetrad the result in the code “1 of 4” are connected respectively to the inputs of the four-digit bits of the second term from the first to (n-1) -th adders in the code “1 of 4”, while the control unit contains 2n nodes of the control code “1 of 4”, the outputs of which are connected to the outputs of the device error indicator, the inputs from the first to (n + 1) -th nodes of the code control block "1 of 4" are connected to the outputs of the four-digit bits, respectively, from the first to (n + 1) -th tetrads of the four-digit bits of the result register in the code "1 of 4", the input of the recording device is connected to the input of the installation of the result register in the code "1 of 4" and a notebook shift register entry, the device clock input is connected to the sync inputs of the result register in the code “1 of 4” and the notebook shift register, characterized in that the register of the second factor, the product transfer unit, the first transfer adder block, the sum transfer trigger block, the second block of adders of transfers, the block of transfers of the result and the shift input, and the register of the second factor contains n tetrads, and the inputs of the four-digit bits in the code "1 of 4" of the second factor of the device are connected to inf by the input inputs of the corresponding register notebooks of the second factor, and the register outputs are connected to the inputs of the second group of the corresponding notebooks of the partial product block, while the product carry unit and the first transfer adder unit contain n nodes each, and the outputs of the partial product block notebooks in the code “1 of 4” connected to the inputs of the first group of the corresponding nodes of the first block of carry adders, the inputs of the second group of which are connected to the outputs in the code "1 of 3" of the corresponding nodes of the block of transfers The output of the transfer of nodes of the first block of adders of transfers is connected to the first input of one transfer of the corresponding nodes of the block of transfers of work, the second input of one transfer and the input of two transfers of nodes of the block of transfers of work are connected with the same outputs of the corresponding nodes of the notebooks of the block of partial works in the code "1 of 4" , the outputs in the code “1 of 4” from the first to the (n-1) th nodes of the first block of carry-over adders are connected to the corresponding inputs of the four-digit bits in the code “1 of 4” of the first term, respectively, with the first o by the (n-1) th adders of the adder block, the outputs in the code “1 of 4” of the nth node of the first block of carry-over adders are connected to the information inputs of the 2nth tetrad of four-digit bits of the result register in the code “1 of 4”, when In this case, the sum transfer trigger block and the second carry adder block each contain (n-1) nodes, the inputs of the first group in the code “1 of 4” from the first to (n-1) th nodes of the second carry adder block being connected to the information outputs, respectively from the first to (n-1) -th adders in the code "1 of 4" block adders, the inputs of the second group in the code "1 from 2 "from the first to the (n-1) th nodes of the second block of carry-over adders are connected to the corresponding outputs, respectively, from the first to (n-1) -th nodes of the block of carry-over triggers of the sum, the transfer output from the first to (n-1) is nth nodes of the second block of transfer adders is connected to the first transfer input of the corresponding nodes of the block of transfer triggers, the second transfer input of which is connected to the outputs of transfers from the first to (n-1) -th adders in the code "1 of 4" of the adder block, transfer block The result contains (n-1) nodes, with informational inputs of the first group in the code "1 of 4" from the first through (n-1) -th nodes of which are connected to the information outputs of the quadruple digits from the (n + 2) -th through the 2n-th notebooks of the result register in the code "1 of 4" , the first transfers inputs from the first to the (n-1) -th nodes of the result transfer block are connected to the direct output of a unit in the code "1 of 2", respectively, from the first to the (n-1) -th nodes of the transfer transfer triggers block, the second transfers inputs from the second to the (n-1) th nodes of the result transfer block are connected to the outputs of the transfers, respectively, from the first to the (n-2) th nodes of the result transfer block, the second shift input of the first node of the transfer block is connected to a zero constant, the inputs from the (n + 2) -th through the 2nth nodes of the code control block "1 of 4" are connected to the outputs of the quadruple bits, respectively, from the first to (n-1) -th nodes of the result transfer block in the code “1 of 4”, the input of the device clock pulses is also connected to the clock inputs of the nodes of the product transfer block and the block of sum transfer triggers, the input of the device record is also connected to the input of the second register register, with the installation inputs of the nodes of the work transfer block and block trigger s transfer amount, a shift device is connected to the input of the input shift from the first to (n-1) -th transfer unit assemblies result.
RU2011154055/08A 2011-12-28 2011-12-28 Apparatus for multiplying numbers in "1 out of 4" code RU2475812C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2011154055/08A RU2475812C1 (en) 2011-12-28 2011-12-28 Apparatus for multiplying numbers in "1 out of 4" code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2011154055/08A RU2475812C1 (en) 2011-12-28 2011-12-28 Apparatus for multiplying numbers in "1 out of 4" code

Publications (1)

Publication Number Publication Date
RU2475812C1 true RU2475812C1 (en) 2013-02-20

Family

ID=49121118

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2011154055/08A RU2475812C1 (en) 2011-12-28 2011-12-28 Apparatus for multiplying numbers in "1 out of 4" code

Country Status (1)

Country Link
RU (1) RU2475812C1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2665255C1 (en) * 2018-02-05 2018-08-28 Государственное бюджетное профессиональное образовательное учреждение города Москвы "Политехнический колледж им. Н.Н. Годовикова" Binary code comparator device
RU205198U1 (en) * 2020-12-26 2021-07-01 Акционерное общество Научно-производственный центр «Электронные вычислительно-информационные системы» (АО НПЦ «ЭЛВИС») A PARAMETRIZABLE SINGLE-STROKE BINARY MULTIPLIER WITH A FIXED DOT IN A DIRECT AND AUXILIARY CODE

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5957999A (en) * 1995-08-31 1999-09-28 National Semiconductor Corporation Booth multiplier with squaring operation accelerator
RU2148270C1 (en) * 1998-05-27 2000-04-27 Научно-исследовательский институт многопроцессорных вычислительных систем при Таганрогском государственном радиотехническом университете Device for multiplication
RU2251144C1 (en) * 2003-10-28 2005-04-27 Хетагуров Ярослав Афанасьевич Device for multiplication of numbers in "1 of 4" code
US7080114B2 (en) * 2001-12-04 2006-07-18 Florida Atlantic University High speed scaleable multiplier

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5957999A (en) * 1995-08-31 1999-09-28 National Semiconductor Corporation Booth multiplier with squaring operation accelerator
RU2148270C1 (en) * 1998-05-27 2000-04-27 Научно-исследовательский институт многопроцессорных вычислительных систем при Таганрогском государственном радиотехническом университете Device for multiplication
US7080114B2 (en) * 2001-12-04 2006-07-18 Florida Atlantic University High speed scaleable multiplier
RU2251144C1 (en) * 2003-10-28 2005-04-27 Хетагуров Ярослав Афанасьевич Device for multiplication of numbers in "1 of 4" code

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2665255C1 (en) * 2018-02-05 2018-08-28 Государственное бюджетное профессиональное образовательное учреждение города Москвы "Политехнический колледж им. Н.Н. Годовикова" Binary code comparator device
RU205198U1 (en) * 2020-12-26 2021-07-01 Акционерное общество Научно-производственный центр «Электронные вычислительно-информационные системы» (АО НПЦ «ЭЛВИС») A PARAMETRIZABLE SINGLE-STROKE BINARY MULTIPLIER WITH A FIXED DOT IN A DIRECT AND AUXILIARY CODE

Similar Documents

Publication Publication Date Title
US3752971A (en) Expandable sum of cross product multiplier/adder module
Hyun et al. Constant-time synchronous binary counter with minimal clock period
JPS62256034A (en) Pipeline computing unit
Panda et al. Design and FPGA prototype of 1024-bit Blum-Blum-Shub PRBG architecture
RU2475812C1 (en) Apparatus for multiplying numbers in "1 out of 4" code
US7830949B2 (en) Cross correlation circuits and methods
Rafiq et al. An efficient architecture of modified booth multiplier using hybrid adder
EP0431416A2 (en) Apparatus and method for accessing a cyclic redundancy error check code generated in parallel
Junsangsri et al. A pseudo-random number generator circuit for nanoscale stochastic computing (SC)
CN110943955B (en) Method for generating parallel scrambler
JPH06149542A (en) Chaining and adding method for adder
RU2661797C1 (en) Computing device
RU2389064C1 (en) Method and device for adding and subtracting binary decimal code
Piestrak Design of multi-residue generators using shared logic
RU2381547C2 (en) Device for adding binary codes
RU2814657C9 (en) Modulo conveyor accumulating adder
RU2251144C1 (en) Device for multiplication of numbers in "1 of 4" code
RU1807481C (en) Device for multiplication
Kim et al. Digit-serial modular multiplication using skew-tolerant domino CMOS
SU1667059A2 (en) Device for multiplying two numbers
RU2386998C1 (en) Method and device for binary-coded decimal multiplication
RU2755734C1 (en) Apparatus for multiplying numbers by an arbitrary modulus
Petryshyn et al. Foundations of the Fast Galois Field Arithmetic
RU2251143C1 (en) Method for adding numbers in "1 of 4" code and adder for this code
RU2739338C1 (en) Computing device

Legal Events

Date Code Title Description
TK4A Correction to the publication in the bulletin (patent)

Free format text: AMENDMENT TO CHAPTER -FG4A- IN JOURNAL: 5-2013 FOR TAG: (73)

MM4A The patent is invalid due to non-payment of fees

Effective date: 20181229