JPS63159934A - Microcode generating circuit - Google Patents

Microcode generating circuit

Info

Publication number
JPS63159934A
JPS63159934A JP61315471A JP31547186A JPS63159934A JP S63159934 A JPS63159934 A JP S63159934A JP 61315471 A JP61315471 A JP 61315471A JP 31547186 A JP31547186 A JP 31547186A JP S63159934 A JPS63159934 A JP S63159934A
Authority
JP
Japan
Prior art keywords
memory
microcode
ram
address
external
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP61315471A
Other languages
Japanese (ja)
Other versions
JPH0562780B2 (en
Inventor
Takaharu Hidaka
日高 敬治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61315471A priority Critical patent/JPS63159934A/en
Publication of JPS63159934A publication Critical patent/JPS63159934A/en
Publication of JPH0562780B2 publication Critical patent/JPH0562780B2/ja
Granted legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Abstract

PURPOSE:To realize the bidirectional transfer of data just with a single external interruption by providing plural microcode memories to a memory and using a means to give the external control to the data output gates of those microcode memories. CONSTITUTION:The chip selection signal of an optional microcode memory 3 is set in an enable state for selection by an external selection signal generating circuit 6 before an external interruption is applied to a program sequencer 1. Thus the instructions and the address data are outputted to the sequencer 1 and an address generator 2 from the memory 3 after the reception of the external interruption. At the same time, a memory control signal is outputted to a RAM 4. The memory 3 contains the microcodes of read and write accesses prepared for the RAM 4, therefore a read or write access is possible to the RAM 4 against a single external interruption. In such a way, the bidirectional transfer of data is carried out between RAM.

Description

【発明の詳細な説明】 [産業上の利用分野〕 この発明は、メモリの制御に使用されるアドレス(メモ
リアドレス)およびメモリコントロール信号を発生する
ためのマイクロコード発生回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcode generation circuit for generating addresses (memory addresses) used to control a memory and memory control signals.

[従来の技術] 第2図は従来のマイクロコード発生回路を示す電気回路
図であり、この第2図において、1はプログラムシーク
エツサ、2はアドレスジェネレータ、3はマイクロコー
ドメモリ、4はRAM、5は外部割込みマルチプレクサ
である。
[Prior Art] Fig. 2 is an electrical circuit diagram showing a conventional microcode generation circuit. In Fig. 2, 1 is a program sequencer, 2 is an address generator, 3 is a microcode memory, 4 is a RAM, 5 is an external interrupt multiplexer.

次に動作について説明する。まず外部割込みマルチプレ
クサ5から出力された割込みによって。
Next, the operation will be explained. First, by an interrupt output from the external interrupt multiplexer 5.

プログラムシークエンサ1は割込み処理に応じマイクロ
コードメモリ3ヘアドレスを出力する。このようにして
アト゛レスを入力されたマイクロコードメモリ3はプロ
グラムシークエンサ1へインストラクションを出力する
とともにアドレスジェネレータ2ヘインストラクシヨン
およびアドレスデータを出力する。
The program sequencer 1 outputs an address to the microcode memory 3 in response to interrupt processing. The microcode memory 3, which has received the addresses in this manner, outputs instructions to the program sequencer 1 and outputs instructions and address data to the address generator 2.

またRAM4へはメモリコントロール信号としてのメモ
リライト信号またはメモリリード信号およびメモリチッ
プセレクト信号を出力する。そしてアドレスジェネレー
タ2はインストラクションおよびアドレスデータに応じ
てRAM4ヘアドレス(メモリアドレス)を出力する。
Further, a memory write signal or a memory read signal as a memory control signal and a memory chip select signal are output to the RAM 4. The address generator 2 then outputs an address (memory address) to the RAM 4 according to the instruction and address data.

[発明が解決しようとする問題点] 従来のマイクロコード発生回路は以上のように構成され
ているので、1つの割込みに対して、RAM4へのアク
セスがリードモードかライトモードかのどちらかに限定
されるので、RAM4をリード/ライトするのに2つの
外部割込みが必要であるなどの問題点があった。
[Problems to be Solved by the Invention] Since the conventional microcode generation circuit is configured as described above, access to RAM 4 is limited to either read mode or write mode for one interrupt. Therefore, there were problems such as two external interrupts being required to read/write the RAM 4.

この発明は上記のような問題点を解消するためになされ
たもので、1つの外部割込みでメモリをリードモードに
するのかライトモードにするのかを選択できるとともに
、メモリ間でのデータの相互転送をも可能にしたマイク
ロコード発生回路を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and it is possible to select whether the memory is in read mode or write mode with a single external interrupt, and it is also possible to mutually transfer data between memories. The purpose of the present invention is to obtain a microcode generation circuit that enables the following.

[問題点を解決するための手段] この発明に係るマイクロコード発生回路は、マイクロコ
ードメモリをメモリに対し複数個そなえ−るとともに、
マイクロコードメモリのデータ出力ゲートを外部から制
御する手段を設けたものである。
[Means for Solving the Problems] The microcode generation circuit according to the present invention includes a plurality of microcode memories for each memory, and
This device is provided with means for controlling the data output gate of the microcode memory from the outside.

[作 用] この発明におけるマイクロコード発生回路では。[Work] In the microcode generation circuit in this invention.

複数のマイクロコードメモリが外部の制御手段によって
制御されることにより、1つの外部割込みでメモリをリ
ードモードにするのかライトモードにするのかを選択す
ることができるほか、メモリ間のデータの相互転送も可
能となる。
By controlling multiple microcode memories by external control means, it is possible to select whether the memory is in read mode or write mode with a single external interrupt, and it is also possible to transfer data between memories. It becomes possible.

[発明の実施例] 以下、この発明の一実施例を図について説明する。第1
図において、1はプログラムシークエンサ、2はアドレ
スジェネレータ、3はマイクロコードメモリ、4はRA
M、5は外部割込みマルチプレクサであり、マイクロコ
ードメモリ3は1つのRAM4に対し複数設けられてい
る。また6は各マイクロコードメモリ3のデータ出力ゲ
ートを外部から制御する手段としての外部選択信号発生
回路である。
[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. 1st
In the figure, 1 is a program sequencer, 2 is an address generator, 3 is a microcode memory, and 4 is an RA.
M, 5 is an external interrupt multiplexer, and a plurality of microcode memories 3 are provided for one RAM 4. Reference numeral 6 designates an external selection signal generation circuit as a means for controlling the data output gate of each microcode memory 3 from the outside.

次に動作について説明する。外部割込みを受けて外部割
込みマルチプレクサ5が割込みを出力すると、この割込
みよってプログラムシークエンサ1が割込み処理に応じ
マイクロコードメモリ3ヘアドレス(アドレス情報)を
出力する。
Next, the operation will be explained. When the external interrupt multiplexer 5 outputs an interrupt in response to an external interrupt, the program sequencer 1 outputs an address (address information) to the microcode memory 3 in response to the interrupt processing.

ところで、マイクロコードメモリ3はプログラムシーク
エンサ1へ外部割込みを入力する前に、外部選択信号発
生回路6によって任意のマイクロコードメモリ3のチッ
プセレクト信号をイネーブルにして選択されているので
、この選択されたマイクロコードメモリ3からプログラ
ムシークエンサ1.アドレスジェネレータ2ヘインスト
ラクションおよびアドレスデータが出力されるとともに
、RAM4ヘメモリコントロ一ル信号(メモリリード信
号、メモリライト信号)が出力される。
By the way, the microcode memory 3 is selected by enabling the chip select signal of any microcode memory 3 by the external selection signal generation circuit 6 before inputting an external interrupt to the program sequencer 1. Microcode memory 3 to program sequencer 1. Address generator 2 outputs instructions and address data, and also outputs memory control signals (memory read signal, memory write signal) to RAM 4.

そしてこれら複数個のマイクロコードメモリ3には各々
RAM4に対して、リードアクセス、ライトアクセスの
マイクロコードが用意されているので、1つの外部割込
みに対してRAM4へリードアクセスまたはライトアク
セスのいずれかを実行でき、このためRAM4間の双方
向データ転送、即ちデータの相互転送が可能になる。
These multiple microcode memories 3 each have microcodes for read access and write access to the RAM 4, so either read access or write access to the RAM 4 can be performed in response to one external interrupt. This enables bidirectional data transfer between the RAMs 4, ie mutual transfer of data.

[発明の効果コ 以上のようにこの発明によれば、マイクロコードメモリ
をメモリに対し複数個そなえ、外部の制御手段からの選
択でメモリへのアクセス方法がリードモードかライトモ
ードかを選べるので、1つの外部割込みでメモリのデー
タ転送を双方向に実施でき、これにより汎用性の高いマ
イクロコード発生回路が得られる効果がある。
[Effects of the Invention] As described above, according to the present invention, a plurality of microcode memories are provided for each memory, and the access method to the memory can be selected from read mode or write mode by selection from an external control means. Memory data transfer can be performed bidirectionally with one external interrupt, and this has the effect of providing a highly versatile microcode generation circuit.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例によるマイクロコード発生
回路を示す電気回路図であり、第2図は従来のマイクロ
コード発生回路を示す電気回路図である。 図において、1−プログラムシークエンサ、2−アドレ
スジェネレータ、3−マイクロコードメモリ、4−RA
M(メモリ)、5−・−外部割込みマルチプレクサ、6
−・外部制御手段としての外部選択信号発生回路。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is an electrical circuit diagram showing a microcode generating circuit according to an embodiment of the present invention, and FIG. 2 is an electrical circuit diagram showing a conventional microcode generating circuit. In the figure, 1-program sequencer, 2-address generator, 3-microcode memory, 4-RA
M (memory), 5--external interrupt multiplexer, 6
-・External selection signal generation circuit as external control means. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] メモリアドレスおよびメモリコントロール信号を発生す
ることによりメモリを制御するマイクロコード発生回路
において、外部からの割込み信号を受けアドレス情報を
出力するプログラムシークエンサと、同プログラムシー
クエンサからの上記アドレス情報を受けてアドレス発生
のための信号および上記メモリコントロール信号を出力
するマイクロコードメモリと、同マイクロコードメモリ
からの上記のアドレス発生のための信号を受けて上記メ
モリアドレスを出力するアドレスジエネレータとをそな
え、上記マイクロコードメモリが上記メモリに対し複数
設けられるとともに、上記の各マイクロコードメモリの
データ出力ゲートを外部から制御する手段が設けられた
ことを特徴とする、マイクロコード発生回路。
In a microcode generation circuit that controls memory by generating memory addresses and memory control signals, there is a program sequencer that receives interrupt signals from the outside and outputs address information, and a program sequencer that receives the above address information from the program sequencer and generates addresses. The microcode memory includes a microcode memory that outputs a signal for generating the address and the memory control signal, and an address generator that outputs the memory address in response to a signal for generating the address from the microcode memory. A microcode generation circuit, characterized in that a plurality of memories are provided for the above-mentioned memories, and means for externally controlling a data output gate of each of the above-mentioned microcode memories is provided.
JP61315471A 1986-12-23 1986-12-23 Microcode generating circuit Granted JPS63159934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61315471A JPS63159934A (en) 1986-12-23 1986-12-23 Microcode generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61315471A JPS63159934A (en) 1986-12-23 1986-12-23 Microcode generating circuit

Publications (2)

Publication Number Publication Date
JPS63159934A true JPS63159934A (en) 1988-07-02
JPH0562780B2 JPH0562780B2 (en) 1993-09-09

Family

ID=18065755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61315471A Granted JPS63159934A (en) 1986-12-23 1986-12-23 Microcode generating circuit

Country Status (1)

Country Link
JP (1) JPS63159934A (en)

Also Published As

Publication number Publication date
JPH0562780B2 (en) 1993-09-09

Similar Documents

Publication Publication Date Title
KR910001555A (en) Data processor
JPS63159934A (en) Microcode generating circuit
SU1683039A1 (en) Device for data processing for multiprocessor system
JPS58181134A (en) Data transfer circuit
JPS6113628B2 (en)
JPS622336A (en) Image memory access system
JPS6020263A (en) Selection system of input/output unit
JPS5836380B2 (en) Direct memory access method in multiprocessor systems
JPH0322073A (en) Data transfer controller
JPH0370055A (en) Semiconductor integrated circuit device
JPS6368955A (en) Input/output controller
JPH04343132A (en) Central processing unit
JPS61151745A (en) Interruption processing system
JPH0424852A (en) Multi-port access system
JPH02307149A (en) Direct memory access control system
JPS5525153A (en) Information processing system
JPH081631B2 (en) DMA controller
JPS59134841U (en) information processing equipment
JPS6018948B2 (en) test pattern generator
JPH01188948A (en) Generating device for template matching address
JPS6140658A (en) Data processor
JPH01258169A (en) Shared memory address designating system
JPH1115730A (en) Memory bank switching device
JPS63646A (en) Control circuit for memory access waiting
JPS6134662A (en) Microcomputer application apparatus