SU1233134A1 - Associative device for taking sum of n n-digit binary and binary-coded decimal numbers - Google Patents
Associative device for taking sum of n n-digit binary and binary-coded decimal numbers Download PDFInfo
- Publication number
- SU1233134A1 SU1233134A1 SU843850695A SU3850695A SU1233134A1 SU 1233134 A1 SU1233134 A1 SU 1233134A1 SU 843850695 A SU843850695 A SU 843850695A SU 3850695 A SU3850695 A SU 3850695A SU 1233134 A1 SU1233134 A1 SU 1233134A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- inputs
- elements
- binary
- storage unit
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к области вычислительной техники, а точнее к устройствам дл сложении нескольких чисел, представленных как в двоичной , так и в двоично-дес тичной системе счислени , и может использоватьс в устройствах обработки информации . Цель изобретени - расширение области применени за счет возможности суммировани N чисел, представленных в. двоично-дес тичной системе счислени . Устройство содержит первый посто нный запоминающий блок, ассоциативный затгоминак ций блок, первую, вторую, третью и четвертую группы элементов И, первый и второй элемент И, первую и вторую группы элементов задержки, второй посто н- ньй запоминающий блок, элемент задержки , регистр промежуточного результата , регистр хранени переноса и N входных регистров. 4 ил. (ЛThe invention relates to the field of computing, and more specifically to devices for adding several numbers, represented in both binary and binary-decimal number systems, and can be used in information processing devices. The purpose of the invention is to expand the scope of application due to the possibility of summing the N numbers presented in. binary-decimal number system. The device contains the first permanent storage block, the associative memory block, the first, second, third and fourth groups of AND elements, the first and second And elements, the first and second groups of delay elements, the second constant memory block, the delay element, the intermediate register result, carry storage register and N input registers. 4 il. (L
Description
I1I1
Изобретение относитс к вычислительной технике,The invention relates to computing
Цель изобретени - расширение области применени за счет возможности суммировани N чисел, представленных в двоично-дес тичной системе счислени .The purpose of the invention is the expansion of the field of application due to the possibility of summing N numbers represented in the binary-decimal number system.
На фиг. 1 изображена функ1щональ- на схема предлагаемого устройства5 на фиг. 2 - схема зашивки посто нно- го запоминающего блока; на фиг. 3 - схема зашивки ассоциативного запоминающего блока; на фиг. 4 - упрощенна схема зашивки посто нного запоминающего блока дл примера сум- мировани четырех слагаемых., представленных как в двоичной, так и в двоично-дес тичной системе счислени .FIG. 1 shows a functional wedge diagram of the proposed device 5 in FIG. 2 is a scheme for stitching a permanent storage unit; in fig. 3 is a scheme for sewing an associative storage unit; in fig. 4 is a simplified scheme for stitching a permanent storage unit for an example of summing up the four terms represented in both the binary and binary-decimal number systems.
Устройство содержит первьй посто нный запоминающий блок 1 (ПЗБ) с встроенным дешифратором адреса, ассоциативный запоминающий блок 2 .(АЗБ), вторую группу элементов ИЗ, первый элемент И 4, третью группу элементов И -5, первую груцпу элементов И 6, вторую группу элементов 7 задержки, первую группу элементов 8 задержки, входы 9 слагаемых устройства , выход 10 суммы двоичных кодов, вторую 5рину II синхронизации, первую шину 12 синхронизации, второй элемент И 3, регистр 14 хранени переноса , N входных регистров 15, выход 16 суммы двоично-дес тичных кодов, третью шину 17 синхронизации, элемент 18 задержки, регистр 19 промежуточного результата, четвертую группу элементов И 20, второй посто нный запоминающий блок 21.The device contains the first permanent storage unit 1 (FBB) with the built-in address decoder, the associative storage unit 2. (AZB), the second group of elements IZ, the first element I 4, the third group of elements I-5, the first group of elements I 6, the second group delay elements 7, the first group of delay elements 8, inputs 9 of the device's components, output 10 of the sum of binary codes, second synchronization clock II, first synchronization bus 12, second AND 3 element, transfer storage register 14, N input registers 15, output 16 of the binary -primary codes, three Strongly synchronization bus 17, the delay element 18, a register 19, an intermediate result, a fourth group of AND gates 20, a second constant storing unit 21.
Устройство работает следующим образом .The device works as follows.
На входы 9 слагаемых устройства в зависимости от того, в каком виде подаютс слагаемые в двоичном или в двоично-дес тичном, происходит запись чисел в N входных регистров 15 либо полностью (в первом сл:учае), либо i -и тетрады всех слагаемых: (во втором случае).Depending on the form in which the terms are supplied in binary or in binary-decimal, the numbers are written to the N input registers 15 either completely (in the first case) or the i -th tetrads of all the terms: (in the second case).
Рассмотрим работу устройства, когда сумми руемые слагаемые представлены в двоичной системе счислени ,Consider the operation of the device when summable terms are represented in binary numbering system,
При подаче тактового импульса на вторую шину 11 синхронизации устрой- ства на первые входы элементов И 3 второй группы подаютс одноименные разр ды N слагаемых, которые в тече342When a clock pulse is applied to the second bus 11 of the device synchronization, the same inputs of the N items are applied to the first inputs of the And 3 elements of the second group;
ние тактового импульса определ ют адрес слова, считываемого из первого ПЗБ 1 . Считанное слово из первого ПЗБ 1 само вл етс частью признака, подаваемого на признаковые входы ЛЗБ 2, причем все разр ды, кроме младшего, задерживаютс на один такт Остальной частью признака вл ютс все, кроме старшего, разр ды, считываемые из АЗВ 2, и задерживаютс на один такт. Сформированный признак дополнительно синхронизируетс на элементах И 4-6 путем подачи сигнала по первой шине 12 синхронизации устройства , передний фронт которого начинаетс позже, а задний раньше тактового импульса подаваемого по второй шине 11 синхронизации устройства Эта мера вызвана неидеальностью элементов группы 7 и 8 задержки.the clock pulse determines the address of the word read from the first PZB 1. The read word from the first PZB 1 itself is part of the attribute supplied to the feature inputs of the LZB 2, all bits except the younger being delayed by one cycle. The rest of the sign are all bits except the older one, read from AZV 2, and delayed by one measure. The generated feature is additionally synchronized on the AND 4-6 elements by sending a signal over the first bus 12 of the device synchronization, the leading edge of which starts later, and the rear edge is before the clock pulse supplied by the second bus 11 of the device synchronization. This measure is caused by the imperfection of the delay group 7 and 8 elements.
В том же такте, в котором подан разр дньй срез слагаемых, на выходе 10 АЗБ 2 по вл етс одноименный выходной разр д. Таким образом, на выходе получаетс результат суммировани в последовательном коде, причем количество тактов, за которое вычисл етс сумма, равноIn the same cycle, in which the discharge bit is applied, the output of the same 10 ACB 2 appears of the same name as the output bit. Thus, the output is the result of the summation in the sequential code, the number of cycles for which the sum is calculated
(,, п + , где (j.;,- количество затрачиваемых(,, n +, where (j.;, is the amount spent
тактов;cycles;
п - разр дность слагаемых; N - количество одновременно суммируемых слагаемых,n is the magnitude of the components; N is the number of simultaneously summable terms,
В двоично-дес тичной системе счислени в коде 8,4,2,1 устройство работает следующим образом,In the binary-decimal number system in code 8,4,2,1 the device operates as follows
Через входы 9 слагаемьгх устройства в N входных регистров 15 поступают младшие тетрады всех суммируемых слов. Использу блоки предназначенные дп операции двоичного суммировани , а также соответствующие шины 11 и 12 синхронизации производ т обычную операцию двоичного сложени , аналогично описанному алгоритму. Замечают при этом, что в регистре 4 пе- хранени переноса содержатс нули. После обработки младших тетрад, т.е. четырехразр дных слагаемых, в регистре 19 промежуточного результата (в исходном состо нии содержит нули) сформируетс некотора двоична сумма В,Through the inputs 9 of the device in the N input registers 15 receive the lower tetrads of all summable words. Using blocks intended for dp binary summation operations, as well as the corresponding synchronization buses 11 and 12, perform the usual binary addition operation, similarly to the described algorithm. It is noted here that transfer relocation register 4 contains zeros. After processing the lower tetrads, i.e. four-digit terms, in register 19 of the intermediate result (containing zeroes in the initial state), some binary sum B is formed,
(2У(2U
Разр дность регистра промежуточного результата определ етс как . С пр.р.р п log(N+), если N ; 16,The bit depth of the intermediate result register is defined as. With pr.rr p log (N +), if N; sixteen,
гдеУ, - разр д ость регистра промежуточного результата; разр дность слагаемого (м-4) N - количество суммируемых слаraeNibix .whereU, is the register capacity of the intermediate result; the word length (m – 4) N is the number of summable slaeeNibix.
При подаче на третий тактовый вход 7 синхронизации устройства импульса происходит передача информации с регистра 19 промежуточного результата через элементы И 20 четвер- той группы на вход встроенного ратора адреса второго посто нного запоминающего блока 2, поступает информаци с промежуточного результата регистра и в том же такте происходит его обнуление (врем хранени информации в промежуточном регистре результата определ етс элементом 18 задержки).When a pulse device synchronizes to the third clock input 7, the information from the intermediate result register 19 is transmitted through the fourth group AND elements of the fourth group to the input of the built-in address device of the second permanent storage unit 2, information is received from the intermediate result of the register and occurs in the same cycle its zeroing (the storage time of information in the intermediate result register is determined by delay element 18).
Организаци второго посто нного запоминающего блока 21 следующа (фиг, 4).The organization of the second permanent storage unit 21 is as follows (FIG. 4).
На вход второго посто нного запо минающего блока 21 поступает информаци с регистра промежуточного ре- зультата с учетом переноса из преды- дул(их тетрад. -Так как рассматривают двоичную сумму, полученную при сложении младших тетрад, то соответственно переносов из предьщущих тетрад нет. С выхода посто нного запоминающего блока 21 по соответствующему адресу считываетс слово, которое содержит два вида информации, а именно вьщел ет разр д единиц в двоичноThe input of the second permanent storage unit 21 receives information from the intermediate result register, taking into account the transfer from the previous ones (their tetrads. - Since the binary sum obtained by adding the lower tetrads is considered, then there are no transfers from the previous tetrads, respectively. C the output of the permanent storage unit 21 at the corresponding address is read the word, which contains two types of information, namely, it allocates the unit of bits in binary
дес тичном коде, содержащихс в сумме , а также остальные разр ды (дес тки, сотни, и т.д.) содержащиес 5(2) в двоичном коде. Например: S(- lllllin 255,„ 1 10012 L, О101.,„,о.the decimal code contained in the sum, as well as the remaining bits (tens, hundreds, etc.) contained 5 (2) in the binary code. For example: S (- lllllin 255, „1 10012 L, О101.,„, О.
L,L,
Полученна информаци L в двоично-дес тичном коде поступает на выходную шину 16 устройства, что вл етс результатом суммировани уст- ройством младших тетрад. Информаци , полученна с выхода второго посто нного запоминающего блока 21, Ь в двоичном коде поступает на входы регистра 14 хранени переноса, что и есть количество переносов, необходимых учесть при суммировании вторых тетрад всех слагаемых. Разр дность регистра 14 хранени переноса определ етс какThe obtained information L in a binary-decimal code is fed to the output bus 16 of the device, which is the result of the device summing up the lower tetrads. The information obtained from the output of the second persistent storage unit 21, b in binary code is fed to the inputs of the transfer storage register 14, which is the number of transfers necessary to take into account when summing up the second tetrads of all the terms. The bit size of transfer carry register 14 is defined as
tj,. log (N-1).,tj log (N-1).,
Обработка следующих тетрад всех слагаемых происходит аналогично.The processing of the following tetrads of all the terms is similar.
5five
0 5 0 5
0 0
5 о 5 o
5five
00
5 0 50
- Разр дность регистра переноса меньиге или равно четырем- The width of the transfer register is less than or equal to four
(2-,.) + logj (N+l)l если N 1 16.(2- ,.) + logj (N + l) l if N 1 16.
Разр дность регистра 14 переноса больше четырех.The register size of 14 transfer is more than four.
( lORj(N-l.) + 10gj(N+l)}. (lORj (N-l.) + 10gj (N + l)}.
,До ;2(11-1 ) Р,, To; 2 (11-1) P,
где Р - разр дность двоично-дес тичного числа.where P is the size of the binary-decimal number.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843850695A SU1233134A1 (en) | 1984-11-12 | 1984-11-12 | Associative device for taking sum of n n-digit binary and binary-coded decimal numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843850695A SU1233134A1 (en) | 1984-11-12 | 1984-11-12 | Associative device for taking sum of n n-digit binary and binary-coded decimal numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1233134A1 true SU1233134A1 (en) | 1986-05-23 |
Family
ID=21161045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843850695A SU1233134A1 (en) | 1984-11-12 | 1984-11-12 | Associative device for taking sum of n n-digit binary and binary-coded decimal numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1233134A1 (en) |
-
1984
- 1984-11-12 SU SU843850695A patent/SU1233134A1/en active
Non-Patent Citations (1)
Title |
---|
Малиновский Б.Н. и др. Справочник .по цифровой вычислительной технике (электронные вычислительные машины и системы). - Киев.:Техника, 1980, с. 65, рис. 24з. Авторское свидетельс во СССР № 1062689, кл. G 06 F 7/50,, 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5321706A (en) | Method and apparatus for checking the address and contents of a memory array | |
CA2005953A1 (en) | Dual port read/write register file memory | |
US5765203A (en) | Storage and addressing method for a buffer memory control system for accessing user and error imformation | |
US4016409A (en) | Longitudinal parity generator for use with a memory | |
GB1449229A (en) | Data processing system and method therefor | |
US5201058A (en) | Control system for transferring vector data without waiting for transfer end of the previous vector data | |
SU1233134A1 (en) | Associative device for taking sum of n n-digit binary and binary-coded decimal numbers | |
JPS58168347A (en) | Detecting circuit of synchronizing code | |
US5515506A (en) | Encoding and decoding of dual-ported RAM parity using one shared parity tree and within one clock cycle | |
KR860003554A (en) | Shared Main Memory and Disk Controller Memory Address Registers | |
JPS59178667A (en) | Memory device | |
SU1251075A1 (en) | Device for unpacking instructions | |
SU1001478A1 (en) | Majority-redundancy device | |
SU1322296A1 (en) | Interface for linking processor with memory | |
RU1807479C (en) | Adder | |
SU1472909A1 (en) | Dynamic addressing memory | |
SU1293861A1 (en) | Device for monitoring duplicated system | |
JP2546002B2 (en) | Parity circuit | |
SU427389A1 (en) | MEMORY DEVICE | |
SU1241242A1 (en) | Device for generating interruption signal | |
SU1075311A1 (en) | Control unit for bubble memory | |
SU1023396A1 (en) | Storage for associative memory | |
SU1587601A1 (en) | Redundant memory device | |
SU1280454A1 (en) | Storage | |
SU943731A1 (en) | Device for code sequence analysis |