SU1363214A1 - Device for forming remainder by random modulus from number - Google Patents

Device for forming remainder by random modulus from number Download PDF

Info

Publication number
SU1363214A1
SU1363214A1 SU864093760A SU4093760A SU1363214A1 SU 1363214 A1 SU1363214 A1 SU 1363214A1 SU 864093760 A SU864093760 A SU 864093760A SU 4093760 A SU4093760 A SU 4093760A SU 1363214 A1 SU1363214 A1 SU 1363214A1
Authority
SU
USSR - Soviet Union
Prior art keywords
group
counter
output
input
information
Prior art date
Application number
SU864093760A
Other languages
Russian (ru)
Inventor
Олег Николаевич Музыченко
Original Assignee
Войсковая часть 31303
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 Войсковая часть 31303 filed Critical Войсковая часть 31303
Priority to SU864093760A priority Critical patent/SU1363214A1/en
Application granted granted Critical
Publication of SU1363214A1 publication Critical patent/SU1363214A1/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано дл  построени  различных устройств передачи и переработки дискретной информации. Цель изобретени  - повышение быстродействи  устройства . Информационные входы группы 8 устройства соединены с информационными входами счетчиков группы 2 таким образом, что j-й информационный вход любого счетчика группы 2 соединен с 1-м разр дом контролируемого кода, удовлетвор ющего условию (oe)niod к ((О;) mod К, где Шр и (Oj - масса 1-го разр да контролируемого кода и j-ro разр да счетчика группы 2 соответственно. Перед началом работы устанавливаютс  в нулевое состо ние. На р-(-1-м выходе узла 4 коммутации нулевой сигнал , запрещающий прохождение сигналов с выхода генератора 1 тактовых импульсов через элемент И 6 на счетный вход счетчика 7 по модулю К. При записи ненулевого кода на регистры группы 2 на выходах соответствующих элементов 3 группы формируютс  единичные сигналы. Выходы всех элементов ИЛИ группы соедин ютс  с соответствующими управл ющими входами группы узла 4 коммутации. Сигналы с выхода генератора 1 тактовых импульсов поступают на информационный вход узла 4 коммутации и по вл ютс  на информационном выходе узла 4 коммутации. Сигнал на (р+1)-м выходе узла 4 коммутации становитс  равным единице. Формирователь 5 импульсов устанавливает в нулевое состо i (Л 1l-(f-2} со О5 СО NDThe invention relates to the field of automation and computer technology and can be used to build various devices for the transmission and processing of discrete information. The purpose of the invention is to increase the speed of the device. The information inputs of the device group 8 are connected to the information inputs of the counters of group 2 in such a way that the j-th information input of any counter of group 2 is connected to the 1st bit of the monitored code that satisfies the condition (oe) niod to ((O;) mod K where Wfr and (Oj is the mass of the 1st bit of the controlled code and the j-ro bit of the counter of group 2, respectively. Before starting, they are set to the zero state. At p - (- 1st output of the switching unit 4, zero signal, prohibiting the passage of signals from the output of the generator 1 clock pulses through the e And 6 on the counting input of the counter 7 modulo K. When writing a non-zero code to the registers of group 2, single signals are formed at the outputs of the corresponding elements of group 3. The outputs of all the elements of OR group are connected to the corresponding control inputs of the group of switching unit 4. Signals from the output a clock pulse generator 1 arrives at the information input of the switching node 4 and appears at the information output of the switching node 4. The signal at the (p + 1) -th output of the switching node 4 becomes equal to one. Shaper 5 pulses sets to zero state i (L 1l- (f-2} with O5 CO ND

Description

ние счетчик 7 по модулю К, а элемент И 6 начинает пропускать тактовые импульсы на счетный вход счетчика 7. Сигнал с информационного выхода узла 4 коммутации поступает на вычитающий вход соответствующего счетчика группы 2, умень- ща  его содержимое. Когда на счетчике группы 2 устанавливаетс  нулевой код, сигнал на выходе соответствующего элемента И группы 3 становитс  равным нулю.counter 7 modulo K, and element 6 begins to pass clock pulses to the counting input of counter 7. The signal from the information output of switching node 4 goes to the subtracting input of the corresponding counter of group 2, reducing its content. When a zero code is set on the counter of group 2, the signal at the output of the corresponding AND element of group 3 becomes equal to zero.

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано дл  построени  различных устройств передачи и переработки дискретной информации.The invention relates to automation and computing and can be used to build various devices for the transmission and processing of discrete information.

Цель изобретени  - повышение быстродействи  устройства.The purpose of the invention is to increase the speed of the device.

На фиг. 1 приведена функциональна  схема устройства, где раскрыта схемна  реализаци  узла коммутации; на фиг. 2 - функциональна  схема одного из вариантов узла коммутации; на фиг. 3 - функциональна  схема одного из вариантов сумматора по модулю К.FIG. 1 is a functional diagram of the device where the circuit implementation of the switching node is disclosed; in fig. 2 - a functional diagram of one of the variants of the switching node; in fig. 3 - functional scheme of one of the variants of the adder modulo K.

Устройство дл  формировани  остатка по произвольному модулю от числа (фиг. 1) содержит генератор 1 тактовых импульсов, группу 2 счетчиков, группу 3 элементов ИЛИ, узел 4 коммутации, формирователь 5 импульсов , элемент И б, счетчик 7 по модулю К, группу 8 информационных входов устройства, выход 9 устройства. Узел 4 коммутации содержит группы элементов И 10, 11.The device for forming the remainder of an arbitrary module of the number (Fig. 1) contains a clock pulse generator 1, a group of 2 counters, a group of 3 OR elements, a switching node 4, a pulse shaper 5, an Andb element, a counter 7 modulo K, a group of 8 information device inputs, device output 9. Node 4 switching contains a group of elements And 10, 11.

Узел 4 коммутации содержит (фиг. 2) группу элементов 12 И и элемент ИЛИ 13.Node 4 switching contains (Fig. 2) a group of elements 12 And the element OR 13.

Счетчик 7 по модулю К- (фиг. 3) содержит счетчик 14, узел 15 сравнени , формирователь 16 импульсов, группу 17 входов задани  кода модул  счетчика.The counter 7 modulo K- (Fig. 3) contains the counter 14, the comparison node 15, the pulse shaper 16, the group 17 of the inputs for setting the code of the counter module.

Устройство работает следующим образом.The device works as follows.

Счетчики 2 i-й группы  вл ютс  вычитающими . В исходном состо нии в них записан нулевой код. При этом на (Р-|--1)-м информационном выходе узла 4 коммутации имеетс  нулевой логический сигнал, запрещающий прохождение тактовых импульсов с выхода генератора 1 через элемент И 6. При выполнении счетчика 7 по модулю К с переменным значением модул  К на его входы задани  кода модул  группы 17 подан код числа К.Counters 2 of the i-th group are subtractive. In the initial state, they recorded a zero code. At the same time, there is a zero logic signal at the (P- | --1) -m information output of the switching node 4, which prohibits the passage of clock pulses from the output of generator 1 through element 6. When counter 7 is modulo K with a variable value of module K on its the inputs of the module code setting for group 17; the code of the number K is given.

Двоичный код числа А записываетс  в счетчики 2 группы. Причем в j-й разр д счетчика 2 группы записываетс  1-й разр д входного кода А, имеющий вес Ше, остатокThe binary code of the number A is recorded in the 2 group counters. And in the j-th bit of the counter 2 of the group is recorded the 1st bit of the input code A, having a weight She, the remainder

Мен етс  управл ющий код и сигналы генератора 1 тактовых импульсов по вл ютс  на следующем информационном выходе узла 4 коммутации. Когда обнул ютс  все счетчики группы 2, на (р-)-1)-м информационном выходе узла 4 коммутации формируетс  нулевой сигнал. Он запрещает прохождение сигналов на счетный вход счетчика 7 по модулю К, где остаетс  остаток по модулю. 3 ил.The control code and the clock pulse generator 1 signals appear at the next information output of the switching node 4. When all the counters of group 2 are zeroed, a zero signal is generated at the (p -) - 1) -th information output of the switching node 4. It prohibits the passage of signals to the counting input of counter 7 modulo K, where the remainder modulo remains. 3 il.

по модулю К которого имеет такое же значение , как и остаток по модулю К j-ro разр да переводимого кода. Например при п 30 (число разр дов кода А), К 3,modulo K which has the same meaning as the remainder modulo K j-ro bit of the translated code. For example, with n 30 (the number of bits of code A), K 3,

Р 10 и двоичном натуральном коде А, в счетчик 2-1 записываютс  первый и второй разр ды входного кода, в счетчик 2-i записываютс  (2i-1)-й и (2)-й разр ды входного кода. При в счетчик 2-i записываютс  разр ды входного кода от (61-5).го до (6i)-ro. В случае и в счетчик 2-i записываютс  разр ды входного кода от (3i-2)-го до (3i)-ro. Запись кода в счетчики 2 группы осуществл етс  подачей его на информационные входы 8 вP 10 and the binary natural code A, the first and second bits of the input code are recorded in counter 2-1, the (2i-1) -th and (2) -th bits of the input code are recorded in counter 2-i. When counter 2-i, the input code bits from (61-5) .go to (6i) -ro are recorded. In the case and in the counter 2-i, the input code bits from (3i-2) -th to (3i) -ro are recorded. The code is written to the 2 group counters by feeding it to the information inputs 8 in

паузу между тактовыми импульсами на выходе генератора 1. При этом на (Р+1)-м информационном выходе узла 4 коммутации при ненулевом записанном в счетчиках группы 2 коде по вл етс  единичный логический сигнал, разрешающий прохождение тактовых импульсов на выход элемента И 6. При наличии в устройстве формировател  5 импульсов при по влении единичного логического сигнала на (P-f-l)-M информационном выходе узла 4 коммутацииa pause between clock pulses at the output of the generator 1. At the (P + 1) -th information output of the switching node 4 with a non-zero code recorded in the counters of group 2, there appears a single logical signal allowing the passage of clock pulses to the output of the And 6 element. the presence of 5 pulses in the device of the driver at the appearance of a single logical signal at (Pfl) -M information output of the switching node 4

он формирует сигнал сброса счетчика 7 по модулю К, устанавлива  его в исходное состо ние (счетчик 7 по модулю К можно устанавливать в исходное состо ние и подачей сигнала на его установочный вход одновременно с записью кода в счетчики 2it generates a reset signal modulo K, set it to its original state (counter 7 modulo K can be set to its original state and by sending a signal to its setup input simultaneously with writing the code to meters 2

группы).groups).

Далее тактовые импульсы, поступа  на вход элемента И 6, проход т на счетный вход счетчика 7 по модулю К, который производит их подсчет по модулю К- Одновременно они проход т на информационный вход узла 4 коммутации. Пусть 2-i номер наименьший счетчик 2 группы, в котором записан ненулевой код, при этом на выходе элемента ИЛИ 3-1 группы имеетс  единичный логический сигнал, поступающий на i-й управл ющий вход узла 4 коммутации , на управл ющие входы которого 1 - - (i-1) поступает нулевой логический сигнал с выходов элементов ИЛИ (3-1) 3-(i-1). При этом тактовые импульсы проход т с информационного узла 4 на его i-й информационный выход и поступают на вычитающий вход счетчика 2-i группы, от содержимого которого каждый раз вычитаетс  единица. Работа продолжаетс  таким образом до обнулени  счетчика 2-i группы. При его обнулении на выходе элемента ИЛИ 3-i группы по вл етс  нулевой логический сигнал, запрещающий прохождение тактовых импульсов на i-й информационный выход узла 4 коммутации. Далее аналогичным образом обрнул ютс  остальные счетчики группы 2. При обнулении последнего счетчика на (P-f 1)-м информационном выходе узла 4 коммутации по вл етс  нулевой логический сигнал, запрещающий прохождение тактовых импульсов через элемент И 6 на счетный вход счетчика 7 по модулю К. Результат работы снимаетс  с. выходов счетчика 7 по модулю КФормула изобретени Next, the clock pulses, arriving at the input of the element 6, pass to the counting input of counter 7 modulo K, which calculates them modulo K. At the same time they pass to the information input of the switching node 4. Let the 2-i number be the smallest group 2 counter in which a non-zero code is written, and at the output of the group element OR 3-1 there is a single logical signal arriving at the i-th control input of switching unit 4, whose control inputs 1 - - (i-1) receives a zero logical signal from the outputs of the elements OR (3-1) 3- (i-1). At the same time, the clock pulses pass from information node 4 to its i-th information output and arrive at the subtracting input of counter 2-i of the group, from whose content a unit is subtracted each time. Work continues in this manner until the counter of group 2-i is zeroed. When it is zeroed, a zero logic signal appears at the output of the OR element 3-i of the group, prohibiting the passage of clock pulses to the i-th information output of the switching unit 4. Further, the remaining counters of group 2 are similarly circled. When the last counter is reset, the (Pf 1) information output of the switching node 4 results in a zero logic signal prohibiting the passage of clock pulses through the And 6 element to the count input of the counter 7 modulo K. The result of the work is removed from. outputs of counter 7 modulo KFORMULA of the invention

Устройство дл  формировани  остатка по произвольному модулю от числа, содержащее генератор тактовых импульсов, элемент И, формирователь импульсов, счетчик по модулю К, первый счетчик группы и первый элемент ИЛИ группы, причем выход генератора тактовых импульсов соединен с первым входом элемента И, выход которого соединен со счетным входом счетчика по модулю К, информационный выход которого  вл етс  выходом устройства, вход формировател  импульсов объединен с вторым входом элемента И, выход формировател A device for generating a residual modulus of an arbitrary modulus of a number, comprising a clock pulse generator, an AND element, a pulse shaper, a modulo-K counter, a first group counter and a first OR element of the group, the output of the clock generator connected to the first input of the And element whose output is connected with the counting input of the modulo K counter, whose information output is the output of the device, the input of the pulse former is combined with the second input of the AND element, the output of the former

импульсов соединен с установочным входом счетчика по модулю К, разр дные выходы первого счетчика группы соединены с соответствующими входами первого элемента ИЛИ группы, отличающеес  тем, что, с целью повыщени  быстродействи  устройства, в него введены (Р-1) счетчиков группы (Р 2), (Р-1) элементов ИЛИ группы и узел коммутации, причем разр дные выходы каждого i-ro счетчика группы (2 i Р) соединены с соответствующими входамиthe pulses are connected to the installation input of the counter modulo K, the bit outputs of the first counter of the group are connected to the corresponding inputs of the first OR element of the group, characterized in that, to increase the speed of the device, (P 2) counters are introduced into it , (P-1) of the elements of the OR group and the switching node, the bit outputs of each i-ro meter of the group (2 i P) are connected to the corresponding inputs

i-ro элемента ИЛИ группы, j-й информационный вход каждого счетчика группы соединен с соответствующим информационным входом группы устройства, подключенным к 1-му разр ду контролируемого кода, имеющемуThe i-ro element of the OR group, the j-th information input of each counter of the group is connected to the corresponding information input of the device group connected to the 1st bit of the monitored code, having

вес We, причем (Ше) (w/)modweight We, and (She) (w /) mod

(1 j -, 1 I п, где п - разр дность контролируемого кода, ш/ - вес j-ro разр да счетчика группы), выход генератора тактовых импульсов соединен с информационным входом узла коммутации, каждый(1 j -, 1 I p, where p is the controlled code width, w / - weight of the j-ro discharge of the group counter), the output of the clock generator is connected to the information input of the switching node, each

т-й информационный выход которого соединен с вычитающим входом т-го счетчика группы (1 m Р), выходы элементов ИЛИ группы соединены с соответствующими управл ющими входами группы узла коммутации , (Р+1)-й информационный выход узлаthe m-th information output of which is connected to the subtractive input of the m-th group counter (1 m P), the outputs of the elements of the OR group are connected to the corresponding control inputs of the switching node group, (P + 1) -th information output of the node

коммутации соединен с вторым входом элемента И.switching is connected to the second input element I.

К узлу 6 13 To node 6 13

От г/зла 1From g / evil 1

1515

1717

г 5g 5

Г 1G 1

От уз/ia От узла 6From bonds / ia From node 6

иг.Зig.Z

Claims (1)

Формула изобретенияClaim Устройство для формирования остатка по произвольному модулю от числа, содержащее генератор тактовых импульсов, элемент И, формирователь импульсов, счетчик по модулю К, первый счетчик группы и первый элемент ИЛИ группы, причем выход генератора тактовых импульсов соединен с первым входом элемента И, выход которого соединен со счетным входом счетчика по модулю К, информационный выход которого является выходом устройства, вход формирователя импульсов объединен с вторым входом элемента И, выход формирователя 5 импульсов соединен с установочным входом счетчика по модулю К, разрядные выходы первого счетчика группы соединены с соответствующими входами первого элемента ИЛИ группы, отличающееся тем, что, с целью повышения быстродействия устройства, в него введены (Р—1) счетчиков группы (Р 2), (Р—1) элементов ИЛИ группы и узел коммутации, причем разрядные выходы каждого i-ro счетчика группы (2 i Р) соединены с соответствующими входами 15 i-ro элемента ИЛИ группы, j-й информационный вход каждого счетчика группы соединен с соответствующим информационным входом группы устройства, подключенным к 1-му разряду контролируемого кода, имеющему ВеС Cl)?, Причем (iOe)modfe — (ч)|) mod (1 Ci j -ρ-, 1 ¢4 I С n, где η — разрядность контролируемого кода, ω/ — вес j-ro разряда счетчика группы), выход генератора тактовых импульсов соединен с информационным входом узла коммутации, каждый 25 m-й информационный выход которого соединен с вычитающим входом m-го счетчика группы (I m Р), выходы элементов ИЛИ группы соединены с соответствующими управляющими входами группы узла коммутации, (Р+1)-й информационный выход узла 30 коммутации соединен с вторым входом элемента И.A device for generating a remainder modulo an arbitrary number, containing an clock pulse generator, an And element, a pulse former, a modulo counter K, a first group counter and a first OR group element, the output of the clock generator being connected to the first input of the And element, the output of which is connected with a counter counter input modulo K, the information output of which is the output of the device, the input of the pulse shaper is combined with the second input of the element And, the output of the pulse shaper 5 is connected to the installation by the input of the counter modulo K, the bit outputs of the first counter of the group are connected to the corresponding inputs of the first element of the OR group, characterized in that, in order to improve the performance of the device, (P – 1) counters of the group (P 2), (P— 1) elements of the OR group and the switching node, and the bit outputs of each i-ro counter of the group (2 i P) are connected to the corresponding inputs 15 of the i-ro element of the OR group, the j-th information input of each group counter is connected to the corresponding information input of the device group connected m to the 1st category of the controlled code having BeС Cl) ?, Moreover, (iOe) modfe - (h) |) mod (1 Ci j -ρ-, 1 ¢ 4 I С n, where η is the bit depth of the controlled code, ω / Is the weight of the j-th discharge of the group counter), the output of the clock pulse generator is connected to the information input of the switching node, each 25th information output of which is connected to the subtracting input of the mth group counter (I m P), the outputs of the elements OR of the group are connected with the corresponding control inputs of the switching node group, the (P + 1) -th information output of the switching node 30 is connected to the second input of the element I. К узлу 6To node 6 .· 1 .· 1 12-Р 12-P 1 — 1 - 12-3 12-3 - 12-2 12-2 Риг. 2 Riga 2 От узла 1 From node 1
Фиг. 3FIG. 3
SU864093760A 1986-07-23 1986-07-23 Device for forming remainder by random modulus from number SU1363214A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864093760A SU1363214A1 (en) 1986-07-23 1986-07-23 Device for forming remainder by random modulus from number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864093760A SU1363214A1 (en) 1986-07-23 1986-07-23 Device for forming remainder by random modulus from number

Publications (1)

Publication Number Publication Date
SU1363214A1 true SU1363214A1 (en) 1987-12-30

Family

ID=21247567

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864093760A SU1363214A1 (en) 1986-07-23 1986-07-23 Device for forming remainder by random modulus from number

Country Status (1)

Country Link
SU (1) SU1363214A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 407313, кл. G 06 F 11/08, 1983. Авторское свидетельство СССР № 1105895, кл. G 06 F 11/08, 1983. *

Similar Documents

Publication Publication Date Title
SU1363214A1 (en) Device for forming remainder by random modulus from number
SU1034188A1 (en) Versions of threshold element
SU1059559A1 (en) Device for implementing input of information from discrete-type transduers
SU1644385A1 (en) Device for generating quaternary-coded sequences
SU1223350A1 (en) Pseudorandom number generator
RU2034401C1 (en) Threshold element
SU1624262A1 (en) Digital optical level indicator
SU1176360A1 (en) Device for transmission and reception of information
RU1795459C (en) Multichannel signature analyzer
SU836633A1 (en) Random number sensor
SU1132294A1 (en) Device for simulating communication channel
SU1506553A1 (en) Frequency to code converter
SU1506525A1 (en) Random process generator
SU1231497A1 (en) Device for determining position of number on number axis
SU1427370A1 (en) Signature analyser
SU486483A1 (en) Input device and encoding information
SU1439748A1 (en) Coder
SU1260962A1 (en) Device for test checking of time relations
SU716146A1 (en) Pulse counter
SU1310803A1 (en) Device for storing numbers
SU369542A1 (en) MEASURING SERIES OF TIME INTERVALS
SU1091145A1 (en) Walsh function generator
SU928345A2 (en) Discrete pulse repetition frequency multiplier
SU1734092A1 (en) Pseudorandom number sequence generator
SU1645954A1 (en) Random process generator