SU960781A1 - Device for calculating microprocessor system time intervals - Google Patents

Device for calculating microprocessor system time intervals Download PDF

Info

Publication number
SU960781A1
SU960781A1 SU803219326A SU3219326A SU960781A1 SU 960781 A1 SU960781 A1 SU 960781A1 SU 803219326 A SU803219326 A SU 803219326A SU 3219326 A SU3219326 A SU 3219326A SU 960781 A1 SU960781 A1 SU 960781A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
inputs
output
outputs
control
Prior art date
Application number
SU803219326A
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 SU803219326A priority Critical patent/SU960781A1/en
Application granted granted Critical
Publication of SU960781A1 publication Critical patent/SU960781A1/en

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C66/00General aspects of processes or apparatus for joining preformed parts
    • B29C66/80General aspects of machine operations or constructions and parts thereof
    • B29C66/84Specific machine types or machines suitable for specific applications
    • B29C66/861Hand-held tools
    • B29C66/8614Tongs, pincers or scissors

Landscapes

  • Complex Calculations (AREA)

Description

Изобретение относитс  к вычислительной технике и может быть использовано . в микропроцессорных вычислительных и управл ющих системах,.работающих в реальном масштабе времени , при проведении научных экспериментов и управлении технологическими процессами. Известен таймер дп  микропроцессорной системы, содержащий первый счетчик с заданным коэффициентом пересчета, работающий на вычитание и управл емый тактовыми сигналами, первый счетчик создает селе.ктивНо один из множества возможных выходных сигналов, частота которых получаетс  в результате делени  тактовой частот на Предварительно заданное число, не  вл ющеес  степенью двух. Первый счетчик подключаетс  к группе ад ресных шин дл  выбора одного из его выходов. Второй счетчик, работающий также в режиме вычитани ,подключаетс  к шинам данных дл  записи в него числа. Выход первого счетчика coe;c№i нен с входом второго счетчика. Когда второй счетчик досчитывает до нул , выдаетс  сигнал прерывани  в микропроцессор 111. Известно также устройство дл  вычислени  временных интервалов, содержащее счетчик, блок управлени , первый элемент И, элемент запрета, триггер, генератор, счетчик с принудительной установкой кода, группу элементов И-НЕ, второй элемент И и формирователь сигнала записи J. Нгдаболее; близким к предлагаемому  вл етс  программируемый таймер, содержащий приемопередатчики дайных, дедешифратор , блок управлени  и счетчики Недостатками прогр 1ммируемого таймера  вл ютс : отсутствие возможностей изменени  частоты тактовых импульсов по командам ЭВМ; запрещени  выдачи запросов на прерывание программы процессора; тактирЪвани  работы программируемого таймера от удаленного внешнего источника, а также , ввода в ЭВМ состо ни  сигналов запрета работы счетчиков. Дл  таймера измерение длительности импульсных сигналов, подаваекых на вход запрета счетчиков, должно осуществл тьс  программным способом путем последовательного опроса и анализа содержимого счетчиков. При этом период опроса состо ни  счетчиков должен быть больше периода тактовых импульсов на входе счетчика, что пр водит к замедлению реакции ЭВМ на и менение фронта импульса на врем , равное периоду опроса. Целью изобретени   вл етс  увели чение быстродействи  устройства. Указанна  цель достигаетс  тем, что в устройство дл  вычислени  вре менных интервалов микропроцессорных систем, содержащее блок приемопередатчиков , дешифратор, блок управлен и счетчики, причем первый вход-выход блока приемопередатчиков соединен с информационным входом-выходом устройства, первый и второй входы дешифратора подключены соответствен к адресному и управл ющему входамвыходам устройства, выходы управлени  считыванием-записью дешифратора соединены с входами разрешени  считывани  и записи блока управлени , выходы которого соединены с управл  ющими входами соответствующих счетчиков , второй вход-выход блока приемопередатчиков подключен к информационным входам- выходам счетчиков и адресному входу блока управлени , введены делитель частоты, коммутатор частоты, триггеры и элементы И по числу счетчиков, нормализатор уровн ,коммутатор импульсов и входной регистр, при этом управл ющий вход устройства соединен с входом делител  частоты, выход которого под ключен к информационному входу комму татора частоты, управл ющий вход которого соединен с вторым входом-выходом блока приемопередатчиков и входами установки триггеров, входы сброса которых подключены к выходу управлени  сбросом дешифратора, выходы триггеров соединены с первыми входами соответствующих элементов И вторые входы которых подключены к выходам соответствующих счетчиков, выходы элементов И соединены с информадионными выходами устройства, вход разрешени  коммутатора частоты подключен к выходу программировани  частоты дешифратора, дополнительный информационный вход устройства соеди нен с Входом нормализатора уровн , управл ющий вход входного регистра подключен к выходу управлени  приемом дешифратора, первый и второй вхо ды коммутатора импульсов соединены с выходами соответственно коммутатора частотй и нормализатора уровн , первый и второй выходы коммутатора импульсов подключены соответственно к тактовым входам и входам запрета счетчиков, а первый и второйинформа циониые входы-выходы входного регистра соединены соответственно с вторы входом-выходом блока приемопередатчи ков и вторым входом коь1мутатора импу .мьсов. Кроме того, нормализатор уровн  содержит выпр мители, фильтры и оптроны, при этом входы выпр мителей соединены с входом нормализатора , а их выходы - с входами соответствующих фильтров, входы оптронов подключены к выходам соответствующих фильтров, а выходы оптронов к выходу нормализатора. При этом блок управлени  содержит регистр, дешифраторы записи, дешифраторы считывани . Формирователи импульсов , триггеры управлени , счетные триггеры, первые и вторые элементы ИЛИ и коммутаторы по числу счетчиков , причем вход регистра соединен с адресным входом блока, а выход регистра подключен к информационным входам дешифраторов считывани  и записи,. управл ющие входы которых соединены с входами разрешени  считывани  и записи блока, выходы триггеров управлени , формирователей импульсов и элементов ИЛИ подключены к выходам блока, выходы дешифраторов считывани  соединены с входами формирователей импульсов и входами установки О триггеров управлени ,входы установки 1 которых подключены к входам разрешени  считывани  и записи блока, первые и вторые выходы дешифраторов записи соединены с пер- выми входами соответственно первых и вторых элементов ИЛИ, третьи выходы дешифраторов записи подключены к входам счетных триггеров и управл ющим входам коммутаторов, первые и вторые входы которых соединены соответственно с единичными и нулевыми выходами счетных триггеров, а пег рвые и вторые выходы коммутаторов подключены к вторым входам соответственно первых и вторых элементов ИЛИ. На фиг.1 представлена структурна  схема устройства; на фиг.2 - функциональна  схема блока управлени . Устройство содержит приемопередатчики 1 данных, соединенные с выходом дешифратора 2 и -внутренней шиной 3, к которой подключенысчетчики 4, блок 5 управлени , программно-управл емый коммутатор 6 частоты, регистр 7 и триггеры 8. Приемопередатчики 1 соединены с информационным входом-выходом 9 устройства, дешифратор 2 соединен с .адресным входом-выходом 10 и управл ющим входомвыходом 11 устройства. Блок 5 управлени  соединен с управл ющим входом каждого счетчика 4 шинами .12 и с выходом дешифратора 2 шиной 13. Дешифратор 2 соединен также с программноуправл емым ко чмутатором 6 частоты, регистром 7 и триггерами 8. Вход делител  14 частоты соединен с управл ющим входом 15 устройства. Выходы делител  14 частоты соед11нены с входами коммутатора б частстл. Одна из The invention relates to computing and can be used. in microprocessor-based computing and control systems that operate in real time, when conducting scientific experiments and managing technological processes. A microprocessor dp timer contains a first counter with a specified conversion factor, working on subtraction and controlled by clock signals, the first counter creates a village. But one of the many possible output signals whose frequency is obtained by dividing the clock frequencies by a Predetermined number, not which is a power of two. The first counter is connected to the address bus group to select one of its outputs. A second counter, also operating in subtraction mode, is connected to the data buses to write numbers to it. The output of the first counter coe; c№i is not with the input of the second counter. When the second counter counts to zero, an interrupt signal is output to the microprocessor 111. A device for calculating time intervals is also known, comprising a counter, a control unit, the first AND element, a prohibition element, a trigger, a generator, a counter with a forced installation of a code, a group of AND-NOT elements , the second element And the signal shaper recording J. Ngdabelya; A programmable timer containing daylight transceivers, de-scrambler, control unit and counters is close to the proposed one. The disadvantages of the 1mm timer program are: the lack of possibilities for changing the clock frequency on computer commands; prohibiting the issuance of requests for interruption of the processor program; tacting of the work of the programmable timer from a remote external source, as well as the input into the computer of the state of the prohibition signals of the counters. For the timer, the measurement of the duration of the pulse signals supplied to the meter inhibit input should be carried out programmatically by polling and analyzing the contents of the counters. In this case, the polling period of the state of the counters must be greater than the period of the clock pulses at the counter input, which leads to a slower response of the computer to the change of the pulse front by a time equal to the polling period. The aim of the invention is to increase the speed of the device. This goal is achieved by the fact that the device for calculating time intervals of microprocessor systems containing a transceiver unit, a decoder, a control unit and counters, the first input-output of the transceiver unit connected to the information input-output device, the first and second inputs of the decoder are connected to The address and control inputs of the device, the read / write control outputs of the decoder are connected to the read and write enable inputs of the control unit, the outputs of which are o are connected to the control inputs of the respective counters, the second input-output of the transceiver unit is connected to the information inputs-outputs of the counters and the address input of the control unit, a frequency divider, a frequency switch, triggers and elements And by the number of counters, level normalizer, pulse switch and input register, while the control input of the device is connected to the input of the frequency divider, the output of which is connected to the information input of the frequency switch, the control input of which is connected to the second input ohm-output of the transceiver unit and the trigger setup inputs whose reset inputs are connected to the decoder reset control output, the trigger outputs are connected to the first inputs of the corresponding elements and the second inputs of which are connected to the outputs of the corresponding counters, the outputs of the And elements are connected to the information outputs of the device, the switch enable input the frequency is connected to the output of the programming of the decoder frequency, the additional information input of the device is connected to the input of the level normalizer, pack The input input register input is connected to the decoder reception control output, the first and second inputs of the pulse switch are connected to the outputs of the frequency switch and the level normalizer, respectively, the first and second outputs of the pulse switch are connected to the clock inputs and the inhibit inputs, respectively, and the first and second information the inputs-outputs of the input register are connected respectively to the second input-output of the transceiver unit and the second input of the impedance module. In addition, the level regulator contains rectifiers, filters, and optocouplers, the rectifier inputs are connected to the normalizer input, and their outputs are connected to the inputs of the corresponding filters, the inputs of optocouplers are connected to the outputs of the corresponding filters, and the outputs of optocouplers to the output of the normalizer. In this case, the control unit contains a register, write decoders, read decoders. Pulse drivers, control triggers, counting triggers, first and second OR elements and switches by the number of counters, the register input connected to the address input of the unit, and the register output connected to the read and write decoder information inputs. the control inputs of which are connected to the read and write enable inputs of the control triggers, pulse drivers and OR elements are connected to the outputs of the read decoders and connected to the inputs of the pulse drivers and installation inputs O of control triggers whose installation inputs 1 are connected to the enable inputs read and write block, the first and second outputs of the write decoders are connected to the first inputs of the first and second OR elements, respectively, the third outputs of the decoder B are connected to inputs of flip-flops and counting control input of switch, first and second inputs of which are connected respectively with unit and zero outputs countable triggers and pegylated rvye and second switch outputs are connected to second inputs respectively of first and second OR elements. Figure 1 shows the structural diagram of the device; Fig. 2 is a functional block diagram of the control unit. The device contains data transceivers 1 connected to the output of the decoder 2 and the internal bus 3 to which the meters 4 are connected, the control unit 5, the program-controlled frequency switch 6, the register 7 and the triggers 8. The transceivers 1 are connected to the information input-output 9 of the device The decoder 2 is connected to the address input-output 10 and the control input output 11 of the device. The control unit 5 is connected to the control input of each counter 4 by buses .12 and to the output of the decoder 2 by bus 13. The decoder 2 is also connected to the software controlled frequency switch 6, the register 7 and the trigger 8. The input of the frequency divider 14 is connected to the control input 15 devices. The outputs of the divider frequency 14 are connected to the inputs of the switch used b parts. One of

групп входов коммутатора 16 импульсов соединена шиной 17 с выходами коммутатора б частоты/ друга  группа входов коммутатора 16 соединена шинами 18 с выходами нормализатора 19 уровн , входы которого соединены с дополнительным информационным входом 20 устройства. Одна из двух групп выходов коммутатора 16 соединена шиной 21 с входами тактовых импульсо счетчиков 4, .труга  гРУппа выходов коммутатора 16 соединена шиной. 22 с входами запрета счетчиков 4 и входами регистра 7. Выход каждого из триггеров 8 соединен с первым входом соответствующего элемента И 23, второй вход каждого из последних соединен с выходом соответствующего счетчика 4, а выходы элементов И 23 подключены к информационным выходам 24 устройства.the input groups of the switch 16 pulses are connected by bus 17 to the outputs of the frequency / friend switch b; the group of inputs of the switch 16 is connected by buses 18 to the outputs of the normalizer 19 level, the inputs of which are connected to the additional information input 20 of the device. One of the two groups of outputs of the switch 16 is connected by bus 21 to the inputs of clock pulses of counters 4, .group of the outputs of the switch 16 is connected by bus. 22 with the prohibition inputs of the counters 4 and the inputs of the register 7. The output of each of the flip-flops 8 is connected to the first input of the corresponding element AND 23, the second input of each of the latter is connected to the output of the corresponding counter 4, and the outputs of the elements And 23 are connected to the information outputs 24 of the device.

Нормализатор уровн  содержит выпр мители 25, входы которых соединены с входа1ии нормализатора, а выходы соответственно подключены к входам фильтров 26, выходы которых соединены соответственно с входами оптронов 27, выходы которых  вл ютс  выходами нормализатора 19 уровн .The level normalizer contains rectifiers 25, the inputs of which are connected to the input of the normalizer, and the outputs are respectively connected to the inputs of filters 26, the outputs of which are connected respectively to the inputs of optocouplers 27, the outputs of which are the outputs of the normalizer 19 level.

Блок управлени  (фиг.2) содержит регистр 28 и схемы 29 управлени  счетчиком, число которых соответствует числу счетчиков 4,причем регистрThe control unit (FIG. 2) contains a register 28 and a meter control circuit 29, the number of which corresponds to the number of counters 4, the register

28 имеет входы, соединенные с дешифратором 2 линией, принадлежащей шине 13, и с внутренней шиной 3, а также два выхода, соединенные с двум  из п ти входов каждой из схем 29 управлени  счетчиком. Кажда  схема 29 содержит дешифратор 30 записи и дешифратор 31 считывани , два формировател  32. импульсов и триггер 33 управлени . При этом разрешающий вход 34 дешифратора 30 записи, разрешающий вход 35 дешифратора 31 считывани  и вход 26 установки 1 триггера 33 соединены с выходами дешифратора 2 лини ми, принадлежащими шине 13. Дешифратор 30 записи имеет три выхода, соединенные с входагли первого формировател  импульсов, причем первый выход соединен с. первым входом элемента ИЛИ 37, второй с первым входом элемента ИЛИ 38, а третий - с входом счетнсэго триггера 39 и первым входом коммутатора 40. Счетный триггер 39 имеет два выхода, соединенные с вторым и третьим входами ком1 татора 40. Коммутатор 40 имеет два выхода, первый из которых соединен с вторым входом элемента ИЛИ 37, а второй - с вторым входом элемента ИЛИ 38, Выходы элемента ИЛИ 37 и элемента ИЛИ 38  вл ютс  выходами формировател  32 импульсов. Дешифратор 31 считывани  имеет четыipe выхода, три из которых соединены28 has inputs connected to the decoder 2 by a line belonging to the bus 13 and to the internal bus 3, as well as two outputs connected to two of the five inputs of each of the meter control circuits 29. Each circuit 29 comprises a write decoder 30 and a read decoder 31, two pulse drivers 32 and a control trigger 33. At the same time, the enable input 34 of the write decoder 30, the enable input 35 of the read decoder 31, and the input 26 of the setup 1 of the trigger 33 are connected to the outputs of the decoder by 2 lines belonging to the bus 13. The write decoder 30 has three outputs connected to the input of the first pulse generator, the first output connected to. the first input of the OR element 37, the second with the first input of the OR element 38, and the third with the input of the counting trigger 39 and the first input of the switch 40. The counting trigger 39 has two outputs connected to the second and third inputs of the switch 40. The switch 40 has two outputs The first of which is connected to the second input of the element OR 37, and the second to the second input of the element OR 38, The outputs of the element OR 37 and the element OR 38 are the outputs of the pulse former 32. The decoder 31 reads have four output ports, three of which are connected.

с входами второго формировател  32 ,|импульсов, а четвертый соединен с входом 41 установки О триггера 33; Выход триггера 33, выходы обоих формирователей 32 импульсов  вл ютс  выходами схемы 29 управлени  счетчиком и соединены с входами соответствующего счетчика 4. .with the inputs of the second driver 32, | pulses, and the fourth is connected to the input 41 of the installation Of the trigger 33; The output of the trigger 33, the outputs of both pulse formers 32 are outputs of the meter control circuit 29 and are connected to the inputs of the corresponding counter 4..

Устройство работает следующим об0 разом.The device works as follows.

: После включени  в состав микропроп цессорной системы устройство переходит в режим настройки. В этом режиме микропроцессорна  система с помощью : After the microprocessor system is included in the microprocessor system, the device enters the setup mode. In this mode, the microprocessor system using

5 команд вывода устанавливает значение тактовых частот .дл  каждого из счет- чиков 4, разрешает или запрещает форлтрование запросов прерывани  микропроцессорной системы по окончанию работы какого-либо из счетчиков 5 output commands sets the clock frequency for each of the 4 counters, enables or disables the forlting of microprocessor system interrupt requests after the completion of any of the counters

0 4 и задает тип записи в каждый из счетчиков 4 начального состо ни  счета или тип чтени  состо ни  дл  кадого из счетчиков 4. Необходимость определени  типа записи начального 0 4 and specifies the type of record in each of the counters 4 of the initial state of the account or the type of reading of the state for each of the counters 4. The need to determine the type of record of the initial

5 состо ни  в счетчик 4 или типа чтени  состо ни  счетчика 4 вызвана тем, , что разр дность микропроцессорных систем, как правило, мала и составл ет 8 или 16 разр дов. В то же вре0 м  ,. дл  повышени  эффективности, ра боты устройства в составе системы желательно, чтобы счетчики 4 имели большую разр дность. В данном устройстве разр дность счетчиков 4 может The 5 states in the counter 4 or the reading type of the state of the counter 4 are caused by the fact that the microprocessor systems are usually small and 8 or 16 bits. At the same time,. To increase the efficiency of the device as part of the system, it is desirable that the counters 4 have a large size. In this device, the counter size 4 can

5 в два раза превышать разр дность микропроцессорной системы, в- составе которой работает устройство. В этом случае начальное досто ние может за носитьс  одной командой выводаиз 5 is twice the size of the microprocessor system in which the device operates. In this case, the initial value may be worn with a single output command.

0 микропроцессорной системы только в старшие или только в младшие разр ды .счетчика 4. Аналогично, одной командой ввода в Микропроцессорную систему может быть считано состо ние только старших или только младших разр дов счетчика 4.0 of the microprocessor system only in the older or only in the younger bits of the counter 4. Similarly, a single input command to the microprocessor system can read only the status of the older or only the younger bits of the counter 4.

Блок 5 управлени  обеспечивает три типа записи начального состо ни  .и чтени  состо ни  счетчика 4:1 тип запись (чтение) младшей полови-ны раз0 р дов счетчика; тип 2 - запись ( i ние) старшей половины разр дов счет-чика; тип 3 - запись (чтение) сначала младшей, а затем старшей половины разр дов счетчика двум  последова5 тельными командакм вывода- (ввода) микропроцессорной системы.The control unit 5 provides three types of recording of the initial state. And reading of the state of the counter 4: 1 type of writing (reading) of the lower half of the counter; type 2 - recording (i ning) of the upper half of the bit counts; Type 3 - writing (reading), first of the younger and then the upper half of the counter bits, to two consecutive commands for output (input) of the microprocessor system.

Задание значени  тактовой частоты , разрешение или запрет формировани  запросов прерывани , выбор типа . Setting the clock frequency value, enabling or disabling the generation of interrupt requests, selecting the type.

0 записи начсшьного состо ни  (чтени  состо ни .) дл  каждого счетчика 4 выполн етс  микропроцессорной смете- . мой отдельно заданием управл ющих слов, которые- поступают из системы в устройство по входам-выходам 9-11.0, the write of the initial state (reading of the state.) For each counter 4 is performed by a microprocessor-based estimate. My separate assignment of control words that come from the system to the device at the inputs-outputs 9-11.

Claims (3)

5 Деитфратор 2 разрешает приемопередатчикам 1 передать управл ющее сло через внутреннюю шину 3 в коммутатор б частоты дл  определени  значе ний тактовых частот дл  каждого из счетчиков 4, либо в триггер 8 дл  разрешени  или запрещени  формировани  запросов прерывани  по оконча нии работы счетчиков 4, либо в регистр 28 блока 5 управлени  дл  определени  типа записи начального со сто ни  в счетчик 4 или чтени  состо ни  счетчик 4. После этого устройство переходит в режим загрузки начального состо ни , В этом режиме из микропроцессорной системы по входу-выходу 9 в устройство поступает код начального состо ни , который через приемопере датчики 1 и внутреннюю шину 3 посту пает на входы выбранного счетчика 4 Занесение начального состо ни  в старшую или младшую половину разр дов счетчика 4 производитс  стробам записи, поступающими в соответствую щий счетчик 4 по шине 12 из блока 5 управлени  (с выхода элемента ИЛИ 3 первого формировател  32 - .в младшу половину разр дов счетчика, а с вых да элемента ИЛИ 38 первого формировател  32 - в старшую половину разр дов счетчика) . В случае выбора трет го типазагрузки начального состо ни  на третьем выходе дешифратора 30 записи соответствующей схемы 29 по витс  импульс-, который поступа . ет на первый вход коммутатора 40. Так как триггер 39 находитс  первоначально в нулевом состо нии, то импульс с первого входа коммутатора 40 поступит.на первый выход и далее на. второй вход элемента ИЛИ 37, что обусловит по вление на выходе элеме нта ИЛИ 37 строба записи в младшую половину разр дов счетчика 4. По заднему фронту импульса на третьем выходе дешифратора 30 записи триггер 39 перейдет в состо ние единила и при повторном возникновении ;импульса на третьем выходе дешифрат ра 30 (т.е.. при втором обращении-си стемы к устройству с целью записи в старшую половину разр дов счетчика ) импульс, поступивший с третьего выхода дешифратора 30 на первый вход коммутатора 40, вызовет По вление импульса на втором выходе коммутатора 40, который вызовет по вле.ние на выходе элемента ИЛИ 38 строба записи в старшую половину разр дов счетчика 4. По окончании загрузки устройство переходит в режим счета. В этом режиме на входы тактовых импульсов счетчиков 4 по шине 21 из коммутдтора 16 поступают тактовые импулйсы которые передаютс  в коммутатор 16 по шине 17 из коммутатора 6 или по шине 18 из нормализатора 19 уровн . Выбор конкретного источника такто-. вых импульсов осуществл етс  распайкой перелычек в коммутаторе 16. По входу 15 из системы в делитель 14 частоты поступает последовательность. импульсой, из которой .делителем 14 частоты формируетс  несколько последовательных импульсов различных частот, например 1 мГц, 10 кГц, 1 кГц и т.д., которые поступают на вход коммутатора б. На выход коммутатора 6 выдаютс  последовательности импульсов,. частота которых определ етс  управл ющим словом, записанным в устройство в режименастройки. Эти последовательности подаютс  на входы тактовых импульсов соответствующих счетчиков 4. При необходимости коммутатор 16 может быть перестроен таким образом, чтобы на шину 21 подавались последовательности импульсов от внешних источников по входу 20 через нормализатор 16 уровн . Наличие нормализатора 19 позвол ет обеспечить тактирование счетчи1):ов 4 внешними устройствами, формирующими .импульсы, характеристики которых могут измен тьс  в широком -диапазоне значений. Каждый импульс, поступающий из коммутатора 16 на вход соответствующего счетчика 4, уменьшает его содержимое на единицу, При возникновении в счетчике 4 сигналазаема из старшего разр да на выходе счетчика по витс  сигнал., который поступает на вход соответствующего элемента И 23. При наличии разрешающего потенциала на выходе триггера 8 на выходе элемента И 23 по витс  сигнал запроса.прерывани , который по соответствующему .выходу 24 поступит в микропроцессорную систему. Это означает,что временной интервал, от- считываемлй данным счетчиком, истек, и что в этот счетчик может быть загружено новое начальное состо ние, т.е. устройство перейдет в режим загрузки , Работа каждого счетчи1 а может быть приостановлена внешними устройствами с помощью сигналов, подаваемых из нормализатора 19 ур9вн , на входа запрета.- счетчиков 4. Эти же сигналы одновременно подаютс  на входы регистра 7 и их состо ние может быть опрошено системой с помощью команды ввода через внутреннюю шину 3, что позвол ет: контролировать состо ние сигналов запрета работы счетчиков 4 и определ ть их длительность. Состо ние кадого счетчика 4 может быть опрошено системой с помощью команд ввода, С целью повышени  точности о.проса состо ни  счетчиков 4 перед выполнением команд ввода состо ни  счетчика 4 система заносит в регистр 28 блока 5 управлени  управл ющее слово, которое принимаетс  дешифратором 31 соответствующей схемы 29. На четвертом выходе дешифратора 31 по вл етс  импульс, который поступает Ни вход 41 установки О три гера 33. с ёыхода триггера 33 нулев потенциал на входе соответствующего счетчика 4 фиксирует его содержимое которое может быть передано в систему в соответствии с заданным режимом чтени . Функци,онирование блока. 5 управлени  в режиме чтени  полностью соответствует его функционированию в режиме записи начального состо ни . По окончанию чтени  состо ни  выбран ного счетчика 4 депшфратор 2 подает на вход 41 триггера 33 импульс, сни . мающий блокировку содержимого счетчик Формула изобретени  1. Устройство дл  вычислени  временных интервалов микропроцессорных систем, содержащее блок приемопередатчиков , дешифратор, блок управлени  и счетчики, причем первый входвыход блока приемопередатчиков соединен с информационным входом-выходом устройства, первый и второй входы дешифратора подключены -соответственно к адресному и управл ющему входам-вы ходам устройства, выходы управлени  считыванием - записью дешифратора соединены с входами разрешени  считывани  и записи блока управлени , выходы которого соединены с управл ющими входами соответствующих счетчиков, второй вход-выход бло ка приемопередатчиков подключен к информационным входам-выходам счетчиков и адресному входу блока управлени , отличающеес  тем что, с целью увеличени  быстродействи , оно содержит делитель частоты, коммутатор частоты, триггеры и элементы И по числу счетчиков, нормализатор уровн , коммутатор импульсов и входной регистр, при этом управл ющий вход устройства соединен с входо делител  частоты, выход которого под ключен к информационному входу коммутатора частоты, управл ющий вход которого соединен с вторым входомвыходом блока приемопередатчиков и входами установки триггеров, входы сброса которых подключены к выходу управлени  сбросом дешифратора, выходы триггеров соединены с первыми входами соответствующих элементов И вторые входы которых подключены к выходам соответствующих счетчиков, В.ЫХО-ДЫ элементов И соединены с информационными выходами устройства, ход разрешени  коммутатора частоты, подключен к выходу программировани  частоты дешифратора, дополнительный. информационный вход устройства соединен с входом нормализатора уровн , .управл ющий вход входного регистра подключен к выходу управлени  приеiMoM дйдифратора, первый и второй входы коммутатора импульсов соединены с выходами соответственно коммутатора- частоты и нормализатора уровн , первый и второйвыходы коммутатора импульсов подключены соответственно к тактовым входам и входам запрета счетчиков, а первый и второй информационные входы-выходы входного регистра соединены соответственно с вторым входом-выходом блока приемопередатчиков и вторым входом коммутатора , импульсов. 2.Устройство по п.1, о тли чающеес  тем, что нормали;3атрр уровн  содержит выпр мители, фильтры и оптроны, при этом входы выпр мителей соединены со входом нормализатора, а их выходы - с входами соответствующих фильтров, входы оптронов подключены к выходам соответствующих фильтров, а выходы оптронов - к выходу нормализатора. 3.Устройство по П.1, о тли ч а ю -щ е е с   тем, что блок управлени  содержит регистр, дешифраторы записи, дешифр-торы считывани , формирователи импульсов, триггеры управлени , счетные триггеры, первые и вторые элементы ИЛИ и коммутаторы по числу счетчиков, причем вход регистра соединен с адресным входом блока, а выход регистра подключен к информационным входам дешифраторов считывани  и записи, управл ющие входы которых соединены с входами разрешени  считывани  и записи блока, выходы триггеров управлени  , формирователей импульсов и элементов ИЛИподключены к выходам блока, выходы дешифраторов считывани  соединены с входами формирователей импульсов и входами установки О триггеров управлени ,входы установки 1 которых подключены к входам разрешени  считывани  и записи блока, первые и вторые выхода Дешиф- . раторов записи соединены с первыми входами соответственно первых и вторых элементов ИЛИ, третьи выходы дешифраторов записи подключены к входам счетных триггеров и управл ющим входам коммутаторов, первые и вторые входы которых,соединены соответственно с единичными и нулевыми выходами счетных триггеров, а первые и вторые выходы коммутаторов подключены к вторым входам соответственно первых и вторых элементон ИЛИ. Источники информации, прин тые во внимание при экспертизе 1.Патент США № 4099232, кЛ.С 06 F.1/04, опублик. 1978. 5 Deitfrator 2 allows transceivers 1 to transfer the control layer through the internal bus 3 to the frequency switch b to determine the clock frequency values for each of the counters 4 or to the trigger 8 to allow or prohibit the generation of interrupt requests after the counters 4 terminate or in the register 28 of the control unit 5 for determining the type of recording of the initial state from the counter 4 or the state 4 reading. After that, the device switches to the initial state loading mode. In this mode, from the microprocessor system at the input-output 9, the device receives the initial state code, which, through the transceiver, sensors 1 and the internal bus 3, enters the inputs of the selected counter 4, recording the initial state to the high or low half of the bits of the counter 4 is produced by recording gates arriving at the corresponding counter 4 via bus 12 from control block 5 (from the output of the OR 3 element of the first generator 32 —in the lower half of the digit of the counter, and from the output of the OR element 38 of the first generator 32 — to the older half of the counter bits). In the case of selecting the third type of loading of the initial state at the third output of the decoder 30 of the recording of the corresponding circuit 29 according to the pulse that is received. em to the first input of the switch 40. Since the flip-flop 39 is initially in the zero state, the pulse from the first input of the switch 40 will go to the first output and then to. the second input of the element OR 37, which will cause the output at the output of the element OR 37 of the write strobe in the lower half of the bits of the counter 4. On the falling edge of the pulse at the third output of the decoder 30 of the recording, the trigger 39 goes into a single state and when it reappears; the third output of the decryptor 30 (i.e. during the second call of the system to the device to write to the upper half of the digit of the counter) the pulse received from the third output of the decoder 30 to the first input of the switch 40 will cause the appearance of a pulse at the second output com 40, which will cause an output at the output of the OR element 38 of the write strobe to the upper half of the digits of the counter 4. When the loading is completed, the device switches to the counting mode. In this mode, the clock impulses of the counters 4 pass through the bus 21 from the commutator 16 to the clock impulses that are transmitted to the switch 16 via the bus 17 from the switch 6 or via the bus 18 from the level normalizer 19. Selection of a particular source tact. output pulses are performed by soldering the bursts in the switch 16. At the input 15, a sequence is fed to the frequency divider 14 from the system. a pulse from which a frequency divider 14 generates several consecutive pulses of different frequencies, for example 1 MHz, 10 kHz, 1 kHz, etc., which are fed to the input of switch b. A sequence of pulses are output to the output of the switch 6. the frequency of which is determined by the control word recorded in the device in the tuning mode. These sequences are supplied to the clock inputs of the respective counters 4. If necessary, the switch 16 can be rebuilt so that the bus 21 is supplied with a sequence of pulses from external sources at the input 20 through the level normalizer 16. The presence of the normalizer 19 allows the clocking of the counters 1): 4 external devices to form pulses, the characteristics of which can vary over a wide range of values. Each pulse arriving from switch 16 to the input of the corresponding counter 4 reduces its contents by one. When occurring in counter 4, the signal from the high discharge at the output of the counter is signaled by a signal. at the output of the trigger 8 at the output of the element 23, the wits interrupt request signal, which is transmitted to the microprocessor system via the corresponding output 24. This means that the time interval read by this counter has expired, and that a new initial state can be loaded into this counter, i.e. the device will go into boot mode. The operation of each counter1 can be suspended by external devices using signals from the normalizer 19 level 19vvn to the inhibit inputs. counters 4. The same signals are simultaneously sent to the inputs of register 7 and their status can be interrogated by the system using the input command via the internal bus 3, which allows: to monitor the status of the signals prohibiting the operation of the counters 4 and determine their duration. The state of each counter 4 can be interrogated by the system using input commands. In order to improve the accuracy of the interrogation of the state of counters 4, before executing the instructions for entering the state of counter 4, the system enters the control word 28 in the control block 5 of the control word 5, which is received by the decoder 31 of the circuit 29. At the fourth output of the decoder 31, a pulse appears. Neither the input 41 of the installation O three Gera 33. From the output of the trigger 33, the potential at the input of the corresponding counter 4 captures its contents which can be edano a system in accordance with a predetermined reading mode. Function, block blocking. 5 control in the read mode is fully consistent with its operation in the write mode of the initial state. At the end of the reading of the state of the selected counter 4, the depotfrater 2 supplies to the input 41 of the flip-flop 33 a pulse, lower. content blocking counter Formula of the invention 1. A device for calculating time intervals of microprocessor systems comprising a transceiver unit, a decoder, a control unit and counters, the first input of the transceiver unit being connected to the information input output of the device, the first and second inputs of the decoder are connected to the address and to the control inputs-outputs of the device, the read-write control outputs of the decoder are connected to the read and write enable inputs the control locus, the outputs of which are connected to the control inputs of the respective counters, the second input-output of the transceiver unit is connected to the information inputs-outputs of the counters and the address input of the control unit, characterized in that it contains a frequency divider, a frequency switch, triggers and elements Both by the number of counters, the level normalizer, the pulse switch and the input register, and the control input of the device is connected to the input of a frequency divider whose output is connected to and The information input of the frequency switch, the control input of which is connected to the second input of the transceiver unit and the trigger setup inputs, the reset inputs of which are connected to the output of the decoder reset control, the trigger outputs are connected to the first inputs of the corresponding elements And the second inputs of which are connected to the outputs of the corresponding counters, B. The elements are connected to the information outputs of the device; the resolution of the frequency switch is connected to the decoder frequency programming output extra. the information input of the device is connected to the input of the level normalizer, the control input of the input register is connected to the control output of the di- distractor iMoM, the first and second inputs of the pulse switch are connected to the outputs of the switch-frequency and the normalizer respectively, the first and second outputs of the pulse switch are connected to the clock inputs and the inputs of the prohibition of counters, and the first and second informational inputs-outputs of the input register are connected respectively to the second input-output of the transceiver unit Cove and the second input of the switch pulses. 2. The device according to claim 1, which is normal in that the normals; the 3 rd level contains rectifiers, filters and optocouplers; the rectifier inputs are connected to the normalizer input, and their outputs are connected to the inputs of the corresponding filters, the inputs of the optocouplers are connected to the outputs appropriate filters, and the outputs of the optocouplers - to the output of the normalizer. 3. The device according to Claim 1, which means that the control block contains a register, write decoders, read decoders, pulse drivers, control triggers, counting triggers, first and second OR elements, and switches by the number of counters, the register input is connected to the address input of the block, and the register output is connected to read and write decoder information inputs, the control inputs of which are connected to the block read and write enable inputs, control trigger outputs, pulse drivers and ale ntov ILIpodklyucheny to block outputs, the outputs of the decoders are connected to inputs read pulse shapers and install O control inputs of flip-flops, the apparatus 1 inputs of which are connected to enable input and read a recording block, first and second output Deshif-. Recorders are connected to the first inputs of the first and second OR elements, respectively, the third outputs of the write decoders are connected to the inputs of the counting triggers and the control inputs of the switches, the first and second inputs of which are connected to the single and zero outputs of the counting trigger, respectively, and the first and second outputs of the switches connected to the second inputs, respectively, the first and second elemental OR. Sources of information taken into account in the examination 1. US patent number 4099232, CL 06 F.1 / 04, published. 1978 2.Авторское свидетельство СССР № 547723, КЛ.С 04 F. 10/04, 1976. 2. USSR Author's Certificate No. 547723, KL.S 04 F. 10/04, 1976. 3.Intel component data catalog. .19.79, с. 11-32-11-42.3.Intel component data catalog. .19.79, p. 11-32-11-42. 2626 1515 ТT IQIq
SU803219326A 1980-10-10 1980-10-10 Device for calculating microprocessor system time intervals SU960781A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU803219326A SU960781A1 (en) 1980-10-10 1980-10-10 Device for calculating microprocessor system time intervals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU803219326A SU960781A1 (en) 1980-10-10 1980-10-10 Device for calculating microprocessor system time intervals

Publications (1)

Publication Number Publication Date
SU960781A1 true SU960781A1 (en) 1982-09-23

Family

ID=20932424

Family Applications (1)

Application Number Title Priority Date Filing Date
SU803219326A SU960781A1 (en) 1980-10-10 1980-10-10 Device for calculating microprocessor system time intervals

Country Status (1)

Country Link
SU (1) SU960781A1 (en)

Similar Documents

Publication Publication Date Title
JPS6049354B2 (en) Event occurrence recording method
WO2000023895A1 (en) Signal processing apparatus with memory access history storage
SU960781A1 (en) Device for calculating microprocessor system time intervals
JPS57135500A (en) Data memory protecting circuit
JPH06187256A (en) Bus trace mechanism
SU902325A1 (en) Device for interrogation of information sensors
SU1128266A1 (en) Device for collecting statistical data concerning operation of computer programs
SU1425683A1 (en) Device for debugging software/hardware blocks
SU572846A1 (en) Memory control block
SU1363219A1 (en) Device for debugging program-equipment units
SU1478247A1 (en) Indicator
SU877588A1 (en) Device for production counting
SU1348839A1 (en) Device for debugging program hardware-controlled units
SU526882A1 (en) Device for entering information about object parameters into an electronic computer
SU1173414A1 (en) Program control device
SU1086419A1 (en) Function generator
SU1179349A1 (en) Device for checking microprograms
JPS6273358A (en) Control method for microcomputer and its peripheral device
SU1213485A1 (en) Processor
SU1552189A1 (en) Device for monitoring programs
SU1485152A1 (en) Impedance parameter microprocessor meter
SU1642472A1 (en) Device for checking the sequence of operatorъs actions
SU1425714A1 (en) Analyzer of electric signals
SU1062682A1 (en) Device for interface among computer and discrete-type transducers
SU1410048A1 (en) Computing system interface