SU1241239A1 - Stochastic transformer - Google Patents
Stochastic transformer Download PDFInfo
- Publication number
- SU1241239A1 SU1241239A1 SU843694504A SU3694504A SU1241239A1 SU 1241239 A1 SU1241239 A1 SU 1241239A1 SU 843694504 A SU843694504 A SU 843694504A SU 3694504 A SU3694504 A SU 3694504A SU 1241239 A1 SU1241239 A1 SU 1241239A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- outputs
- elements
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к области вычир1ительной техники. Цель изобретени - повышение быстродействи . С этой целью в устройство введены два счетчика, два коммутатора, два регистра, которые соединены между собой и с остальными блоками схемы соответствующими функ-циональными св з ми . Изобретение целесообразно использовать в стохастических вычислительных машинах дл моделировани и анализа р да случайных процессов, а также в различных устройствах управлени при случайном выборе за ограниченный интервал времени числа из определенного множества в услови х динамического назначени запретов на использование отдельных чисел . Изобретение обеспечивает большее быстродействие, чем известные, и может использоватьс Б высоконадежных и быстродействующих системах , ил. с (О (Л N 4 ND Од :&The invention relates to the field of cleaning technology. The purpose of the invention is to increase speed. For this purpose, two counters, two switches, and two registers have been entered into the device, which are connected to each other and to the remaining blocks of the circuit by the corresponding functional links. The invention is expedient to use in stochastic computers for modeling and analyzing a number of random processes, as well as in various control devices with random selection for a limited time interval of a number from a certain set under conditions of dynamic assignment of bans on the use of individual numbers. The invention provides greater speed than the known ones, and can be used in highly reliable and fast systems, Il. c (O (L N 4 ND Au: &
Description
1 one
Изобретение относитс к вычислительной технике и может быть использовано в стохастических вычислитель- . ных мэшин-ах дл моделировани р да случайных процессов.The invention relates to computing and can be used in stochastic calculator. machines for modeling a number of random processes.
Цель изобретени - повышение быстродействи работы.The purpose of the invention is to increase the speed of work.
На чертеже приведена функциональна схема стохастического преобразовател ..The drawing shows the functional diagram of the stochastic converter ..
Стохастический .преобразователь со держит первый регистр 1 , выходы которого подключены к входам второго регистра 2, выходы которого соединены с первой группой входов первого коммутатора 3. Выходы этого коммутатора подключены к информационным входам блока 4 пам ти, а втора группа входов коммутатора 3 подключена к выходам первого счетчика 5. Адресные вхо ды блока 4 пам ти подключены к выходам второго коммутатора 6, на управл ющий вход которого поступают сигналы с блока 7 управлени , который управл ет также работой блоков 1-5, выходным регистром 8, вторым счетчиком 9 и генератором 10 случайных чисел . Первый вход блока 7 управлени соединен с выходом схены 11 сравнени , а второй вход блока 7 вл етс управл ющим входом стохйстического преобразовател (Вх.1). Первый вход схемы 11 сравнени соединен с выходом блока 4 па м ти, а второй вход схемы 11 вл етс информационным входом преобразовател (Вх.2).The stochastic converter contains the first register 1, the outputs of which are connected to the inputs of the second register 2, the outputs of which are connected to the first group of inputs of the first switch 3. The outputs of this switch are connected to the information inputs of memory 4, and the second group of inputs of switch 3 is connected to the outputs the first counter 5. The address inputs of the memory block 4 are connected to the outputs of the second switch 6, the control input of which receives signals from the control block 7, which also controls the operation of blocks 1-5, the output register Strom 8, second counter 9 and 10 random numbers generator. The first input of the control unit 7 is connected to the output of the comparison circuit 11, and the second input of the unit 7 is the control input of the stochastic converter (Bx1). The first input of the comparison circuit 11 is connected to the output of the 4-unit unit, and the second input of the circuit 11 is the information input of the converter (Bx.2).
Блок 11 сравнени содержит коммутатор 12, запоминающее устройство 13с информационным объемом N однобитных слов, адресные входы которого подключены к выходам коммутатора 12. Перва группа входов коммутатора 12 .соединена с выходами блока 4 пам ти, информационным объемом N слов по бит в слове. Управл ющий вход коммутатора 12 объединен с входом записи W блока 13 и вместе с второй группой входов коммутатора 12 и информационным входом D блока 13 вл етс вторым входом (Вх.2) преобразовател Comparison unit 11 contains a switch 12, a memory device 13 with an information volume of N one-bit words, the address inputs of which are connected to the outputs of the switch 12. The first group of inputs of the switch 12 is connected to the outputs of the memory block 4, an information volume of N words per word. The control input of the switch 12 is combined with the write input W of the block 13 and, together with the second group of inputs of the switch 12 and the information input D of the block 13, is the second input (Bx2) of the converter
Блок 7 управлени содержит элементы И 14-16, генератор 17 тактовых импульсов, счетчик 18 тактов дешифратор 19, элементы И 20-24, элементы ИЛИ-НЕ 25-27 и RS-триггер 28.The control unit 7 contains the elements AND 14-16, the clock generator 17, the counter 18 clock decoder 19, the elements AND 20-24, the elements OR NOT 25-27 and the RS-trigger 28.
Стохастический преобразователь работает следующим образом.The stochastic converter works as follows.
41239I41239I
В режиме начальной установки потребитель подает 1 на первый вход преобразовател (Вх.1, цепь А). При этом счетчик 18 сбрасываетс , эле5 мент ИЛИ-ИЕ 27 срабатывает и закрывает элементы И 22 и 23, поэтому на адресных входах коммутатора. 6 по вл етс комбинаци 00, что соответствует подключению к адресным входамIn the initial installation mode, the user supplies 1 to the first input of the converter (Bx1, circuit A). In this case, the counter 18 is reset, the element OR-IS 27 is activated and closes the elements AND 22 and 23, therefore, at the address inputs of the switch. 6, the combination 00 appears, which corresponds to the connection to the address inputs
10 А блока 4 пам ти выходов счетчика 5. На адресном входе А коммутатора 3 также присутствует 1, что определ ет подключение выходов счетчика 5 к информационным входам D блока 4.10A of the block 4 of the memory of the outputs of the counter 5. At the address input A of the switch 3, there is also 1, which determines the connection of the outputs of the counter 5 to the information inputs D of the block 4.
15 Тактовые импульсы с генератора 17 пост упают на тактовый вход счетчика 5, осуществл ющего последовательный счет. На вход записи W блока 4 пам ти поступают от генератора 17 им- 20 пульсы записи через открытый элемент И 15. Таким образом, в блок пам ти 4 последовательно записываютс элементы используемого множества чисел. Занес€ ние информации в схему 1 1 о15 Clock pulses from the generator 17 post fall on the clock input of counter 5, which performs sequential counting. The recording pulses of the memory block 4 are received from the generator 17 by the write pulses through the open element 15. Thus, the elements of the set of numbers used are sequentially recorded in the memory block 4. Entering information into the scheme 1 1 about
25 размещенном подмножестве производитс потребителем через Вх.2. Дл этого потребитель подает на информационный вход D запоминающего устройства 13 1, если число, которое подаетс The 25 placed subset is produced by the consumer via Bx. To do this, the consumer applies to the information input D of the storage device 13 1 if the number that is supplied
30 на вторую группу входов коммутатора 12, вл етс разрешенным, или О 3 противном случае. Синхронно с этими сигналами на адресный вход А коммутатора 12 и на вход записи W уст- ,, ройства 13 подаетс 1, что вызывает подключение адресных входов запоминающего устройства 13 к Вх.2 и запись в него по этому адресу информации на входе D. Последовательно осу40 ществл запись, потребитель заносит в устройство 13 информационный массив из нулей и единиц, причем 1 по какому-нибудь адресу означает, что число, соответствующее этому ресу, вл етс разрешенным, а О - что данное число не входит в подмножество разрешенных чисел.30 to the second group of inputs of the switch 12 is allowed, or O 3 otherwise. Synchronously with these signals, the address input A of the switch 12 and the input of the record W of the device 13 are fed 1, which causes the connection of the address inputs of the storage device 13 to Vx.2 and entry into this address of the information at input D. Consistently 40 In essence, the record, the consumer enters into the device 13 an information array of zeroes and ones, and 1 at any address means that the number corresponding to this resolution is allowed, and O means that this number is not included in the subset of allowed numbers.
Режим начальной установки заканчиваетс , когда потребитель -снимаетThe initial installation mode ends when the consumer removes
1 с цепи А Вх.1 , при этом устройство переходит в режим перестановок. В этом режиме информационные входы блока 4 посто нно -подключены через коммутатор 3 к выходам регистра 2 1 with chain A in. 1, while the device enters the mode of permutations. In this mode, the information inputs of block 4 are permanently connected via switch 3 to the outputs of register 2
55 (так как. на адресном входе А коммутатора 3 присутствует О). На выходе элемента ИЛИ-НЕ 27 присутствует 1, поэтому элемент И 16 открьц55 (because. At address input A of switch 3 is present O). At the output of the element OR NOT 27 there is 1, therefore the element AND 16 otkryts
33
дл тактовых импульсов с генератора 17. Одна перестановка производитс на 4 такта.for clock pulses from generator 17. One permutation is performed for 4 clock cycles.
В нулевом такте элемент И 22 открыт,так как на инверсном выходе элемента ИЛИ-НЕ 25 присутствует 1, элемент И 23 закрыт и на адресном входе коммутатора 6 по йл етс комбинаци 01, что определ ет подключение к адресным входам блока 4 пам ти выходов счетчика 9. Элемент И 15 закрыт, поэтому блок 4 пам ти находитс в режиме чтени . В конце такта считанное по адресу из счетчика 9 число записываетс в регистр 1 такто вым импульсом через открытый элемент И 16. Элемент И 14 также открыт, и прошедший через него импульс вызывает выборку очередного п -разр дного числа в генераторе 10 случайных чисел. Нулевой такт заканчиваетс после того, как двоичный счетчик 18 импульсом, прошедшим через элемент И 16, переводитс в состо ние 01, что соответствует первому такту. In the zero cycle, the AND 22 element is open, since the inverse output of the OR-NOT 25 element is 1, the AND 23 element is closed, and the combination 01 is located at the address input of the switch 6, which determines the connection to the address inputs of the counter output memory block 4 9. Element 15 is closed, therefore, memory block 4 is in read mode. At the end of the clock, the number read from the counter 9 is written to the register 1 by the clock pulse through the open element AND 16. The element 14 is also open, and the pulse passed through it causes a sample of the next n-digit number in the generator 10 random numbers. The zero clock expires after the binary counter 18 is transmitted by the pulse passing through the element 16 to the state 01, which corresponds to the first clock.
В первом такте на первом выходе дешифратора 19 по вл етс 1, поэтому на пр мом выходе элемента ИЛИ 25 присутствует 1, а на инверсном - О. Через элементы И 22 и 23 эта комбинаци передаетс на адресный вход коммутатора 6, что вызывает подключение к адресным входам блока 4 пам ти выходов генератора 10 случайных чисел. Считанное по этому ад- ресу число из блока 4 записываетс в регистр 1 , одновременно с этим информаци из регистра 1 переписываетс в регистр 2 (так как входы записи с регистров 1 и 2 объединены). In the first clock cycle, at the first output of the decoder 19, 1 appears, therefore, at the forward output of the OR element 25 there is 1, and at the inverse, O. Through the elements 22 and 23, this combination is transmitted to the address input of the switch 6, which causes a connection to the address The inputs of the memory block 4 of the generator outputs 10 random numbers. The number from block 4 read at this address is written to register 1, and at the same time information from register 1 is written to register 2 (since the recording inputs from registers 1 and 2 are combined).
Во втором такте 1 по вл етс на втором выходе дешифратора 19 и поступает на входы элементов ИЛИ-НЕ 25 и 26f поэтому к адресным входам бло- ка 4 подключены выходы генератора 10. Информационные входы блока 4 подключены через коммутатор 3 к выходам регистра 2. Логическа единица с пр мого выхода элемента ИЛИ-НЕ 26 поступает на вход элемента И 15, поэтому тактовый импульс с генератора 17 проходит на вход записи W блока 4 пам ти и происходит запись числа с регистра 2 по адресу с генератора 10 случайных чисел. В конце такта информаци с регистра 1 переписываетс в регистр 2, а счетчик 18 переводитс In the second cycle 1, it appears at the second output of the decoder 19 and arrives at the inputs of the elements OR NONE 25 and 26f, therefore the outputs of the generator 10 are connected to the address inputs of block 4. The information inputs of block 4 are connected via switch 3 to the outputs of register 2. Logical the unit from the direct output of the element OR-NOT 26 enters the input of the element 15, therefore the clock pulse from generator 17 passes to the input of record W of memory block 4 and records the number from register 2 at the address from generator 10 random numbers. At the end of the clock cycle, information from register 1 is rewritten into register 2, and counter 18 is transferred
5 - О - )5 20 255 - O -) 5 20 25
зо ,, 40Go, 40
23942394
тактовым импульсом в состо ние 11, что соответствует третьем такту.clock pulse to state 11, which corresponds to the third clock cycle.
В третьем такте на входах элемента ИЛИ-НЕ 27 присутствуют О, поэтому элемент И 22 открыт, а эле . мент И 23 закрыт, значит к адресным входам блока 4 подключаютс выходы счетчика 9. На третьем выходе дешифратора 19 присутствует 1, поэтому на пр мом выходе элемента ШШ- НЕ 26 также 1, котора открывает элемент И 15 дл прохождени импульса записи на блок 4 пам ти. Число из регистра 2 записываетс в блок 4 по адресу из счетчика 9. В конце такта этот счетчик импульсом с генератора 17 через открытый элемент И 20 переводитс в следуюш;ее состо ние, на выходах счетчика 18 по вл етс комбинаци 00 и начинаетс нулевой такт очередного цикла перестановок. В результате одной перестановки мен ютс адреса двух записанных в блоке- 4 чисел, а после нескольких перестановок в блоке 4 оказываетс записанным в случайном пор дке множество и з N используемых чисел..In the third cycle at the inputs of the element OR NOT 27 there are O, therefore the element AND 22 is open and ale. And 23 is closed, it means that the outputs of counter 9 are connected to the address inputs of block 4. At the third output of decoder 19 there is 1, therefore, the direct output of SH-NOT 26 is also 1, which opens And 15 to pass a write pulse to memory 4. ti. The number from register 2 is written to block 4 at the address from counter 9. At the end of the clock cycle, this counter is transferred from the generator 17 through the open element 20 to the next, its state, 00 appears at the outputs of counter 18 and the next clock begins zero cycle permutations. As a result of a single permutation, the addresses of two numbers written in a block of 4 are changed, and after several permutations in block 4, the set of N numbers used in a random order is written in random order.
Режим перестановок продолжаетс до тех пор, пока на управл юш11Й вход (Вх.1,цепь Б) не поступит положительный импульс. Этот импульс переводит триггер 28 в единичное состо ние . Если стохастический преобразователь находитс в режиме перестановок на втором или третьем такте, то логический элемент И 24 закрыт нулевым логическим уровнем с инверсного выхода элемента ИЛИ-НЕ 26. Режим перестановок не прерываетс до тех пор, пока не наступит нулевой или первый такт. При этом на инверсном выходе элемента ИЛИ-НЕ 26 по вл етс 1, котора открывает элемент И 24, и устройство переходит в режим выбораThe permutation mode continues until a control impulse arrives at the control input (input 1, circuit B). This impulse translates trigger 28 into a single state. If the stochastic transducer is in permutation mode on the second or third cycle, the AND 24 gate is closed with a zero logic level from the inverse output of the OR-NOT 26 element. The permutation mode is not interrupted until the zero or first clock cycle occurs. At the same time, at the inverse output of the element OR-HE 26 there appears 1, which opens the element AND 24, and the device switches to the selection mode
-числа, принадлежащего разрешенному подмножеству.-number belonging to an allowed subset.
В этом режиме на выходе элемента ИЛИ-НЕ 26 по вл етс О, который запирает элементы И 16, 22 и 23, поэтому импульсы с генератора 17 не проход т на регистры 1 и 2, счетчик 18 и генератор 10 случайных чисел, а адресные входы блока 4 пам ти подключаютс к счетчику 5.Считанное по адресу из этого счетчика число поступает через первый вход коммутатора 12 на адресный вход запоминающего устройства 13,которое также находитс в режиме считывани . Если число, поступившее На адресные входы устройства 13, не принадлежит к подмножеству разрешенных, то на его выходе присутствует О, который поддерживает элемент И 21 в выключенном состо нии . Тактовый импульс с генератора 17 поступает на вход счетчика 5, что вызывает по вление на его выхо- дах следующего числа. Это число через коммутатор 6 поступает на адресный вход блока 4 пам ти, а считанное по этому адресу число через коммутатор 2 поступает на адресный вход за поминающего устройства 13. Описанный процесс циклически повтор етс , пока на адресные входы устройства 13 не поступит число, принадлежащее к разрешенному подмножеству всего мно- жества используемых чисел, что вызовет по вление 1 на выходе устройства 13. Элемент И 21 открываетс и через него проходит тактовый импульс с генератора 17, Этот импульс посту- пает на вход записи С выходного регистра 8 и в него записываетс .число с блока 4, принадлежащее к разрешен- множеству. Выход элемента И 21 соединен также с входом R триггера 28, поэтому этот триггер сбрасываетс ,, на его выходе по вл етс О, который закрывает элемент И 24, и стохастический преобразователь переключаетс в режим перестановок.V который продолжаетс до прихода следующего запроса.In this mode, at the output of the element OR-NE 26, O appears, which locks the elements AND 16, 22 and 23, therefore the pulses from the generator 17 do not pass to the registers 1 and 2, the counter 18 and the generator 10 random numbers, and the address inputs The memory unit 4 is connected to the counter 5. The number counted at the address from this counter goes through the first input of the switch 12 to the address input of the storage device 13, which is also in read mode. If the number received at the address inputs of the device 13 does not belong to the subset of the allowed ones, then at its output there is an O that keeps the AND 21 element in the off state. The clock pulse from the generator 17 is fed to the input of the counter 5, which causes the appearance of the next number at its outputs. This number through the switch 6 arrives at the address input of the memory block 4, and the number read at this address through the switch 2 arrives at the address input for the memory device 13. The described process repeats cyclically until a number belonging to the address 13 arrives at the address input of the device 13. the allowed subset of the whole set of numbers used, which will cause the appearance of 1 at the output of the device 13. The element 21 opens and the clock pulse from the generator 17 passes through it. This pulse goes to the record input C of the output register and 8 is recorded in it. the number from block 4 belonging to the allowed set. The output of the AND 21 element is also connected to the input R of the trigger 28, therefore this trigger is reset, O appears at its output, which closes the AND 24 element, and the stochastic converter switches to the permutation mode. V which continues until the next request arrives.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843694504A SU1241239A1 (en) | 1984-01-23 | 1984-01-23 | Stochastic transformer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843694504A SU1241239A1 (en) | 1984-01-23 | 1984-01-23 | Stochastic transformer |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1241239A1 true SU1241239A1 (en) | 1986-06-30 |
Family
ID=21101205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843694504A SU1241239A1 (en) | 1984-01-23 | 1984-01-23 | Stochastic transformer |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1241239A1 (en) |
-
1984
- 1984-01-23 SU SU843694504A patent/SU1241239A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР №572824, кл. G 07 G 15/00, 1977. Авторское свидетельство СССР №734766, кл. G 07 С 15/00, 1980. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1241239A1 (en) | Stochastic transformer | |
SU370717A1 (en) | CONTROLLABLE PROBABILITY CONVERTER | |
SU1118991A1 (en) | Information input device | |
SU1298742A1 (en) | Random process generator | |
SU1160410A1 (en) | Memory addressing device | |
SU1529293A1 (en) | Device for shaping test sequence | |
SU1030854A1 (en) | Device for checking multidigit memory units | |
SU978197A1 (en) | Associative on-line memory device | |
SU1322371A1 (en) | Device for writing information in internal storage | |
SU1432532A1 (en) | Buffer storage | |
SU1363512A2 (en) | Channel selection device | |
SU650101A1 (en) | Storage | |
SU1309028A1 (en) | Device for detecting errors in "k-out-of-n" code | |
SU1368880A1 (en) | Control device | |
SU1339659A1 (en) | Apparatus for monitoring shift register | |
SU1529208A1 (en) | Information input device | |
SU1695314A1 (en) | Device for entry of information | |
SU1605244A1 (en) | Data source to receiver interface | |
RU1835549C (en) | Logical cell for identification matrix | |
SU943731A1 (en) | Device for code sequence analysis | |
SU1367045A1 (en) | Memory-checking device | |
SU1282221A1 (en) | Device for checking dynamic memory blocks | |
SU1173414A1 (en) | Program control device | |
SU1383326A1 (en) | Device for programmed delay of information | |
SU1161993A1 (en) | Device for checking internal memory blocks |