SU1422403A1 - Counter - Google Patents
Counter Download PDFInfo
- Publication number
- SU1422403A1 SU1422403A1 SU864163308A SU4163308A SU1422403A1 SU 1422403 A1 SU1422403 A1 SU 1422403A1 SU 864163308 A SU864163308 A SU 864163308A SU 4163308 A SU4163308 A SU 4163308A SU 1422403 A1 SU1422403 A1 SU 1422403A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- blocks
- inputs
- registers
- counter
- groups
- Prior art date
Links
Abstract
Изобретение относитс к области автоматики и вычислительной техники. Цель изобретени - расширение функциональных возможностей счетчика. Счетчик содержит N регистров 1, где N - степень образующего многочлена, К групп 2 блоков 3 умножени , К бло .ков 4 делени , К блоков 5 сложени , где , и элемент И 6. Введение п блоков 9 сложени , где , и образование новых функциональных св зей обеспечивают счетчику возможность счета по любому модулю, не пре вышающему L , и увеличивают его надежность . 4 ил. оThe invention relates to the field of automation and computing. The purpose of the invention is to expand the functionality of the counter. The counter contains N registers 1, where N is the degree of the forming polynomial, K groups 2 multiplication blocks 3, K blocks 4 divisions, K blocks 5 addition, where, and element 6. 6. Introduction n blocks 9 addition, where, and the formation of new functional links provide the meter with the ability to count on any module not exceeding L, and increase its reliability. 4 il. about
Description
Фаг.ГPhage.G
Изобретение относитс ,к импульсной технике и может быть использовано в устройствах автоматики и вычислительной техники, The invention relates to a pulse technique and can be used in automation and computing devices,
Целью изобретени вл етс расширение функциональных возможностей за счет обеспечени возможности счета по любому модулю, не превьппающему L , и увеличение надежности.The aim of the invention is to enhance the functionality by enabling the counting of any module not exceeding L and increasing the reliability.
На фиг.1 дана блок-схема счетчика; на фиг.2.- пример-вьшолнени счетчика дл L 5, К 1; на фиг.З - таблица соответстви элементов пол GF(5) coдet5жимoмy регистров, на фиг,4 - таблица переходов устройства,Figure 1 is a block diagram of a counter; in Fig. 2. - example of a counter for L 5, K 1; in FIG. 3, the table of correspondences of the elements of the GF (5) field of the register-pressing registers; in FIG. 4, the transition table of the device;
Счетчик (фиг.1)5 содержащий N регистров 1, где N - степень образующего многочлена,, К групп 2 блоков 3 умножени , К блоков 4 делени , К первых блоков 5 сложени , где 16 K6N, эле- мент И 6, выход которого соединен с соответствующими входами последних групп входов К- первых блоков сложени оставшиес группы взводов которьгх .че- рез соответствующие блоки умножени соответствунлцих групп подключены к выходам соответствЗ Тощнх регистровj выходы К первых блоков 5 сложени через соответствующие блоки 4 делени соединены с информацио-нны ш входами первых К регистров, тактовые и установочные вхбды регистров соединены соответственно с тактовым 7 и устаноночным 8 входами счётчика. УстройстThe counter (Fig. 1) contains 5 N registers 1, where N is the degree of the forming polynomial, K groups 2 multiplication blocks 3, K divisors 4, K first addition blocks 5, where 16 K6N, And 6, whose output connected to the corresponding inputs of the last groups of inputs of the K-first addition blocks the remaining groups of platoons. Through the corresponding multiplication blocks of the corresponding groups are connected to the outputs of the corresponding powerful registers j outputs To the first addition blocks 5 through the corresponding 4 division blocks are connected to the information inputs of the first To Registers, and clock adjusting vhbdy registers respectively connected to a clock 7 and 8 ustanonochnym counter inputs. Device
во также содержит п вторых .блоков 9 сложени , где О п 6(N-K), выход элемента И соединен с соответствующими - входами первых групп входов вторых блоков сложе ш , вторые группы входов которых соединены с выходами соответ- СТВУ1СЯАКХ предьщутцих регистров, выходы вторых блоков сложени соединены с информационными входами соответствующих последующих N-K регистров, входы элемента 6 И соединены с выходами регистров.It also contains the second plots 9 of the add, where O p 6 (NK), the output of the element I is connected to the corresponding - inputs of the first groups of inputs of the second blocks of complex, the second groups of inputs of which are connected to the outputs of the corresponding registers, the outputs of the second blocks The additions are connected to the information inputs of the respective subsequent NK registers, the inputs of element 6 I are connected to the outputs of the registers.
Счетчик работает следующим образом .The counter works as follows.
Число регистров счетчика N. определ етс степенью образующего многочлена , .коэффициенты которого принадлежат полю Галуа из L элементов, где L - степень простого числа, степень образующего многочлена определ етс , в свою очередь, модулем счетчика и находитс из в.ыражени М L ,The number of registers of the counter N. is determined by the degree of the generating polynomial whose coefficients belong to the Galois field of L elements, where L is the power of a prime number, the degree of the forming polynomial is determined, in turn, by the counter module and is found in the expression M L,
Основу счетчика составл ет гене- , ратор L-ричных псевдослучайных посThe basis of the counter is the genera- tor of the L-oriental pseudo-random targets.
00
5 five
0 5 0 0 5 0
5five
5five
Q Q
л l
ледовательностей, в состав которого вход т регистры, блоки умножени , сложени и делени в поле Галуа из L элементов GF(L). Исходными данными дл проектировани собственно генератора вл ютс L, К, N, Ф(х), где L - степень простого числа, К О - целое, N - степень образующего многочлена Ф(х), примитивного над GF(L).Ice length, which includes registers, multiplication blocks, addition and division in the Galois field of L elements GF (L). The initial data for designing the generator itself are L, K, N, F (x), where L is the power of a prime number, K O is an integer, N is the power of the generating polynomial F (x), primitive over GF (L).
Генератор функционирует в соответствии с уравнениемThe generator operates in accordance with the equation
Q(t н- 1) Q(t).TQ (t n- 1) Q (t) .T
где Q(t) и Q(t+1) - векторы, характеризующие состо ние регистров генератора в моменты t,и t+1 соот- ветственно{ Т - квадратна матрица пор дка N, вид которой однозначным образом определ етс образующим многочленомwhere Q (t) and Q (t + 1) are vectors characterizing the state of the generator registers at times t, and t + 1, respectively, {T is a square matrix of order N, whose form is uniquely determined by the constituent polynomial
Ф(х) ацх ... а;х + ... а,х + + а„, а,-, а„€ GF(L).F (x) atsh ... a; x + ... a, x + + a „, a, -, a„ € GF (L).
. В состав генератора вход т N регистров , разр дность которых равна R log.L (величина R должна позвол ть представл ть в двоичном виде числа от О до L-1). В состав генератора вход т также К блоков сложени (БС) в поле GF(L), К блоков делени в поле GF(L), К групп блоков умножени (БУ) в поле GF(L). Величины, на которые происходит умножение и деление в соответствук цих БУ и БД, однозначно определ ютс видом сопровожда ющей матрицы т. При К 1 (фиг.1) величина, на которую происходит умножение в i-M БУ, i 1,N, равна соответствующему коэффициенту а; образующего многочлена Ф(х), величина, на которую происходит деление в блоке делени (БД), равна HQ, где а„ - свободный член Ф(х). БС, БУ и БД представл ют собой комбинационные схемы, которые стро тс на основе соответствующих им таблиц истинности, которые , в свою очередь, однозначно ой- редел ютс правилами сложени , УМНОЖЕНИЯ и делени в поле GF(L), а также соответствием между элементамио пол и содержимым регистров генератор. The generator consists of N registers, the width of which is equal to R log.L (the value of R must allow binary numbers from O to L-1). The generator also includes K blocks of addition (BS) in the field GF (L), K blocks of division in the field of GF (L), K groups of multiplication blocks (BU) in the field of GF (L). The values by which multiplication and division occur in the corresponding CU and DB are uniquely determined by the type of the accompanying matrix T. At K 1 (Fig. 1), the magnitude by which the multiplication occurs in iM CU, i 1, N, is equal to the corresponding coefficient but; the generating polynomial F (x), the value by which the division occurs in the division block (DB) is equal to HQ, where af is the free term of F (x). BS, CU and DB are combinational circuits that are based on the corresponding truth tables, which, in turn, are uniquely determined by the rules of addition, multiplication and division in the GF (L) field, and also the correspondence between the elements floor and register contents generator
ра. При L 2 , где Р О - целое указанные блоки легко реализуютс наra. With L 2, where P O is the whole, these blocks are easily realized on
Моделируем (L - М) тактов работы генератора, соответствующего Ф(5с) с начальным состо нием Q(0) Q,(0)... Q,(0)... QM(OII a... a.. a, где a e GF(L), i 1,N.We simulate (L - M) cycles of operation of the generator corresponding to F (5s) with the initial state Q (0) Q, (0) ... Q, (0) ... QM (OII a ... a .. a where ae GF (L), i 1, N.
Определ ем состо ние Q(L - M) Q,a - M)... Qi(L - M)..-. Qf,(L - M) b... b; ... b, в Ko- нительно введено N-K вторых БС и эле- 10 торое должен перейти генератор из мент И, а. также новые св зи. Каждый состо ни а, о. а .., а GF(L). из К первых БС в самом сложном слу- Строим счетчик в соответствии сWe define the state Q (L - M) Q, a - M) ... Qi (L - M) ..-. Qf, (L - M) b ... b; ... b, the N-K of the second BS is entered in the Stone box and the elec- tor should go over the generator from the AND, a. also new connections. Each state, o. a .. and gf (l). of K first BS in the most difficult case- We build a counter in accordance with
сумматорах по модулю два. В более слож1:ьгх случа х возможна их реализаци на основе ПЗУ. В последнем случае карта загрузки ПЗУ оп ть же однознач- g но определ етс правилами вьшолнени соответствующих операций.modulo two. In more complex cases: their cases are possible on the basis of ROM. In the latter case, the ROM boot map is again uniquely determined by the rules of execution of the corresponding operations.
Дл построени счетчика по произвольному модулю М в устройство дополTo build a counter for an arbitrary module M in the device
чаё, когда все коэффициенты а;, отличны от нул , имеет N+1 групп входов, причем в каждой группе R-входов. Часть входов последней группы входов первых и вторых БС (вторые БС всегда имеют две группы входов) подключаетс к выходу элемента И.when all the coefficients a ;, are different from zero, it has N + 1 groups of inputs, and in each group of R-inputs. A part of the inputs of the last group of inputs of the first and second BSs (the second BSs always have two groups of inputs) is connected to the output of element I.
Z - сигнал, принимающий.единичное значение.Z is a signal that takes a single value.
2020
если генератор находитс в состо нииif the generator is in the condition
г -1 g -1
а,... а;... , где а - элементa, ... a; ..., where a is an element
GF(L), которому соответствует кодGF (L), which corresponds to the code
Оставшиес N групп входов первых блоков сложени через соответствующие БУ подключаютс к выходам соответствующих регистров. Каждый из блоков умножени и сложени имеет R-входовThe remaining N input groups of the first add-on blocks are connected to the outputs of the corresponding registers via the corresponding control units. Each of the multiply and add blocks has R inputs.
и R-выходов. Если соответствующий ко- 25 все единицы, С GF(L) наход тс эффициент а; образующего многочлена из равенств м равен 1, то i-й БУ осуществл ет умно- Ь С; + У а-,а-, жение на 1, что эквивалентно простой где а:; - элементы т. передаче сигналов с входов на выходы Таким образом, необходимый модуль БУ без изменени . Аналогично, если ЗО пересчета обеспечиваетс за счет про- а 1, то соответствующий БД также пуска генератором некоторых из своих осуществл ет простую передачу сигна- состо ний.and R-outs. If the corresponding code is 25 all units, C GF (L) is the effect of a; forming a polynomial of equalities m is equal to 1, then the i-th BU implements intelligent C; + Y a-, a-, living on 1, which is equivalent to simple where a :; - elements of the signal transfer from the inputs to the outputs. Thus, the necessary module of the CU is unchanged. Similarly, if the conversion recalculation zone is provided by pro- ation 1, then the corresponding DB is also started by the generator of some of its own simple signaling.
лов со своих входов на выходы без из- На фиг.2 показан пример конкретной менени .реализации счетчика дл случа М -Figure 2 shows an example of a specific change in counter implementation for the case of M -
Дл того, чтобы на выходе элемента 3g 23, L 5, Ф(х) Зх + х + 4 И мог по вл тьс сигнал лог. 1 In order for the output of the element 3g 23, L 5, F (x) 3x + x + 4 And the signal log to appear. one
один из элементов пол GF(L) долженone of the elements of the floor GF (L) must
представл тьс в виде комбинации всеrepresented as a combination of all
единицы. Конкретный вид соответстви units. Specific match type
между элементами пол GF(L) и содер- 40 фиг.З показан один из возможных важимым регистров никак не вли ет на риантов соответстви элементов GF(5)between the elements of the GF (L) field and the content of 40 of FIG. 3, one of the possible visible registers is shown in no way influences the correspondences of the GF elements (5)
примитивный над t5F(5) , К 1.primitive over t5F (5), K 1.
Основу счетчика составл ет генератор п тиричной псевдослучайной после-The basis of the counter is a generator of a five-dimensional pseudo-random post-
VNVN
довательности длины L - 1 24. Наvalues of length L - 1 24. On
структуру и характер- функционировани устройства. При L 2 комбинаци все единицы автоматически соответствует одному из элементов пол GF(2P).structure and character of the functioning of the device. With L 2, the combination of all units automatically corresponds to one of the elements of the GF (2P) field.
Апгоритм построени синхронного счетчика по заданному модулю М имеет следующий вид.The algorithm for constructing a synchronous counter for a given module M has the following form.
На основе неравенства L %; М выбираетс многочлен Ф(х) степени N, примитивный над GF(L).Based on the inequality L%; M is selected by a polynomial F (x) of degree N, primitive over GF (L).
Если М L 1, то переходим к ша45 последовательности генератора (который равен числу состо ний регистров генератора), -в устройстве должна быт обеспечена возможность пропуска одно го состо ни регистров, а именно сосIf M L 1, then go to step 45 of the generator sequence (which is equal to the number of states of the generator registers), the device must be able to skip one state of registers, namely
50 то ни , которое следует сразу за сос то нием 4,4. Моделировани L - М 2 тактов работы генератора позвол ет определить состо ние, кото рое должно быть пропущено - 1 4J, и50 either, which immediately follows the 4.4. Simulation of L - M 2 clock cycles of the generator allows to determine the state that should be skipped - 1 4J, and
ГУ b , в противном, случае синтез 55 состо ние, в которое должен перейтиPG b, otherwise, the synthesis of the 55 state in which must go
генератор из состо ни 4 4j - Сз О. Отсюда можно найтиgenerator from state 4 4j - Sz O. From here you can find
Счетчика сводитс к построению по известным правилам генератора L-ричной последовательности длиной L или L - 1.The counter is reduced to constructing, according to well-known rules, an L-triple sequence generator of length L or L - 1.
слагаемые С, и С, которые необходи мо подать на соответствующие группыThe terms C and C, which must be submitted to the appropriate groups
уравнениемby equation
Q(t + 1) Q(t)-T + 7,-С, где С, с,... Cj... CM,Q (t + 1) Q (t) -T + 7, -C, where C, c, ... Cj ... CM,
С - L-ричное число, поступающее на соответствзтощую группу входов i-ro БС, когда сигнал Z 1; C is the L-number that comes to the corresponding group of inputs i-ro BS, when the signal is Z 1;
Z - сигнал, принимающий.единичное значение.Z is a signal that takes a single value.
если генератор находитс в состо нииif the generator is in the condition
г -1 g -1
а,... а;... , где а - элементa, ... a; ..., where a is an element
GF(L), которому соответствует кодGF (L), which corresponds to the code
23, L 5, Ф(х) Зх + х + 4 примитивный над t5F(5) , К 1. 23, L 5, F (x) 3x + x + 4 primitive over t5F (5), K 1.
Основу счетчика составл ет генератор п тиричной псевдослучайной после-The basis of the counter is a generator of a five-dimensional pseudo-random post-
VNVN
довательности длины L - 1 24. Наvalues of length L - 1 24. On
и состо ний регистров генератора иand the state of the generator registers and
- - ,- -,
а, а.2 4. как требуемый модуль пересчета на единицу меньше периодаa, a.2. 4. as required unit of recalculation on unit less than the period
45 последовательности генератора (который равен числу состо ний регистров генератора), -в устройстве должна быть обеспечена возможность пропуска одного состо ни регистров, а именно сос50 то ни , которое следует сразу за сос- то нием 4,4. Моделирование L - М 2 тактов работы генератора позвол ет определить состо ние, которое должно быть пропущено - 1 4J, и45 generator sequences (which is equal to the number of states of the generator registers) —in the device, it must be possible to skip one state of registers, namely, the state that immediately follows state 4.4. Modeling the L - M 2 generator clock ticks allows the state to be skipped - 1 4J, and
слагаемые С, и С, которые необходимо подать на соответствующие группыThe terms C and C, which must be submitted to the relevant groups
вхо,;;,ов БС, чтобы при z 1 (z 1 , когда регистры 2, и 2j наход тс в состо нии 4 4) регистры устройства из состо ни L 4 сразу перешли в состо ние L3 1J, пропустив состо ние l 4. С, 2. (. 2, Дл того, чтобы на соответствующие входы БС при z I бьш подан код 2- 101in; BS; so that when z 1 (z 1 when registers 2 and 2j are in state 4 4), the device registers from state L 4 immediately went to state L3 1J, skipping state l 4 . C, 2. (. 2, In order for the corresponding BS inputs at z I to be given code 2-101
(фиГоЗ), необходимо первый и третий. 10 ни , где , элемент И, выход(FIGOZ), you need the first and third. 10 no, where, element And, output
Бхо,г,ы соответствующих входов подключить к выходу элемента И, на выходе которого Формируетс сигнал z, а остальные , соответствуюпгне О в представлении числа 2, т.е. вторые, под- 15 ветствун цих групп подключены к выхоключить к-шине лог, О (фиг.2). ПриBho, g, s of the corresponding inputs should be connected to the output of the element I, at the output of which a signal z is formed, and the others corresponding to the pgne O in the representation of the number 2, i.e. The second, subordinate, groups of groups are connected to the output bus to the log bus, O (figure 2). With
Ь 2 или реализации БС на основе ПЗУ при L - 2 подключать к шине лог а О входы, соответствук цие О Ь 2 or BS-based ROM implementations with L - 2 connect the inputs corresponding to O to the O bus
в представлении чисел. С, нет необхо- 20 Р егистров, тактовые-и установочныеin the representation of numbers. C, there is no need for 20 P registers, clock and set points
диютстио На фиг.1 показаны только св зи некоторых входов соответствую- пгих групп входов БС с выходами элемента И„ Dietstio Figure 1 shows only the connections of some of the inputs of the corresponding groups of BS inputs with the outputs of the element And „
Один из блоков 3( умножени , осуществл ющий умножение на а, 1, и блок делени j осуществл ющий деление на -4 1 (фиг.2)5 показаны пунктитак как осуществл ют простую пе- зо входами первых групп входов вторыхOne of block 3 (multiplication, multiplying by a, 1, and block dividing j by dividing by -4 1 (FIG. 2) 5) shows how to perform simple inputs of the first groups of inputs of the second
радачу сигналов со своих входов на выходы без изменени .I send signals from my inputs to outputs without change.
блоков сложени , вторые группы входов которых соединены с выходами соответствующих предыдущих регистров, выходы вторых блоков сложени соединены с информационными входами соответ-addition blocks, the second groups of inputs of which are connected to the outputs of the corresponding previous registers, the outputs of the second addition blocks are connected to information inputs of the corresponding
Уравнени раооты счетчика по мо- ду.гло 23 (фиге2) имеют вид ... The equations of counter counts by mod. 23 (fig2) have the form ...
fQ,(t-:-1) Q,(t) +. ) + z-2 (mod 3); , ствующих последующих (N-K) регистров, Q,(t+1) CQ,(t) + z-2 (mpd5).fQ, (t -: - 1) Q, (t) +. ) + z-2 (mod 3); , the subsequent (N-K) registers, Q, (t + 1) CQ, (t) + z-2 (mpd5).
где Q;(t) и Q|-(t+1) - содержимоеwhere Q; (t) and Q | - (t + 1) are the contents
входы элемента И подключены к BbUCtjAaM регистров.The inputs of the And element are connected to the BbUCtjAaM registers.
ЛL
1-4-5-WLJ1-4-5-WLJ
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864163308A SU1422403A1 (en) | 1986-12-19 | 1986-12-19 | Counter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864163308A SU1422403A1 (en) | 1986-12-19 | 1986-12-19 | Counter |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1422403A1 true SU1422403A1 (en) | 1988-09-07 |
Family
ID=21273622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864163308A SU1422403A1 (en) | 1986-12-19 | 1986-12-19 | Counter |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1422403A1 (en) |
-
1986
- 1986-12-19 SU SU864163308A patent/SU1422403A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1116431, кл. Н 03 К 21/00, 1983,. Иванов М.В., Кларин А.П.Сигнатурный анализ в задачах контрол и диагностики цифровых устройств.- М., . МИФИ, 1986, с. 28, рис. 13. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4135249A (en) | Signed double precision multiplication logic | |
JPS5922165A (en) | Address controlling circuit | |
GB1517170A (en) | Method of producing pseudo-random binary signal sequences | |
SU1422403A1 (en) | Counter | |
RU2451327C1 (en) | Apparatus for forming spoofing resistant systems of discrete-frequency signals with information time-division multiplexing | |
Yoeli | Counting with nonlinear binary feedback shift registers | |
SU1756887A1 (en) | Device for integer division in modulo notation | |
SU1298900A1 (en) | Counter | |
SU544960A1 (en) | Square root extractor | |
SU758145A1 (en) | Square rooting device | |
SU1280619A1 (en) | Pseudorandom number generator | |
SU1406586A1 (en) | Generator of l-sequences | |
SU1132278A1 (en) | Single time interval meter | |
SU1285468A1 (en) | Modulo arithmetic unit | |
RU2149442C1 (en) | Device for modulo seven multiplication | |
SU1529218A1 (en) | Pseudorandom number generator | |
SU1035601A2 (en) | Multiplication device | |
SU920714A1 (en) | Device for calculation of second-degree polynomial | |
SU877531A1 (en) | Device for computing z x y function | |
SU771662A1 (en) | Converter of binary code into binary-decimal code with scaling | |
SU468251A1 (en) | Device for modeling error stream in discrete communication channels | |
SU746477A1 (en) | Discrete function generator | |
SU1132295A2 (en) | Computation node of digital network | |
SU962914A1 (en) | Complex integer-to-binary code device | |
RU1829028C (en) | Generator of orthogonal signals |