SU1479900A1 - Method for testing logic circuits - Google Patents

Method for testing logic circuits Download PDF

Info

Publication number
SU1479900A1
SU1479900A1 SU874326527A SU4326527A SU1479900A1 SU 1479900 A1 SU1479900 A1 SU 1479900A1 SU 874326527 A SU874326527 A SU 874326527A SU 4326527 A SU4326527 A SU 4326527A SU 1479900 A1 SU1479900 A1 SU 1479900A1
Authority
SU
USSR - Soviet Union
Prior art keywords
logic circuit
output
pseudo
outputs
pulses
Prior art date
Application number
SU874326527A
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 SU874326527A priority Critical patent/SU1479900A1/en
Application granted granted Critical
Publication of SU1479900A1 publication Critical patent/SU1479900A1/en

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

Изобретение относитс  к контрольно-измерительной технике и может быть использовано в устройствах диагностики логических схем. Цель изобретени  - расширение области применени  способа на логические схемы с произвольной внутренней структурой. Генератор псевдослучайных комбинаций 1 вырабатывает импульсы с длительностью, равной времени задержки элементов логических схем. Усилитель 2 с трем  состо ни ми обеспечивает воздействие псевдослучайных комбинаций на все выводы логической схемы 17. Импульсы, задаваемые одновибратором 7, преп тствуют воздействию псевдослучайных комбинаций на вход усилител  3. Усилитель 3 усиливает импульсы, задержанные на врем , большее максимального времени задержки элементов логической схемы, которые фиксируютс  RS - триггерами 4. Выводы логической схемы, по которым обнаружены задержанные импульсы, признаютс  выходными, а выводы, по которым таких импульсов нет, - входными. 2 ил.The invention relates to instrumentation technology and can be used in diagnostic devices for logic circuits. The purpose of the invention is to extend the scope of application of the method to logical circuits with an arbitrary internal structure. The pseudo-random combination generator 1 generates pulses with a duration equal to the delay time of the elements of logic circuits. Amplifier 2 with three states provides pseudo-random combinations to all the outputs of the logic circuit 17. The pulses given by the single vibrator 7 prevent the effects of pseudo-random combinations on the input of the amplifier 3. Amplifier 3 amplifies the pulses delayed by a time longer than the maximum delay time of the logic circuit elements , which are fixed by RS - triggers 4. The conclusions of the logic circuit, according to which delayed pulses are detected, are recognized as output, and the conclusions, according to which there are no such pulses, - as input. 2 Il.

Description

фа.F.

ЈJ

Изобретение относитс  к контрольно измерительной технике и может быть использовано дл  определени  входов и выходов логических схем, а также в устройствах контрол  и диагностики дл  контрол  логических схем с неизвестным , расположением входов и выходов .The invention relates to a control measurement technology and can be used to determine the inputs and outputs of logic circuits, as well as in monitoring and diagnostic devices for monitoring logic circuits with unknown, the arrangement of inputs and outputs.

Цель изобретени  - расширение области применени  предлагаемого способа за счет обеспечени  возможности определени  входов и выходов широкого класса логических схем с произвольной внутренней логической структурой.The purpose of the invention is to expand the scope of the proposed method by allowing the definition of the inputs and outputs of a wide class of logic circuits with an arbitrary internal logic structure.

На фиг. 1 изображена структурна  схема устройства, реализующего предлагаемый способ; на фиг. 2 - временные диаграммы, по сн ющие способ. Временные диаграммы а,е,ж,з,и (фиг. 2) по сн ют способ, а в совокупности с диаграммами б,в,г,д по сн ют работу устройства, реализующего способ.FIG. 1 shows a block diagram of a device implementing the proposed method; in fig. 2 - timing diagrams explaining the method. Timing diagrams a, e, g, h, and (Fig. 2) clarify the method, and in conjunction with diagrams b, c, d, g clarify the operation of the device that implements the method.

На фиг. 2 обозначено: а - переход ной процесс формировани  импульса на входе элемента, ( - врем  включени  элемента, U ВМКЛ - врем  выключени  элемента, Вкд в(,(Кл м, С Зй - врем  задержки элемента), е,ж,з,и - сигналы 2 п псевдослучайных комбинаций , подаваемые на логическую схему, имеющую п выводов (незаштрихованные сигналы), при этом наличие на выводах 1,3 и п сигналов, задержанных от носительно задних фронтов воздействующих импульсов (заштрихованные сигналы на диаграммах е,з,и), свидетельствуют о том, что выводы 1,3 и п  вл ютс  выходами.FIG. 2 denotes: a - transient formation of a pulse at the input of an element, (- element activation time, U AMCL - element deactivation time, Vcd in (, (Cm, C Zy - element delay time), e, f, h, and - signals of 2 n pseudo-random combinations, fed to a logic circuit having n outputs (open signals), while the presence on the outputs of 1.3 and n signals delayed relative to the falling edges of the acting pulses (shaded signals on diagrams e, 3, and) These indicate that pins 1.3 and p are outputs.

Способ основан на том, что сигнал на выходе любого логического элемента по вл етс  и снимаетс  с некоторой задержкой относительно входного сигнала, определ емой быстродействием данного элемента.The method is based on the fact that the signal at the output of any logic element appears and is removed with some delay relative to the input signal, determined by the speed of this element.

Поэтому принципиальным условием отличи  выхода логического элемента от входа  вл етс  присутствие на выводе элемента сигнала, задержанного относительно заднего фронта воздействующих сигналов.Therefore, the fundamental condition for distinguishing the output of a logic element from an input is the presence of a signal at the output of an element delayed relative to the trailing edge of the acting signals.

Способ осуществл ют следующим образом .The method is carried out as follows.

Формируют псевдослучайные комбинации сигналов, разр дность которых равна количеству входов-выходов исследуемой схемы и поочередно подают их на входы-выходы исследуемой схемыPseudo-random combinations of signals are formed, the width of which is equal to the number of inputs-outputs of the circuit under study and in turn serves them to the inputs-outputs of the circuit under study.

00

5five

00

5 30 5 30

00

5five

00

5five

Длительность воздействующих импульсов выбирают равной максимальному времени задержки элементов, на которых построена исследуема  логическа  схема. При каждой воздействующей комбинации сигналов на выводах исследуемой логической схемы регистрируют сигналы , задержанные относительно задних фронтов воздействующих импульсов. Осуществл ют полный перебор псевдослучайных комбинаций.The duration of the acting pulses is chosen equal to the maximum delay time of the elements on which the logical scheme is built. At each influencing combination of signals at the outputs of the logical circuit under study, signals detained relative to the falling edges of the acting pulses are recorded. Perform a complete search of pseudo-random combinations.

Считают вывод логической схемы ее выходом, если хот  бы при одной воздействующей псевдослучайной комбинации сигналов на нем присутствует сигнал , задержанный относительно заднего фронта воздействующего импульса. Считают вывод схемы ее входом, если ни при одной из возможных псевдослучайных комбинаций сигналов на нем не присутствует сигнал, задержанный относительно заднего фронта воздействующего импульса.Consider the output of a logic circuit as its output, if at least with one pseudo-random combination of signals acting on it there is a signal delayed relative to the trailing edge of the acting pulse. Consider the output of the circuit as its input, if no signal is present on any of the possible pseudo-random combinations of signals that is delayed relative to the trailing edge of the acting pulse.

Устройство, реализующее способ, содержит генератор 1 псевдослучайных комбинаций, первый п-канальный усилитель 2 с трем  состо ни ми, второй п-канальный усилитель 3 с трем  состо ни ми , группу из п RS-триггеров 4, генератор 5 тактовых импульсов, элемент И 6, одновибратор 7, делитель 8 частоты, блок 9 индикации, кнопку 10 начального сброса, управл ющий входA device implementing the method comprises a generator of 1 pseudo-random combinations, a first n-channel amplifier 2 with three states, a second n-channel amplifier 3 with three states, a group of n RS-flip-flops 4, a generator of 5 clock pulses, and the element I 6, one-shot 7, frequency divider 8, display unit 9, initial reset button 10, control input

11без инверсии первого усилител  211 without inversion of the first amplifier 2

с трем  состо ни ми, управл ющий входin three states, control input

12с инверсией второго усилител  312 with inversion of the second amplifier 3

с трем  состо ни ми, тактовый вход 13 генератора псевдослучайных комбинаций , установочные входы 14-16 соответственно генератора 1 псевдослучайных комбинаций, группы п RS-тригге- ров 4 и делител  8 частоты и исследуемую логическую схему 17, имеющую п выводов.with three states, clock input 13 of a pseudo-random combination generator, installation inputs 14-16, respectively, of the generator 1 of pseudo-random combinations, groups of n RS-flip-flops 4 and frequency divider 8, and the logic circuit 17 having n outputs.

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

Нажатием кнопки 10 устанавливают генератор 1 псевдослучайных комбинаций , группу RS-триггеров 4 и делитель 8 частоты в нулевое состо ние (сигнал Старт на диаграмме 26). После опускани  кнопки 10 тактовые импульсы (диаграмма 2г) с генератора 5 тактовых импульсов через элемент И 6 поступаютна тактовый вход 13 генератора 1 псевдослучайных комбинаций и на одновибратор 7. С приходом каждого тактового импульса генератор 1Pressing the button 10 sets the generator 1 of pseudo-random combinations, the group of RS-flip-flops 4, and the divider 8 of the frequency to the zero state (the Start signal on diagram 26). After the button 10 is lowered, the clock pulses (diagram 2d) from the generator of 5 clock pulses through the element 6 receive the clock input 13 of the generator 1 of pseudo-random combinations and to the one-shot 7. With the arrival of each clock pulse the generator 1

псевдослучайных комбинаций формирует n-разр дную (п - количество выводовpseudo-random combinations form an n-bit (n is the number of outputs

исследуемой схемы) комбинацию сигкаthe scheme under study) combination of sigka

лов и выдает ее на входы первого усилител  2 с трем  состо ни ми. Одно- вибратор 8 формирует короткие импульсы строба (диаграмма 2д), равные максимальному времени включени  элементов исследуемой схемы, поступающие «,ч на управл ющие входы 11 и 12 соответственно первого 2 и второго 3 усилителей с трем  состо ни ми. При этом сигналы псевдослучайной комбинации, присутствующей на входах первого уси- с лител  2 с трем  состо ни ми на короткое врем , равное длительности импульса строба, по вл ютс  на его выходах и будут воздействовать на исследуемую логическую схему 17 (диа- о граммы 2е, 2ж, 2з и 2и). На это же врем  -импульс строба запрещает прием сигналов вторым усилителем 3 с трем  состо ни ми.and outputs it to the inputs of the first amplifier 2 in three states. A single vibrator 8 forms short strobe pulses (diagram 2d), equal to the maximum switching time of the elements of the circuit under study, arriving at the control inputs 11 and 12, respectively, of the first 2 and second 3 amplifiers with three states. At the same time, signals of a pseudo-random combination present at the inputs of the first amplifier 2 with three states for a short time equal to the pulse width of the strobe appear at its outputs and will affect the logic circuit 17 (gram 2e, 2g, 2z and 2i). At the same time, a strobe pulse prohibits reception of signals by the second amplifier 3 with three states.

По окончанию импульса строба сиг- 25 налы с выходов первого усилител  2 снимаютс , а второй усилитель 3 начи- нает прием сигналов, задержанных относительно заднего фронта импульса строба, которые и  вл ютс  выходными ,Q сигналами исследуемой логической схемы . Эти сигналы поступают на S-входы соответствующих триггеров в группе п RS-триггеров 4. Таким образом, если хот  бы при одной псевдослучайной комбинации сигналов на каком-либо выводе будет присутствовать сигнал, задержанный относительно заднего фронта импульса строба, то соответствующий триггер установитс  в единицу и будет светитьс  соответствующий индикатор в блоке 9 индикации.At the end of the strobe pulse, the signals from the outputs of the first amplifier 2 are removed, and the second amplifier 3 starts receiving signals that are delayed relative to the falling edge of the strobe pulse, which are the output, Q signals of the logic being studied. These signals are sent to the S-inputs of the corresponding triggers in the group n of RS-flip-flops 4. Thus, if at least one pseudo-random combination of signals a signal delayed relative to the falling edge of the strobe pulse is present at any output, the corresponding trigger will be set to one and the corresponding indicator in the display unit 9 will be lit.

Делитель 8 частоты имеет коэффициент делени , равный 2П. Таким обра-40The frequency divider 8 has a division factor of 2P. Thus image-40

зом, через 2 тактов элемент И 6 запрещает выдачу тактовых импульсов на генератор 1 псевдослучайных комбинаций , в результате чего одновибра- тор 7 останавливает работу устройства (сигнал Стоп на диаграмме 2в).After 2 clocks, element 6 also prohibits the output of clock pulses to the generator 1 of pseudo-random combinations, as a result of which the one-oscillator 7 stops the operation of the device (the stop signal in the diagram 2c).

«,ч с "H with

25 ,Q 25, Q

4040

4545

Сигналы, снимаемые с выходов второго усилител  3 с трем  состо ни ми,  вл ющиес  пыходными сигналами исследуемой логической схемы могут использоватьс  непосредственно дл  контрол  и диагностики схемы.The signals taken from the outputs of the second amplifier 3 with three states, which are the output signals of the logic circuit under study, can be used directly to monitor and diagnose the circuit.

Главным условием реализации устройством предлагаемого способа  вл етс  наличие в устройстве быстродействующих микросхем, у которых врем  задержки в несколько раз меньше, чем у микросхем, на которых построена исследуема  схема.The main condition for the implementation of the proposed method by the device is the presence in the device of high-speed microcircuits, in which the delay time is several times shorter than that of the microcircuits on which the studied circuit is built.

Claims (1)

Формула изобретени Invention Formula Способ контрол  логических схем, заключающийс  в том, что на логическую схему подают номинальное напр жение питани , на каждый вывод схемы подают импульсное воздействие, отличающийс  тем, что, с целью расширени  области применени  за счет обеспечени  возможности определени  входов и выходов логических схем с произвольной внутренней логической структурой, импульсное воздействие формируют в виде псевдослучайных кодовых комбинаций импульсов, длительность которых равна максимальному времени задержки логической схемы , количество разр дов псевдослучайных кодовых комбинаций выбирают равным количеству выводов логической схемы, после каждого импульсного воздействи  регистрируют на выводах логической схемы электрические сигналы, считают вывод логической схемы ее выходом , если хот  бы при одном из возможных импульсных воздействий на данном выводе зарегистрирован электрический сигнал, задержанный относительно заднего фронта импульсного воздействи , считают вывод логической схемы входом, если ни при одном из возможных импульсных воздействий на выводе ке зарегистрирован электрический сигнал, задержанный относительно заднего фронта импульсного воздействи .A method of controlling logic circuits, which consists in supplying a nominal supply voltage to a logic circuit, impulses are applied to each circuit output, characterized in that, in order to expand the field of application by making it possible to define inputs and outputs of logic circuits with an arbitrary internal circuit. logical structure, the pulse effect is formed in the form of pseudo-random code combinations of pulses, the duration of which is equal to the maximum delay time of the logic circuit, the number of The pseudo-random code combination scans are chosen equal to the number of outputs of the logic circuit, after each pulse action the electrical signals are recorded on the logic circuit's outputs, consider the logic circuit output to be its output, if at one of the possible pulse effects an electrical signal is detected at this output, delayed relative to the rear front of the pulse action, consider the output of the logic circuit as an input, if none of the possible pulse effects at the output Stegeman electrical signal delayed relative to the trailing edge of pulse exposure. Камб. 1 КомЬ.1 КомЬЗ НомбЛ НомЬ. 2-1 Ном8.2 п Фаг.2Kamb. 1 COMM.1 COMM. Nom. 2-1 Nom8.2 p Phage.2
SU874326527A 1987-11-09 1987-11-09 Method for testing logic circuits SU1479900A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874326527A SU1479900A1 (en) 1987-11-09 1987-11-09 Method for testing logic circuits

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874326527A SU1479900A1 (en) 1987-11-09 1987-11-09 Method for testing logic circuits

Publications (1)

Publication Number Publication Date
SU1479900A1 true SU1479900A1 (en) 1989-05-15

Family

ID=21335602

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874326527A SU1479900A1 (en) 1987-11-09 1987-11-09 Method for testing logic circuits

Country Status (1)

Country Link
SU (1) SU1479900A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1206786, кл. G 06 F 11/26, 1986. Авторское свидетельство СССР № 1231479, кл. G 01 R 31/28, 1986. *

Similar Documents

Publication Publication Date Title
SU1479900A1 (en) Method for testing logic circuits
RU1812514C (en) Device for digital measurement of frequency
JPS5939707B2 (en) Digital signal processor function confirmation device
SU822053A1 (en) Pulse overload monitoring device
SU1598031A1 (en) Device for diagnosis of of systems of pulsed-phase control of thyristor converter
SU1631711A1 (en) Selector of pulse pairs
SU1739362A1 (en) Device for measuring time intervals
SU1529425A1 (en) Device for gating delayed sampled signals
JPS6233393Y2 (en)
SU1473077A1 (en) Device for monitoring a pulse train
SU1172001A1 (en) Device for converting pulse train to rectangular pulse
SU1436088A1 (en) Program control device for seismic signal source
SU1585759A1 (en) Apparatus for checking quality of sheet and coil materials
SU861965A1 (en) Multi-poit device for registering vibration parameters
SU734872A1 (en) Pulse selector
SU930637A1 (en) Device for forming time interval, equal to input signal period
SU1124313A1 (en) Device for automatic inspecting and trouble tracing
SU813748A2 (en) Pulse selector
SU951203A1 (en) Electronic device dynamic parameter meter
SU1676076A1 (en) Pulse train verifier
SU1322439A2 (en) Pulse generator
SU748290A1 (en) Device for measuring statistical characteristics of switching-over elements
SU1160550A1 (en) Single pulse shaper
SU845289A1 (en) Repetition rate scaler
SU884105A1 (en) Time interval converter