SU1674137A1 - Data and programs storage control unit - Google Patents

Data and programs storage control unit Download PDF

Info

Publication number
SU1674137A1
SU1674137A1 SU884608350A SU4608350A SU1674137A1 SU 1674137 A1 SU1674137 A1 SU 1674137A1 SU 884608350 A SU884608350 A SU 884608350A SU 4608350 A SU4608350 A SU 4608350A SU 1674137 A1 SU1674137 A1 SU 1674137A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
inputs
counter
trigger
output
Prior art date
Application number
SU884608350A
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 SU884608350A priority Critical patent/SU1674137A1/en
Application granted granted Critical
Publication of SU1674137A1 publication Critical patent/SU1674137A1/en

Links

Abstract

Изобретение относитс  к области вычислительной техники и может быть использовано дл  управлени  оперативной пам тью в микропроцессорных системах. Цель изобретени  - повышение быстродействи  устройства. Устройство содержит преобразователь 1 кодов, элементы И 2, 3, элемент НЕ 4, счетчик 5, элемент ИЛИ 6, триггер 7, элементы И-НЕ 8, 9, адресные селекторы 10, 11, информационные 12 входы, вход 13 выборки команды, вход 14 чтени  устройства, вход 15 строба состо ни , вход 16 загрузки, адресные входы 17, вход 18 выбора, выходы выборки первой 19 и второй 20 страницы пам ти. 1 ил.The invention relates to the field of computing and can be used to manage memory in microprocessor systems. The purpose of the invention is to increase the speed of the device. The device contains a converter of 1 codes, elements AND 2, 3, element NOT 4, counter 5, element OR 6, trigger 7, elements AND-HE 8, 9, address selectors 10, 11, information 12 inputs, input 13 sampling commands, input 14 reads of the device, input 15 of the state strobe, input 16 of the load, address inputs 17, selection input 18, sample outputs of the first 19 and second 20 pages of memory. 1 il.

Description

Фиг /Fig /

Изобретение относитс  к области вычислительной техники и может быть исполь- зовано дл  управлени  оперативной пам тью в микропроцессорных системах,The invention relates to the field of computing and can be used to manage RAM in microprocessor systems.

Цель изобретени  - повышение быстродействи  устройства.The purpose of the invention is to increase the speed of the device.

На фиг.1 приведена схема устройства дл  управлени  пам тью программ и данных; на фиг.2 - временна  диаграмма работы устройства.Figure 1 is a diagram of the device for managing the memory of programs and data; figure 2 - timing diagram of the device.

На фиг.1 обозначены преобразователь 1 кодов (может быть выполнен в виде посто нного запоминающего устройства), элементы И 2, 3, элемент НЕ 4, счетчик 5, элемент ИЛИ 6, триггер 7, элементы И-НЕ 8, 9, адресные селекторы 10, 11, информационные входы 12, вход 13 выборки команды , вход 14 чтени  устройства, вход 15 строба состо ни , вход 16 загрузки, адресные входы 17 устройства, вход 18 выбора устройства, выходы выборки первой 19 и второй 20 страницы пам ти, выход 21 элемента ИЛИ, пр мой выход 22 триггера.In Fig. 1, a code converter 1 is designated (may be made as a permanent storage device), elements AND 2, 3, element 4, counter 5, element OR 6, trigger 7, elements AND-HE 8, 9, address selectors. 10, 11, information inputs 12, command sampling input 13, device reading input 14, state strobe input 15, boot input 16, device address inputs 17, device selection input 18, first 19 and second memory page sampling outputs 20, output 21 elements OR, direct output 22 trigger.

Информационные входы 12 устройства подключены к шине данных микропроцессорной системы (на фиг.1 не показана). Входы устройства Выборка команды 13, Чтение 14, Строб состо ни  15 подключены к выходам шины управлени  микропроцессорной системы М1, DBIN, STB соответственно. Вход 16 Загрузка устройства подключен к одному из разр дов выходного порта микропроцессорной системы. Адресные входы устройства 17 подключены к шине адреса микропроцессорной системы. Вход 18 выбора устройства подкл ючен к выходу Обращение к пам ти шины управлени  микропроцессорной системы . Выходы устройства Выборка первой страницы пам ти 19 и Выборка второй страницы пам ти 20 подключены к входам аыборки кристаллов схем пам ти команд и пам ти данных, соответственно (схемы пам ти на фиг.1 не показаны).Information inputs 12 of the device are connected to the data bus of the microprocessor system (not shown in figure 1). Device Inputs Sample command 13, Read 14, Status gate 15 are connected to the outputs of the microprocessor control system bus M1, DBIN, STB, respectively. Input 16 Device loading is connected to one of the bits of the output port of the microprocessor system. The address inputs of the device 17 are connected to the address bus of the microprocessor system. Input 18 of the device selection is connected to the output of the memory access control bus of the microprocessor system. The device outputs Sampling the first page of memory 19 and Sampling the second page of memory 20 are connected to the inputs of a sample of crystals of the instruction memory and data storage circuits, respectively (the memory circuits are not shown in Fig. 1).

В начальном состо нии входы 13-18 устройства и выходы 19, 20 устройства установлены в О. Вход 16 устройства установлен в 1. Содержимое счетчика 5 и D-триггера 7 равно нулю. В преобразователе 1 кодов по адресам, соответствующим кодам команд микропроцессора, записана длина команды в байтах, например, дл  команды LHLD по адресу 2АН записан код 3. Рассмотрим работу устройства при выполнении микропроцессорной системной команды LHLD. Временна  диаграмма работы устройства представлена на фиг.2.In the initial state, the inputs 13-18 of the device and the outputs 19, 20 of the device are set to O. The input 16 of the device is set to 1. The contents of the counter 5 and the D flip-flop 7 are zero. In the code converter 1, by the addresses corresponding to the microprocessor's command codes, the command length is written in bytes, for example, code 3 is written for the LHLD command at address 2АAN. Consider the operation of the device when the microprocessor-based LHLD system command is executed. The timing diagram of the device is presented in figure 2.

В первом машинном цикле на втором входе элемента И 3 установлен 0й, запреща  прохождение импульса с входа )5In the first machine cycle at the second input of the element And 3 is set 0y, prohibiting the passage of a pulse from the input) 5

Строб состо ни  устройства на вычитающий вход счетчика 5. На входе 13 Выборка команды устройства устанавливаетс  Г, разрешающа  работу преобразовател  кодов 1 и устанавливающа  в 1 D-триггер 7. На первый вход элемента И-НЕ подаетс  1, подготавлива  его работу. На вход выбора устройства 18 подаетс  1, На выходе элемента И-НЕ 8 устанавливаетс  О, раз0 решающий работу адресного селектора 10, т.е. выборку кода команды из пам ти команд . Код команды LHLD 2AH поступает на информационные входы 12 устройства, на выходе преобразовател  кодов 1 устанавли5 ваетс  код 3. Задний фронт импульса на входе 14 Чтение устройства, проход  через подготовленный элемент И 2, инициирует запись кода 3 в счетчик 5, На выходе элемента ИЛИ 6 устанавливаетс  1, кото0 ра  поступает на второй вход элемента И 3, подготавлива  его работу. На входе 13 Выборка команды устройства устанавливает О, запреща  работу преобразовател  кодов 1 и запись в счетчик 5. На входе выбораA state gate of the device to the subtracting input of the counter 5. At input 13, the selection of the device command is set to G, allowing the operation of code converter 1 and setting D-flip-flop to 1 to the first input of the AND-NOT element 1, preparing its operation. To the selection input of the device 18, 1 is applied. At the output of the element IS-HE 8, O is set, which decides the operation of the address selector 10, i.e. sample command code from the command memory. The command code LHLD 2AH arrives at the information inputs 12 of the device, the output of the code converter 1 is set to code 3. The rear edge of the pulse at the input 14 Read the device, pass through the prepared And 2 element, initiates writing of the code 3 to the counter 5, At the output of the OR 6 element set 1, which enters the second input element And 3, preparing his work. At input 13, the device command fetch sets Oh, prohibits the operation of code converter 1 and writes to counter 5. At the input of the selection

5 устройства 18 устанавливаетс  О, запреща  работу схем пам ти.5, device 18 is set to O by prohibiting operation of the memory circuits.

Во втором и третьем машинных циклах импульс с входа 15 Строб состо ни  устройства через подготовленный элемент И 3In the second and third machine cycles, the pulse from the input 15 of the gate of the state of the device through the prepared element And 3

0 поступает на вычитающий вход счетчика 5. Содержимое счетчика 5 равно 2, а в третьем машинном цикле - 1. Состо ние D-триггера 7 остаетс  неизменным. Второй и третий байты кода команды последовательно выби5 раютс  из пам ти команд.0 enters the subtracting input of counter 5. The contents of counter 5 are 2, and in the third machine cycle, 1. The state of D-flip-flop 7 remains unchanged. The second and third bytes of the command code are sequentially selected from the command memory.

В четвертом машинном цикле импульс с входа 15 Строб состо ни  устройства через подготовленный элемент И 3 поступает на вычитающий вход счетчика 5. Содер0 жимое счетчика 5 становитс  равным нулю. На выходе элемента ИЛИ 6 формируетс  задний фронт логического сигнала, который инвертируетс  на элементе НЕ 4 и переводит D-триггер в состо ние О. На первомIn the fourth machine cycle, the pulse from the input 15 The state gate of the device through the prepared element I 3 enters the subtracting input of counter 5. The contents of counter 5 become equal to zero. At the output of the element OR 6, a falling edge of the logical signal is formed, which is inverted on the element 4 and transfers the D-flip-flop to the state O. At the first

5 входе элемента И-НЕ 9 устанавливаетс  значение 1, подготавлива  его работу. На втором входе элемента И 3 устанавливаетс  значение О, запреща  последующие вычитани  из счетчика 5. На вход выбора устрой0 стоа 18 подаетс  1. На выходе элемента И-НЕ 9 устанавливаетс  О, разреша  работу адресного селектора 11, т.е. выборку данных из пам ти данных. В конце машинного цикла на входе выбора устройства 18The 5 input of the element AND-NOT 9 is set to 1, preparing its operation. At the second input of the element, And 3 is set to O, prohibiting subsequent subtractions from the counter 5. To the input of the device selection, 18 is fed 1. At the output of the NESHE element 9, O is set to allow the operation of the address selector 11, i.e. sample data from the data memory. At the end of the machine cycle at the input of the device selection 18

5 устанавливаетс  0й, запреща  работу схем пам ти.5 is set to 0, prohibiting the operation of the memory circuits.

В п том машинном цикле второй байт данных выбираетс  из пам ти данных.In the fifth machine cycle, the second data byte is selected from the data memory.

Предполагаетс , что дл  устройства пам ть команд выполнена а виде ПЗУ или oneративного запоминающего устройства со схемами аппаратной загрузки.It is assumed that, for the device, the instruction memory is executed in the form of a ROM or one memory storage device with hardware boot circuits.

Рассмотрим работу устройства в режиме загрузки пам ти команд, когда на вход 16 Загрузка устройства подан О. Это можно сделать парой команд микропроцессора MVIA. OUT.Consider the operation of the device in the mode of loading the memory of commands, when the input to the 16th device loading is O. This can be done with a couple of commands of the MVIA microprocessor. Out

D-триггер 7 переходит в состо ние 1 независимо от сигналов на других его входах . Работа преобразовател  1 кодов, а так- же запись и вычитание из счетчика 5 запрещены. На первый вход элемента И- НЕ 8 подана Г. При подаче 1 на вход выбора устройства 18 разрешаетс  работа адресного селектора 10 - селектора пам ти команд. Следовательно, разрешены программна  запись и чтение пам ти команд.D-flip-flop 7 enters state 1 regardless of the signals at its other inputs. The operation of the converter 1 codes, as well as the recording and subtraction of the counter 5 is prohibited. At the first input of the element AND-NOT 8 is fed G. When filing 1 at the input of the selection of the device 18, the operation of the address selector 10 - the instruction memory selector is permitted. Therefore, program writing and reading of the instruction memory is allowed.

Claims (1)

Формула изобретени  Устройство дл  управлени  пам тью программ и данных, содержащее триггер, элемент НЕ. первый и второй элементы И- НЕ, первый и второй адресные селекторы, одноименные входы адресных селекторов объединены и  вл ютс  адресными входа- ми устройства, выходы первого адресного селектора  вл ютс  выходами выборки первой страницы пам ти устройства, выходы второго адресного селектора  вл ютс  выходами выборки второй страницы пам ти устройства, выходы первого и второго элементов И-НЕ соединены соответственно с входами запрета выборки первого и второго адресных селекторов, первый вход первогоClaims An apparatus for managing memory of programs and data, comprising a trigger, an element is NOT. the first and second elements are AND- NOT, the first and second address selectors, the same inputs of the address selectors are combined and are the device's address inputs, the outputs of the first address selector are the sample outputs of the first memory page of the device, the outputs of the second address selector the second page of the device memory, the outputs of the first and second elements AND-NOT are connected respectively with the inputs of the prohibition of sampling the first and second address selectors, the first input of the first элемента И-НЕ соединен с пр мым выходом триггера, вторые входы элементов И- НЕ объединены и  вл ютс  входом выбора устройства, отличающеес  тем, что, с целью повышени  быстродействи  устройства , в него введены преобразователь кодов , счетчик, первый и второй элементы И. элемент ИЛИ, инверсный выход триггера соединен с первым входом второго элемента И-НЕ, информационные входы преобразовател  кодов  вл ютс  одноименными входами устройства, выходы преобразовател  кодов соединены с информационными входами счетчика, первый вход первого элемента И соединен с первым входом выборки преобразовател  кодов и с входом установки в Г триггера и  вл етс  входом выборки команды устройства, второй вход первого элемента И  вл етс  входом чтени  устройства , выход первого элемента И соединен с входом задани  режима счетчика, первый вход второго элемента И  вл етс  входом строба состо ни  устройства, выход второго элемента И соединен с вычитающим входом счетчика, информационные выходы счетчика соединены с входами элемента ИЛИ, выход которого соединен с вторым входом второго элемента И и с входом элемента НЕ, выход элемента НЕ соединен с входом синхронизации триггера, вход установки в О триггера соединен с вторым входом выборки преобразовател  кодов, с третьим входом первого элемента И и  вл етс  входом загрузки устройства.of the NAND element is connected to the direct output of the trigger, the second inputs of the NAND elements are not combined and are the device selection input, characterized in that, in order to improve the device speed, a code converter, a counter, the first and second elements are entered into it. the OR element, the inverse output of the trigger is connected to the first input of the second NAND element, the information inputs of the code converter are the same inputs of the device, the outputs of the code converter are connected to the information inputs of the counter, the first input of the first elec The I input is connected to the first sample input of the code converter and to the input of the installation in Trigger G and is the input of the command selection of the device, the second input of the first element I is the input of the device, the output of the first element I is connected to the input of the counter mode setting And is the input of the state gate of the device, the output of the second element AND is connected to the subtractive input of the counter, the information outputs of the counter are connected to the inputs of the OR element, the output of which is connected to the second input of the second element Both and with the input of the element NOT, the output of the element is NOT connected to the trigger synchronization input, the installation input into the trigger O is connected to the second sampling input of the code converter, to the third input of the first AND element and is the input of the device load. Фиг.IFig.i
SU884608350A 1988-11-21 1988-11-21 Data and programs storage control unit SU1674137A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884608350A SU1674137A1 (en) 1988-11-21 1988-11-21 Data and programs storage control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884608350A SU1674137A1 (en) 1988-11-21 1988-11-21 Data and programs storage control unit

Publications (1)

Publication Number Publication Date
SU1674137A1 true SU1674137A1 (en) 1991-08-30

Family

ID=21410659

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884608350A SU1674137A1 (en) 1988-11-21 1988-11-21 Data and programs storage control unit

Country Status (1)

Country Link
SU (1) SU1674137A1 (en)

Similar Documents

Publication Publication Date Title
US4733346A (en) Data processor with multiple register blocks
KR930004426B1 (en) Dual-port memory and its fabrication method
EP0054243A2 (en) Memory controlling apparatus
JPH045216B2 (en)
EP0283891B1 (en) Cache memory with hit predictive logic
NL8203312A (en) APPARATUS FOR TRANSFER OF INFORMATION THROUGH AN INFORMATION DISTRIBUTION.
US4047245A (en) Indirect memory addressing
GB2219111A (en) Data processing systems with delayed cache write
SU1674137A1 (en) Data and programs storage control unit
EP0240606A2 (en) Pipe-line processing system and microprocessor using the system
KR920010977B1 (en) Memory bus architecture
US4747039A (en) Apparatus and method for utilizing an auxiliary data memory unit in a data processing system having separate program and data memory units
CA2157435C (en) Vector data bypass mechanism for vector computer
SU741269A1 (en) Microprogramme processor
US5434979A (en) Disk drive controller
SU1564620A2 (en) Device for control of microprocessor system
SU1552189A1 (en) Device for monitoring programs
JPS6120172A (en) Multi-microprocessor system
SU879563A1 (en) Device for checking programs
JPH0232650B2 (en)
SU1405061A2 (en) Device for shaping interrupt signals in program debugging
SU1185343A1 (en) Device for generating interruption signals in case of debugging programs
JPS61237145A (en) Controlling system for store buffer
JPH0232649B2 (en)
JP2581144B2 (en) Bus control device