SU1138799A1 - Device for generating test sequences - Google Patents
Device for generating test sequences Download PDFInfo
- Publication number
- SU1138799A1 SU1138799A1 SU833639568A SU3639568A SU1138799A1 SU 1138799 A1 SU1138799 A1 SU 1138799A1 SU 833639568 A SU833639568 A SU 833639568A SU 3639568 A SU3639568 A SU 3639568A SU 1138799 A1 SU1138799 A1 SU 1138799A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- register
- counter
- inputs
- Prior art date
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
УСТРОЙСТВО ДЛЯ ГЕНЕРАЦИИ ТЕСТОВЫХ ПОСЛЕДОВАТЕЛЬНОСТЕЙ, содер;жащее генератор тактовых импульсов, накопительный регистр, триггер и первый элемент, И, причем вхоД генератора тактовых импульсов вл етс входом запуска устройства, выход накопительного регистра - выходом устройства, отличающеес тем, что, сцелью расширени области применени в устройство введены регистр сдвига, схема сравнени , счетчик, элемент ИЛИ, второй, третий, четвертый и п тый элементы И, причем первый выход генератора тактовых импульсов подключен к управл ющему входу схемы сравнени , первый и второй информационные входы которой св заны соответственно с выходом счетчика и первым выходом регистра сдвига, второй выход которого соединен с информационным входом накопительного регистра, вход сдвига и вход разрешени записи которого св заны соответственно с выходами четвертого и п того элементов И, первые входы четвертого и п того элементов И подключены соответственно к второму и первому выходам генератора тактовых импульсов, вторые входы четвертого и п того элементов И св заны с единичным выходом триггера, нулевой выход которого подключен к первому входу первого элемента И, второй вход которого соединен с единичным входом триггера и выходом сравнени схемы сравнени , выход несравнени которой соединен с первьв4 входом элемента ИЛИ, второй вход которого св зан с выходом первого элемента И, выход элемента ИЛИ подключен к первому входу третьего элемента И, второй вход которого св зан с третьим выходом генератора тактовых импульсов ,.выход третьего элемента И соединен t входом раэрбшени записи регистра сдвига, вход сдвига которого св зан с вторым выходом генератоСО 00 ра тактовых импульсов, входы сброса регистра сдвига и счетчика вл ютс входом начальной установки устройстvl ва, информационный вход регистра ф со сдвига подключен к выходу счетчика, счетшлй вход которого св зан с выходом второго элемента И, первый и второй входы которого соединены соответственно с четвертым выходом генератора тактовых импульсов и первым входом третьего элемент И.A device for generating test sequences, containing a clock generator, a cumulative register, a trigger and the first element, And, and the input of the clock generator is the device start input, the output of the cumulative register is the output of the device, characterized by A shift register, a comparison circuit, a counter, an OR element, a second, a third, a fourth and a fifth AND elements are entered into the device, with the first output of the clock generator connected to the control The first input of the comparison circuit, the first and second information inputs of which are connected respectively to the output of the counter and the first output of the shift register, the second output of which is connected to the information input of the cumulative register, the input of the shift and the recording resolution of which are connected respectively to the outputs of the fourth and fifth elements And, the first inputs of the fourth and fifth elements And are connected respectively to the second and first outputs of the clock generator, the second inputs of the fourth and fifth elements And are connected to the unit with the trigger output, the zero output of which is connected to the first input of the first element And, the second input of which is connected to the single input of the trigger and the comparison output of the comparison circuit, the output of which is compared to the OR input, the second input of which is connected to the output of the first element AND, the output of the OR element is connected to the first input of the third element AND, the second input of which is connected with the third output of the clock generator, the output of the third element AND is connected by the t input of the shift register writing input, The shift of which is associated with the second output of the clock COCO pulse generator, the reset inputs of the shift register and the counter are input to the initial setup of the device, the information input of the shift register f is connected to the output of the counter, the counting input of which is connected to the output of the second element I, the first and second inputs of which are connected respectively to the fourth output of the clock pulse generator and the first input of the third element I.
Description
Изобретение относитс к вычислительной технике и может быть использовано дл контрол и диагностики ло гических схем. Известны устройства дл генерации псевдослучайных двоичных последовательностейр позвол ющие генерировать большое количество несовпадающих двоичных наборов из h разр дов. В этих устройствах каждый очередной разр д последовательности определ етс значением логической функции от некоторых ранее сформированных разр дов этой же последовательности Правило выбора этих разр дов основан на свойствах неразложимых полиномов степени п.В состав устройств входит h-разр дный сдвиговый регистр с сумматором по модулю 2 в цепи обратной св зи Cl3 и 2. Недостатком данных устройств вл ютс трудности с организацией полных переборов нулей и единиц в h раз р дах. Дл различных /п требуютЬ сво комбинации разр дов, по которым гене рируетс очередной разр д последовательности . Это ограничивает функциональные возможности устройств. Наиболее близким техническим решением к предлагаемому устройству вл етс генератор тест-последовательности , в состав которого вход т накопительный регистр, имеющий цепи сдвига, выход которого вл етс выходом устройства, триггер, элемент И и тактовый генератор, вход которого вл етс входом устройства. Генераци тестовой последовательности в устройстве производитс путем накоплени ее на накопительном регистреиз 2 +(|1-1) разр дов присое- динением по одному биту., значение ко торого определ етс состо нием чейк пам ти из 2 разр дов по адресу, соответствующему состо нию и-1 предшествующих разр дов последовательнос ти. Полученна тестова последовательность содержит все возможные комбинации из п нулей и единиц СзЗ. В известном устройстве объем оборудовани удваиваетс при згвеличений п на единицу, что ограничивает длину генерируемой последовательности малыми п . Целью изобретени вл етс расширение области применени . Поставленна цель достигаетс тем, что в устройство дл генерации тестовых импульсов, содержащее генератор тактовых импульсов, накопитель7 .ный регистр, триггер и первый эле- I мент И, причем вход генератора такто вых импульсов вл етс входом запуска устройства, выход накопительного регистра - выходом устройства, введены регистр сдвига, схема сравнени , счетчик, элемент ИЛИ, второй, третий, четвертый и п тый элементы И, причем первый выход генератора тактовых импульсов подключен к управл ющему входу схемы сравнени , первый и второй информационные входы которой св заны соответственно с выходом счетчика и первым выходом регистра сдвига, второй выход которого соединен с информационным входом накопительного регистра, вход сдвига и вход разрешени записи которого св заны соответственно с выходами четвертого и п того элементов И первые входы четвертого и п того элементов И подключены соответственно к второму и первому выходам генератора тактовых импульсов, вторые входы четвертого и п того элементов И св заны с единичным выходом триггера, нулевой выход которого подключен к первому входу первого элемента И,.второй вход которого соединен с единичным входом триггера и выходом сравнени схемы сравнение, выход несравнени которой соединен с первым входом элемента второй вход которого св зан с выходом первого элемента И, выход элемента ИЛИ подключен к первому входу третьего элемента И, второй вход которого св зан с третьим выходом генератора тактовых импульсов, выход третьего элемента И - с входом разрешени записи регистра сдвига, вход сдвига которого св зан с вторым выходом генератора тактовых импульсов, входы сброса регистра сдвига и счетчика вл ютс входом начальной установки устройства, информационный вход регистра сдвига подключен к выходу счетчика, счетный вход которого св зан с выходом второго элемента И, первый и второй входы которого соединены соответственно с четвертым выходом генератора тактовых импульсов и первым входом третьего элемента И. На фиг.1 изображена структурна схема устройства дл генерации тестовых последовательностей; на фиг.2временна диаграмма работы устройства. Устройство содержит генератор 1 тактовых импульсов, счетчик 2,регистр 3 сдвига, схема 4 сравнени , триггер 5, первый 6, второй 7, третий 8, четвертый 9 и п тый ТО элементы И, элемент ИЛИ 1-1 и накопительный регистр 12, вход 13 начальной установки и вход 14 запуска, Устройство работает следующим образом. Счетчик 2 и регистр 3 устанавливают в начальное состо ние. Исходное состо ние триггера 5 считаем нулевым После подачина вход 14 устройства сигнала Пуск на первом, втором, третьем и четвертом выходах генерато ра 1 формирзпотс соответственно сигналы 15 - 18 (фиг.2), синхронизирующие работу остальных блоков устройст ва. По сигналу 15, поступающему на первый вход регистра 3, происходит циклический сдвиг регистра 3 на один разр д (направление сдвига не имеет принципиального значени , но должно оставатьс неизменным за все врем работы устройства). По сигналу 16, поступающему на первый вход схемы 4 сравнени , происходит сравнение состо ний счетчика 2 и регистра 3, поступающих соответственно на первый и второй входы схемы 4 сравнени . Сдвиг регистра 3 и сравнение состо г НИИ счетчика 2 и регистра 3 происходит до тех пор, пока не по витс один из сигналов 19 или 20 соответственно на первом или втором выходах схемы 4 сравнени . По вление сигнала 19, свидетельст вующего о том, что содержимое счетчи ка 2 больше содержимого регистра 3, влечет за собой по вление сигнала 21 на выходе элемента ИЛИ 11, поступающего на вторые входы второго и треть го элементов И 7 и 8. После поступле ни на первые входы второго и третье го элементов И 7 и 8 соответственно сигналов 18 и 17 на выходах этих элементов И по вл ютс сигналы 22 и 23 соответственно. По сигналу 22, поступающему на первый вход счетчика 2, происходит увеличение счетчика 2 на единицу, по сигналу 23, поступающему на второй вход регистра 3, происходит запись щ регистр 3 поступающего на его третий вход содержимого счетчика 2. Процесс сдвига регистра 3, сравнени состо ний счетчи ка 2 и регистра 3 на схеме 4 сравне1 9 ни и, при по влении сигнала- 19, увеличени счетчика 2 и записи его измененного состо ни в регистр 3 продолжаетс до по влени на втором выходе схемы 4 сравнени сигнала 20. По вление сигнала 20 свидетельствует о том, что содержимое счетчика 2равно содержимому регистра 3, и поэтому состо ние разр дов регистра 3должно быть присоединено к тестовой последовательности, формируемой на накопительном регистре 12. По сигналу 20 триггер 5 устанавливаетс в единичное состо ние, и на его единичном выходе по вл етс сигнал 24, поступакнций на вторые входы четвер-. того и п того элементов И 9 и 10. После поступлени на первые входы Четвертого и п того элементов И 9 и. 10 соответственно сигналов 15 и 16 на выходах этих элементов И по вл ютс сигналы 25 и 26 соответственно. По сигналу 25, поступающему на вход сдвига накопительного регистра 12, происходит сдвиг накопительного регистра 12 на один разр д, по сигналу 26, поступающему на вход разрещени записи накопительного регистра 12, происходит запись а место крайнего сдвинутого разр да накопительного регистра 12 состо ни крайнего справа (в случае сдвигов регистра 3 влево ) или крайнего слева (при сдвиге вправо), разр да регистра 3, поступающего на первый вход накопительно1го регистра 12. Сдвиг накопительного ре-гистра 12 и запись в него происход т параллельно сдвигу регистра 3 и срав- нению состо ний счетчика 2 и регист-ра 3 на схеме 4 сравнени до тех nopj пока на первом выходе схемы 4 сравнени повторно не по витс сигнал 20, по которому происходит сброс тфиггера 5 и по вление на его втором (инверсном ) выходе сигнала, который поступает на.второй вход элемента И 6 и влечет за собой по вление на выходах элемента И 6, элемента ИЛИ 11, элементов И 7 и 8 соответстйенно сигналов 27, 21, 22 и 23, привод щих к изменению содержимого счетчика 2 и регистра 3Тестова последовательность становитс готовой к испол зованию после осуществлени f записей в накопительный регистр 12, где t -, количество его разр дов. Тестова последовательность , вл юща с циклической.The invention relates to computing and can be used to monitor and diagnose logical circuits. Devices for generating pseudo-random binary sequences are known that allow a large number of mismatched binary sets to be generated from h bits. In these devices, each successive bit of a sequence is determined by the value of a logic function from some previously formed bits of the same sequence. The choice rule for these bits is based on the properties of indecomposable polynomials of degree n. The devices include an h-bit shift register with modulo 2 adder. in the feedback circuit, Cl3 and 2. The disadvantage of these devices is the difficulty in organizing complete enumerations of zeroes and ones in h rows. For different / n, the combination of bits for which the next bit of the sequence is generated is required. This limits the functionality of the devices. The closest technical solution to the proposed device is a test sequence generator, which includes a cumulative register having a shift circuit, the output of which is the output of the device, a trigger, the AND element and a clock generator, the input of which is the input of the device. The test sequence is generated in the device by accumulating it on a cumulative register of 2 + (| 1-1) bits by connecting one bit each, the value of which is determined by the state of the memory cell of 2 bits at the address corresponding to and -1 of the preceding sequence bits. The resulting test sequence contains all possible combinations of n zeros and SzZ units. In the known device, the amount of equipment doubles with increasing n by one, which limits the length of the generated sequence to small ones. The aim of the invention is to expand the scope. The goal is achieved by the fact that the device for generating test pulses, containing a clock generator, a storage device, a register, a trigger and a first element, And, the input of the generator of clock pulses is the device start input, the output of the storage register is the device output , a shift register, a comparison circuit, a counter, an OR element, a second, a third, a fourth and a fifth AND elements are entered, the first output of the clock generator is connected to the control input of the comparison circuit, the first and second inf The memory inputs of which are connected respectively to the output of the counter and the first output of the shift register, the second output of which is connected to the information input of the cumulative register, the input of the shift and the recording resolution of which are connected respectively to the outputs of the fourth and fifth elements and the first inputs of the fourth and fifth elements And they are connected respectively to the second and first outputs of the clock, the second inputs of the fourth and fifth elements And are associated with a single trigger output, zero output of which is Linked to the first input of the first element AND, the second input of which is connected to the single trigger input and the comparison output of the comparison circuit, the non-comparison output of which is connected to the first input of the element whose second input is connected to the output of the first AND element, the output of the OR element is connected to the first input of the third element And, the second input of which is connected with the third output of the clock, the output of the third element And with the input of the write resolution of the shift register, the shift input of which is connected with the second output of the clock pulse generator All the inputs for the reset of the shift register and the counter are the input of the initial setup of the device, the information input of the shift register is connected to the output of the counter, the counting input of which is connected to the output of the second element And, the first and second inputs of which are connected respectively to the fourth output of the clock generator and the first the input of the third element I. FIG. 1 shows a block diagram of a device for generating test sequences; 2 a temporal diagram of the operation of the device. The device contains a clock pulse generator 1, a counter 2, a shift register 3, a comparison circuit 4, a trigger 5, a first 6, a second 7, a third 8, a fourth 9, and the fifth TO elements AND, the OR element 1-1 and a cumulative register 12, input 13 initial installation and launch input 14, the device operates as follows. Counter 2 and register 3 are set to the initial state. The initial state of the trigger 5 is assumed to be zero. After feeding the input 14 of the signal device, the Start is on the first, second, third and fourth outputs of the generator 1 and forms signals, respectively, 15 to 18 (FIG. 2), which synchronize the operation of the remaining units of the device. The signal 15, which arrives at the first input of register 3, causes a cyclic shift of register 3 by one bit (the direction of the shift does not matter in principle, but must remain unchanged during the entire operation of the device). Signal 16 arriving at the first input of comparison circuit 4, compares the states of counter 2 and register 3, respectively, entering the first and second inputs of comparison circuit 4. The shift of register 3 and the comparison of the state of the scientific research institute of counter 2 and register 3 takes place until one of the signals 19 or 20, respectively, appears at the first or second outputs of the comparison circuit 4. The occurrence of signal 19, which indicates that the contents of counter 2 is larger than the contents of register 3, entails the appearance of signal 21 at the output of the element OR 11 entering the second inputs of the second and third elements AND 7 and 8. After At the first inputs of the second and third elements AND 7 and 8, respectively, of signals 18 and 17 at the outputs of these elements AND, signals 22 and 23 appear, respectively. The signal 22, arriving at the first input of counter 2, increments counter 2 by one, and the signal 23, arriving at the second input of register 3, records the register 3 that arrives at its third input, the contents of counter 2. The process of shifting register 3, comparing the state The counter 2 and the register 3 in the circuit 4 are comparable to 9 and, when the signal-19 appears, the increase of the counter 2 and the recording of its changed state in the register 3 continues until the second output of the signal-comparison circuit 4 appears. 20 indicates that the contents of the counter 2 are equal to the contents of register 3, and therefore the state of the bits of the register 3 must be connected to the test sequence formed on cumulative register 12. By the signal 20, the trigger 5 is set to the single state, and the output 24 appears at its single output on the second entrances are fourth. of this and the fifth elements And 9 and 10. After entering the first entrances of the Fourth and fifth elements And 9 and. 10, respectively, signals 15 and 16 at the outputs of these elements, AND signals 25 and 26, respectively, appear. Signal 25 arriving at the shift input of cumulative register 12 shifts cumulative register 12 by one bit, and signal 26 arrives at the recording resolution input of cumulative register 12, records the position of the extreme right bit of cumulative register 12 (in the case of register 3 shifts to the left) or to the left (when shifting to the right), register 3 is fed to the first input of accumulative register 12. The storage register 12 is shifted and written to it in parallel to the shift the register 3 and the comparison of the states of the counter 2 and the register 3 in the comparison circuit 4 until those nopj until the first output of the circuit 4 again fails to receive the signal 20, which causes the reset of the tfiger 5 and its appearance on the second ( inverse) the output of the signal that arrives at the second input of the AND 6 element and entails the appearance at the outputs of the AND 6 element, the OR 11 element, the AND 7 and 8 elements, respectively, of the signals 27, 21, 22 and 23, leading to a change in the content counter 2 and the 3Test sequence register becomes ready for use after making f entries in cumulative register 12, where t -, the number of bits. A test sequence that is cyclic.
формируетс полностью после осуществлени записей в накопительный регистр 12. ;formed completely after making entries in cumulative register 12.;
В результате работы устройства при п 6 и начальном состо нии счетчика 2 и регистра 3, равном 001011 генерируетс следующа тестова последовательность: OOfOHOOIIOIOOII11010101110110111111 00000010000110001О1000111001, содержаща все 64 возможные комбинации нулей и единиц в шести разр дах.As a result of the operation of the device, with n 6 and the initial state of counter 2 and register 3 equal to 001011, the following test sequence is generated: OOfOHOOIIOIOOII11010101010110111111 00000010000110001О1000111001, containing all 64 possible combinations of zeros and ones in six bits.
Предлагаемое устройство по сравнению с известным обладает следующими преимуществами.: объем оборудовани , непосредственно участвующего в генерации тестовых последовательностей , вычисл етс по формуле Зп что позвол ет примен ть устройство дл больших п , обеспечива тем самым широкие функциональные возможности в применении к различным типам устройств и высокую полноту тестировани . По сравнению с устройствами дл генерации псевдослучайных двоичных последовательностей предлагаемое устройство позвол ет по единому правилу дл любого п генерировать тестовые последовательности, содержащие все возможные комбинации нулей и единиц в п разр дах.The proposed device in comparison with the known one has the following advantages: the amount of equipment directly involved in the generation of test sequences is calculated using the formula Sn, which allows using the device for large n, thus providing wide functionality applied to various types of devices and high completeness testing. Compared with devices for generating pseudo-random binary sequences, the proposed device allows, according to a single rule for any n, to generate test sequences containing all possible combinations of zeros and ones in n bits.
UUJUuj
Фift.fFift.f
IIXJIIXJ
Фиг. 2FIG. 2
ппппппppppp
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833639568A SU1138799A1 (en) | 1983-09-06 | 1983-09-06 | Device for generating test sequences |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833639568A SU1138799A1 (en) | 1983-09-06 | 1983-09-06 | Device for generating test sequences |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1138799A1 true SU1138799A1 (en) | 1985-02-07 |
Family
ID=21080812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU833639568A SU1138799A1 (en) | 1983-09-06 | 1983-09-06 | Device for generating test sequences |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1138799A1 (en) |
-
1983
- 1983-09-06 SU SU833639568A patent/SU1138799A1/en active
Non-Patent Citations (1)
Title |
---|
1. Патент US №4032763, кл. G 06 F 1/00, опублик. 1977. 2.Авторское свидетельство СССР № 468231, кл. G 06 F 1/02, 1973. 3.За вка JP № 50-266, кл. G 06 F 11/00, 1975 (прототип). * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1138799A1 (en) | Device for generating test sequences | |
US4549283A (en) | Digital time delay circuit with high speed and large delay capacity | |
JPS6094525A (en) | Time division pulse pattern generator | |
US4606057A (en) | Arrangement for checking the counting function of counters | |
SU802970A1 (en) | Device for function testing of large-scale integrated circuits | |
SU857984A1 (en) | Pseudorandom train generator | |
SU1283858A1 (en) | Device for checking memory blocks | |
SU1705876A1 (en) | Device for checking read/write memory units | |
SU674102A1 (en) | Associative storage | |
SU1376087A1 (en) | Device for test check and diagnostics of digital modules | |
SU1478307A1 (en) | Pseudo random number generator | |
RU2022353C1 (en) | Device for determining complement of a set | |
SU736097A1 (en) | Squaring arrangement | |
SU1714609A1 (en) | Device for shaping main memory unit test | |
SU1631546A1 (en) | Device for diagnosis of digital units | |
SU1539795A1 (en) | Device for editing a list | |
SU1278857A1 (en) | Automatic test checking system | |
SU1218386A1 (en) | Device for checking comparison circuits | |
RU1774339C (en) | Monitoring device for single-type units of tv equipment | |
SU1735846A1 (en) | Pseudorandom pulse sequence generator | |
SU1596337A1 (en) | Device for test check of time ratios | |
SU1213524A1 (en) | Pseudorandom sequence generator | |
SU1160414A1 (en) | Device for checking logic units | |
RU1817136C (en) | Device for checking shift registers | |
SU1405060A1 (en) | Test generator |