SU1401465A1 - Memory control device - Google Patents

Memory control device Download PDF

Info

Publication number
SU1401465A1
SU1401465A1 SU864156630A SU4156630A SU1401465A1 SU 1401465 A1 SU1401465 A1 SU 1401465A1 SU 864156630 A SU864156630 A SU 864156630A SU 4156630 A SU4156630 A SU 4156630A SU 1401465 A1 SU1401465 A1 SU 1401465A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
information
register
inputs
Prior art date
Application number
SU864156630A
Other languages
Russian (ru)
Inventor
Андрей Сергеевич Ананьин
Александр Иванович Ляхов
Сергей Леонидович Улыбин
Original Assignee
Предприятие П/Я А-3517
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 Предприятие П/Я А-3517 filed Critical Предприятие П/Я А-3517
Priority to SU864156630A priority Critical patent/SU1401465A1/en
Application granted granted Critical
Publication of SU1401465A1 publication Critical patent/SU1401465A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в аппаратных и гибридных мониторах дл  регистрации хода программ. Целью изобретени   вл етс  повышение быстродействи . ,Дп  этого в уст. ройство, содержащее два регистра, блок пам ти, три счетчика, элемент ИЛИ, два элемента И, дополнительно введены четыре регистра, формирователь импульса, четыре элемента И, регистр сдвига, мультиплексор. Устройство не требует на врем  считывани  информации блокировки записи. Пословное считывание информации из блока пам ти производитс  в паузах между циклами записи. 1 ил.The invention relates to computing and can be used in hardware and hybrid monitors to record the course of programs. The aim of the invention is to increase speed. Dp this in the mouth. An array containing two registers, a memory block, three counters, an OR element, two AND elements, four registers additionally are added, a pulse driver, four AND elements, a shift register, a multiplexer. The device does not require for the time of reading the write lock information. The word-by-word reading of information from the memory block is performed in pauses between write cycles. 1 il.

Description

4 О5 О14 O5 O1

Изобретение относитс  к вычислительной технике и может быть использовано в аппаратных и гибридных мониторах дл  регистрации хода программ. The invention relates to computing and can be used in hardware and hybrid monitors to record the course of programs.

Целью изобретени   вл етс  повышение быстродействи .The aim of the invention is to increase speed.

На черетеже представлена схема устройства.On the drawing is a diagram of the device.

Устройство содержит -вход 1 paspe шени  записи, триггер 2, элемент ИЛИ 3, триггер 4, информационный вход 5, регистр 6, элемент И 7, регистр 8 сдвига, триггер 9, мультиплексор 10, счетчик 11,блок 12 пам ти, элементы И 13 и 14, формирователь 15 импульса , элементы И 16 и 17, вход 18 разрешени  считывани , триггер 19, элемент И 20, счетчик 21, счетчик 22, регистр 23, информационный выход 24, выход 25 признака считывани ,-выходThe device contains -input 1 record recording, trigger 2, element OR 3, trigger 4, information input 5, register 6, element 7, shift register 8, trigger 9, multiplexer 10, counter 11, memory block 12, and elements 13 and 14, pulse shaper 15, elements AND 16 and 17, read resolution input 18, trigger 19, AND element 20, counter 21, counter 22, register 23, information output 24, read sign output 25, output

26признака ошибки, тактовый вход 27.26 error indication, clock input 27.

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

В исходном состо нии все триггеры (кроме триггера 9), счетчики и регисры сброшены в О, триггер 9 установлен в 1.In the initial state, all the triggers (except trigger 9), counters and registers are reset to O, trigger 9 is set to 1.

Одновременно с информацией о ходе отлаживаемой программы на вход 1 разрешени  записи приходит сигнал, который передаетс  на вход установки в 1 триггера 2 и взводит его. В результате уровень логической 1, сформированный на выходе триггера 2, подаетс  на первый вход элемента ИЛИ 3. Одновременно этот же потенциал подаетс  на информационный вход триггера 4.Simultaneously with the information on the course of the program being debugged, a signal arrives at the input 1 of the recording resolution, which is transmitted to the input of the setup in 1 trigger 2 and cocks it. As a result, the logic level 1 formed at the output of flip-flop 2 is fed to the first input of the element OR 3. At the same time, the same potential is fed to the information input of flip-flop 4.

Информаци  о ходе отлаживаемой прграммы , приход ща  на информационньй вход устройства 5, далее подаетс  на информационные входы регистра 6, Запись в регистр 6 производитс  по сиг налу, поступаклцему с входа 1 устройства на вход разрешени  записи регистра 6.The information about the progress of the program being debugged, arriving at the information input of the device 5, is then fed to the information inputs of the register 6. Recording to the register 6 is performed by a signal received from the input 1 of the device to the input of the resolution of the recording of record 6.

Единичньй сигнал с выхода элемента ИЛИ 3 подаетс  на первый вход эле мента И 7, на второй вход которого поступают тактовые импульсы с входаA single signal from the output of the element OR 3 is fed to the first input of the element AND 7, the second input of which receives the clock pulses from the input

27устройства.27 devices.

Таким образом, пока установлен в единицу триггер 2, на выход элемента И 7 посто нно проход т тактовые импульсы , которые далее поступают на .вход синхронизации регистра 8 сдвигаThus, while the trigger 2 is set to one, the clock pulses constantly pass to the output of the And 7 element, which then goes to the synchronization input of the shift register 8

Первый тактовый импульс записывае Б первый разр д регистра В 1, приход щую на вход управлени  сдвигом регистра 8 с выхода триггера 9. Единичный сигнал с выхода первого разр да регистра 8 поступает на вход установки в О триггера 9 и на вход синхронизации триггера 4. При этом на вьрсоде триггера 9 по вл етс  О, а на пр мом выходе триггера 4 1, котора , поступив на управл ющий вход мультиплексора 10, разрешает прохождение через него информации со счетчика 11. По вившийс  в результате этого двоичный код на выходе мультиплексора 10, поступает на адресные входы блока 12 пам ти, определ   тем самым адрес  чейки, в которую записываетс  информаци .The first clock pulse is written B to the first register bit B 1, arriving at the input of the register 8 shift control from the trigger output 9. A single signal from the first register bit 8 output is fed to the setup input at the O flip-flop 9 and to the sync trigger input 4. At This appears on the trigger 9, O, and on the forward output of the trigger 4 1, which, arriving at the control input of the multiplexer 10, allows information from counter 11 to pass through it. The resulting binary code at the output of the multiplexer 10, arrives on addr waist section 12 inputs the memory, thereby determining the address of the cell in which information is recorded.

Второй тактовый импульс сдвигает 1 во второй разр д регистра 8, а в первый разр д записывает О, приход щий на вход управлени  сдвигом регистра 8 с триггера 9. Единичньй сигнал с выхода второго разр да регистра 8 поступает на вторые входы элементов И 13 и 14, первые входы которых соединены соответственно с пр мым и инверсным выходами триггера 4.The second clock pulse shifts 1 to the second bit of register 8, and to the first bit writes O, coming to the input of the shift register control 8 from the trigger 9. The single signal from the output of the second bit of the register 8 goes to the second inputs of the And 13 and 14 elements , the first inputs of which are connected respectively to the direct and inverse outputs of the trigger 4.

Сформированньй в результате этого на выходе элемента И 13 единичный сигнал поступает на вход разрешени  записи блока 12. пам ти. По данному сигналу происходит запись информации о ходе отслеживаемой программы с регистра 6 в нулевую  чейку (содержимо счетчика 11 в исходном состо нии обнулено ) блока 12 пам ти.As a result, a single signal at the output of the element And 13 is fed to the input of the recording resolution of the memory block. This signal records the progress of the monitored program from register 6 to the zero cell (contained in the initial state zeroed by counter 11) of memory block 12.

Третий тактовый импульс сдвигает 1 в третий разр д регистра 8, а во второй разр д аналогично записыва- ет О.The third clock pulse shifts 1 to the third digit of register 8, and in the second digit it records O in a similar way.

Единичный сигнал с выхода третьего разр да регистра 8 поступает на вход формировател  15 импульса. Сформированньй в результате этого на выходе элемента 15 сигнал определенной длительности поступает на вторые входы элементов И 16 и 17, первые входы которых соединены соответственно с пр мым и инверсным выходами триггера 4.A single signal from the output of the third bit of register 8 is fed to the input of the pulse former 15. Formed as a result, at the output of the element 15, a signal of a certain duration arrives at the second inputs of the elements 16 and 17, the first inputs of which are connected to the direct and inverse outputs of the trigger 4, respectively.

Одновременно сигнал с выхода формровател  15 импульса поступает на вход установки в 1 триггера 9 и регистра 8 сдвига. В результате ре 1401465 At the same time, the signal from the output of the pulse shaper 15 is fed to the input of the setup in 1 trigger 9 and shift register 8. As a result of re 1401465

г истр 8 обнул етс , а триггер 9 уста- с выхода элемента И 17, производитс  навливаетс  в единичное состо ние. запись информации в регистр 23, выНа выходе элемента И 16 вьграбаты- ход которого соединен с информацион- ваетс  единичный сигнал, который, по- ступа  на сченый вход счетчика 11, увеличивает его содержимое на единицу , таким образом происходит переадресаци  блока пам ти.The trigger 8 is zeroed out, and the trigger 9 is set at the output of the element 17 and is completed, it is poured into a single state. recording information into register 23, at the output of the element AND 16 of the rag- ing, the course of which is connected to the information signal of a single signal, which, when inputting the counted input of the counter 11, increases its content by one, thus the memory block is redirected.

Одновременно импульс с выхода эле-ю выхода элемента И 17 одновременно мента И 16 поступает на вход установ- поступает на выход признака считы- ки в О триггера 2 и сбрасывает его, вани  устройства и на вход установки в результате регистр 8 блокируетс .At the same time, the pulse from the output of the element's output of the element And 17 simultaneously of the instruction And 16 arrives at the input of the set- comes at the output of the readout sign in O of the flip-flop 2 and resets it, the device and the input of the installation as a result, the register 8 is blocked.

Процесс считывани  информации из блока пам ти начинаетс  с момента по-15  чеек блока 12 пам ти. С выхода эле-  влени  на входе 18 сигнала разреше- мента И 16 при записи в  чейку или сThe process of reading information from the memory block starts from the time of the 15 cells of the memory block 12. From the output of the input on input 18 of the signal of the AND 16 when recording into a cell or with

выхода элемента И 17 при считывании сформированные импульсы подаютс  соным выходом 24 устройства.the output element And 17 when read, the generated pulses are supplied to the sleepy output 24 of the device.

Переадресаци  блока пам ти производитс  импульсом, сформированным на. выходе элемента И 17 и поступающим на вход +1 счетчика 22. Сигнал сThe memory block is redirected by the pulse generated on. the output element And 17 and arriving at the input +1 of the counter 22. The signal from

в О триггера 19, сбрасыва  его. Счетчик 21 определ ет заполнениеin About trigger 19, dropping it. Counter 21 determines fill

ни  считьшани , который поступает на вход установки в 1 триггера 19 и взводит его. Сигнал, сформированный на выходе триггера 19, поступает 20 счетчика 21, измен   его содержимое. на первый вход элемента И 20, на вто- В случае заполнени  всех  чеек накоответственно на входы ЧГ или -1Do not count the shanni that enters the input of the setup in 1 trigger 19 and cocks it. The signal generated at the output of the trigger 19, receives 20 counter 21, changing its contents. On the first input of the element I 20, on the second In the case of filling all the cells, respectively, on the inputs of FH or -1

пител  (переполнение счетчика 21) сигнал Ошибка с выхода переполнени  подаетс  на выход 26 признака 25 ошибки устройства.Pitel (counter overflow 21) signal Error from the overflow output is output to output 26 of the sign 25 of the device error.

рой вход которого заводитс  сигнал с выхода О счетчика 21.A swarm whose input gets a signal from the output of counter 21.

Сигнал на выходе элемента И 20 по вл етс  лишь в том случае, если в блоке пам ти заполнена хот  бы одна  чейка.The signal at the output of the AND element 20 appears only if at least one cell is filled in the memory block.

Сигнал с выхода элемента И 20 поступает на вход элемента ИЛИ 3. Сформированньм в результате этого на выходе элемента ИЛИ 3 единичный сигнал, поступа  на первый вход элемента И 7, разрешает прохождение через него тактовой частоты, поступающей на второй вход элемента И 7.The signal from the output element And 20 enters the input element OR 3. Formed as a result, the output element OR 3 single signal received at the first input element And 7, allows the passage through it of the clock frequency supplied to the second input element And 7.

Аналогично процессу записи происходит запуск и работа регистра В сдвига.Similar to the write process, the shift register starts and operates.

По поступлении на вход синхронизации триггера 4 единичного сигнала с первого выхода первого разр да регистра 8 сдвига, на пр мом выходе триггера 4 устанавливаетс . О, на инверсном - 1. В результате этого на управл ющем входе мультиплексора 10 присутствует управл ющий сигнал, разрешающий прохождение на адресные входы блока 12 пам ти кода со счетчика 22.Upon arrival at the synchronization input of the trigger 4, a single signal from the first output of the first bit of the shift register 8, at the forward output of the trigger 4 is established. O, on the inverse - 1. As a result, at the control input of the multiplexer 10 there is a control signal that allows the code 22 to pass to the address inputs of the block 12 of memory.

В следующий момент времени после формировани  единичного импульса на выходе второго разр да регистра сдвига, на выходе элемента И 14 вырабатываетс  единичньй сигнал, по коход которого соединен с информацион- At the next time point after the formation of a single pulse at the output of the second bit of the shift register, at the output of element I 14 a single signal is produced, which is connected to the information signal

ным выходом 24 устройства.24 output device.

Переадресаци  блока пам ти производитс  импульсом, сформированным на. выходе элемента И 17 и поступающим на вход +1 счетчика 22. Сигнал сThe memory block is redirected by the pulse generated on. the output element And 17 and arriving at the input +1 of the counter 22. The signal from

выхода элемента И 17 одновременно поступает на выход признака считы- вани  устройства и на вход установки the output of the element And 17 at the same time goes to the output of the sign of reading the device and to the input of the installation

 чеек блока 12 пам ти. С выхода эле- мента И 16 при записи в  чейку или сcells of memory block 12. From the output of the element And 16 when writing to a cell or with

в О триггера 19, сбрасыва  его. Счетчик 21 определ ет заполнениеin About trigger 19, dropping it. Counter 21 determines fill

счетчика 21, измен   его содержимое. В случае заполнени  всех  чеек накоответственно на входы ЧГ или -1counter 21, change its contents. In the case of filling all the cells in response to the inputs of the FH or -1

0 счетчика 21, измен   его содержимое. В случае заполнени  всех  чеек накопител  (переполнение счетчика 21) сигнал Ошибка с выхода переполнени  подаетс  на выход 26 признака 5 ошибки устройства.0 counter 21, changing its contents. In the case of filling all the accumulator cells (counter overflow 21) the signal Error from the overflow output is sent to the output 26 of the sign 5 of the device error.

Claims (1)

Формула изобретени Invention Formula Устройство управлени  пам тью, содержащее два регистра, три счетчи0 ка, блок пам ти, два элемента И, элемент ИЛИ, причем информационные входы первого регистра  вл ютс  информационными входами устройства, выход первого регистра соединен с инфор- мационным входом блока пам ти, информационный выход которого соединен с информационным входом второго регистра , выход которого  вл етс  информационным выходом устройства, о т дличающеес  тем, что, с целью повьш1ени  быстродействи , в него введены четыре триггерау с третьего по шестой элементы И, регистр сдвига,- мультиплексор, формировательA memory control unit containing two registers, three counters, a memory block, two AND elements, an OR element, the information inputs of the first register being information inputs of the device, the output of the first register connected to the information input of the memory block, information output which is connected to the information input of the second register, the output of which is the information output of the device, which is different in that, in order to increase speed, four triggers from the third to the sixth elements are entered into it And, shift register - multiplexer, driver 5 импульса, причем входы установки в 1 первого и второго триггеров  вл ютс  соответственно входом разрешени  записи и входом разрешени  считывани  устройства, выход первого триггера соединен с первым входом элемента ИЛИ и информационным входом третьего триггера, выход второго триггера соединен с первым входом первого элемента И, выход которого соединен5 pulses, the inputs of the first and second flip-flop inputs are respectively the write enable input and the read enable input of the device, the output of the first flip-flop is connected to the first input of the OR element and the information input of the third flip-flop, the output of the second flip-flop is connected to the first input of the first And element, the output of which is connected 00 торому происходит считывание информа- gg с вторым входом элемента ИЛИ, выход ции из блока 12 пам ти. Считанна  ни- которого соединен с первым входом формаци  поступает на информационный второго элемента И, вход регистра 23. По сигналу, поступающему на вход записи регистра 23The second reads the information gg with the second input of the OR element, the output from the memory block 12. The read one is connected to the first input of the formation and is fed to the information element of the second element, And the input of the register 23. According to the signal that comes to the input of the record of the register 23 второго элемента И, второй вход которого  вл етс  тактовым входом устройства, выход второго элемеьthe second element And, the second input of which is the clock input of the device, the output of the second element с вторым входом элемента ИЛИ, выход которого соединен с первым входом второго элемента И, with the second input element OR, the output of which is connected to the first input of the second element AND, второго элемента И, второй вход которого  вл етс  тактовым входом устройства, выход второго элемеьразрешени  заходом мультиплексора, первый и вто- 25 ства, вход разрешени  записи устрой рой информационный входы которого соединены с выходами первого и втоJthe second element And, the second input of which is the clock input of the device, the output of the second element of resolution by the multiplexer input, the first and second, the input of the recording permission by the device whose information inputs are connected to the outputs of the first and second те.ства соединен с входом писи первого регистра.te.stvo connected to the entry of the first register. разрешени  заства , вход разрешени  записи устрой permission, entry entry permission ства соединен с входом писи первого регистра.is connected to the first register entry entry.
SU864156630A 1986-12-05 1986-12-05 Memory control device SU1401465A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864156630A SU1401465A1 (en) 1986-12-05 1986-12-05 Memory control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864156630A SU1401465A1 (en) 1986-12-05 1986-12-05 Memory control device

Publications (1)

Publication Number Publication Date
SU1401465A1 true SU1401465A1 (en) 1988-06-07

Family

ID=21271067

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864156630A SU1401465A1 (en) 1986-12-05 1986-12-05 Memory control device

Country Status (1)

Country Link
SU (1) SU1401465A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 993333, кл. G 06 F 12/00, 1983. Авторское свидетельство СССР № 506909, кл. G 06 F 12/00, 1972. *

Similar Documents

Publication Publication Date Title
SU877614A1 (en) Self-checking memory unit
SU1392572A1 (en) Device for interfacing processors in a homogeneous computing system
RU1827713C (en) Delay device
SU1661781A1 (en) Device for interfacing processors in distributed computing system
SU1137472A1 (en) Debugging device
SU1388951A1 (en) Buffer storage device
SU1317486A1 (en) Device for checking memory blocks
SU1387001A1 (en) Device for determining recurrence of program calls
SU1691891A1 (en) Buffer memory
SU1309032A1 (en) Interface for linking information source and iformation receiver
SU1564695A1 (en) Buffer memory unit
SU1529208A1 (en) Information input device
SU1038931A1 (en) Timer
SU1596333A1 (en) Device for detecting errors in data transfer
SU1348841A1 (en) Device for forming interruption signals in program debugging
SU1751713A1 (en) Meter of time intervals of pulse sequences
RU1508825C (en) Data input device
SU1282107A1 (en) Information input device
SU1257644A2 (en) Device for controlling multichannel measuring system
SU1550525A1 (en) Device for interfacing comimunication channel and computer
SU1160410A1 (en) Memory addressing device
SU1103255A1 (en) Code-controlled node of network model
SU1179348A1 (en) Device for automatic checking of units
SU964730A1 (en) Storage device
SU1285453A1 (en) Two-channel information input device