JPH0256028A - Microcomputer system - Google Patents

Microcomputer system

Info

Publication number
JPH0256028A
JPH0256028A JP13351789A JP13351789A JPH0256028A JP H0256028 A JPH0256028 A JP H0256028A JP 13351789 A JP13351789 A JP 13351789A JP 13351789 A JP13351789 A JP 13351789A JP H0256028 A JPH0256028 A JP H0256028A
Authority
JP
Japan
Prior art keywords
data
signal
becomes
address
output
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
JP13351789A
Other languages
Japanese (ja)
Other versions
JP3043341B2 (en
Inventor
Yukihiro Nishiguchi
西口 幸弘
Takumi Niimura
新村 拓美
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
Publication of JPH0256028A publication Critical patent/JPH0256028A/en
Application granted granted Critical
Publication of JP3043341B2 publication Critical patent/JP3043341B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PURPOSE:To improve the processing speed by prereading continuously data corresponding to the next address of an instruction code or data which is read out on an AD bus by an address pointer to which an incrementer is added and an output latch for holding read-out data from a memory. CONSTITUTION:When a fundamental operation clock CLK 307 from an oscillator 108 becomes '0', a control signal C3 becomes '1', and data is written in a data latch DTL 212. Also, simultaneously, since a control signal C1 is '1', an address being an output of an incrementer 208 is written in a pointer DP 207. Moreover, since control signals C4, C8 are both '0', an output of a NOR gate 219 becomes '1', a read-out buffer 223 becomes a conducting state, and data is outputted onto an address ADR bus 218. A bus interface part 201 outputs the data onto an AD bus 300. A microprocessor 100 inputs the data by a timing in which the CLK 307 is '1'.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプロセッサ及びメモリを含むマイク
ロコンピュータに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer including a microprocessor and a memory.

〔従来の技術〕[Conventional technology]

近年、マイクロプロセ、すは、アーキテクチャの改良で
非常に高速の命令処理が可能となったが、メモリからの
プログラムやデータリードにおいては、アクセススピー
ドの制限からマイクロプロセッサ9処理時間に比較して
アクセス時間が相対的に長く、マイクロプロセッサの命
令実行時間を低下させる原因となっている。特にプログ
ラムのように連続したアドレスに記憶されている命令コ
ードを読み出して入力する時は、マイクロプロセッサ全
体の処理時間の大部分がメモリからの命令コード待ちの
状態となり、マイクロコンピュータシステム全体の処理
速度を低下させている。
In recent years, improvements in the architecture of microprocessors have made it possible to process instructions at extremely high speeds, but due to access speed limitations when reading programs and data from memory, it takes longer than the processing time of a microprocessor. It takes a relatively long time and causes a decrease in the instruction execution time of the microprocessor. In particular, when reading and inputting instruction codes stored in consecutive addresses like a program, most of the processing time of the entire microprocessor is spent waiting for the instruction code from memory, which increases the processing speed of the entire microcomputer system. is decreasing.

θ 第1子図に示すマイクロコンピュータは、データの入出
力処理及びマイクロコンピュータ全体を制御するマイク
ロプロセッサ−000とマイクロプロセッサ−000か
ら出力されるマルチプレクスされたアドレス情報と命令
コード及び入力データをデマルチプレクスするためのア
ドレスラッチ1205とマイク四プロセッサー000の
処理データ及びプログラムを格納するメモリ1201か
ら構成され、これらのユニットがアドレスデータマルチ
プレクスバス1301 (以下、“ADババスと記す)
と、マイクロプロセッサ−000がメモリー301に記
憶されたデータ及びプログラムを読み出すために出力す
るロウアクティブのリード信号(以下“RA倍信号と記
す。)1302と、アドレスラッチ1205にアドレス
を記憶するために出力するASTB信号1303とで接
続されている。
θ The microcomputer shown in the first subfigure is a microprocessor-000 that controls data input/output processing and the entire microcomputer, and a multiplexed address information, instruction code, and input data output from the microprocessor-000. It consists of an address latch 1205 for multiplexing and a memory 1201 for storing processing data and programs of the four microphone processors 000, and these units form an address data multiplex bus 1301 (hereinafter referred to as "AD bus").
, a row active read signal (hereinafter referred to as "RA double signal") 1302 that the microprocessor-000 outputs to read data and programs stored in the memory 301, and a row active read signal (hereinafter referred to as "RA double signal") 1302 to store an address in the address latch 1205. It is connected to the ASTB signal 1303 to be output.

次に、連続したアドレスに配置されたプログラムの連続
的な入力におけるマイクロプロセッサ−000とADバ
バス上アドレス情報、データの流れについて第17図を
参照して説明する。
Next, the flow of address information and data on the microprocessor-000 and the AD bus during continuous input of programs placed at consecutive addresses will be explained with reference to FIG.

通常、プログラムは、連続したメモリ領域に順に格納さ
れており、マイクロプロセッサ−000は、これらのプ
ログラムをアドレス順序に従って、AD 1301を介
して読み出し実行してお/ す、プログラム入力は、第17図に示す通りに、Bl、
B2.B2の基本ステートから構成されている。
Normally, programs are stored in consecutive memory areas in sequence, and the microprocessor-000 reads and executes these programs via the AD 1301 in accordance with the address order.The program input is as shown in FIG. As shown in Bl,
B2. It consists of the basic state of B2.

まず、マイクロプロセッサ−000は%BlB1ステー
ト期間ASTB信号1303をアクティブにすると同時
にB1ステートからB2ステートにかけて読み出しアド
レスをADババス301上に出力する。続<B2ステー
トの中間でRD信号1302を“0”にし% Bzステ
ートの中間で“1”にする。このRD信号1302のア
クティブ期間に、メモリ1201からADババス301
上にデータを読み出し、マイクロプロセッサ1000は
% B3ステートの所定のタイミングでADババス30
1上にデータを取り込む。
First, the microprocessor-000 activates the ASTB signal 1303 during the %BlB1 state and simultaneously outputs a read address onto the AD bus 301 from the B1 state to the B2 state. The RD signal 1302 is set to "0" in the middle of the B2 state and set to "1" in the middle of the Bz state. During the active period of this RD signal 1302, the AD bus 301 is transferred from the memory 1201.
The microprocessor 1000 reads the data on the AD bus 30 at a predetermined timing in the %B3 state.
Import data onto 1.

以上の一連の処理により、プログラム入力のデータリー
ドサイクルの1サイクルが完了する。
Through the above series of processes, one cycle of the program input data read cycle is completed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

このように、実行すべき命令のアドレスは分岐命令等の
処理シーケンスを変える命令が実行されない限り連続し
ているにもかかわらず、従来のマイク四コンピュータは
命令ウェッチ毎にアドレスを発生しているための処理ス
ピードが早い。
In this way, although the addresses of instructions to be executed are continuous unless a branch instruction or other instruction that changes the processing sequence is executed, conventional Microphone 4 computers generate an address every time an instruction is fetched. The processing speed is fast.

したがって、本発明の目的は処理スピードを向上したマ
イクロコンピュータシステムを提供スることにある。
Therefore, an object of the present invention is to provide a microcomputer system with improved processing speed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明によるマイクロコンピュータシステムは、命令コ
ードを含む各種処理データを記憶する記憶手段と、命令
実行によりデータ処理を行うデータ処理手段とを有する
マイクロコンピュータシステムにおいて、前記記憶手段
のアドレス情報を格納するアドレス指示手段と、該アド
レス指示手段の格納する内容を更新する更新手段と、前
記アドレス指示手段により指示され、読出された前記記
憶手段の出力を保持する保持手段と、マイクロコンピュ
ータシステムの動作クロックに同期して前記更新手段の
制御及び前記保持手段の制御を行う制御手段と前記記憶
手段と前記データ処理手段とのデータ転送における読み
出しアドレス情報の前記アドレス指示手段への送出に続
いて指示された前記記憶手段と、前記データ処理手段と
の1回のデータ転送を行う第1のデータ転送手段と前記
制御手段を動作状態に制御し、前記保持手段内に前記ア
ドレス指示手段の内容に対応した前記記憶手段からの読
み出しデータを保持させると共に、前記アドレス指示手
段に次に読み出すアドレスを先行的に格納することによ
り、アドレス情報を送出することなく、前記保持手段と
前記データ処理手段との間で連続データ転送を行う第2
のデータ転送手段とを有している。
A microcomputer system according to the present invention includes a storage means for storing various processing data including instruction codes, and a data processing means for processing data by executing instructions, in which an address for storing address information of the storage means is provided. an instruction means, an update means for updating the contents stored in the address instruction means, a holding means for holding the output of the storage means instructed and read by the address instruction means, and synchronized with an operating clock of the microcomputer system. and the storage means instructed subsequent to the sending of read address information to the address instruction means in data transfer between the control means for controlling the updating means and the holding means, the storage means, and the data processing means. and a first data transfer means for performing one data transfer with the data processing means, and the storage means for controlling the control means into an operating state, and storing the storage means corresponding to the contents of the address instruction means in the holding means. By holding the read data from and storing the next address to be read in the address instruction means in advance, continuous data transfer can be performed between the holding means and the data processing means without sending out address information. Second to do
data transfer means.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図に示すマイクロコンピュータシステムは、データ
の入出力処理、演算処理及びマイクロコンピュータ全体
を制御するマイクロプロセッサ100と、マイクロプロ
セッサ100が実行するプログラムや演算に必要なデー
タを格納するリードオンリーメモリROM210(以下
“メモリ”と記す)を内蔵するLS I 200より構
成されている。
The microcomputer system shown in FIG. 1 includes a microprocessor 100 that controls data input/output processing, calculation processing, and the entire microcomputer, and a read-only memory ROM 210 that stores programs executed by the microprocessor 100 and data necessary for calculations. (hereinafter referred to as "memory") is composed of an LSI 200 with a built-in memory.

マイクロプロセッサ100は、命令を実行する処理実行
部101と、マイクロプロセッサ100全体の動作を制
御する実行制御部103と、メモリ210から読み出し
た命令やデータを読み出した順に記憶し、処理実行部1
01の要求に対応して記憶内容を出力するデータキュー
102と、マイクロプロセッサ100の動作の為のクロ
ック信号307を発生する発振器108によって構成さ
れている。
The microprocessor 100 includes a processing execution unit 101 that executes instructions, an execution control unit 103 that controls the overall operation of the microprocessor 100, and a processing execution unit 1 that stores instructions and data read from a memory 210 in the order in which they are read.
01, and an oscillator 108 that generates a clock signal 307 for operating the microprocessor 100.

処理実行部101から実行制御部103へは、命令実行
に伴い後述するLSI200内のメモリ210とデータ
リードサイクルの起動を要求するバスリクエスト信号1
05とメモリ210のアクセス先のアドレス情報を乗せ
るアドレス線104が出力され、実行制御部103はデ
ータリードサイクルの起動を受けて、処理実行部へ7ク
ノ一レツジ信号106を出力する。マイクロプロセッサ
100は、アドレス情報とデータとがマルチプレクサさ
れたADババス00を介して、LSI200内のメモリ
210からデータリードを行う。発振器108から発生
されたクロックは、基本動作クロックとしてマイクロプ
ロセッサ100内に供給されると共に、命令やデータを
読み出す同期クロックとしてLSI200に入力される
A bus request signal 1 is sent from the processing execution unit 101 to the execution control unit 103 to request activation of a memory 210 in the LSI 200 and a data read cycle, which will be described later, upon execution of an instruction.
05 and an address line 104 carrying the address information of the access destination of the memory 210 are output, and the execution control section 103 receives the start of the data read cycle and outputs the 7 key register signal 106 to the processing execution section. The microprocessor 100 reads data from the memory 210 in the LSI 200 via the AD bus 00 in which address information and data are multiplexed. The clock generated by the oscillator 108 is supplied to the microprocessor 100 as a basic operating clock, and is also input to the LSI 200 as a synchronization clock for reading instructions and data.

LS I 200は、マイクロプロセッサ100とイン
タフェースするために、マイクロプロセッサ100から
の出力を受け、制御信号CI、Cts C1#C4,C
6を発生するバスインターフェース部201と、マイク
ロプロセッサ100のプログラム及びデータを格納する
メモリ210と、ADババス00から入力され、バスイ
ンタフェース部201および、LSI200内部のアド
レスバス(以下“ADRバス”と記す)218を介して
、アドレス情報が書き込まれるポインタFP203(命
令コードのリードサイクル時に出力されるC2信号によ
り制御される)と、別のポインタDP 206(データ
のリードサイクル時に出力されるC1信号により制御さ
れる)と、FP 203の内容をインクリメントするイ
ンクリメンタ205と、後述する連続命令リードサイク
ル及び連続データリードサイクル時に出力されるC1信
号に制御されインクリメンタ205の出力を選択するマ
ルチプレクサMPXI  204と、DP206の内容
をインクリメントするインクリメンタ208と、C1信
号に同期してインクリメンタ208の出力を選択するマ
ルチプレクサ207と、連続命令コードリードサイクル
時に出力されるC6信号に基いて、FP203の出力を
選択してメモリ210に内部アドレスバス(以下“AB
ババスと記す)219として供給するマルチプレクサ2
09と、連続命令コードリードサイクル時に出力される
C2信号に基づきメモリ210から読み出したデータを
記憶するフードラッチ(以下、”CDL”と記す)21
1と、同様に連続データリードサイクル時に出力される
C8信号に基づき、メモリ210から読み出したデータ
を記憶するデータラッチ212と、出力ラッチ1 21
1.出力ラッチ2212.メモリ21Oのそれぞれの出
力を、制御信号C4゜C8及びNORゲート219の出
力に基いて選択してADRバス218に読み出す読み出
しバッファ221,222,223.とで構成されてい
る。またNORゲート219には、Ca、Csの両信号
が入力され、Cm、Caの両信号が“0”のとき、NO
Rゲー)219の出力が“1”となる。
The LSI 200 receives outputs from the microprocessor 100 and outputs control signals CI, Cts C1#C4,C to interface with the microprocessor 100.
6, the memory 210 that stores programs and data of the microprocessor 100, and the address bus (hereinafter referred to as "ADR bus") that is input from the AD bus 00 and the bus interface section 201 and the address bus inside the LSI 200. ) 218, there is a pointer FP 203 (controlled by the C2 signal output during the instruction code read cycle) into which address information is written, and another pointer DP 206 (controlled by the C1 signal output during the data read cycle). ), an incrementer 205 that increments the contents of the FP 203, and a multiplexer MPXI 204 that selects the output of the incrementer 205 under the control of a C1 signal output during consecutive instruction read cycles and consecutive data read cycles, which will be described later. An incrementer 208 increments the contents of DP206, a multiplexer 207 selects the output of incrementer 208 in synchronization with the C1 signal, and selects the output of FP203 based on the C6 signal output during continuous instruction code read cycles. to the memory 210 via an internal address bus (hereinafter “AB”).
Multiplexer 2 supplied as 219
09, and a hood latch (hereinafter referred to as "CDL") 21 that stores data read from the memory 210 based on the C2 signal output during continuous instruction code read cycles.
1, a data latch 212 that stores data read from the memory 210 based on the C8 signal similarly output during continuous data read cycles, and an output latch 1 21
1. Output latch 2212. Read buffers 221, 222, 223, . It is made up of. Further, both the Ca and Cs signals are input to the NOR gate 219, and when both the Cm and Ca signals are "0", the NOR gate 219 receives the NOR gate 219.
The output of R game) 219 becomes "1".

次にマイクロプロセッサ100及びLSI200に入出
力する制御信号について説明する。
Next, control signals input to and output from the microprocessor 100 and the LSI 200 will be explained.

マイクロプロセッサ100への入力制御信号としては、
マイクロプロセッサ100内のハードウェアの初期設定
を行うためのリセット信号306がある。マイクロプロ
セッサ100からLSI200への制御信号としては、
ADババス00上のアドレス情報をFP203又はDP
206に記憶させる為のASTB信号301と、メモリ
210からデータの読み出しを行うためのロウアクティ
ブのRD信号302と、メモ、U 210からの読み出
しモードを設定するM1信号304と、後述する連続的
な命令フード及びデータの読み出しを制御し、また読み
出しモードを設定するM2信号305と、後述する連続
命令コードリード及び連続データリードサイクルにおけ
る同期クロックとして使用するマイクロプロセッサ10
0の基本動作クロックCLK307とがある。
As input control signals to the microprocessor 100,
There is a reset signal 306 for initializing the hardware within microprocessor 100. As a control signal from the microprocessor 100 to the LSI 200,
Address information on AD Babasu 00 to FP203 or DP
An ASTB signal 301 for storing data in the memory 206, a low active RD signal 302 for reading data from the memory 210, an M1 signal 304 for setting a read mode from the memory 210, and a continuous signal 304 to be described later. The microprocessor 10 is used as an M2 signal 305 for controlling readout of instruction food and data and setting a readout mode, and as a synchronization clock in continuous instruction code read and continuous data read cycles, which will be described later.
There is a basic operation clock CLK307 of 0.

ASTB信号301が“1″のとき、M1信号304、
M2信号305の両信号のレベルによってLSI200
の読み出し動作が設定される。
When the ASTB signal 301 is “1”, the M1 signal 304,
Depending on the level of both M2 signals 305, the LSI 200
read operation is set.

ASTB信号301が“1”の時、M1信号304、M
2信号305のレベルがそれぞれ“0″“0”のときは
、連続データリードサイクルが設定される。また、M1
信号304.M2信号305のレベルがそれぞれ“0”
、′0”のときは、連続データリードサイクルが設定さ
れる。同様に、M+(=号304.Mz信号305のレ
ベルがそれぞれ“0″  “1″のときは、1回のデー
タリードサイクルが設定される。
When the ASTB signal 301 is “1”, the M1 signal 304, M
When the levels of the two signals 305 are "0" and "0", respectively, a continuous data read cycle is set. Also, M1
Signal 304. The level of M2 signal 305 is “0” respectively.
, '0', a continuous data read cycle is set.Similarly, when the levels of the M+(= sign 304 and Mz signal 305 are '0' and '1' respectively, one data read cycle is set. Set.

次に、第2図に制御信号発生部202の詳細図を示し説
明する。フリップフロップ(以下“F/F”と記す)4
00は、CLK307の立上りタイミングでM2信号の
レベルを書き込む。F/F411.412,413,4
14はASTB信号の立下りタイミングで、M1信号3
04.M2信号303のレベルをデコード410により
デコードされたレベルを書き込む。またF/F411゜
413.414は、ASTB信号305の立上りタイミ
ングで立上り工、ジ検出回路409から発生される信号
により“O″にクリアされる。デコーダ410は、M1
信号304.M2信号305のレベルが“l”0”1”
1” “0”、′1”0″  “0″のときにそれぞれF/F
411,412,413,414に“1”を書き込むた
めに、対応する信号出力を“1″にする。F/F416
は、F/F 411の出力をM1信号304の立下りタ
イミングで書き込む。F/F411,412,413,
414はそれぞれ連続命令コードリードサイクルのアド
レス設定サイクル、連続命令フードリードサイクルの読
み出しサイクル、連続データリードサイクル、1回のデ
ータリードサイクルのとき、′1”が書き込まれる。F
/F 417にはCLK307の立上りタイミングでF
/F416の出力が書き込まれる。制御信号C1は、連
続的にメモリ210の内容を読み出すサイクルのとき“
1”となる信号である。制御信号C2は、連続命令コー
ドリードサイクルにおいて% Mz信号305が“0”
でCLK307がO″及びM1信号304が“1″のと
き“1”となる信号である。制御信号C1は連続データ
リードサイクル時、M2信号303が“0”でCLK3
07が“0”のとき及びASTD信号301が“1”の
とき“1”となる信号である。制御信号C4は、1回の
データリードサイクル時にRD信号301が“0”のと
き“1″となる信号である。制御信号C0は、連続命令
コードリードサイクル時に“1”となる信号である。
Next, FIG. 2 shows a detailed diagram of the control signal generating section 202 and will be described. Flip-flop (hereinafter referred to as “F/F”) 4
00 writes the level of the M2 signal at the rising timing of CLK307. F/F411.412,413,4
14 is the falling timing of the ASTB signal, and M1 signal 3
04. The level decoded by the decode 410 for the level of the M2 signal 303 is written. Further, F/Fs 411, 413, and 414 are cleared to "O" by a signal generated from the rise detection circuit 409 at the rise timing of the ASTB signal 305. Decoder 410 is M1
Signal 304. The level of M2 signal 305 is “l”0”1”
1""0",'1"0" F/F when "0" respectively
In order to write "1" to 411, 412, 413, and 414, the corresponding signal output is set to "1". F/F416
writes the output of the F/F 411 at the falling timing of the M1 signal 304. F/F411, 412, 413,
414 is written with '1' in the address setting cycle of a continuous instruction code read cycle, the read cycle of a continuous instruction food read cycle, the continuous data read cycle, and one data read cycle, respectively.F
/F 417 has F at the rising timing of CLK307.
/F416 output is written. The control signal C1 is “
The control signal C2 is a signal that becomes "0" when the % Mz signal 305 is "0" in consecutive instruction code read cycles.
The control signal C1 is a signal that becomes "1" when the CLK307 is "O" and the M1 signal 304 is "1".The control signal C1 is a signal that becomes "1" when the M2 signal 303 is "0" and the CLK3 signal is "0" during a continuous data read cycle.
This signal becomes "1" when 07 is "0" and when ASTD signal 301 is "1". The control signal C4 is a signal that becomes "1" when the RD signal 301 is "0" during one data read cycle. The control signal C0 is a signal that becomes "1" during consecutive instruction code read cycles.

! 次に、第塁図を参照して連続命令フードリードサイクル
の動作を説明する。連続命令コードリードサイクルは、
アドレス設定のための基本ステート(以下、”BRステ
ート”と記す、)と連続的に命令コードを読み出すB5
.B、、Bアステート(以下、“CNFステート”と記
す)とで構成されていて実行制御部103はこれらのス
テートでLSI200に各種の制御信号を出力すること
により命令実行に伴うメモリ210の命令コードリード
サイクルを制御している。なお、連続命令コード読み出
しを続けるときはBsステートを続ける。
! Next, the operation of the continuous command hood read cycle will be explained with reference to the diagram. Continuous instruction code read cycles are
Basic state for address setting (hereinafter referred to as "BR state") and B5 for continuously reading instruction codes
.. The execution control unit 103 outputs various control signals to the LSI 200 in these states to control the instruction code in the memory 210 as the instruction is executed. Controls the read cycle. Note that when continuing to read out continuous instruction codes, the Bs state is continued.

まず、マイクロプロセッサ100は% Blステートで
ASTB信号301を“1”、M1信号304を“1″
、M2信号305を“0”にし、ADババス00上にア
ドレス“N”を出力する。LSI200では、制御信号
発生部202は、制御信号Cz、Csを“l”にし、ア
ドレス“N”をアドレスラッチ221.MPX2 20
7を介して、DP206に書き込む。
First, the microprocessor 100 sets the ASTB signal 301 to "1" and the M1 signal 304 to "1" in the %Bl state.
, sets the M2 signal 305 to "0" and outputs the address "N" onto the AD bus 00. In the LSI 200, the control signal generating unit 202 sets the control signals Cz and Cs to "L" and sets the address "N" to the address latch 221. MPX2 20
7 to the DP 206.

次に、Bsステートの中間でASTB信号301が立下
ると、F/F411は出力が“1″となる。
Next, when the ASTB signal 301 falls in the middle of the Bs state, the output of the F/F 411 becomes "1".

AsTB信号301が立下り“0”となると、制御信号
C2が“1”となりDP206の内容“N”をFP20
3にMPX204を介して書き込む。
When the AsTB signal 301 falls and becomes "0", the control signal C2 becomes "1" and the content "N" of DP206 is transferred to FP20.
3 via MPX204.

次に、B、ステートの中間でM1信号304が立下がっ
て、制御信号C2が“0”になり、FP203の内容“
N″がMPX3209を介してメモリ210にABババ
ス19として供給され、メモリ210からはアドレス“
N″に対応した命令コード(N)が出力される。
Next, the M1 signal 304 falls in the middle of the B state, the control signal C2 becomes "0", and the contents of the FP203 "
N'' is supplied to the memory 210 as the AB bus 19 via the MPX3209, and the memory 210 outputs the address “
An instruction code (N) corresponding to N'' is output.

次にB、ステートでCLK307が“1”になると、F
/F 417の出力が“1”となり、制御信号C1が“
l”となるのでMPXI  204は、インクリメンタ
205の出力を選択する。B、ステートの中間でCLK
307が“0”になると、制御信号C6が“1”となり
、メモ!3210の出力(N)が出力ラッチl 211
に書き込まれる。
Next, when CLK307 becomes “1” in state B, F
The output of /F 417 becomes “1” and the control signal C1 becomes “
The MPXI 204 selects the output of the incrementer 205. B, CLK in the middle of the state
307 becomes "0", the control signal C6 becomes "1", and the memo! The output (N) of 3210 is the output latch l 211
will be written to.

また、インクリメンタ204により1が加算され、Nの
次のアドレス“N+1”がFP 203に書き込まれる
。同時に制御信号C6が“1”の為、出力ラッチ1の内
容(N)がバスインタフェース部201に出力され、R
D信号302が“0”の為出力バッファ223が導通し
、ADババス00上にデータ(N)が読み出される。す
ると、実行制御部103はB4ステートのCLK307
が“1”のタイミングで入力し、データキュー102に
(N)を転送し、実行処理部101は命令コード(N)
を解読し、命令コード(N)に対応する処理を実行する
Further, 1 is added by the incrementer 204, and the next address “N+1” of N is written to the FP 203. At the same time, since the control signal C6 is "1", the content (N) of the output latch 1 is output to the bus interface section 201, and the R
Since the D signal 302 is "0", the output buffer 223 becomes conductive, and data (N) is read onto the AD bus 00. Then, the execution control unit 103 selects CLK307 in the B4 state.
is input at the timing of “1”, transfers (N) to the data queue 102, and the execution processing unit 101 receives the instruction code (N).
is decoded and the process corresponding to the instruction code (N) is executed.

次に%B4Bsステート2信号303が“1″となる。Next, the %B4Bs state 2 signal 303 becomes "1".

B4ステートの中間でCLK307が“0”となると、
制御信号C2が“1”となり出力ラッチ1211には、
アドレス“N+1”に対応した命令フード(N+1)が
書き込まれ、また、FP203には続くアドレス“N+
2”が書き込まれる。このとき同時にRD信号302が
“1”になる為、バスインタフェース部201はADバ
バス00上に何も出力しない。B、ステートの最初でM
1信号304が立上がって“1”になると、F/F41
1,413,414は“O”となり、F/F412は“
1”となるが、制御信号C1とC6は“1”のままであ
る。またM2信号303も“0”となる。B、ステート
の中間でRD信号302が“0”となるため、命令コー
ド(N+1)がADババス00上に読み出される。また
、CLK307が0”となるが、M2信号305がB4
ステートで“1”となっているため、Bsステートでは
、インバータ401の出力は“0′となっており、制御
信号C!は“0”のままである。
When CLK307 becomes “0” in the middle of B4 state,
The control signal C2 becomes “1” and the output latch 1211 has
The instruction food (N+1) corresponding to address “N+1” is written, and the following address “N+
2" is written. At this time, the RD signal 302 becomes "1", so the bus interface unit 201 does not output anything to the AD bus 00. At the beginning of the B state, the M
1 signal 304 rises and becomes “1”, F/F 41
1,413,414 becomes “O” and F/F412 becomes “
1", but the control signals C1 and C6 remain "1". The M2 signal 303 also becomes "0". Since the RD signal 302 becomes "0" in the middle of the B state, the instruction code (N+1) is read out on the AD bus 00.Also, CLK307 becomes 0'', but M2 signal 305 becomes B4
Since it is "1" in the Bs state, the output of the inverter 401 is "0'" and the control signal C! remains "0".

次にB6ステートの中間でインバータ401の出力が“
1″となっているので、CLK307が“0”になると
制御信号C2が“1”となりアドレス“N+2″に対応
した命令コード(N+2)が出力ラッチ1211に書き
込まれ、そして、ADババス00上に命令コード(N+
2)が読み出される。同時に、続くアドレス(N+3)
がFP203に書き込まれる。同様に、次のB6ステー
トでもアドレス“N+3”に対応する命令コード(N+
3)がADババス00上に読み出される。
Next, in the middle of the B6 state, the output of the inverter 401 becomes “
1", so when CLK307 becomes "0", control signal C2 becomes "1", and the instruction code (N+2) corresponding to address "N+2" is written to output latch 1211, and then on AD bus 00. Instruction code (N+
2) is read out. At the same time, the following address (N+3)
is written to the FP 203. Similarly, in the next B6 state, the instruction code (N+
3) is read onto AD bus 00.

最後のB、ステートで、M2信号305が“1”となる
。またB、ステートの中間でRD信号302が“1”と
なるので命令コード(N+3)以後バスインタフェース
部201はADババス00上に何も出力しない。B、ス
テートの中間では、制御信号C2が“1”となるので、
FP203はアドレス“N+5″′となり、・CDL2
11はアドレス“N+4”に対応する命令コード(N+
4)が書き込まれて連続命令フードリードサイクルが終
了する。B、ステートの次のステートでは、インバータ
401の出力が“0”となるため、制御信号C3は“0
″のままである。
In the final B state, the M2 signal 305 becomes "1". Also, since the RD signal 302 becomes "1" in the middle of the B state, the bus interface unit 201 does not output anything to the AD bus 00 after the instruction code (N+3). In the middle of state B, the control signal C2 becomes "1", so
FP203 has address "N+5"', and CDL2
11 is the instruction code (N+
4) is written and the continuous instruction hood read cycle ends. In the next state after state B, the output of the inverter 401 becomes "0", so the control signal C3 becomes "0".
” remains.

以上のように連続命令コードリードサイクルでは、FP
203及びCDL211を用いて、CLK307の立上
りに同期して、メモリ210に記憶されている命令コー
ドがADババス00上に連続的に読み出され、マイクロ
プロセッサ100がイクルについて説明する。1回のデ
ータリードサイクルは、Bl、Bt、Bsステートで構
成されている。B1ステートでは、マイクロプロセッサ
100は、ASTB信号305を“1”rM 1信号3
04を“0”、Mt信号303を“1″にする。また、
ADババス00上にアドレス“K”を出力する。
As mentioned above, in continuous instruction code read cycles, FP
203 and CDL 211, instruction codes stored in memory 210 are continuously read out onto AD bus 00 in synchronization with the rising edge of CLK 307, and microprocessor 100 cycles. One data read cycle consists of Bl, Bt, and Bs states. In the B1 state, the microprocessor 100 sets the ASTB signal 305 to “1” rM 1 signal 3
04 to "0" and the Mt signal 303 to "1". Also,
Address “K” is output on AD bus 00.

すると、制御信号C3が“1”となるので、DP207
上にアドレス“K”が書き込まれ、メモリ210のアド
レス“K”に対応するデータがアクセスされる。B1ス
テートの中間でASTB信号301が“0”になると、
F/F414の出力が′l”となる。B2ステートでR
D信号302が“0”になると、制御信号C4が“l”
となり出力バッファ222が導通し、アドレス“K”に
対応したメモリ210のデータ(K)がADババス00
上に読み出される。B、ステートの中間でマイクロプロ
セッサ−00がRD信号302を“1”にする。マイク
ロプロセッサ−00は%BSB1ステート定のタイミン
グで、データ(K)を入力し、処理実行部103がデー
タとして演算に使用する。1回のデータリードサイクル
中制御信号C2が“0”のままの為、FP203の内容
はアドレス“1”のまま変化しない。
Then, the control signal C3 becomes "1", so the DP207
Address "K" is written thereon, and data corresponding to address "K" in memory 210 is accessed. When the ASTB signal 301 becomes “0” in the middle of the B1 state,
The output of F/F414 becomes 'l'. R in B2 state
When the D signal 302 becomes "0", the control signal C4 becomes "l"
Then, the output buffer 222 becomes conductive, and the data (K) in the memory 210 corresponding to the address "K" becomes AD bus 00.
read out above. In the middle of state B, the microprocessor-00 sets the RD signal 302 to "1". The microprocessor-00 inputs data (K) at a timing determined by the %BSB1 state, and the processing execution unit 103 uses the data as data for calculations. Since the control signal C2 remains at "0" during one data read cycle, the contents of the FP203 remain at the address "1" and do not change.

次に第1図を用いて、連続データリードサイクルについ
て説明する。連続データリードサイクルは、B、、B2
.B、、B4サイクルで構成され、連続的に、データが
読み出される時はB、ステートが繰り返される。B1ス
テートでは、マイクロプロセッサ−00は、ASTB信
号305を“1″M1信号304を“0”、M2信号3
03を“1”にする。また、ADババス00上にアドレ
ス“L”を出力する。すると、制御信号C3が“1”と
なりアドレスラッチ221にアドレス“L”が記憶され
、同時にDP 207にアドレス“L”が書き込まれる
。B1ステートの中間で、F/F414が“1′となる
。B2ステートでもASTB信号305が、′1”とな
り、M2信号303が“0″となるので、B2ステート
の中間でF/F 413が“l”となるので、制御信号
C1が′1”となる。アドレス”L″は、MPX3 2
09を介してメモリ210に供給され、アドレス“L”
に対応するメモ!7210のデータ(L)が読み出さ九
る。
Next, a continuous data read cycle will be explained using FIG. Continuous data read cycles are B,,B2
.. It consists of B, , B4 cycles, and the B state is repeated when data is read out continuously. In the B1 state, the microprocessor-00 sets the ASTB signal 305 to "1", the M1 signal 304 to "0", and the M2 signal 3
Set 03 to “1”. It also outputs the address "L" onto the AD bus 00. Then, the control signal C3 becomes "1" and the address "L" is stored in the address latch 221, and at the same time, the address "L" is written in the DP 207. In the middle of the B1 state, the F/F 414 becomes "1". In the B2 state, the ASTB signal 305 becomes "1" and the M2 signal 303 becomes "0", so the F/F 413 becomes "1" in the middle of the B2 state. Since it becomes "L", the control signal C1 becomes '1'.The address "L" is MPX3 2
09 to the memory 210, and the address “L”
Notes corresponding to! Data (L) of 7210 is read out.

B3ステートの中間でCLK307が“0”となると、
制御信号C8が“1”となり、データ(L)がDTL2
12に書き込まれる。また、同時に、制御信号C1が“
1”の為、インクリメンタ208の出力であるアドレス
“L+1″がDP206に書き込まれる。また、制御信
号C4,CIが共に“0”であるためNORゲート21
9の出力が“1”となり、読み出しバッファ222が導
通状態となり、データ“L”がADRバス216上に出
力される。パスインタフニー入部201はデータ“L”
をADババス00上に出力する。マイクロプロセッサ1
00は次のB、サイクルのCLK307が“1”のタイ
ミングでデータ(L)を入力する。続<B3ステートで
も同様の動作を行う。
When CLK307 becomes “0” in the middle of B3 state,
The control signal C8 becomes “1” and the data (L) becomes DTL2.
Written in 12. At the same time, the control signal C1 is “
1", the address "L+1", which is the output of the incrementer 208, is written to the DP 206. Also, since the control signals C4 and CI are both "0", the NOR gate 21
9 becomes "1", the read buffer 222 becomes conductive, and data "L" is output onto the ADR bus 216. Pass interface entry section 201 is data “L”
is output on AD bus 00. microprocessor 1
00 is the next B, and data (L) is input at the timing when CLK307 of the cycle is "1". The same operation is performed in the continuation<B3 state.

最後のB、ステートでマイクロプロセッサ100は、M
2信号305を“1”にする。するとB4ステートでイ
ンバータ401の出力は“0”となるため、B4ステー
トでCLK307が“0”となっても制御信号C6は出
力されない。B4ステートで、マイクロプロセッサ10
0は、RD信号302を“1″にして連続データリード
サイクルを終了する。
In the last state B, the microprocessor 100
2 signal 305 is set to "1". Then, since the output of the inverter 401 becomes "0" in the B4 state, the control signal C6 is not output even if the CLK 307 becomes "0" in the B4 state. In state B4, microprocessor 10
0 sets the RD signal 302 to "1" and ends the continuous data read cycle.

以上のように、連続データリードサイクルでは、CLK
307の立下りに同期して、DP207の内容が更新し
、DP206の内容に対応したメモリ210のデータな
りTL212を介して、連続的に読み出すことができる
。このとき、制御信号C2は“0”のまま変化しないた
め、FP203の内容は変化しない。以上のように、上
述したマイクロコンピュータでは、マイクロプロセッサ
100がM2信号305を制御することにより、マイク
四ブ田セッサの基本動作クロックに同期させて、メモリ
210より連続的に命令コード。
As mentioned above, in continuous data read cycles, CLK
The contents of the DP 207 are updated in synchronization with the falling edge of the DP 207, and the data in the memory 210 corresponding to the contents of the DP 206 can be continuously read out via the TL 212. At this time, the control signal C2 remains at "0" and does not change, so the contents of the FP 203 do not change. As described above, in the above-mentioned microcomputer, the microprocessor 100 controls the M2 signal 305 to continuously read instruction codes from the memory 210 in synchronization with the basic operating clock of the microphone Yobuta processor.

データを読み出すことができる。また1回のデータリー
ドも行うことができる。
Data can be read. It is also possible to read data once.

次に本発明の第2の実施例を第3図、第4図を用いて説
明する。
Next, a second embodiment of the present invention will be described using FIGS. 3 and 4.

第3図に示すマイクロコンピュータは第1図で説明した
マイクロコンピュータに対し、メモリ210がデータの
読み出し及び書き込みが可能なランダムアクセス・メモ
リ(RAM)で構成されており、ロウアクティブの書き
込み信号WR303゜制御信号Cal書き込みバッファ
224が追加されている。従って、本実施例では、第1
図と異なる部分について説明する。マイクロプロセッサ
100は、アドレスに続いてADババス00上に出力す
るライトデータをメモリ210書き込むためのWR信号
303をLS I 200に供給する。
The microcomputer shown in FIG. 3 differs from the microcomputer described in FIG. 1 in that the memory 210 is composed of a random access memory (RAM) from which data can be read and written, and a row active write signal WR303° is used. A control signal Cal write buffer 224 is added. Therefore, in this embodiment, the first
The parts that are different from the diagram will be explained. The microprocessor 100 supplies the LSI 200 with a WR signal 303 for writing into the memory 210 write data to be output onto the AD bus 00 following the address.

第4図において、F/F414の出力が“1″で、WR
信号303が“0”のとき、ANDゲート500の出力
が“1″となり、ORゲート504の出力である制御信
号C8が“1″となる。また、F/F 503は、イン
バータ401の出力なCLK307の立下りタイミング
で書き込む。F/F413の出力が“1″、F/F50
3の出力が“1”、CLK307が“1”のときAND
ゲート502の出力が“l”となり、ORゲート504
の出力である制御信号C,が“1″となる。
In Figure 4, the output of F/F414 is "1" and WR
When the signal 303 is "0", the output of the AND gate 500 becomes "1", and the control signal C8, which is the output of the OR gate 504, becomes "1". Further, the F/F 503 is written at the falling timing of CLK 307, which is the output of the inverter 401. F/F413 output is “1”, F/F50
When the output of 3 is “1” and CLK307 is “1”, AND
The output of gate 502 becomes “L”, and OR gate 504
The control signal C, which is the output of , becomes "1".

制御信号C3が“1”になると、書込バッファ224が
動態状態となるのでADババス00上のライトデータが
メモリ210に書き込まれる。
When the control signal C3 becomes "1", the write buffer 224 becomes active, and the write data on the AD bus 00 is written to the memory 210.

次にマイクロプロセッサ−00がメモリ210に連続的
にデータを書き込む連続データライトサ? イクルを第9図のタイミング図を用いて説明する。連続
データサイクルはB、、Bl、B、、B4ステートから
構成されている。Br、Bsステートは、前記データリ
ードサイクルと同様であるので説明を省略する。Bsス
テートで、マイクロプロセッサ100はWR信号302
を“θ″にし、また、ADババス00上にアドレス“M
”に対応するメモリ210の番地に書き込む為のデータ
(M)を出力する。B、ステー゛トの中間でF/F 5
03の出力が“1″となるので、次のBsステートのC
LK307が“1″のタイミングで制御信号C6が“1
”となるので、書込バッファ223が導通状態になり、
ADババス00上のデータ(M)がバスインタフェース
部201を介して、メモリ210に書き込まれる。続<
Bsステートにおいても同様の動作をする。最後のB、
ステートでM2信号305が“1”となるので%B4B
sステート制御信号Csが“1”となった後の制御信号
C6は“0”のままである。B4ステートでアドレス“
M+3”に対応したデータCM+3)がメモリ210に
書き込まれる。
Next, the microprocessor-00 continuously writes data to the memory 210. The cycle will be explained using the timing chart shown in FIG. A continuous data cycle consists of states B, , Bl, B, , B4. The Br and Bs states are the same as those in the data read cycle, so their explanation will be omitted. In the Bs state, the microprocessor 100 outputs the WR signal 302.
and set the address “M” to “θ” on the AD bus 00.
Outputs the data (M) to be written to the address of the memory 210 corresponding to ”.B, F/F 5 in the middle of the state
Since the output of 03 becomes “1”, the next Bs state C
When LK307 is “1”, control signal C6 is “1”.
”, the write buffer 223 becomes conductive, and
Data (M) on the AD bus 00 is written to the memory 210 via the bus interface section 201. Continued<
A similar operation is performed in the Bs state. The last B,
Since the M2 signal 305 becomes “1” in the state, %B4B
After the s-state control signal Cs becomes "1", the control signal C6 remains "0". Address “ in B4 state
Data CM+3) corresponding to “M+3” is written to the memory 210.

上記二つの実施例では、LSI200の内部バスAD″
R/<ス218は、マルチプレックスバスとなっていた
が、アドレスバスとデータパスヲソレJン 第一図に示すマイクロコンピュータは、アドレスラッチ
331を追加し、ADRバス218の代りにアドレスラ
ッチ331の出力であるアドレスバス(以下“Aバス”
と記す)332と、出力バッファ221,222,22
3の代りにマルチプレクサMPX4 332と、MPX
4332の出力であるデータバス(以下、“Dバス”と
記す)とを追加していること以外は、第1図のマイクロ
コンピュータの構成と同様である。
In the above two embodiments, the internal bus AD'' of the LSI 200
The R/< bus 218 used to be a multiplex bus, but the microcomputer shown in Figure 1 has an address bus and a data path. The address bus (hereinafter referred to as “A bus”) is the output of
) 332, and output buffers 221, 222, 22
3 instead of multiplexer MPX4 332 and MPX
The configuration is the same as that of the microcomputer shown in FIG. 1, except that a data bus (hereinafter referred to as "D bus"), which is the output of 4332, is added.

従って、本実施例では、第1図と異なる部分について説
明する。LS I 200は、マイクロプロセッサ10
0から入力されるアドレス情報を、AsTB信号305
の“l”の期間にアドレスラ。
Therefore, in this embodiment, the parts different from those in FIG. 1 will be explained. LSI 200 is a microprocessor 10
The address information input from 0 is sent to the AsTB signal 305.
Addressra during the “l” period of.

チ331に記憶し、アドレスラッチ331に記憶された
アドレス情報をAバス332として、MPX2 207
に出力する。MPXIはC1信号の制御によりインクリ
メンタ206の出力またはDP206の出力を選択して
FP203に出力する。
MPX2 207 with address information stored in address latch 331 as A bus 332.
Output to. MPXI selects the output of the incrementer 206 or the output of the DP 206 under the control of the C1 signal and outputs it to the FP 203.

MPX2はC1信号の制御によりインクリメンタ208
の出力又はAバス3312の出力を選択してDP206
に出力する。
MPX2 uses the incrementer 208 under the control of the C1 signal.
Select the output of DP206 or the output of A bus 3312.
Output to.

MPX3 209は、連続命令コードリードサイクル時
に出力されるC、信号およびASTB信号301に基き
、FP203.Aバス332.又はDP206の出力を
選択してメモ!7210に出力する。CDL211は、
連続命令コードリードサイクル時に出力されるC2信号
に基き、メモリ210から読み出したデータを記憶する
。同様にDTL212は連続リードサイクル時に出力さ
れる03信号に基き、メモリ210から読み出したデー
タを記憶する。MPX4 223は、CDL211、D
TL212.メモリ210の出力を制御信号Ct、Cm
及びNORゲート219の出力に基き、それぞれ選択し
て、Dバス234に出力すサイクルの動作を説明する。
The MPX3 209 reads the FP203. A bus 332. Or select the output of DP206 and take a note! Output to 7210. CDL211 is
Data read from the memory 210 is stored based on the C2 signal output during consecutive instruction code read cycles. Similarly, the DTL 212 stores data read from the memory 210 based on the 03 signal output during consecutive read cycles. MPX4 223 is CDL211, D
TL212. The output of the memory 210 is controlled by control signals Ct and Cm.
The operation of the cycle in which the selected data and the output of the NOR gate 219 are respectively selected and output to the D bus 234 will be explained.

連続命令コードリードサイクルは、アドレス設定のため
の基本ステート(以下、”BRステート”と記す。)と
連続的に命令コードを読み出すBs、Ba、Brステー
ト(以下、″CNFCN−ト、′と記す)とで構成され
ていて実行制御部103はこれらのステートでL−8工
200に各種の制御信号を出力することにより命令実行
に伴うメモリ210の命令コードリードサイクルを制御
している。なお、連続命令コード読み出しを続けるとき
はB6ステートを続ける。
The continuous instruction code read cycle consists of a basic state for setting an address (hereinafter referred to as the ``BR state'') and a Bs, Ba, Br state (hereinafter referred to as ``CNFCN-to'') for successively reading out the instruction code. ), and the execution control unit 103 controls the instruction code read cycle of the memory 210 accompanying instruction execution by outputting various control signals to the L-8 device 200 in these states. When continuing to read continuous instruction codes, the B6 state is continued.

まず、マイクロプロセッサ100は、BIバスートでA
STB信号301を“1”+ M+信号304を“l”
1M2信号305を“0”にし、ADババス00上にア
ドレス“N”を出力する。LSI200では、制御信号
発生部202は、制御信号Ox、Csを“1”にし、ア
ドレス“N”をアドレスラッチ232.MPX2 20
7を介して、DP206に書き込む。
First, the microprocessor 100 uses the A
STB signal 301 is “1” + M+ signal 304 is “l”
The 1M2 signal 305 is set to "0" and the address "N" is output onto the AD bus 00. In the LSI 200, the control signal generating unit 202 sets the control signals Ox and Cs to "1" and sets the address "N" to the address latch 232. MPX2 20
7 to the DP 206.

次に、B、ステートの中間でASTB信号301が立下
ると、F/F411は出力が“1”となる。
Next, when the ASTB signal 301 falls in the middle of the B state, the output of the F/F 411 becomes "1".

ASTB信号301が立下り“0”となると、制御信号
C2が“1″となりDP206の内容“N”をFP20
3にMPX204を介して書き込む。
When the ASTB signal 301 falls and becomes "0", the control signal C2 becomes "1" and the content "N" of DP206 is transferred to FP20.
3 via MPX204.

次に、B2ステートの中間でM1信号304が立下がっ
て、制御信号C2が“0”になり、FP203の内容“
N”がMPX3209を介してメモリ210にABババ
ス19として供給され、メモリ210からはアドレス“
N”に対応した命令コード(N)が出力される。
Next, the M1 signal 304 falls in the middle of the B2 state, the control signal C2 becomes "0", and the contents of the FP203 "
N” is supplied to the memory 210 as the AB bus 19 via the MPX3209, and the address “N” is supplied from the memory 210 as the AB bus 19.
An instruction code (N) corresponding to "N" is output.

次にB、ステートでCLK307が“1”になると、F
/F 417の出力が“1″となり、制御信号C1が“
1′となるのでMPXI  204は、インクリメンタ
205の出力を選択する。B3ステートの中間でCLK
307が“0”になると、制御信号C2が“1″となり
、゛メモリ210の出力(N)が出力ラッチ1211に
書き込まれる。
Next, when CLK307 becomes “1” in state B, F
The output of /F 417 becomes “1” and the control signal C1 becomes “
1', so the MPXI 204 selects the output of the incrementer 205. CLK in the middle of B3 state
307 becomes "0", the control signal C2 becomes "1", and the output (N) of the memory 210 is written to the output latch 1211.

また、インクリメンタ204により1が加算され、Nの
次のアドレス“N+1”がFP203に書き込まれる。
Further, 1 is added by the incrementer 204, and the next address “N+1” of N is written to the FP 203.

同時に制御信号C6が“1″の為、出力ラッチ1の内容
(N)がRDババス14を介してバスインタフェース部
201に出力され、RD信号302が“0”の為出カバ
、ファ223が導通し、ADババス00上にデータ(N
)が読み出される。すると、実行制御部103はB4ス
テートのCLK307が“1”のタイミングで入力し、
データキュー102に(N)を転送し、実行処理部10
1は命令コード(N)を解読し、命令コード(N)に対
応する処理を実行する。
At the same time, since the control signal C6 is "1", the content (N) of the output latch 1 is output to the bus interface section 201 via the RD bus 14, and since the RD signal 302 is "0", the output cover and the fiber 223 are rendered conductive. and data (N
) is read out. Then, the execution control unit 103 receives an input at the timing when CLK307 in the B4 state is "1",
(N) is transferred to the data queue 102 and the execution processing unit 10
1 decodes the instruction code (N) and executes the process corresponding to the instruction code (N).

次に、B4ステートでM2信号303が“1″となる。Next, the M2 signal 303 becomes "1" in the B4 state.

B4ステートの中間でCLK307が“0″となると、
制御信号C2が“1”となり出力ラッチ1211には、
アドレス“N+1”に対応した命令コード(N+1)が
書き込まれ、また、FP203には続くアドレス“N+
2”が書き込まれる。このとき同時にRD信号302が
“1”になる為、バスインタフェース部201はADバ
バス00上に何も出力しない。B、ステートの最初でM
1信号304が立上がって“1″になると、F/F41
1,413,414は“0”となり、F/F412は“
1”となるが、制御信号C1と06は“1″のままであ
る。またM2信号303も“0”となる。B、ステート
・の中間でRD信号302が0″となるため、命令フー
ド(N+1)がADババス00上に読み出される。また
、CLに307が“0”となるが、M2信号305がB
4ステートで“1”となっているため、Bsステートで
は、インバータ401の出力は“Onとなっており、制
御信号C7は“0”のままである。
When CLK307 becomes “0” in the middle of B4 state,
The control signal C2 becomes “1” and the output latch 1211 has
The instruction code (N+1) corresponding to address “N+1” is written, and the following address “N+
2" is written. At this time, the RD signal 302 becomes "1", so the bus interface unit 201 does not output anything to the AD bus 00. At the beginning of the B state, the M
1 signal 304 rises and becomes “1”, F/F41
1,413,414 becomes “0” and F/F412 becomes “
1", but the control signals C1 and 06 remain "1". The M2 signal 303 also becomes "0". Since the RD signal 302 becomes 0" in the middle of state B, the instruction hood (N+1) is read onto AD bus 00. Also, 307 becomes “0” in CL, but M2 signal 305 becomes “0”.
Since it is "1" in four states, the output of the inverter 401 is "On" in the Bs state, and the control signal C7 remains "0".

次にB6ステートの中間でインバータ401の出力が“
1”となっているので、CLK307が0”になると制
御信号C2が“1″となりアドレス“N+2”に対応し
た命令コード(N+2)が出力ラッチ1211に書き込
まれ、そして、ADババス00上に命令コード(N+2
)が読み出される。同時に、続くアドレス(N+3)が
FP203に書き込まれる。同様に、次のB1ステート
でもアドレス“N+3”に対応する命令コード(N+3
)がADババス00上に読み出される。
Next, in the middle of the B6 state, the output of the inverter 401 becomes “
1", so when the CLK307 becomes 0, the control signal C2 becomes "1" and the instruction code (N+2) corresponding to the address "N+2" is written to the output latch 1211, and the instruction is written on the AD bus 00. Code (N+2
) is read out. At the same time, the following address (N+3) is written to the FP 203. Similarly, in the next B1 state, the instruction code (N+3
) is read onto AD bus 00.

最後のB、ステートで、M!信号305が“1”となる
。またB、ステートの中間でRD信号302が“1″と
なるので命令コード(N+3)以後バスインタフェース
部201はADババス00上に何も出力しない。BTス
テートの中間では、制御信号C2が1”となるので、F
P203はアドレス“N+5”となり、CDL211は
アドレス“N+4”に対応する命令フード(N+4)が
書き込まれて連続命令コードリードサイクルが終了する
。B7ステートの次のステートでは、インバータ401
の出力が“0″となるため、制御信号C2は“0”のま
まである。
The last B, state, M! The signal 305 becomes "1". Further, since the RD signal 302 becomes "1" in the middle of the B state, the bus interface unit 201 does not output anything to the AD bus 00 after the instruction code (N+3). In the middle of the BT state, the control signal C2 becomes 1", so F
P203 becomes address "N+5", and the instruction food (N+4) corresponding to address "N+4" is written in CDL 211, and the continuous instruction code read cycle ends. In the next state after the B7 state, the inverter 401
Since the output of is "0", the control signal C2 remains "0".

以上のように連続命令コードリードサイクルでは、FP
203及びCDL211を用いて、CLK307の立上
りに同期して、メモリ210に記憶されている命令フー
ドがADババス00上に連続的に読み出され、マイクロ
プロセッサ−00が対応する処理を実行する。
As mentioned above, in continuous instruction code read cycles, FP
203 and CDL 211, the instruction food stored in the memory 210 is continuously read out onto the AD bus 00 in synchronization with the rising edge of CLK 307, and the microprocessor 00 executes the corresponding processing.

乙 次に、第1図を用いて、1回のデータリードサイクルに
ついて説明する。1回のデータリードサイクルは、B 
+ r B 21 B sステートで構成されている。
Next, one data read cycle will be explained using FIG. One data read cycle is B
+ r B 21 B It is composed of s states.

B1ステートでは、マイクロプロセッサ−00は、AS
TB信号305を“1”IM+信号304を“0”2M
t信号303を“1″にする。また、ADババス00上
にアドレス“K”を出力する。
In the B1 state, microprocessor-00
TB signal 305 is “1” IM + signal 304 is “0” 2M
The t signal 303 is set to "1". It also outputs the address "K" onto the AD bus 00.

すると、制御信号Csが“1”となるので、DP207
上にアドレス“X”が書き込まれ、メモリ210のアド
レス“K″に対応するデータがアクセスされる。B1ス
テートの中間でASTB信号301が“0”になると、
F/F414の出力が“1″となる。B2ス、テートで
RD信号302が“0″になると、制御信号C1が“l
”となり、バスインタフェース部201内の出力バッフ
ァ222が導通し、アドレス″K”に対応したメモリ2
10のデータ(K)がRDババス14を介してADババ
ス00上に読み出される。B、ステートの中間でマイク
ロブ四セ9す100がRD信号302を“1″にする。
Then, the control signal Cs becomes "1", so the DP207
Address "X" is written thereon, and data corresponding to address "K" in memory 210 is accessed. When the ASTB signal 301 becomes “0” in the middle of the B1 state,
The output of F/F 414 becomes "1". When the RD signal 302 becomes “0” in the B2 state, the control signal C1 becomes “l”.
", the output buffer 222 in the bus interface unit 201 becomes conductive, and the memory 2 corresponding to the address "K"
10 data (K) is read onto the AD bus 00 via the RD bus 14. In the middle of the B state, the microbe 4S 9S 100 sets the RD signal 302 to "1".

マイクロプロセッサ100は、B3ステートの所定のタ
イミングで、データ(K)を入力し、処理実行部103
がデータとして演算に使用する。1回のデータリードサ
イクル中制御信号C3が“0”のままの為、FP203
ルについて説明する。連続データリードサイクルは、B
l、B2.Bs、Baサイクルで構成され、連続的に、
データが読み出される時はB、ステートが繰り返される
。B1ステートでは、マイクロプロセッサ100は、A
sTB信号305を“1”M1信号304を“0”l 
Mg信号303を“l”にする。また、ADババス00
上にアドレス“L”を出力する。すると、制御信号C1
が“1”となりアドレスラッチ221にアドレス“L”
が記憶され、同時にDP207にアドレス“L”が書き
込まれる。B1ステートの中間で、F/F 414が“
1”となる。B、ステートでもASTB信号305が、
“1”となり、M2信号303が“0”となるので、B
2ステートの中間でF’/F’413が“1”となるの
で、制御信号C2が“1”となる。アドレス”L”は、
MPX3209を介してメモリ210に供給され、アド
レス“L”に対応するメモリ210のデータ(L)が読
み出される。
The microprocessor 100 inputs data (K) at a predetermined timing in the B3 state and executes the process execution unit 103.
is used as data in calculations. Since the control signal C3 remains “0” during one data read cycle, the FP203
This section explains the rules. Continuous data read cycle is B
l, B2. Consisting of Bs and Ba cycles, continuously
When data is read, state B is repeated. In the B1 state, the microprocessor 100
sTB signal 305 is “1” M1 signal 304 is “0” l
The Mg signal 303 is set to "L". Also, AD Babasu 00
Address “L” is output on the top. Then, the control signal C1
becomes “1” and the address “L” is sent to the address latch 221.
is stored, and at the same time, the address "L" is written to the DP 207. In the middle of B1 state, F/F 414 is “
1". Even in state B, the ASTB signal 305 is
becomes “1” and the M2 signal 303 becomes “0”, so B
Since F'/F' 413 becomes "1" in the middle of the two states, the control signal C2 becomes "1". Address “L” is
The signal is supplied to the memory 210 via the MPX 3209, and data (L) of the memory 210 corresponding to the address "L" is read out.

B、ステートの中間でCLK307が“o″となると、
制御信号Csが“1″となり、データ(L)がDTL2
12に書き込まれる。また、同時に、制御信号C1が“
1”の為、インクリメンタ208の出力であるアドレス
“L+1″がDP206に書き込まれる。また、制御信
号C4,C@が共に“0”であるためNORゲー)21
9の出力が“l”となり、DTL212の出力が選択さ
れ、RDババス14上に出力される。このとき、RD信
号302が“0”の為出力バッファ222が導通状態と
なり、命令コード(L+1)がADババス00上に読出
される。マイクロプロセッサ100は次のB、サイクル
のCLK307が1”のタイミングでデータ(L)を入
力する。続くB□ステートでも同様の動作を行う。最後
のB3ステートでマイクロプロセッサ100は、M2信
号305を“1”にする。するとB4ステートでインバ
ータ401の出力は“0”となるため、B、ステートで
CLK307が“0″となっても制御信号C6は出力さ
れない。B、ステートで、マイクロプロセッサ100は
、RD信号302を“1”にして連続データリードサイ
クルを終了する。
B. When CLK307 becomes "o" in the middle of state,
The control signal Cs becomes “1” and the data (L) becomes DTL2.
Written in 12. At the same time, the control signal C1 is “
1", the address "L+1", which is the output of the incrementer 208, is written to the DP 206. Also, since the control signals C4 and C@ are both "0", the NOR game) 21
The output of DTL 212 is selected and output to RD bus 14. At this time, since the RD signal 302 is "0", the output buffer 222 becomes conductive, and the instruction code (L+1) is read onto the AD bus 00. The microprocessor 100 inputs data (L) at the timing when the CLK307 of the next B cycle is 1''.The same operation is performed in the following B□ state.In the final B3 state, the microprocessor 100 inputs the M2 signal 305. Set to "1".Then, the output of the inverter 401 becomes "0" in the B4 state, so the control signal C6 is not output even if the CLK307 becomes "0" in the B state.In the B state, the microprocessor 101 sets the RD signal 302 to "1" and ends the continuous data read cycle.

以上のように、連続データリードサイクルでは、CLK
307の立下りに同期して、DP207の内容が更新し
、DP 206の内容に対応したメモリ210のデータ
をDTL212を介して、連続的に読み出すことができ
る。このとき、制御信号C2は“0”のまま変化しない
ため、FP203の内容は変化しない。以上のように、
上述したマイクロコンピュータでは、マイクロプロセッ
サ100がM2信号305を制御することにより、マイ
クロプロセッサの基本動作クロックに同期させて、メモ
リ210より連続的に命令コード。
As mentioned above, in continuous data read cycles, CLK
The contents of the DP 207 are updated in synchronization with the falling edge of the DP 207, and the data in the memory 210 corresponding to the contents of the DP 206 can be continuously read out via the DTL 212. At this time, the control signal C2 remains at "0" and does not change, so the contents of the FP 203 do not change. As mentioned above,
In the microcomputer described above, the microprocessor 100 controls the M2 signal 305 to continuously read instruction codes from the memory 210 in synchronization with the basic operating clock of the microprocessor.

データを読み出すことができる。また1回のデータリー
ドも行うことができる。
Data can be read. It is also possible to read data once.

以上のように、アドレスとデータを分離したバスで構成
しても高速メモリアクセスの効果は損われないことは明
らかである。
As described above, it is clear that the effect of high-speed memory access is not impaired even if the address and data are configured with separate buses.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、特に高速なプログラムの
リード、データのリードが要求されるシステムにおいて
、記憶装置自体シこ高速参照機能を付加させる必要があ
るが、インクリメンタが付加されたアドレスポインタと
メモリからの読み出しデータを保持する出力ラッチによ
り、ADババス上読み出している命令コードまたはデー
タの次のアドレスに対応するデータを連続的に先読みし
ており、また、マイクロプロセッサの基本動作クロック
を連続的に命令コードやデータを読み出す周期信号に使
用しているため、マイクロプロセッサの動作に対し、命
令コードやデータの読み出し動作がほぼ同時に動作し、
遅れがほとんどないのでアクセス時間が非常に短く、高
速に命令フードやデータを連続的に読み出し、マイクロ
プロセッサの処理能力を向上するメモリを提供できる高
性能ノマイクロコンピュータを提供する効果がある。
As explained above, in systems that require particularly high-speed program reading and data reading, the present invention requires the addition of a high-speed reference function to the storage device itself. The data corresponding to the next address of the instruction code or data being read on the AD bus is continuously read ahead by the output latch that holds the read data from the memory. Because it is used as a periodic signal to read out instruction codes and data, the instruction code and data reading operations operate almost simultaneously with the microprocessor operations.
Since there is almost no delay, the access time is very short, and the effect is to provide a high-performance microcomputer that can continuously read instructions and data at high speed and provide memory that improves the processing performance of the microprocessor.

は1回のデータリードサイクルのタイミング図、は従来
例におけるデータリードサイクルのタイミング図である
is a timing diagram of one data read cycle, and is a timing diagram of a data read cycle in a conventional example.

Claims (1)

【特許請求の範囲】 命令コードを含む各種処理データを記憶する記憶手段と
、命令実行によりデータ処理を行うデータ処理手段とを
有するマイクロコンピュータシステムにおいて、 前記記憶手段のアドレス情報を格納するアドレス指示手
段と、該アドレス指示手段の格納する内容を更新する更
新手段と、前記アドレス指示手段により指示され、読出
された前記記憶手段の出力を保持する保持手段と、前記
保持手段の出力及び前記記憶手段の出力を前記処理手段
に転送する為のバス線をマイクロコンピュータシステム
の動作クロックに同期して前記更新手段の制御及び前記
保持手段の制御を行う制御手段と前記記憶手段と前記デ
ータ処理手段とのデータ転送における読み出しアドレス
情報の前記アドレス指示手段への送出に続いて指示され
た前記記憶手段と前記データ処理手段との間で、前記バ
ス線を介して1回のデータ転送を行う第1のデータ転送
手段と前記制御手段を動作状態に制御し、前記保持手段
内に前記アドレス指示手段の内容に対応した前記記憶手
段からの読み出しデータを保持させると共に、前記アド
レス指示手段に次に読み出すアドレスを先行的に格納す
ることにより、アドレス情報を送出することなく、前記
保持手段と前記データ処理手段との間で前記バス線を回
して連続データ転送を行う第2のデータ転送手段とを有
することを特徴とするマイクロコンピュータシステム。
[Scope of Claims] A microcomputer system having storage means for storing various processing data including instruction codes, and data processing means for processing data by executing instructions, comprising: address instruction means for storing address information of the storage means. an updating means for updating the contents stored in the address instruction means; a holding means for holding the output of the storage means instructed and read by the address instruction means; control means for controlling the updating means and the holding means in synchronization with the operating clock of the microcomputer system through a bus line for transferring output to the processing means; data of the storage means; and the data processing means. A first data transfer in which one data transfer is performed via the bus line between the storage means and the data processing means instructed after sending read address information to the address instruction means in the transfer. control means and the control means to be in an operating state, causing the holding means to hold read data from the storage means corresponding to the contents of the address instruction means, and causing the address instruction means to preemptively set the address to be read next. and a second data transfer means that sequentially transfers data by storing the address information in the storage means and the data processing means by passing the bus line between the holding means and the data processing means without transmitting the address information. microcomputer system.
JP01133517A 1988-05-25 1989-05-25 Microcomputer system Expired - Lifetime JP3043341B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP63-128842 1988-05-25
JP12884288 1988-05-25

Publications (2)

Publication Number Publication Date
JPH0256028A true JPH0256028A (en) 1990-02-26
JP3043341B2 JP3043341B2 (en) 2000-05-22

Family

ID=14994736

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01133517A Expired - Lifetime JP3043341B2 (en) 1988-05-25 1989-05-25 Microcomputer system

Country Status (1)

Country Link
JP (1) JP3043341B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5084850A (en) * 1989-03-03 1992-01-28 Pioneer Electronic Corporation Apparatus for detecting focus error signal
KR101340736B1 (en) * 2011-12-26 2013-12-12 주식회사 디알비동일 Rubber crawler with function of shock absorption

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58163060A (en) * 1982-02-11 1983-09-27 テキサス・インストルメンツ・インコ−ポレ−テツド Microprocessor system, microcomputer unit and microprocessor unit
JPS58219645A (en) * 1982-06-14 1983-12-21 Meidensha Electric Mfg Co Ltd Microcomputer
JPS62285152A (en) * 1986-06-04 1987-12-11 Hitachi Ltd Data processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58163060A (en) * 1982-02-11 1983-09-27 テキサス・インストルメンツ・インコ−ポレ−テツド Microprocessor system, microcomputer unit and microprocessor unit
JPS58219645A (en) * 1982-06-14 1983-12-21 Meidensha Electric Mfg Co Ltd Microcomputer
JPS62285152A (en) * 1986-06-04 1987-12-11 Hitachi Ltd Data processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5084850A (en) * 1989-03-03 1992-01-28 Pioneer Electronic Corporation Apparatus for detecting focus error signal
KR101340736B1 (en) * 2011-12-26 2013-12-12 주식회사 디알비동일 Rubber crawler with function of shock absorption

Also Published As

Publication number Publication date
JP3043341B2 (en) 2000-05-22

Similar Documents

Publication Publication Date Title
US5434818A (en) Four port RAM cell
JPH05342084A (en) Device and method for storing data
JPH0256028A (en) Microcomputer system
EP0333231B1 (en) Microcomputer system capable of accessing to memory at high speed
JPS60195661A (en) Data processing system
JPH02151947A (en) Microcomputer system
JPS6259829B2 (en)
JPS6235142B2 (en)
JP2721611B2 (en) Programmable controller
JPH06149669A (en) System and device for transferring cache data
JP2924004B2 (en) Instruction code transfer method
KR950003883B1 (en) Memory logic controller
JP2747353B2 (en) Address generator
JPH01255037A (en) Electronic computer
JPH0769797B2 (en) Microcomputer system
JPH0333951A (en) Microcomputer system
JPH01284943A (en) Information processor
JPH027129A (en) Arithmetic processing unit
JPH0713814B2 (en) Bus control method
JPH02121032A (en) Microprogram control device
JPH04254985A (en) Dram controller
JPS62217348A (en) Interface device
JPH02159623A (en) Microcomputer
JPH0192862A (en) Data processor
JPH04135237A (en) Microprogram control information processor