SU1179318A1 - Device for rounding number - Google Patents

Device for rounding number Download PDF

Info

Publication number
SU1179318A1
SU1179318A1 SU833619735A SU3619735A SU1179318A1 SU 1179318 A1 SU1179318 A1 SU 1179318A1 SU 833619735 A SU833619735 A SU 833619735A SU 3619735 A SU3619735 A SU 3619735A SU 1179318 A1 SU1179318 A1 SU 1179318A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
register
counter
rounding
Prior art date
Application number
SU833619735A
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 SU833619735A priority Critical patent/SU1179318A1/en
Application granted granted Critical
Publication of SU1179318A1 publication Critical patent/SU1179318A1/en

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

УСТРОЙСТВО ДЛЯ ОКРУГЛЕНИЯ ЧИСЛА, содержащее регистр стандартного слова и регистр дополнительного слова, информационные входы которых соединены соответственно с первым и вторым информационными входами устройства ,, отличающеес  тем, что, с целью повышени  точности округлени , оно содержит счетчик, дешифратор, элемент ШШ и элемент задержки, выход которого подключен к входам установки О регистра стандартного слова и регистра дополнительного слова и входу разрешени  считьюани  счетчика, информационный вход и выход которого соединены соответственно с выходом регистра стандартного слова и выходом устройства, вход и выход дешифратора подключены соответственно к выходу регистра дополнительного слова и входу элемента ШШ, выход которого соединен со § счетным входом счетчика, а синхровходы регистров стандартного слова и (Л дополнительного слова и вход элемента задержки подключены к синхровходу устройства.A DEVICE FOR ROUNDING A NUMBER containing a standard word register and an additional word register, the information inputs of which are connected respectively to the first and second information inputs of the device, characterized in that, in order to improve the accuracy of rounding, it contains a counter, a decoder, an NL element and a delay element The output of which is connected to the inputs of the installation About the register of the standard word and the register of the additional word and the input of the resolution of the counter counter, the information input and output of which is Here, respectively, with the output of the register of the standard word and the output of the device, the input and output of the decoder are connected respectively to the output of the register of the additional word and the input of the NL element, the output of which is connected to the counting input of the counter, and the synchronous inputs of the standard word registers connected to the sync device.

Description

giggH e2y yi giggH e2y yi

/ /

/ /

fn /yars/jjf y/ Ф1/&./fn / yars / jjf y / F1 / & ./

ЧH

00 00

ЖF

/ C/f JIKffff/ /Jf /feZSj ff oS/ C / f JIKffff / / Jf / feZSj ff oS

0000

Изобретение относитс  к вычислительной технике и может быть использовано в устройствах согласовани  автоматизированных систем обработки информации при создании интегрирован- 5 ных информационных систем. Целью изобретени   вл етс  повыше ние точности округлени  чисел. На фиг.1 приведена схема поразр д ного соответстви  согласуемых форматов сообщений, на фиг.2 - функциональна  схема устройства. Устройство содержит регистр 1 стандартного слова, регистр 2 дополнителыюго слова, дешифратор 3, элемент НИИ 4, счетчик 5, элемент 6 задержки и имеет синхровход 7, первый и вгорой информационные входы 8 и 9 и выход ТО. При этом информационный вход 8 устройства подключен к ин формационному входу регистра 1, выход которого соединен с информационньгм входом счетчика 5.. Выход счетчика 5 соединен с выходом 10 устройства . Информационный вход 9 устройства подключен к информационному входу регистра 2, выход которого соединен со входом дешифратора 3. Выхо ды дшлнфратора 3 через элемент ИЛИ 4 подключены к счетному входу счетчика 5. Синхровход 7 устройства соединен с синхровходами регистров 1 и 2 и входом элемента 6, выход которого подключен ко входам установки О ре гистров 1 и 2 и входу разрешени  счи тьшани  счетчика 5. Устройство работает следующим образом . Сообщение формата поступает на регистры 1 и 2, причем на регистр 1, разр дность которого соответствует формату i), по входу 8 записываютс  (S-k) старших разр дов сообщени  фор мата F, .Оставшиес  k разр дов сооб щени , из р разр дов служебных и (k-p) информационных, поступают по входу 9 на регистр 2. Па содержимому регистра 2 дешифратором 3 формируетс  сигнал; округлени ,, который, пройд  элемент 4, складываетс  с содержи мым регистра V на счетчике 5. С выхо да счетчика 5 на выход 10 снимаетс  сообщение, преобразованное из формата 1-2 в формат Р| . Рассмотрим динамику работы устройства . Старшие (6-lt) разр дов сооб щени  формата Рг по входу 8 поступаю на вход регистра 1 и запоминаютс The invention relates to computing technology and can be used in matching devices of automated information processing systems when creating integrated information systems. The aim of the invention is to improve the accuracy of rounding numbers. Figure 1 shows a diagram of a bit of correspondence of the agreed message formats, figure 2 shows a functional diagram of the device. The device contains the register 1 of the standard word, the register 2 is the additional word, the decoder 3, the element of the SRI 4, the counter 5, the delay element 6 and has a synchronous input 7, the first and upstream information inputs 8 and 9 and the output TO. The information input 8 of the device is connected to the information input of the register 1, the output of which is connected to the information input of the counter 5. The output of the counter 5 is connected to the output 10 of the device. Information input 9 of the device is connected to the information input of the register 2, the output of which is connected to the input of the decoder 3. The output of the third signal through the element OR 4 is connected to the counting input of the counter 5. The synchronous input 7 of the device is connected to the synchronous inputs of registers 1 and 2 and the input of element 6, output which is connected to the inputs of the installation About registers 1 and 2 and the enable input of the readout of the counter 5. The device operates as follows. The format message arrives on registers 1 and 2, and on register 1, the bit of which corresponds to format i), input (8) is written (Sk) of the most significant bits of the message format F, the remaining k bits of the message and (kp) information, are received at input 9 to register 2. On the contents of register 2 and decoder 3, a signal is generated; rounding, which, after passing through element 4, is added to the contents of register V on counter 5. From the output of counter 5 to output 10, a message is converted from format 1-2 to format P | . Consider the dynamics of the device. The older (6-lt) message bits of the Pg format on input 8 arrive at the input of register 1 and are remembered

там. Остальные k младших разр дов по входу 9 занос тс  в регистр 2. С приходом в устройство синхросигнала по входу 7 он поступает на синхровходы регистров 1 и 2 и обеспечивает перепись их содержимого соответственно в счетчик 5 и дешифратор 3. В зависимое ти от значени  кода, поступившего с регистра 2, единичный сигнал по вл етс  на строго определенном выходе дешифратора 3. Со входами элемента 4 соедин ютс  только те выходы дешифратора 3, на которых единичный сигнал по вл етс  при поступлении с регистра 2 разрешенных кодовых комбинаций округлени . Разрешенными кодовыми комбинаци ми округлени   вл ютс  любые кодовые комбинации в Р старших разр дах регистра 2, которые  вл ютс  служебными и не должны вли ть на результат округлени , и строго определенные кодовые комбинации в (k-p) разр дах, определ емые в соответствии с прин тым правилом округлени  При поступлении с регистра 2 разрешенной кодовой комбинации округлени  на одномиз выходов дешифратора 3, который подключен ко входу элемента 4, по вл етс  единичный сигнал, выступающий в роли сигнала округлени . Пройд  элемент 4, этот сигнал поступает на счетный вход счетчика 5, где суммируетс  с содержимым регистра 1. Таким образом заканчиваетс  преобразование сообщени  из формата f-2 формат г, . Синхросигнал, задержанный элементом6 на врем  формировани  сигнала округлени  и его суммировани  с Содержимым регистра 1, поступает на вход разрешени  считьшани  счетчика 5, обеспечива  считывание результата в формате из устройства согласовани  в систему обработки информации по выходу 10. Задержанный синхросигнал поступает также на входы установки О регистров 1 и 2 и обнул ет их, пpдгoтaE JJивa дeм самым к новому циклу округлени . Сброс содержимого счетчика 5 не- цроизвоД  , так как содержимое регистра 1 заноситс  в него в пар&фазном коде, Точность преобразовани  форматов сообщений.(округлаНИН)УМОЖНО оценить разностью /ux/ /X2-xJ, где 2 число X , представленное в формате F, 3 X, - число X , преобразованное формату F( . Сравним су1 1марную величину ошибк & х; I дл  известного и предлагаемо J -. го устройств при преобразовании сов купности чисел N2 представленных в формате f-j в совокупность чисел X,, представленную в формате F, (табл.1 и 2). Структура форматов ел дующа : формат р2 разр ды нулевой, пер вый, с третьего по седьмой (отсчет справа) - информационные, второй служебный; формат Г, - все разр ды (с нулевого по четвертьш) - информационные Результаты работы известного уст ройства при преобразовании совокупности чисел в совокупность X, приведены в табл.1. Результат работы предлагаемого устройства округлени  числа приве .дан в табл.2. 18 В устройстве дл  округлени  числа Xg используютс  п тиразр дный . регистр 1, трехразр дный регистр 2, п тиразр дный счетчик 5, дешифратор 3 на три входа, элемент задержки и элемент ИЛИ 4 на два входа. Ко входам элемента 4 подключены четвертый и восьмой выходы дешифратора 3. Единичный сигнал на этих выходах присутствует , когда на регистре 2 наход тс  кодовые комбинации - О 1 1 и 1 1 1, т.е. реализуетс  следующее правило, округлени : сигнал округлени  вьфабатываетс , если число, записанное в информационных разр дах округл емой части сообщени  форматаР. больше половины значени  младшего разр да сообщени  фоомата FI . Сравнива  величины ЛЧ ) в табл.1 и 2, можно сделать вьшод о том, что в предлагаемом устройстве точность округлени  может быть увеличена в 2-4 раза по сравнению с известным устройством дл  округлени .there. The remaining k low-order bits at input 9 are entered into register 2. With the arrival of a clock signal at input 7, it enters the synchronous inputs of registers 1 and 2 and provides a rewriting of their contents, respectively, into counter 5 and decoder 3. Depending on the code value, arriving from register 2, a single signal appears at the strictly defined output of decoder 3. Only those outputs of decoder 3 are connected to the inputs of element 4, where a single signal appears when the 2 rounding code combinations are received from register 2. Allowed rounding code combinations are any code combinations in P most significant bits of register 2 that are service and should not affect the result of rounding, and well-defined code combinations in (kp) bits, defined in accordance with accepted rule of rounding When entering from register 2 the allowed rounding code combination to one of the outputs of decoder 3, which is connected to the input of element 4, there appears a single signal acting as a rounding signal. Passing element 4, this signal is fed to the counting input of counter 5, where it is summed up with the contents of register 1. Thus, the conversion of the message from the f-2 format, format g, is completed. The clock signal delayed by the element 6 at the time of forming the rounding signal and summing it with the contents of register 1 is fed to the resolution of reading the counters of counter 5, ensuring the result is read from the matching device to the output information processing system 10. The delayed clock signal is also fed to the O registers installation 1 and 2 and put them down, letting JJ take the most to the new rounding cycle. Resetting the contents of counter 5 is not good, because the contents of register 1 are entered into it in the & phase code code, the accuracy of message format conversion. (Rounded) It is possible to estimate the difference / ux / / X2-xJ, where 2 is the number X represented in the F format , 3 X, is the number X converted to the format F (. Let's compare cy1 to the size of the error &x; I for the well-known and proposed J-th device when converting the combination of N2 numbers represented in the format fj into the set of numbers X ,, presented in format F, (Tables 1 and 2). The format structure of the following: format p2 bit zero, first, from third to seventh (counting from the right) - informational, second service; format G, - all bits (from zero to quarter) - informational Results of the work of a known device when converting an aggregate of numbers into an aggregate X, are given in Table .1. The result of the operation of the proposed rounding device is given in Table 2. 18 The device for rounding the number Xg is five-bit. register 1, three-bit register 2, five-bit counter 5, a decoder 3 for three inputs, a delay element and an element OR 4 for two inputs. The fourth and eighth outputs of the decoder 3 are connected to the inputs of element 4. The single signal at these outputs is present when code combinations O 1 1 and 1 1 1 are on register 2, i.e. the following rounding rule is implemented: the rounding signal is aborted if the number recorded in the data bits of the rounding part of the format P message. more than half the value of the least significant bit of a FI message. Comparing the values of the PSUs in Tables 1 and 2, it can be concluded that in the proposed device the accuracy of rounding can be increased by 2-4 times in comparison with the known device for rounding.

1001000010010000

1001000110010001

1001001010010010

1 О О 1 .0 О 1 11 O O 1 .0 O 1 1

1001010010010100

1001010110010101

1001011010010110

1001011110010111

Таблица 1Table 1

10010 1001 1 10011 10011 10011 10011 10011 1001110010 1001 1 10011 10011 10011 10011 10011 10011

16sixteen

Таблица 2table 2

Claims (1)

УСТРОЙСТВО ДЛЯ ОКРУГЛЕНИЯ ЧИСЛА, содержащее регистр стандартного слова и регистр дополнительного слова, информационные входы которых соединены соответственно с первым и вторым информационными входами устройства,. отличающееся тем, что, с целью повышения точности /77 рсгз/мдЬ# /A DEVICE FOR NUMBER ROUND, containing a standard word register and an additional word register, the information inputs of which are connected respectively to the first and second information inputs of the device. characterized in that, in order to improve the accuracy of / 77 RSGZ / MDL # / округления, оно содержит счетчик, дешифратор, элемент ИЛИ и элемент задержки, выход которого подключен к входам установки О регистра стандартного слова и регистра дополнительного слова и входу разрешения считывания счетчика, информационный вход и выход которого соединены соответственно с выходом регистра стандартного слова и выходом устройства, вход и выход дешифратора подключены соответственно к выходу регистра дополнительного слова и входу элемента ИЛИ, выход которого соединен со счетным входом счетчика, а синхро- § входы регистров стандартного слова и дополнительного слова и вход элемента задержки подключены к синхровходу устройства.rounding, it contains a counter, a descrambler, an OR element and a delay element, the output of which is connected to the inputs of the O setting of the standard word register and the additional word register and the counter enable input, the information input and output of which are connected respectively to the output of the standard word register and the device output, the input and output of the decoder are connected respectively to the output of the additional word register and the input of the OR element, the output of which is connected to the counter input of the counter, and the sync the standard word and the additional word and the input of the delay element are connected to the device sync input. SU .... 1179318SU .... 1179318
SU833619735A 1983-07-13 1983-07-13 Device for rounding number SU1179318A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833619735A SU1179318A1 (en) 1983-07-13 1983-07-13 Device for rounding number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833619735A SU1179318A1 (en) 1983-07-13 1983-07-13 Device for rounding number

Publications (1)

Publication Number Publication Date
SU1179318A1 true SU1179318A1 (en) 1985-09-15

Family

ID=21073668

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833619735A SU1179318A1 (en) 1983-07-13 1983-07-13 Device for rounding number

Country Status (1)

Country Link
SU (1) SU1179318A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 771667, кл. G 06 F 7/38, 1980. Патент GB № 1353213, кл. G 4 А, опублик. 1974. *

Similar Documents

Publication Publication Date Title
US4160154A (en) High speed multiple event timer
US3221324A (en) Analog to digital converter
GB1375029A (en)
SU1179318A1 (en) Device for rounding number
EP0469543A2 (en) Multiple interrupt handling circuit
SU1387001A1 (en) Device for determining recurrence of program calls
SU750480A1 (en) Device for comparing numbers with tolerances
JPS57108905A (en) Synchronous queuing system for machine tool with plural movable members
SU1383345A1 (en) Logarithmic converter
JP2000059206A (en) Pulse count system for pulse input circuit
SU557718A1 (en) Digital indicator of signal extreme values
SU1001102A1 (en) Priority device
SU1124282A1 (en) Transformer from binary code to binary-coded decimal code of angular units
SU1697083A2 (en) Data exchange device
SU902282A1 (en) Device for receiving information through two parallel communication channels
SU1290490A1 (en) Digital variable delay line
SU1557685A1 (en) Code converter
SU432487A1 (en) CONVERTER BINDING-DECIMAL CODE TO UNITARY CODE
SU1644388A1 (en) Code converter
SU1128246A1 (en) Interface
SU1660013A1 (en) Device for set union
SU1591192A1 (en) Code checking device
SU995086A1 (en) Device for number comparison
SU1501114A1 (en) Device for counting piece articles
SU1179371A1 (en) Device for measuring distribution function of instantaneous frequency of random process