JPH01295347A - Microcomputer device - Google Patents

Microcomputer device

Info

Publication number
JPH01295347A
JPH01295347A JP63244945A JP24494588A JPH01295347A JP H01295347 A JPH01295347 A JP H01295347A JP 63244945 A JP63244945 A JP 63244945A JP 24494588 A JP24494588 A JP 24494588A JP H01295347 A JPH01295347 A JP H01295347A
Authority
JP
Japan
Prior art keywords
data
address
signal
output
bus
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
JP63244945A
Other languages
Japanese (ja)
Other versions
JPH0776940B2 (en
Inventor
Kazunori Nagasaki
長崎 和徳
Kazuhiro Takeuchi
一浩 竹内
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63244945A priority Critical patent/JPH0776940B2/en
Priority to EP89118030A priority patent/EP0361497B1/en
Priority to DE68925772T priority patent/DE68925772T2/en
Priority to US07/414,248 priority patent/US5051890A/en
Publication of JPH01295347A publication Critical patent/JPH01295347A/en
Publication of JPH0776940B2 publication Critical patent/JPH0776940B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To shorten the access time by giving only the head address of a series of data to an instruction means via a control means in case a series of data having the continuous addresses are detected. CONSTITUTION:In case a series data having the continuous addresses, a control means 3 gives only the head address of the data to an address instruction means 15. A memory means 8 delivers the data stored in said head address and the means 3 transmits the replacement control signals to the means 15 and a holding means 17. The means 17 sends the output data received from the means 8 to a data processing means 2. The output data is temporarily held by the means 2 until the next output data is delivered from the means 8. The means 15 replaces the stored address and sends this to the means 8. When the replacement control signal is transmitted from the means 3, the means 17 sends the next data to the means 2. Thus it is possible to shorten the access time of a series of data having the continuous addresses.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はマイクロプロセッサ及びメモリを含むマイクロ
コンピュータ装置に関し、特に、プログラム又は連続し
たアドレスを有するデータを読出す場合に好適のマイク
ロコンピュータ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer device including a microprocessor and a memory, and particularly to a microcomputer device suitable for reading programs or data having consecutive addresses.

し従来の技術] 従来から、マイクロコピュータ装置として、第11図に
示すものが知られている。このマイクロコンピュータ装
置はマイクロプロセッサ1、アドレスラッチ7及びメモ
リ8により構成されており、これらのユニットはアドレ
スデータバス(以下、ADババスいう)9により相互に
接続されている。
BACKGROUND ART Conventionally, a microcomputer device shown in FIG. 11 has been known as a microcomputer device. This microcomputer device is composed of a microprocessor 1, an address latch 7, and a memory 8, and these units are interconnected by an address data bus (hereinafter referred to as AD bus) 9.

更に、マイクロプロセッサ1は処理実行部2及び実行制
御部3により構成されている。処理実行部2はメモリ8
に対するデータのリードライトサイクルの起動を要求す
るバスリクエスト信号4を実行制御部3に出力すると共
に、メモリ8のアクセス先のデータアドレス情報をアド
レス線5を介して実行制御部3に出力する。また、実行
制御部3はパスリフニス1−信号4を受けて処理実行部
2に対してアクノリッジ信号6を出力する。
Further, the microprocessor 1 includes a processing execution section 2 and an execution control section 3. The processing execution unit 2 is the memory 8
A bus request signal 4 requesting activation of a data read/write cycle for the data is output to the execution control unit 3, and data address information of the access destination of the memory 8 is output to the execution control unit 3 via the address line 5. Further, the execution control unit 3 receives the pass refresh 1-signal 4 and outputs an acknowledge signal 6 to the processing execution unit 2.

ADババスは、信号線の数を削減するため、アドレスバ
スとデータバスとを兼ねたもので、このADババス上で
多重化されたアドレス情報、命令コード及び入力データ
はアドレスラッチ7によりデマルチプレクスされ、アド
レスバス10を介してメモリ8に入力される。また、マ
イクロプロセッサ1はアドレスラッチ7にラッチタイミ
ングを指定するアドレスラッチイネーブル信号く以下、
ALE信号という)11を出力すると共に、メモリ8に
対してリード信号(以下、RD倍信号いう)12を出力
する。
The AD bus functions as both an address bus and a data bus in order to reduce the number of signal lines. Address information, instruction codes, and input data multiplexed on this AD bus are demultiplexed by the address latch 7. and is input to the memory 8 via the address bus 10. The microprocessor 1 also sends an address latch enable signal that specifies latch timing to the address latch 7.
It outputs a read signal (hereinafter referred to as an RD double signal) 12 to the memory 8.

次に、連続したアドレスを有するプログラムを連続的に
入力する場合について、従来のマイクロコンピュータ装
置の動作を第12図のタイミング図を参照して説明する
Next, the operation of the conventional microcomputer device will be described with reference to the timing diagram of FIG. 12 in the case where programs having consecutive addresses are input continuously.

通常、プログラムは連続したメモリ領域に順に格納され
ており、マイクロプロセッサ1はこれらのプログラムを
アドレス順序に従って、ADババスを介して読出し実行
する。
Normally, programs are stored in consecutive memory areas in sequence, and the microprocessor 1 reads and executes these programs via the AD bus according to the address order.

プログラム入力の1サイクルは、第12図に示すように
、3つの基本動作ステートB、、B2゜B3により構成
され、プログラムの入力が完了するまでこのサイクルが
連続して起動される。先ず、マイクロプロセッサ1は基
本動作ステートB1の期間においてALE信号11をア
クティブにする。
As shown in FIG. 12, one cycle of program input consists of three basic operation states B, . First, the microprocessor 1 activates the ALE signal 11 during the basic operating state B1.

また、基本動作ステートB1からB2にかけて、マイク
ロプロセッサ1は読出しアドレスをADババスに出力す
る。基本動作ステートB2では、ALE信号11の立下
りでアドレスラッチ7にアドレスがラッチされ、アドレ
スバス10に出力される。次いで、基本動作ステートB
3においてRD信号12(負論理)がアクティブになる
と、メモリ8はこれに同期してADババスに読出しデー
タを出力する。マイクロプロセッサ1は基本動作ステー
トB5期間内の所定のタイミングにてADババスのデー
タを取込む。以上の一連の処理により、プログラム入力
の1サイクルが完了し、マイクロプロセッサ1は読出し
た命令を実行する。命令実行終了後、再度読出しアドレ
スを出力し前回と同様のサイクルにより命令コードを読
出す。これが繰返されてプログラムの実行が完了する。
Further, from basic operation state B1 to B2, microprocessor 1 outputs a read address to the AD bus. In the basic operation state B2, an address is latched in the address latch 7 at the falling edge of the ALE signal 11, and is output to the address bus 10. Next, basic operation state B
3, when the RD signal 12 (negative logic) becomes active, the memory 8 outputs read data to the AD bus in synchronization with this. The microprocessor 1 takes in data from the AD bus at a predetermined timing within the period of the basic operation state B5. Through the above series of processes, one cycle of program input is completed, and the microprocessor 1 executes the read instructions. After the instruction execution is completed, the read address is output again and the instruction code is read in the same cycle as the previous one. This is repeated until the program execution is complete.

[発明が解決しようとする課題] ところで、従来のマイクロコンピュータ装置においては
、処理実行部2が基本動作ステートB1の期間に読出し
アドレスをアドレス線5に出力して、基本動作ステート
B3の期間内にそのアドレスに対応するデータを受取る
までの期間はデータが入力されるのを待つデータ待ち期
間である。この処理実行部2の遊び時間が装置全体の処
理速度を低下させている。
[Problems to be Solved by the Invention] In the conventional microcomputer device, the processing execution section 2 outputs the read address to the address line 5 during the period of the basic operation state B1, and outputs the read address to the address line 5 during the period of the basic operation state B3. The period until data corresponding to that address is received is a data waiting period for waiting for data to be input. This idle time of the processing execution unit 2 reduces the processing speed of the entire device.

また、従来のマイクロコンピュータ装置はメモリ18か
ら命令コードを読出し、それを実行した後、次の命令コ
ードのアドレスをADババスに出力して、プログラムの
入力サイクルを繰返している。従って、マイクロコンピ
ュータ装置の全体の処理時間は、命令コードの読出し時
間と実行時間とで決定され、高速処理が可能なマイクロ
プロセッサを使用しても、アクセスタイムの制限から処
理速度の向上に結びついていない。特に、プログラムの
ように連続したアドレスに設定されている命令コードを
読出して入力する場合には、マイクロプロセッサ1の処
理の大半が命令コード待ち状態となり、マイクロコンピ
ュータ装置全体の処理速度を低下させるという問題点が
ある。
Further, the conventional microcomputer device reads an instruction code from the memory 18, executes it, outputs the address of the next instruction code to the AD bus, and repeats the program input cycle. Therefore, the overall processing time of a microcomputer device is determined by the read time and execution time of the instruction code, and even if a microprocessor capable of high-speed processing is used, it is difficult to improve the processing speed due to access time limitations. do not have. In particular, when reading and inputting instruction codes set at consecutive addresses such as in a program, most of the processing of the microprocessor 1 is in the instruction code waiting state, which reduces the processing speed of the entire microcomputer device. There is a problem.

本発明はかかる問題点に鑑みてなされたものであって、
プログラムリード及びデータリード等のアクセス時間を
著しく短縮することができるマイクロコンピュータ装置
を提供することを目的とする。
The present invention has been made in view of such problems, and includes:
It is an object of the present invention to provide a microcomputer device that can significantly shorten access time for program reading, data reading, etc.

[課題を解決するための手段] 本発明に係るマイクロコンピュータ装置は、命令コード
を含む処理データを記憶する記憶手段と、処理データの
転送を受けてデータを処理するデータ処理手段と、前記
処理データの転送を制御すると共に更新制御信号を出力
する制御手段と、前記記憶手段の記憶内容を指示するア
ドレスを格納し前記制御手段から更新制御信号を入力し
てアドレスを更新すると共に格納しているアドレスを前
記記憶手段に出力する1又は複数個の指示手段と、前記
制御手段から更新制御信号を入力して前記記憶手段の出
力データを前記データ処理手段に出力すると共にこのデ
ータを一旦保持する1又は複数個の保持手段と、を有し
、連続したアドレスを有する一連のデータを読出す場合
には前記制御手段はこの一連のデータの先頭のアドレス
のみを前記指示手段に与えることを特徴とする。
[Means for Solving the Problems] A microcomputer device according to the present invention includes a storage means for storing processing data including instruction codes, a data processing means for processing the data upon receiving transfer of the processing data, and a storage means for storing processing data including instruction codes; control means for controlling the transfer of the data and outputting an update control signal; and an address for storing an address instructing the storage contents of the storage means, for inputting an update control signal from the control means to update the address and for storing the address. one or more instruction means for outputting the data to the storage means; and one or more instruction means for inputting an update control signal from the control means to output the output data of the storage means to the data processing means and temporarily holding this data. and a plurality of holding means, and when reading a series of data having consecutive addresses, the control means supplies only the first address of the series of data to the instruction means.

[作用コ 本発明においては、記憶手段から連続したアドレスを有
する一連のデータを読出す場合には、制御手段は読出す
先頭のデータのアドレスのみを指示手段に与える。記憶
手段はこの指示手段からアドレスを指示されて、このア
ドレスに格納されているデータを出力する。制御手段は
前記指示手段及び保持手段に更新制御信号を出力する。
[Operations] In the present invention, when reading a series of data having consecutive addresses from the storage means, the control means supplies only the address of the first data to be read to the instruction means. The storage means receives an address from the instruction means and outputs the data stored at this address. The control means outputs an update control signal to the instruction means and the holding means.

そうすると、この保持手段は記憶手段から出力された出
力データをデータ処理手段に出力し、このデータを次に
記憶手段からの出力データを出力するまで一旦保持する
。指示手段は格納されているアドレスを更新して記憶手
段に出力する。次に、制御手段が更新制御信号を出力す
ると、保持手段からは次のデータがデータ処理手段に出
力される。
Then, the holding means outputs the output data output from the storage means to the data processing means, and temporarily holds this data until the next output data from the storage means is output. The instruction means updates the stored address and outputs it to the storage means. Next, when the control means outputs an update control signal, the holding means outputs the next data to the data processing means.

制御手段が順次的に更新制御信号を出力し、保持手段が
記憶手段の出力データを出力して、指示手段が格納した
アドレスを更新するから、データのアドレスを1データ
の読出し毎に指示手段に与える必要がない、このように
、データ処理手段が処理するデータは記憶手段から先読
みされているので、プログラム及びデータのアクセスを
高速にすることができる。
Since the control means sequentially outputs update control signals, the holding means outputs the output data of the storage means, and the instruction means updates the stored address, the address of the data is sent to the instruction means every time one piece of data is read. In this way, the data to be processed by the data processing means is read in advance from the storage means, so access to programs and data can be made faster.

また、前記アドレスが連続した一連のデータ以外のデー
タを読出す場合には、例えば、制御手段が他の指示手段
に読出す先頭のデータのアドレスを与えた後、この他の
指示手段及び他の保持手段に更新制御信号を出力する。
Further, when reading data other than a series of data with consecutive addresses, for example, after the control means gives the address of the first data to be read to another instruction means, this other instruction means and other An update control signal is output to the holding means.

そうすると、更新制御信号が出力される毎に前記他の保
持手段からは記憶手段のデータが出力され、前記他の指
示手段はアドレスを次のデータのアドレスに更新する。
Then, each time the update control signal is output, the other holding means outputs the data in the storage means, and the other instruction means updates the address to the address of the next data.

次いで、前述のアドレスが連続した一連のデータを再度
読出す場合には、前記保持手段に保持されているデータ
を読出した後、制御手段が前記指示手段及び保持手段に
順次的に更新制御信号を出力することにより、前回に引
き続きアドレスが連続した一連のデータを読出すことが
できる。
Next, when a series of data with consecutive addresses is to be read again, after reading the data held in the holding means, the control means sequentially sends an update control signal to the instruction means and the holding means. By outputting, it is possible to read a series of data with consecutive addresses following the previous one.

[実施例] 以下、添付の図面を参照して本発明の実施例について説
明する。第1図は本発明の第1の実施例に係るマイクロ
コンピュータ装置を示すブロック図である。マイクロプ
ロセッサ1は、データの入出力処理、演算処理及びマイ
クロコンピュータ装置全体の制御をする。メモリチップ
13はメモリ8を有しており、このメモリ8にはマイク
ロプロセッサ1が実行するプログラム及びその実行に必
要なデータが格納されている。
[Embodiments] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing a microcomputer device according to a first embodiment of the present invention. The microprocessor 1 performs data input/output processing, arithmetic processing, and control of the entire microcomputer device. The memory chip 13 has a memory 8, and this memory 8 stores programs to be executed by the microprocessor 1 and data necessary for its execution.

このマイクロプロセッサ1は、命令を実行する処理実行
部2と、マイクロプロセッサ1全体の動作を制御する実
行制御部3とを備えている。
The microprocessor 1 includes a processing execution section 2 that executes instructions, and an execution control section 3 that controls the overall operation of the microprocessor 1.

そして、処理実行部2から実行制御部3へはバスリクエ
スト信号4及びアドレス線5が出力される。このバスリ
クエスト信号4は命令実行に伴いメモリチップ13内の
メモリ8との間のデータのリードサイクルの起動を要求
する信号であり、アドレス線5はメモリ8のアクセス先
のデータアドレス情報を伝達する。実行制御部3は、デ
ータのリードサイクルの起動要求が入力されると、処理
実行部2ヘアクツリッジ信号6を出力する。
A bus request signal 4 and an address line 5 are output from the processing execution section 2 to the execution control section 3. This bus request signal 4 is a signal requesting activation of a data read cycle between the memory 8 in the memory chip 13 and the memory 8 in accordance with the execution of an instruction, and the address line 5 transmits data address information of the access destination of the memory 8. . When the execution control unit 3 receives a request to start a data read cycle, it outputs the processing execution unit 2 hair removal signal 6.

マイクロプロセッサ1は、ADババスを介してメモリチ
ップ13に接続されている。このADババスには、アド
レス情報及びデータがマルチプレクスされている。マイ
クロプロセッサ1とメモリチップ13内のメモリ8との
間のデータのリードは、このADババスを介してなされ
る。
The microprocessor 1 is connected to a memory chip 13 via an AD bus. Address information and data are multiplexed on this AD bus. Data is read between the microprocessor 1 and the memory 8 in the memory chip 13 via this AD bus.

バスインターフェース部14はマイクロプロセッサ1か
ら出力される後述する各種信号に基きメモリチップ13
の動作を制御して、データをメモリ8の所定のアドレス
から読出す。アドレスカウンタ15はADババスから入
力されるアドレス情報をラッチし、アドレスデコーダ1
6に出力する。
The bus interface unit 14 connects the memory chip 13 based on various signals output from the microprocessor 1, which will be described later.
The data is read from a predetermined address in the memory 8 by controlling the operation of the memory 8. The address counter 15 latches the address information input from the AD bus, and the address decoder 1
Output to 6.

そして、アドレスカウンタ15は後述するデータラッチ
制御信号(以下、DLC信号という)20の立上がりに
同期してその内容をインクリメントする。アドレスラッ
チ7もバスインターフェース部14に制御されてADバ
バスから入力されるアドレス情報をラッチする。
Then, the address counter 15 increments its contents in synchronization with the rise of a data latch control signal (hereinafter referred to as a DLC signal) 20, which will be described later. The address latch 7 is also controlled by the bus interface unit 14 to latch address information input from the AD bus.

アドレスデコーダ16には後述する制御信号に基き、ア
ドレスカウンタ15の出力か又はアドレスラッチ7の出
力が入力され、その内容(アドレス情報)によりメモリ
8のセルを選択する。メモリ8はアドレスデコーダ16
が選択するセルのデータをマイクロプロセッサ1へ出力
する。出力ラッチ17はメモリ8から出力される出力デ
ータをDLC信号20の立上りで一時的に保持する。出
力バッファ18はバスインターフェース部14により制
御され、メモリ8からの出力データを出力する。メモリ
アドレスバス(以下、MADバスという)19はバスイ
ンターフェース部14、アドレスカウンタ15、アドレ
スラッチ7、出力ラッチ17及び出力バッファ18を相
互に接続する。
The output of the address counter 15 or the output of the address latch 7 is input to the address decoder 16 based on a control signal to be described later, and a cell of the memory 8 is selected based on the contents (address information). Memory 8 is address decoder 16
outputs the data of the selected cell to the microprocessor 1. The output latch 17 temporarily holds the output data output from the memory 8 at the rising edge of the DLC signal 20. The output buffer 18 is controlled by the bus interface section 14 and outputs the output data from the memory 8. A memory address bus (hereinafter referred to as MAD bus) 19 interconnects the bus interface section 14, address counter 15, address latch 7, output latch 17, and output buffer 18.

次に、マイクロプロセッサ1及びメモリチップ13に入
出力する制御信号について説明する。
Next, control signals input to and output from the microprocessor 1 and the memory chip 13 will be explained.

マイクロプロセッサ1には、入力制御信号として、マイ
クロプロセッサ1内のハードウェアの初期設定のために
リセット信号22が入力される。
A reset signal 22 is input to the microprocessor 1 as an input control signal for initializing hardware within the microprocessor 1 .

マイクロプロセッサ1はメモリチップ13への出力制御
信号として、ALE信号11、RD信号12、DLC信
号20及びカウンタ/ラッチ選択制御信号(以下、C/
L信号という)21を出力する。
The microprocessor 1 outputs an ALE signal 11, an RD signal 12, a DLC signal 20, and a counter/latch selection control signal (hereinafter referred to as C/Latch) as output control signals to the memory chip 13.
21 (referred to as the L signal) is output.

ALE信号11はアドレスラッチ7か又はアドレスカウ
ンタ15がMADバス19のアドレス情報をラッチする
タイミングを与える。RD信号12はマイクロプロセッ
サ1がメモリチップ13内のメモリ8からデータを読出
すタイミングを与える。C/L信号21はMADバス1
9のアドレス情報をアドレスカウンタ15とアドレスラ
ッチ7とのいずれにラッチさせるかを指示すると共に、
メモリ8からのデータの出力光として出力ラッチ17と
出力バッファ18とのいずれを選択するかを指示する。
ALE signal 11 provides timing for address latch 7 or address counter 15 to latch address information on MAD bus 19. The RD signal 12 provides timing for the microprocessor 1 to read data from the memory 8 within the memory chip 13. C/L signal 21 is MAD bus 1
Instructing which of the address counter 15 and the address latch 7 should latch the address information of 9, and
It instructs which of the output latch 17 and the output buffer 18 is selected as the output light of the data from the memory 8.

DLC信号20はその立上がりエツジに同期してメモリ
8の出力データを出力ラッチ17にラッチさせると共に
、アドレスカウンタ15にそのカウント内容をインクリ
メントさせる更新制御信号である。なお、RD信号12
は、ローアクティブ信号である。また、C/L信号21
がハイレベルの場合には、アドレスラッチ7の内容がア
ドレスデコーダ16へ出力され、ローレベルの場合には
アドレスカウンタ15の内容が出力される。
The DLC signal 20 is an update control signal that causes the output latch 17 to latch the output data of the memory 8 in synchronization with its rising edge, and causes the address counter 15 to increment its count contents. Note that the RD signal 12
is a low active signal. In addition, the C/L signal 21
When is at a high level, the contents of the address latch 7 are output to the address decoder 16, and when is at a low level, the contents of the address counter 15 are output.

次に、このように構成されたマイクロコンピュータ装置
の動作について第2図、第3図及び第4図も参照して説
明する。なお、これらの図において、Pi (i=1.
2,3.・・・)はプログラムのアドレス及びデータを
示し、Diはデータの格納アドレス及びデータを示して
いる。また、データPi(Di)はメモリ8のアドレス
Pi(Di>に格納されたデータである。
Next, the operation of the microcomputer device configured as described above will be explained with reference also to FIGS. 2, 3, and 4. Note that in these figures, Pi (i=1.
2, 3. ) indicates a program address and data, and Di indicates a data storage address and data. Further, data Pi (Di) is data stored at address Pi (Di>) of the memory 8.

第2図は分岐直後のプログラムのリードサイクルを示す
タイミング図、第3図は連続したアドレスを有するプロ
グラムのリードサイクルを示すタイミング図、第4図は
データリードのリードサイクルを示すタイミング図であ
る。
FIG. 2 is a timing diagram showing a read cycle of a program immediately after a branch, FIG. 3 is a timing diagram showing a read cycle of a program having consecutive addresses, and FIG. 4 is a timing diagram showing a read cycle of a data read.

マイクロプロセッサ1のリードサイクルは複数のクロッ
クからなる4つの基本動作ステートT1゜T2.T3.
TI及び空きステートにより構成される。実行制御部3
はこれらのステートに基いてメモリチップ13に各種制
御信号を出力して、命令の実行に伴うメモリ8とのリー
ドサイクルを制御している。
The read cycle of the microprocessor 1 consists of four basic operating states T1, T2, . T3.
It consists of TI and free state. Execution control unit 3
outputs various control signals to the memory chip 13 based on these states to control read cycles with the memory 8 associated with execution of instructions.

プログラム分岐直後のリードサイクルは、第2図に示す
ように、基本動作ステートT、、T2゜TIにより構成
される。先ず、実行制御部3は実行プログラムのアドレ
ス(アドレスPL)をアドレスカウンタ15に書込むた
めに、ステートT1の開始タイミングt1において、A
LE信号11を立上げると共に、C/L信号21をロー
レベルにしてアドレスの書込先としてアドレスカウンタ
15を指定する。これにより、バスインターフェース部
14はステートT1内の中間のタイミングt2において
アドレスカウンタ15にMADバス19のアドレスP1
を入力させる。そして、このアドレスP1はアドレスデ
コーダ16に入力される。
As shown in FIG. 2, the read cycle immediately after a program branch is comprised of basic operating states T, . . . T2°TI. First, in order to write the address (address PL) of the execution program to the address counter 15, the execution control unit 3 starts the A at the start timing t1 of the state T1.
The LE signal 11 is raised and the C/L signal 21 is set to low level to designate the address counter 15 as the address write destination. As a result, the bus interface section 14 sets the address P1 of the MAD bus 19 to the address counter 15 at an intermediate timing t2 in the state T1.
input. This address P1 is then input to the address decoder 16.

次に、実行制御部3はステートT1の終了タイミングt
3においてALE信号11を立下げる。
Next, the execution control unit 3 determines the end timing t of state T1.
3, the ALE signal 11 falls.

これにより、バスインターフェース部14はアドレスカ
ウンタ15の入力ゲートを閉じ、MADバス19上のア
ドレス情報(アドレスPL)をアドレスカウンタ15に
ラッチさせる。メモリ8はアドレスデコーダ16により
アドレスP1のセルを選択されて、そのデータP1を出
力する。
As a result, the bus interface unit 14 closes the input gate of the address counter 15 and causes the address counter 15 to latch the address information (address PL) on the MAD bus 19. The memory 8 selects the cell at the address P1 by the address decoder 16 and outputs the data P1.

実行制御部3はステートT2の開始タイミングt3にお
いて、DLC信号20を立下げ、ステー) T 2の中
間のタイミングt4において、DLC信号20を立上げ
る。これにより、バスインターフェース部14はアドレ
スカウンタ15にその内容をインクリメントさせ、アド
レスデコーダ16に次の命令コードのアドレスP2を入
力させると共に、メモリ8から出力されている内容(デ
ータPL)を出力ラッチ17にラッチさせる。出力ラッ
チ17にラッチされたデータP1はRD信号12がロー
レベルになることによりMADバス19に出力される0
次いで、ステートTIにおいて、MADバス19のデー
タP1はADババスに出力され、実行制御部3はステー
トTIの中間のタイミングt6において、ADババス上
の命令コード(データPL)を取り込んで処理実行部2
に与えると同時に、RD信号12を立上げて分岐直後の
リードサイクルを終了する。
The execution control unit 3 lowers the DLC signal 20 at start timing t3 of state T2, and raises the DLC signal 20 at timing t4 in the middle of state T2. As a result, the bus interface section 14 causes the address counter 15 to increment its contents, inputs the address P2 of the next instruction code to the address decoder 16, and transfers the contents (data PL) outputted from the memory 8 to the output latch 17. to latch. The data P1 latched in the output latch 17 is output to the MAD bus 19 when the RD signal 12 becomes low level.
Next, in state TI, data P1 on the MAD bus 19 is output to the AD bus, and at timing t6 in the middle of state TI, the execution control unit 3 takes in the instruction code (data PL) on the AD bus and sends it to the processing execution unit 2.
At the same time, the RD signal 12 is raised to complete the read cycle immediately after branching.

次に、アドレスP1に引き続き連続したアドレスを有す
るプログラムを読出す場合のリードサイクルについて第
3図を参照して説明する。連続したアドレスに配置され
たプログラムのリードサイクルは、第3図に示すように
、基本動作ステートT3の連続及び基本動作ステートT
Iにより構成される。先ず、ステートT3の中間のタイ
ミングt8において、RD信号12を立下げる。そうす
ると、出力ラッチ17に保持されていたデータP2はM
ADバス19に出力され、更に、ADババスを介して処
理実行部2に取り込まれる。
Next, a read cycle for reading a program having consecutive addresses following address P1 will be described with reference to FIG. As shown in FIG. 3, a read cycle of a program located at consecutive addresses is performed in a sequence of basic operating states T3 and basic operating states T3.
It is composed of I. First, at timing t8 in the middle of state T3, the RD signal 12 is lowered. Then, the data P2 held in the output latch 17 becomes M
The data is output to the AD bus 19 and further taken into the processing execution unit 2 via the AD bus.

次のステートT3のタイミングt9において、実行制御
部3はDLC信号20を立下げ、更に、タイミングtt
oにおいて、DLC信号20を立上げる。これにより、
メモリ8から出力されていた内容(データP3)は出力
ラッチ17にラッチされる。RD信号12がローレベル
であるので、このデータP3はMADバス19に出力さ
れ、更に、ADババスを介して処理実行部2に取り込ま
れる。
At timing t9 of the next state T3, the execution control unit 3 lowers the DLC signal 20, and furthermore, at timing tt
At o, the DLC signal 20 is raised. This results in
The content (data P3) that has been output from the memory 8 is latched into the output latch 17. Since the RD signal 12 is at a low level, this data P3 is output to the MAD bus 19, and further taken into the processing execution unit 2 via the AD bus.

また、タイミングttoにおけるWEDAT信号20の
立上がりエツジに同期して、アドレスカウンタ15はそ
の内容(アドレスP3)をインクリメントすると共に、
インクリメントした内容(アドレスP4)をアドレスデ
コーダ16に出力する。
Further, in synchronization with the rising edge of the WEDAT signal 20 at timing tto, the address counter 15 increments its contents (address P3), and
The incremented content (address P4) is output to the address decoder 16.

メモリ8はアドレスデコーダ16が選択するアドレスP
4のセルのデータ(データP4)を出力する。以後、こ
の動作が並行して連続的に行われ、連続したアドレスを
有するプログラムが読出される。このリードサイクルの
終了はステートTIの中間のタイミングにおいてRD信
号12を立上げることにより行う。
The memory 8 stores the address P selected by the address decoder 16.
The data of cell No. 4 (data P4) is output. Thereafter, this operation is continuously performed in parallel, and programs having consecutive addresses are read out. This read cycle is completed by raising the RD signal 12 at an intermediate timing of state TI.

次に、アドレスカウンタ15が保持しているアドレスと
は異なるアドレスのデータを読出す場合について第4図
のタイミング図を参照して説明する。この場合のデータ
のリードサイクルは基本動作ステートT1.T2.TI
により構成される。
Next, a case where data at an address different from the address held by the address counter 15 is read will be described with reference to the timing diagram of FIG. 4. In this case, the data read cycle is in the basic operating state T1. T2. T.I.
Consisted of.

実行制御部3はステートT!の開始タイミングt1にお
いて、ALE信号11を立上げると共に、C/L信号2
1をハイレベルにし、次いで、タイミングt2において
読出すデータのアドレスラッチM A D t<ス19
に出力する。このMADバス19のアドレスD1はC/
L信号21がハイレベルとなっているので、タイミング
t2においてアドレスラッチ7にラッチされて、アドレ
スデコーダ16に入力される。これにより、メモリ8は
アドレスD1のデータ(データDりを出力する。
The execution control unit 3 is in state T! At the start timing t1, the ALE signal 11 is raised and the C/L signal 2 is raised.
1 to high level, and then address latch M A D t<S19 of the data to be read at timing t2.
Output to. Address D1 of this MAD bus 19 is C/
Since the L signal 21 is at a high level, it is latched by the address latch 7 and input to the address decoder 16 at timing t2. As a result, the memory 8 outputs the data at address D1 (data D).

次に、実行制御部3がタイミングt4においてRD信号
12を立下げると、C/L信号21がハイレベルとなっ
ているので、メモリ8のデータD−1は出力バッファ1
8から出力され、MADバス1つ及びADババスを介し
て処理実行部2に入力される。このリードサイクルはC
/L信号21をステートTIの終了タイミングt7にお
いてローレベルにすることにより終了する。
Next, when the execution control unit 3 lowers the RD signal 12 at timing t4, since the C/L signal 21 is at a high level, the data D-1 in the memory 8 is transferred to the output buffer 1.
8 and input to the processing execution unit 2 via one MAD bus and an AD bus. This read cycle is C
The state TI ends by setting the /L signal 21 to a low level at the end timing t7 of state TI.

このデータのリードサイクルの期間中において、アドレ
スカウンタ15及び出力ラッチ17の内容は保持されて
おり、データのリードサイクル終了後、直ちに、連続し
たアドレスを有する命令コードを処理実行部2に出力し
、連続したアドレスを有するプログラムのリードサイク
ルを再開することができる。
During this data read cycle, the contents of the address counter 15 and output latch 17 are held, and immediately after the data read cycle ends, instruction codes with consecutive addresses are output to the processing execution unit 2, Read cycles of programs with consecutive addresses can be restarted.

第12図と第2図及び第3図との比較から明らかなよう
に、本実施例においては、マイクロプロセッサ1がメモ
リ8からプログラムを入力する場合のデータの読出し時
間は極めて短いものになっている。
As is clear from a comparison between FIG. 12 and FIGS. 2 and 3, in this embodiment, the time required for reading data when the microprocessor 1 inputs a program from the memory 8 is extremely short. There is.

第5図は本発明の第2の実施例に係るマイクロコンピュ
ータ装置を示すブロック図である。第5図において第1
図と同一物には同一符号を付して説明を省略する。この
第2の実施例は第1の実施例におけるアドレスカウンタ
15及びアドレスラッチ7に替えて、夫々アドレスカウ
ンタA24及びアドレスカウンタB25を使用し、出力
ラッチ17及び出力バッファ18に替えて、夫々出力ラ
ッチA26及び出力ラッチB27を使用している。
FIG. 5 is a block diagram showing a microcomputer device according to a second embodiment of the present invention. In Figure 5, the first
Components that are the same as those in the drawings are designated by the same reference numerals and descriptions thereof will be omitted. This second embodiment uses an address counter A24 and an address counter B25, respectively, in place of the address counter 15 and address latch 7 in the first embodiment, and uses an output latch in place of the output latch 17 and output buffer 18, respectively. A26 and output latch B27 are used.

つまり、メモリチップ23のアドレスカウンタA24及
びアドレスカウンタB25はC/L信号21によりいず
れか一方が選択されてアドレスデコーダ16にアドレス
情報を出力し、出力ラッチA26及び出力ラッチB27
はC/L信号21により選択されていずれか一方にメモ
リ8からデータが入力される。プログラムを読出す場合
には、C/L信号21をローレベルにすることによりこ
のアドレスカウンタA24及び出力ラッチA26を選択
し、データを読出す場合には、C/L信号21をハイレ
ベルにすることによりアドレスカウンタB25及び出力
ラッチB27を選択する。なお、メモリ8のアドレスP
1乃至P5に格納されているデータはデータP1乃至P
5であり、アドレスD1乃至D6に格納されているデー
タはデータD1乃至D6である。
In other words, one of the address counter A24 and address counter B25 of the memory chip 23 is selected by the C/L signal 21 and outputs address information to the address decoder 16, and output latch A26 and output latch B27
are selected by the C/L signal 21, and data is input from the memory 8 to either one. When reading a program, the address counter A24 and output latch A26 are selected by setting the C/L signal 21 to a low level, and when reading data, the C/L signal 21 is set to a high level. This selects address counter B25 and output latch B27. Note that address P of memory 8
The data stored in 1 to P5 are data P1 to P5.
5, and the data stored in addresses D1 to D6 are data D1 to D6.

次に、このように構成されたマイクロコンピュータ装置
の動作について、第6図、第7図及び第8図のタイミン
グ図を参照して説明する。本実施例のリードサイクルは
4つの基本動作ステートT、、T2.T3.TIにより
構成される。第6図は分岐直後のプログラムのリードサ
イクル及び連゛続したアドレスを有するプログラムのリ
ードサイクルを示すタイミング図である。この第6図か
ら明らかなように、この場合のリードサイクルは第1の
実施例と同様である。但し、この場合には、C/L信号
21をローレベルにすることにより、アドレスカウンタ
A24及び出力ラッチA26が選択されている。
Next, the operation of the microcomputer device configured as described above will be explained with reference to timing diagrams shown in FIGS. 6, 7, and 8. The read cycle of this embodiment consists of four basic operating states T, , T2 . T3. Constructed by TI. FIG. 6 is a timing diagram showing a read cycle of a program immediately after a branch and a read cycle of a program having consecutive addresses. As is clear from FIG. 6, the read cycle in this case is the same as in the first embodiment. However, in this case, address counter A24 and output latch A26 are selected by setting C/L signal 21 to low level.

データのリードサイクルは1データのリードサイクルと
連続したアドレスを有するデータのリードサイクル(以
下、連続データリードサイクルという)とに分けられる
。1データのリードサイクルは、第7図に示すように、
基本動作ステートT、、T2.TIにより構成される。
A data read cycle is divided into a read cycle for one data and a read cycle for data having consecutive addresses (hereinafter referred to as a continuous data read cycle). The read cycle for one data is as shown in Figure 7.
Basic operating states T,, T2. Constructed by TI.

先ず、実行制御部3はステートT、の開始タイミング1
1においてALE信号11及びC/L信号21を立上げ
る。次いで、実行制御部3はADババスにデータD1の
アドレス(アドレスDi)を出力する。
First, the execution control unit 3 determines the start timing 1 of state T.
1, the ALE signal 11 and the C/L signal 21 are raised. Next, the execution control unit 3 outputs the address of the data D1 (address Di) to the AD bus.

C/L信号21がハイレベルになることにより選択され
たアドレスカウンタB25はステートT1のタイミング
t2において、MADバス1つからアドレスD1を取り
込み、次いで、タイミングt3において、ALE信号1
1が立下ると、このアドレスD1をラッチする。
The address counter B25 selected when the C/L signal 21 becomes high level takes in the address D1 from one MAD bus at timing t2 of state T1, and then takes in the address D1 from one MAD bus at timing t3.
When 1 falls, this address D1 is latched.

実行制御部3はステートT2の開始タイミングt3にお
いてDLC信号20を立下げ、タイミングt4において
DLC信号20を立上げることにより、プログラムのリ
ードの場合と同様に、メモリ8からの出力データを出力
ラッチB27にラッチさせると共に、アドレスカウンタ
B25の内容をインクリメントさせる。これと同時に、
RD信号12を立下げて、このデータD1をMADバス
19に出力させる。
The execution control unit 3 lowers the DLC signal 20 at the start timing t3 of the state T2, and raises the DLC signal 20 at the timing t4, thereby transmitting the output data from the memory 8 to the output latch B27, as in the case of reading the program. The address counter B25 is latched and the contents of the address counter B25 are incremented. At the same time,
The RD signal 12 is lowered to output this data D1 to the MAD bus 19.

次いで、実行制御部3はステートT2において、MAD
バス1つの内容をADババスを介して処理実行部2へ出
力させ、ステートTIのタイミングt6でRD信号12
を立上げ、タイミングt7でC/L信号21を立下げて
1データのリードサイクルを終了する。
Next, in state T2, the execution control unit 3 executes the MAD
The contents of one bus are output to the processing execution unit 2 via the AD bus, and the RD signal 12 is output at timing t6 of state TI.
is raised, and at timing t7, the C/L signal 21 is lowered to complete the read cycle of one data.

次に、連続データリードサイクルは、第8図に示すよう
に、基本動作ステートT3の連続及び基本動作ステート
TIにより構成されている。先ず、実行制御部3はタイ
ミング1.において、C/L信号21を立上げてアドレ
スカウンタB25及び出力ラッチB27を選択する0次
に、タイミングt8において、RD信号12を立下げて
出力ラッチB27に保持されていたデータ(データD2
)をMADバス19及びADババスを介して処理実行部
2に出力させる。
Next, as shown in FIG. 8, the continuous data read cycle consists of a succession of basic operating states T3 and basic operating states TI. First, the execution control unit 3 starts at timing 1. Then, at timing t8, the RD signal 12 is brought down to select the data (data D2) held in the output latch B27 by raising the C/L signal 21 and selecting the address counter B25 and the output latch B27.
) is output to the processing execution unit 2 via the MAD bus 19 and the AD bus.

実行制御部3は次のステートT3のタイミングt9にお
いて、DLC信号20を上下げ、タイミングttoにお
いて立上げることにより、メモリ8の出力データD3を
出力ラッチB27にラッチさせてこのデータD3をMA
Dバス19に出力させると共に、アドレスカウンタB2
5の内容(アドレスD3)をインクリメントさせる。ア
ドレスデコーダ16にはインクリメントされたアドレス
カウンタB25の内容(アドレスD4)が入力される。
The execution control unit 3 raises and lowers the DLC signal 20 at timing t9 of the next state T3, and raises it at timing tto, thereby causing the output latch B27 to latch the output data D3 of the memory 8 and transfer this data D3 to MA.
In addition to outputting to the D bus 19, the address counter B2
5 (address D3) is incremented. The incremented contents of the address counter B25 (address D4) are input to the address decoder 16.

アドレスデコーダ16はメモリ8のアドレスD4のセル
を泗択し、メモリ8はアドレスD4のデータD4を出力
する。MADバス19のデータD3はADババスを介し
て処理実行部2に取込まれる。
Address decoder 16 selects the cell at address D4 of memory 8, and memory 8 outputs data D4 at address D4. Data D3 on the MAD bus 19 is taken into the processing execution unit 2 via the AD bus.

以後、この動作の連続により、連続したアドレスを有す
るデータが読出される。この連続データリードサイクル
はステートTIにおいて、RD信号12を立上げ、C/
L信号21を立下げることにより終了する。このように
、第12図と第6図及び第8図との比較から、本実施例
においては、プログラムのリード及び連続したアドレス
を有するデータのリードが極めて高速に行われることが
わかる。
Thereafter, by continuing this operation, data having consecutive addresses is read out. This continuous data read cycle causes the RD signal 12 to rise in state TI, and the C/C/
The process ends by lowering the L signal 21. As described above, from a comparison of FIG. 12 with FIGS. 6 and 8, it can be seen that in this embodiment, reading of a program and reading of data having consecutive addresses are performed at extremely high speed.

第9図は本発明の第3の実施例に係るマイクロコンピュ
ータ装置を示すブロック図である。なお、第9図におい
て第1図及び第5図と同一物には同一符号を付して説明
を省略する。この第3の実施例に係るマイクロコンピュ
ータ装置は、非連続なアドレスをもつデータの読み出し
をより速くできるように、第5図のマイクロコンピュー
タ装置に、メモリチップ23内のメモリ8から直接バス
インターフェイス部14ヘデータを出力するためのパス
31を構成要素として新たに付加したものとなっている
FIG. 9 is a block diagram showing a microcomputer device according to a third embodiment of the present invention. Note that in FIG. 9, the same parts as in FIGS. 1 and 5 are designated by the same reference numerals, and explanations thereof will be omitted. The microcomputer device according to the third embodiment has a bus interface section that directly connects the memory 8 in the memory chip 23 to the microcomputer device shown in FIG. A path 31 for outputting data to 14 is newly added as a component.

この実施例において、連続的なアドレスを持つプログラ
ムのリードサイクルでの各ユニット及び制御信号の動作
は第6図と同じであり、連続データリードサイクルの動
作は第8図と同じであるので、その動作説明は省略する
In this embodiment, the operation of each unit and control signal in the read cycle of a program with continuous addresses is the same as in FIG. 6, and the operation in the continuous data read cycle is the same as in FIG. The explanation of the operation will be omitted.

次に、連続的なアドレスを持つプログラムコードのリー
ドサイクル(以下連続プログラムリードサイクルという
)実行中にプログラムの実行に伴い非連続なアドレスを
持つ単一データリードの実行要求が発生したときのり−
°ドサイクルについて、第10図を参照して説明する。
Next, when a request to execute a single data read with discontinuous addresses occurs due to program execution during a read cycle of program code with continuous addresses (hereinafter referred to as a continuous program read cycle),
The closed cycle will be explained with reference to FIG. 10.

連続プログラムリードサイクル実行中の動作は第1の実
施例の第3図と同様であるが、実行制御部3はこのリー
ドサイクル実行中に命令実行に伴い、非連続なアドレス
を持つ単一データリードサイクルの起動要求を受付ける
と、T3タイミングに続(TIタイミングの中間t2で
RD信号12を立上げると同時に、DLC信号20の立
上りに同期してC/L信号21によって選択されている
アドレスカウンタA24の内容をインクリメントすると
共に、メモリ8からの出力内容を出力ラッチA26にラ
ッチさせる。以後、C/L信号21がハイレベルの期間
、DLC信号20を変化させない。
The operation during execution of a continuous program read cycle is the same as that shown in FIG. 3 of the first embodiment, but the execution control unit 3 performs a single data read with non-consecutive addresses during execution of this read cycle as instructions are executed. When a cycle start request is accepted, following the T3 timing (at the middle t2 of the TI timing), the RD signal 12 is raised, and at the same time, the address counter A24 selected by the C/L signal 21 is activated in synchronization with the rising edge of the DLC signal 20. is incremented, and the output latch A26 latches the output content from the memory 8.Thereafter, the DLC signal 20 is not changed while the C/L signal 21 is at a high level.

次のT1タイミングの前縁t3で実行制御部3は単一デ
ータリードのアドレスをアドレスカウンタB25に書込
むため、ALE信号11を立上げると共に、C/L信号
21をハイレベルにする。
At the leading edge t3 of the next T1 timing, the execution control unit 3 raises the ALE signal 11 and sets the C/L signal 21 to high level in order to write the address of the single data read into the address counter B25.

これによりバスインターフェース部14はT1タイミン
グの中間t4でアドレスカウンタB25を介してアドレ
スデコーダ16にMADバス19の内容を入力する。そ
して実行制御部3は、T1タイミングの後縁t5でAL
E信号11を立ち下げる。これによりバスインターフェ
ース部14はアドレスカウンタB25の入力ゲートを閉
じ、メモリ8から出力されている内容を出力ラッチB3
1を介することなく、バス31を介して直接バスインタ
ーフェース部14へ出力する。
As a result, the bus interface section 14 inputs the contents of the MAD bus 19 to the address decoder 16 via the address counter B25 at the middle t4 of the T1 timing. Then, the execution control unit 3 executes AL at the trailing edge t5 of the T1 timing.
Turn down E signal 11. As a result, the bus interface section 14 closes the input gate of the address counter B25, and outputs the contents output from the memory 8 to the latch B3.
The data is output directly to the bus interface section 14 via the bus 31 without going through the bus 1.

次のT2タイミングの中間t6で実行制御部3はRD信
号12をロウレベルにすることにより、バスインターフ
ェース部14の内容をA D /<ス9を介して処理実
行部2に伝え、続<TIタイミングの中間t8でADバ
バス上のデータを取込むと同時にRD信号12を立上げ
、同タイミングの後縁t9でC/L信号21を立ち下げ
る。そして実行制御部3は非連続なアドレスをもつ単一
データリードサイクル期間、DLC信号20をハイレベ
ルに保つ。これによりアドレスカウンタA24及び出力
ラッチA26の内容は保持され、次のT3タイミングの
中間tlOでRD信号12を立ち下げることにより、中
断していた連続プログラムリードサイクルを再開する。
At the middle t6 of the next T2 timing, the execution control section 3 sets the RD signal 12 to low level to transmit the contents of the bus interface section 14 to the processing execution section 2 via the A D /< bus 9. The RD signal 12 is raised at the same time as the data on the AD bus is taken in at the middle t8, and the C/L signal 21 is lowered at the trailing edge t9 of the same timing. The execution control unit 3 then maintains the DLC signal 20 at a high level during a single data read cycle period with non-continuous addresses. As a result, the contents of the address counter A24 and the output latch A26 are held, and by lowering the RD signal 12 at the middle tlO of the next T3 timing, the interrupted continuous program read cycle is restarted.

また、連続データリードサイクル実行中に、非連続なア
ドレスを持つ単一プログラムリードサイクルの起動要求
が実行制御部3に受付けられた場合でも、同様にメモリ
8に記憶された命令コードを、出力ラッチA26を介す
ることなくバス31を介して直接バスインターフェース
部14へ出力する。これにより、読出された命令コーグ
が直ちに処理実行部2へ伝えられ、単一プログラムリー
ドサイクルを実行する。そして、実行後は速やかに中断
していた連続データリードサイクルの再開を実行する。
Furthermore, even if the execution control unit 3 receives a request to start a single program read cycle with non-continuous addresses during the execution of a continuous data read cycle, the instruction code stored in the memory 8 will be transferred to the output latch. The signal is output directly to the bus interface section 14 via the bus 31 without passing through A26. As a result, the read instruction code is immediately transmitted to the processing execution unit 2, and a single program read cycle is executed. After execution, the interrupted continuous data read cycle is immediately resumed.

このように、本実施例によれば、連続プログラムリード
サイクル時及び連続データリードサイクル時に非連続な
アドレスを持つ単一プログラム又は単一データのリード
サイクルの起動要求があった場合でも、バス31を介し
て命令コード及びデータを読み出すことにより、アクセ
スタイムの短縮を図ることができる。
As described above, according to this embodiment, even if there is a request to start a read cycle of a single program or single data having discontinuous addresses during continuous program read cycles and continuous data read cycles, the bus 31 is not activated. By reading out the instruction code and data through the memory card, the access time can be shortened.

し発明の効果コ 以上説明したように、本発明によれば、制御手段が順次
更新制御信号を保持手段及び指示手段に出力し、保持手
段は記憶手段の出力データをデータ処理手段に出力する
と共にそのデータを保持し、指示手段は格納したアドレ
スを更新して記憶手段に出力するから、アドレスが連続
したデータを読出す場合には、制御手段が1データの読
出し毎にアドレスを指示手段に与える必要がないので、
記憶手段に高速参照機能を付加させることなく、アクセ
ス時間を極めて短縮することができる。
Effects of the Invention As described above, according to the present invention, the control means sequentially outputs update control signals to the holding means and the instruction means, and the holding means outputs the output data of the storage means to the data processing means. Holding that data, the instruction means updates the stored address and outputs it to the storage means, so when reading data with consecutive addresses, the control means gives an address to the instruction means every time one piece of data is read. Since there is no need
Access time can be extremely shortened without adding a high-speed reference function to the storage means.

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

第1図は本発明の第1の実施例に係るマイクロコンピュ
ータ装置を示すブロック図、第2図は第1の実施例にお
いて分岐直後のプログラムのデータリードサイクルを示
すタイミング図、第3図は第1の実施例において連続し
たアドレスを有するプログラムのデータリードサイクル
を示すタイミング図、第4図は第1の実施例においてデ
ータのリードサイクルを示すタイミング図、第5図は本
発明の第2の実施例に係るマイクロコンピュータ装置を
示すブロック図、第6図は第2の実施例において分岐直
後のプログラムのリードサイクル及び連続したアドレス
を有するプログラムのリードサイクルを示すタイミング
図、第7図は第2の実施例において単一のデータのリー
ドサイクルを示すタイミング図、第8図は第2の実施例
において連続したアドレスを有するデータのリードサイ
クルを示すタイミング図、第9図は本発明の第3の実施
例に係るマイクロコンピュータ装置を示すブロック図、
第10図は第3の実施例において連続プログラムリード
サイクル時に非連続データのリード要求があったときの
タイミング図、第11図は従来のマイクロコンピュータ
装置を示すブロック図、第12図はその動作を説明する
ためのタイミングチャート図である。 1;マイクロプロセッサ、2;処理実行部、3;実行制
御部、4;バスリクエスト信号、5;アドレス線、6;
アクノリッジ信号、7;アドレスラッチ、8;メモリ、
9;A[)バス、10.アドレスバス、11 ; AL
E信号、12;RD倍信号13.23;メモリチップ、
14;バスインターフェース部、15;アドレスカウン
タ、16;アドレスデコーダ、17;出力ラッチ、18
;出力バッファ、19 ; MADバス、20.WED
AT信号、21.DRC信号、22;リセット信号、2
4;アドレスカウンタA、25;アドレスカウンタB、
26;出力ラッチA、27;出力ラッチB、31:パス
FIG. 1 is a block diagram showing a microcomputer device according to a first embodiment of the present invention, FIG. 2 is a timing diagram showing a data read cycle of a program immediately after a branch in the first embodiment, and FIG. FIG. 4 is a timing diagram showing a data read cycle of a program having consecutive addresses in the first embodiment, FIG. 4 is a timing diagram showing a data read cycle in the first embodiment, and FIG. 5 is a timing diagram showing a data read cycle in the first embodiment. FIG. 6 is a block diagram showing a microcomputer device according to an example. FIG. 6 is a timing diagram showing a read cycle of a program immediately after a branch and a read cycle of a program having consecutive addresses in the second embodiment. FIG. FIG. 8 is a timing diagram showing a read cycle of single data in the embodiment. FIG. 8 is a timing diagram showing a read cycle of data having consecutive addresses in the second embodiment. FIG. 9 is a timing diagram showing a read cycle of data having consecutive addresses in the second embodiment. A block diagram showing a microcomputer device according to an example,
Fig. 10 is a timing diagram when there is a request to read non-continuous data during a continuous program read cycle in the third embodiment, Fig. 11 is a block diagram showing a conventional microcomputer device, and Fig. 12 shows its operation. FIG. 3 is a timing chart diagram for explanation. 1; microprocessor, 2; processing execution unit, 3; execution control unit, 4; bus request signal, 5; address line, 6;
Acknowledge signal, 7; Address latch, 8; Memory,
9; A[) bus, 10. Address bus, 11; AL
E signal, 12; RD double signal 13.23; memory chip,
14; Bus interface unit, 15; Address counter, 16; Address decoder, 17; Output latch, 18
;Output buffer, 19;MAD bus, 20. WED
AT signal, 21. DRC signal, 22; Reset signal, 2
4; Address counter A, 25; Address counter B,
26; Output latch A, 27; Output latch B, 31: Pass

Claims (1)

【特許請求の範囲】[Claims] (1)命令コードを含む処理データを記憶する記憶手段
と、処理データの転送を受けてデータを処理するデータ
処理手段と、前記処理データの転送を制御すると共に更
新制御信号を出力する制御手段と、前記記憶手段の記憶
内容を指示するアドレスを格納し前記制御手段から更新
制御信号を入力してアドレスを更新すると共に格納して
いるアドレスを前記記憶手段に出力する1又は複数個の
指示手段と、前記制御手段から更新制御信号を入力して
前記記憶手段の出力データを前記データ処理手段に出力
すると共にこのデータを一旦保持する1又は複数個の保
持手段と、を有し、連続したアドレスを有する一連のデ
ータを読出す場合には前記制御手段はこの一連のデータ
の先頭のアドレスのみを前記指示手段に与えることを特
徴とするマイクロコンピュータ装置。
(1) A storage means for storing processing data including instruction codes, a data processing means for receiving the transfer of processing data and processing the data, and a control means for controlling the transfer of the processing data and outputting an update control signal. , one or more instruction means for storing an address for instructing the storage contents of the storage means, inputting an update control signal from the control means to update the address, and outputting the stored address to the storage means; , one or more holding means for inputting an update control signal from the control means, outputting the output data of the storage means to the data processing means, and temporarily holding this data; 2. A microcomputer device, characterized in that when reading out a series of data, said control means supplies only the first address of the series of data to said instruction means.
JP63244945A 1988-01-31 1988-09-29 Microcomputer equipment Expired - Fee Related JPH0776940B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP63244945A JPH0776940B2 (en) 1988-01-31 1988-09-29 Microcomputer equipment
EP89118030A EP0361497B1 (en) 1988-09-29 1989-09-29 Program/data memory employed in microcomputer system
DE68925772T DE68925772T2 (en) 1988-09-29 1989-09-29 Program data memory used in a microcomputer system
US07/414,248 US5051890A (en) 1988-09-29 1989-09-29 Program/data memory employed in microcomputer system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP63-20191 1988-01-31
JP2019188 1988-01-31
JP63244945A JPH0776940B2 (en) 1988-01-31 1988-09-29 Microcomputer equipment

Publications (2)

Publication Number Publication Date
JPH01295347A true JPH01295347A (en) 1989-11-29
JPH0776940B2 JPH0776940B2 (en) 1995-08-16

Family

ID=26357093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63244945A Expired - Fee Related JPH0776940B2 (en) 1988-01-31 1988-09-29 Microcomputer equipment

Country Status (1)

Country Link
JP (1) JPH0776940B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014039833A (en) * 2013-09-10 2014-03-06 Fujishoji Co Ltd Game machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5786959A (en) * 1980-11-19 1982-05-31 Matsushita Electric Ind Co Ltd Data transfer control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5786959A (en) * 1980-11-19 1982-05-31 Matsushita Electric Ind Co Ltd Data transfer control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014039833A (en) * 2013-09-10 2014-03-06 Fujishoji Co Ltd Game machine

Also Published As

Publication number Publication date
JPH0776940B2 (en) 1995-08-16

Similar Documents

Publication Publication Date Title
US6199121B1 (en) High speed dynamic chaining of DMA operations without suspending a DMA controller or incurring race conditions
US5283874A (en) Cross coupling mechanisms for simultaneously completing consecutive pipeline instructions even if they begin to process at the same microprocessor of the issue fee
US5297242A (en) DMA controller performing data transfer by 2-bus cycle transfer manner
JPS6239780B2 (en)
JPH0869377A (en) Electronic circuit and method for using a coprocessor
JPH01120660A (en) Microcomputer device
US6487617B1 (en) Source-destination re-timed cooperative communication bus
US20020056029A1 (en) Interface for multi-processor
EP0465847B1 (en) Memory access control having commonly shared pipeline structure
JP2826490B2 (en) Vector data processing device
JP3077807B2 (en) Microcomputer system
JPH0776940B2 (en) Microcomputer equipment
JPH01273132A (en) Microprocessor
JPH0721117A (en) DMA controller
JP2000029508A (en) Programmable controller
JP2594092B2 (en) Data driven data processor
JP2747353B2 (en) Address generator
JPH02151947A (en) Microcomputer system
JP2002268876A (en) Pipeline processing method and information processing device
JP2635863B2 (en) Central processing unit
JP2623501B2 (en) Direct memory access control circuit
JPH01295333A (en) Microcomputer system
JP2594091B2 (en) Data driven data processor
JPH0228724A (en) System for controlling branching instruction
JPH03111949A (en) Microcomputer system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees