SU1104493A1 - Generator of (n,p) number sequences with variable initial conditions - Google Patents

Generator of (n,p) number sequences with variable initial conditions Download PDF

Info

Publication number
SU1104493A1
SU1104493A1 SU833559836A SU3559836A SU1104493A1 SU 1104493 A1 SU1104493 A1 SU 1104493A1 SU 833559836 A SU833559836 A SU 833559836A SU 3559836 A SU3559836 A SU 3559836A SU 1104493 A1 SU1104493 A1 SU 1104493A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
adder
input
register
registers
Prior art date
Application number
SU833559836A
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 SU833559836A priority Critical patent/SU1104493A1/en
Application granted granted Critical
Publication of SU1104493A1 publication Critical patent/SU1104493A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

ГЕНЕРАТОР ПОСЛЕДОВАТЕЛЬНОСТЕЙ (R,P)-ЧИСЕЛ С ПРОИЗВОЛЬНЬМИ НАЧАЛЬНЫМИ УСЛОВИЯМИ, содержащий р+1 последовательно соединенных регистров с первого по (р+1)-ый, сумматор и блок синхронизации, причем первый информационный вход и выход первого регистра  вл ютс  соответственно входом начальных условий и выходом генератора последовательностей (г,р)чисел , выход сумматора подключен к второму информационному входу первого регистра, выход которого подключен к первому информационному входу сумматора, первый и второй выходы блока синхронизации подключены к синхронизирукхцим входам регистров и сумматора соответственно, отличающийс  тем, что, с целью расширени  класса решаемых задач за счет обеспечени  возможности генерировани  чисел с параметром г 1, он содержит дополнительно г-1 поСледователы о соединенных регистров с (р+2)-го по (г+р)-ый и коммутатор, причем выход (р+1)-го регистра подключен к информационному входу (р+2)го регистра, выходы регистров со i второго по (г-1)-ой и выход (г+О-го регистра подключены к соответствую (Л щим информационным входам коммутатора , управл ющий вход которого  вл етс  входом задани  режима работы генератора последовательностей (г,р)-чисел) , синхронизирующий вход коммутатора подключен к третьему выходу блока синхронизации, выход коммутатора подключен к второму информационному входу сумматора. 4;i 4 СО 00The SEQUENCE SEQUENCE (R, P) is NUMBER with VARIOUS INITIAL CONDITIONS, containing p + 1 serially connected registers from the first to (p + 1) -th, the adder and the synchronization unit, the first information input and the output of the first register being the initial input conditions and the output of the generator sequences (r, p) numbers, the output of the adder is connected to the second information input of the first register, the output of which is connected to the first information input of the adder, the first and second outputs of the synchronization unit connected to the synchronization inputs of the registers and the adder, respectively, characterized in that, in order to expand the class of solved tasks by providing the possibility of generating numbers with the parameter r 1, it contains in addition the r-1 successors about the connected registers from (p + 2) to (g + p) -th and switch, with the output of the (p + 1) -th register connected to the information input (p + 2) of the th register, the outputs of registers from the second to (d-1) -th and output (g + About-th register connected to the corresponding (L ch ush informational inputs of the switch that controls the input Which is the input for setting the operation mode of the sequence generator (r, p) -numbers, the synchronizing input of the switch is connected to the third output of the synchronization block, the output of the switch is connected to the second information input of the adder. 4; i 4 CO 00

Description

Изобретение относитс  к автоматик и вычислительной технике и может быт использовано дл  получени  обобщенных последовательностей ( т,р)-чисел с произвольными начальными услови ми Известен генератор последовательностей обобщенных ( г,р)-чисел, содержащий регистры, су/штор, блоки контрол  и нормализации. Этот генера тор предназначен дл  формировани  последовательностей обобщенных ( ) чисел при г 2 Г13. Однако данный генератор не позвол ет получить последовательность чисел Фибоначчи. Наиболее близким техническим реше нием к изобретению  вл етс  генерато последовательностей (г,р)-чисел с произвольными начальными услови ми содержащий р+1 последовательно соединенных регистров, сумматор и блок синхронизации, причем выходы первого и (р+1)-го регистров подключены к входам сумматора, выход сумматора подключен к входу первого регистра, выход первого регистра  вл етс  выходом генератора последовательностей 2 . Известный генератор генерирует последовательности с параметром г ( числа Фибоначчи), но не позвол ет получить последовательности при Целью изобретени   вл етс  расширение класса решаемых задач за счет обеспечени  возможности генерировани  чисел с параметром . Поставленна  цель достигаетс  тем что генератор последовательностей (г,,р)-чисел с произвольными начальными услови ми, содержащий р+1 последовательно соединенных регистров с-первого по (р+1)-ьш, сумматор и блок синхронизации, причем первый информационньй вход и выход первого регистра  вл ютс  соответственно входом начальных условий и выходом генератора последовательностей (г,р) чисел, выход сумматора подключен к второму информационному входу первого регистра, выход которого подключен к первому информационному вхо ду сумматора, первый и второй вьскоды блока синхронизации подключены к син хронизирующим входам всех регистров и сумматора соответственно, содержит дополнительно г-1 последовательн соединенных: регистров с (р+2)-го по ()-ый и коммутатор, причем выход (Р+О-ГО регистра подключен к инфор3 мационному входу (р+2)-го регистра, выходы регистров со второго по ()-ый и выход (г+р)-го регистра подключены к соответствующим информационным входам коммутатора, управл ющий вход которого  вл етс  входом Задани  режима работы генератора последовательностей (г,р)-чисел, синхронизирующий вход коммутатора подключен к третьему выходу блока синхронизации, выход коммутатора подключен к второму информационному входу сумматора. На чертеже представлена функциональна  схема генератора последовательностей (г,р)-чисел с произвольными начальными услови ми дл  случа  , . Схема содержит блок 1 синхронизации , регистры 2.1-2.4, коммутатор 3, сумматор 4, вход 5 начальных условий , вход 6 задани  режима работы, выход 7 генератора. Предлагаемьп генератор формирует последовательности, определ емые следующим рекурентным соотношением: f О при i 0; ,в,- { q при i - 0; (1) . - -г + ...+ /i;..+/i;.,,p при ,, ,3,.., где Р, - (г,р) - число, QP -произвольное начальное условие, г,р - параметры последог-ательностей. Как видно из (1), при имеем р д чисел Фибоначчи, при и ,2,3... получаем последовательности обобщенных чисел Фибоначчи, при , получаем известную классическую двоичную последовательность . Генератор может работать в двух режимах: формирование последовательности обобщенных (г,р)-чисел; формирование последовательности Обобщенных р-чисел-Фибоначчи. Режим работы задаетс  по входу 6, В исходном состо нии все регистры установлены на ноль. По входу 5 начальных условий в регистр 2.1. вводитс  значение q. Формирование очередного числа в последовательности осуществл етс  в течение одного цикла. В первом такте каждого цикла синхронизирующие сигналы от блока 1 на синхронизируюих - входах сумматора 4 и коммутатора 3 обеспечивают подачу числа из первого регистра 2.1 на первый инормационньп вход сумматора и изThe invention relates to automation and computing and can be used to obtain generalized sequences of (t, p) numbers with arbitrary initial conditions. A generator of sequences of generalized (r, p) numbers, containing registers, c / curtains, control and normalization blocks, is known. . This generator is intended to form sequences of generalized () numbers at r 2 G13. However, this generator does not allow to obtain a sequence of Fibonacci numbers. The closest technical solution to the invention is a generator of sequences of (r, p) numbers with arbitrary initial conditions containing p + 1 serially connected registers, an adder and a synchronization unit, the outputs of the first and (p + 1) -th registers being connected to the inputs of the adder, the output of the adder is connected to the input of the first register, the output of the first register is the output of the sequence generator 2. The known generator generates sequences with the parameter g (Fibonacci numbers), but does not allow obtaining sequences with the purpose of the invention. It is an extension of the class of problems to be solved by providing the possibility of generating numbers with the parameter. The goal is achieved by the fact that the generator of sequences of (r, p) -numbers with arbitrary initial conditions, containing p + 1 serially connected registers from the first to (p + 1) -s, the adder and the synchronization unit, the first information input and the output of the first register is, respectively, the input of the initial conditions and the output of the sequence generator (r, p) of numbers, the output of the adder is connected to the second information input of the first register, the output of which is connected to the first information input of the adder, the first and the second synchronization block codes are connected to the synchronizing inputs of all the registers and the adder, respectively, additionally contains d-1 serially connected: registers with (p + 2) -th to () -th and switch, and the output (P + O-GO register connected to the information input of the (p + 2) -th register, the outputs of the registers from the second to () -th and output of the (r + p) -th register are connected to the corresponding information inputs of the switch, the control input of which is the input of the Operation mode setting sequence generator (r, p) numbers, sync yuschy switch input is connected to the third output of the synchronization unit, the switch output is connected to the second data input of the adder. The drawing shows a functional diagram of a generator of sequences of (r, p) -numbers with arbitrary initial conditions for the case,. The circuit contains the synchronization unit 1, registers 2.1-2.4, the switch 3, the adder 4, the input 5 of the initial conditions, the input 6 of the setting of the operating mode, the output 7 of the generator. The generator generates the sequences defined by the following recurrent relation: f О as i 0; , в, - {q when i - 0; (one) . - -r + ... + / i;..+/i;.,, p with ,, 3, .., where Р, - (г, р) is a number, QP is an arbitrary initial condition, г, p - parameters of sequences. As can be seen from (1), when we have a row of Fibonacci numbers, when and, 2,3 ... we get a sequence of generalized Fibonacci numbers, when we get a known classical binary sequence. The generator can operate in two modes: the formation of a sequence of generalized (r, p) -numbers; forming a sequence of Generalized p-numbers-Fibonacci. The mode of operation is set to input 6. In the initial state, all registers are set to zero. On entry 5 initial conditions in the register 2.1. q value is entered. The formation of the next number in the sequence takes place within one cycle. In the first cycle of each cycle, the synchronizing signals from block 1 on the synchronizing - inputs of the adder 4 and switch 3 provide the supply of the number from the first register 2.1 to the first input of the adder and from

3. 13. 1

(г+р)-го регистра 2.4 через коммута тор 3 на второй информационный вход сумматора, в котором формируетс  сумма этих чисел. В следующих г-1 тактах при работе в первом режиме к второму входу сумматора последовательно подключаютс  выходы регистров с (r-l)-ro по второй (2.3-2.2) и их содержимое добавл етс  к содержимому сумматора. При работе во втором режи ме выходы регистров с (г-1)-го по второй не подключаютс  к входу сумматора .. В результате в г-ом такте на сумматоре 4 оказываетс  сформированным следующее число последовательное ти в соответствии с выражением (1).(r + p) th register 2.4 through switch 3 to the second information input of the adder, in which the sum of these numbers is formed. In the following r-1 cycles when operating in the first mode, the outputs of the registers (r-l) -ro through the second (2.3-2.2) are sequentially connected to the second input of the adder and their contents are added to the contents of the adder. When operating in the second mode, the outputs of the registers from (r-1) -th to the second are not connected to the input of the adder. As a result, in the rth clock cycle on the adder 4, the next number in the sequence is formed according to expression (1).

3434

В (г+1)-ом и последнем такте цикла содержимое сумматора 4 сдвигаетс  в первый регистр 2.1, содержимое первого регистра 2.1 - во второй регистр 2.2 и т.д. На выходе 7 генератора по вл етс  очередное число последовательности.At the (r + 1) -th and last cycle of the cycle, the contents of adder 4 are shifted to the first register 2.1, the contents of the first register 2.1 to the second register 2.2, and so on. At generator output 7, the next sequence number appears.

Такимобразом, предлагаемый генератор нар ду с последовательностьюThus, the proposed generator along with the sequence

обобщенных чисел Фибоначчи, генерируемой известным генератором, позвот л ет получать и последовательности обобщенных (г,р)-чисел при , чтоgeneralized Fibonacci numbers generated by a known generator allows to obtain and sequences of generalized (r, p) -numbers with

расшир ет его функциональные возможности .extends its functionality.

5five

2121

Claims (1)

ГЕНЕРАТОР ПОСЛЕДОВАТЕЛЬНОСТЕЙ (R,P)-ЧИСЕЛ С ПРОИЗВОЛЬНЫМИ НАЧАЛЬНЫМИ УСЛОВИЯМИ, содержащий р+1 последовательно соединенных регистров с первого по (р+1)-ый, сумматор и блок синхронизации, причем первый информационный вход и выход первого регистра являются соответственно входом начальных условий и выходом генератора последовательностей (г,р)_ чисел, выход сумматора подключен к второму информационному входу первого регистра, выход которого подключен к первому информационному входу сумматора, первый и второй выходы блока синхронизации подключены к синхронизирующим входам регистров и сумматора соответственно, отличающийся тем, что, с целью расширения класса решаемых задач за счет обеспечения возможности генерирования чисел с параметром г ? 1, он содержит дополнительно г-1 последовательно соединенных регистров с (р+2)-го по (г+р)-ый и коммутатор, причем выход (р+1)-го регистра подключен к информационному входу (р+2)го регистра, выходы регистров со второго по (г-1)-ой и выход (г+1)-го © регистра подключены к соответствующим информационным входам коммутатора, управляющий вход которого является входом задания режима работы генератора последовательностей (г,р)-чисел) , синхронизирующий вход коммутатора подключен к третьему выходу блока синхронизации, выход коммутатора подключен к второму информационному входу сумматора.SEQUENCE GENERATOR (R, P) -NUMBER WITH ARBITRARY INITIAL CONDITIONS, containing p + 1 series-connected registers from the first to (p + 1) -th, adder and synchronization block, and the first information input and the output of the first register are respectively the input of the initial conditions and the output of the sequence generator (g, p) _ numbers, the output of the adder is connected to the second information input of the first register, the output of which is connected to the first information input of the adder, the first and second outputs of the synchronization unit are connected are geared towards the synchronizing inputs of the registers and the adder, respectively, characterized in that, in order to expand the class of problems to be solved by providing the possibility of generating numbers with the parameter r? 1, it additionally contains r-1 registers connected in series from (p + 2) -th to (r + p) -th and a switch, and the output of (p + 1) -th register is connected to the information input of (p + 2) th of the register, the outputs of the registers from the second to the (r-1) -th and the output of the (r + 1) -th © register are connected to the corresponding information inputs of the switch, the control input of which is the input of the job of the operating mode of the sequence generator (g, p) -number) , the synchronizing input of the switch is connected to the third output of the synchronization unit, the output of the switch is connected to the second nformatsionnomu input adder. 1104493 21104493 2
SU833559836A 1983-03-02 1983-03-02 Generator of (n,p) number sequences with variable initial conditions SU1104493A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833559836A SU1104493A1 (en) 1983-03-02 1983-03-02 Generator of (n,p) number sequences with variable initial conditions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833559836A SU1104493A1 (en) 1983-03-02 1983-03-02 Generator of (n,p) number sequences with variable initial conditions

Publications (1)

Publication Number Publication Date
SU1104493A1 true SU1104493A1 (en) 1984-07-23

Family

ID=21052193

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833559836A SU1104493A1 (en) 1983-03-02 1983-03-02 Generator of (n,p) number sequences with variable initial conditions

Country Status (1)

Country Link
SU (1) SU1104493A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР № 824200, кл. G 06 F 7/49, 06.07.79. 2. Авторское свидетельство СССР № 662926, кл. G 06 F 1/02, 02.08.76 (прототип). *

Similar Documents

Publication Publication Date Title
SU1104493A1 (en) Generator of (n,p) number sequences with variable initial conditions
KR870004562A (en) Controller
GB1495838A (en) Synchronous shift register
JPS5446463A (en) Pre-scaler
SU1645954A1 (en) Random process generator
SU1352400A1 (en) Phase shift calibrator
SU1665382A1 (en) Device for mathematic functions computation
KR890005923Y1 (en) Arrangement for starting dc servo motor
SU1225009A1 (en) Synchronous frequency divider with 10:1 countdown
SU1354416A1 (en) Frequency divider with variable division number
SU1293844A1 (en) Device for transforming programs
SU966874A2 (en) Pulse shaper
SU1288726A2 (en) Device for restoring continuous functions from discrete readings
SU1735837A1 (en) Johnson code generator
SU580634A1 (en) Pulse frequency multiplier
SU1221717A2 (en) Triangular function generator
SU1112356A2 (en) Fibonacci p-number sequence generator
SU1479934A1 (en) Decoder check unit
SU903865A1 (en) Controllable arithmetic module
SU622070A1 (en) Digital function generator
SU1644079A1 (en) Method for time scales comparison and device thereof
SU832758A1 (en) Clock synchronization device
SU1260945A1 (en) Device for searching numbers in the given range
SU1173548A1 (en) Apparatus for selecting channels
SU790120A1 (en) Pulse synchronizing device