JPH06175926A - Data processor - Google Patents

Data processor

Info

Publication number
JPH06175926A
JPH06175926A JP4350870A JP35087092A JPH06175926A JP H06175926 A JPH06175926 A JP H06175926A JP 4350870 A JP4350870 A JP 4350870A JP 35087092 A JP35087092 A JP 35087092A JP H06175926 A JPH06175926 A JP H06175926A
Authority
JP
Japan
Prior art keywords
memory
cpu
cache
data
synchronous
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.)
Pending
Application number
JP4350870A
Other languages
Japanese (ja)
Inventor
Shigeki Matsuoka
茂樹 松岡
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.)
MegaChips Corp
Original Assignee
MegaChips 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 MegaChips Corp filed Critical MegaChips Corp
Priority to JP4350870A priority Critical patent/JPH06175926A/en
Publication of JPH06175926A publication Critical patent/JPH06175926A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a CPU system in which it is possible to facilitate a countermeasure to a wide range application by the same hardware by varying the capacity distribution of a synchronizing memory among a cache memory, cache tag memory, and high speed memory. CONSTITUTION:This device is equipped with a decoder 18 which decodes the combination of the 2 bits of instruction signals SEL1 and SEL0 from an outside, and bus switches which switch memories 81-84 to be connected with the buses of a CPU 1 according to the decoded result of the decoder 18, and decide the memory among the memories 81-84 to be assigned as the high speed memory, and the residual memories to be assigned as the cache memory and the cache tag memory. Then, the synchronizing memory which supplies a command to the CPU 1 synchronously with the operation clock of the CPU 1, or transfers data is prepared as the memories 81-84. The function can be changed according to the instruction signals SEL1 and SEL0 from the outside.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、階層メモリを有する
CPUシステムに関し、特にCPUとメモリとのインタ
ーフェースの改善を図ったものに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CPU system having a hierarchical memory, and more particularly to an improved CPU / memory interface.

【0002】[0002]

【従来の技術】図10に従来のこの種のCPUシステム
の一例を示す。この従来例は典型的な階層メモリシステ
ムであり、小容量の高速メモリを大容量の低速メモリの
キャッシュとして使用している。図10において、1は
CPU、2はCPUが実行すべき命令や処理すべきデー
タ等を記憶する低速メモリシステムであり、DRAM等
のビット単価の安価なメモリで構成するのが一般的であ
る。3は低速メモリシステム2に記憶された情報の一部
を記憶しているキャッシュメモリであり、SRAM等の
ビット単価は高いが高速なメモリで構成するのが一般的
である。4はキャッシュメモリ3が記憶している情報が
低速メモリシステム2のどのアドレスに該当するかのア
ドレス情報を記憶するキャッシュタグメモリ、5はキャ
ッシュメモリ3およびキャッシュタグメモリ4を制御す
るキャッシュメモリコントローラ、51,52,53は
キャッシュメモリコントローラ5に内蔵された回路であ
り、51はCPU1が出力する/RD信号の制御により
キャッシュタグメモリ4から上位アドレス情報AddHi を
入力するゲート、52はCPU1が出力する/WR信号
の制御によりキャッシュタグメモリ4に対し上位アドレ
ス情報AddHi を出力するゲート、53はCPU1が出力
するアドレスADDR中の上位アドレスとキャッシュタグメ
モリに記憶されている上位アドレスAddHi を比較し、こ
れらが一致しているか否かを示すキャッシュヒット信号
Hit を出力する比較器である。
2. Description of the Related Art FIG. 10 shows an example of a conventional CPU system of this type. This conventional example is a typical hierarchical memory system, which uses a small-capacity high-speed memory as a cache of a large-capacity low-speed memory. In FIG. 10, reference numeral 1 is a CPU, 2 is a low-speed memory system for storing instructions to be executed by the CPU, data to be processed, etc., and is generally composed of an inexpensive memory such as a DRAM with a unit cost per bit. A cache memory 3 stores a part of the information stored in the low-speed memory system 2, and is generally composed of a high-speed memory having a high bit unit price such as SRAM. 4 is a cache tag memory that stores address information indicating which address of the low-speed memory system 2 the information stored in the cache memory 3 corresponds to, 5 is a cache memory controller that controls the cache memory 3 and the cache tag memory 4, Reference numerals 51, 52 and 53 are circuits built in the cache memory controller 5, 51 is a gate for inputting the upper address information AddHi from the cache tag memory 4 under the control of the / RD signal output from the CPU 1, and 52 is output by the CPU 1. A gate for outputting the upper address information AddHi to the cache tag memory 4 under the control of the / WR signal, and 53 compares the upper address in the address ADDR output by the CPU 1 with the upper address AddHi stored in the cache tag memory, and Key indicating whether or not Cash hit signal
It is a comparator that outputs Hit.

【0003】次に動作について説明する。キャッシュメ
モリ3には低速メモリシステム2の一部の内容がマッピ
ングされており、キャッシュタグメモリ4にはキャッシ
ュメモリ3に保持されている内容が低速メモリシステム
2のどの部分に相当するかのアドレス情報を保持してい
る。
Next, the operation will be described. The cache memory 3 is mapped with a part of the contents of the low-speed memory system 2, and the cache tag memory 4 has address information indicating to which part of the low-speed memory system 2 the contents held in the cache memory 3 correspond. Holding

【0004】CPU1が命令またはデータを読み込む場
合、CPU1はその動作クロックに同期してキャッシュ
メモリ3の内容をCPU1に取り込み、かつキャッシュ
タグメモリ4の内容をキャッシュメモリコントローラ5
に取り込む。キャッシュタグメモリ4の内容とCPU1
が出力するアドレスの情報が一致すれば、CPU1は取
り込んだキャッシュメモリ3の内容を使って処理を継続
する。キャッシュタグメモリ4の内容とCPU1が出力
するアドレスの情報が不一致ならば、CPU1は処理を
保留し低速メモリシステム2の内容の読み出しを行う。
読み出したデータはキャッシュメモリ3に書き込まれ、
アドレスはキャッシュタグメモリ4にも書き込まれる。
When the CPU 1 reads an instruction or data, the CPU 1 fetches the contents of the cache memory 3 into the CPU 1 in synchronization with its operation clock and the contents of the cache tag memory 4 in the cache memory controller 5.
Take in. Contents of cache tag memory 4 and CPU 1
If the information of the address output by the CPU 1 matches, the CPU 1 continues the process by using the fetched contents of the cache memory 3. If the contents of the cache tag memory 4 do not match the address information output by the CPU 1, the CPU 1 suspends the process and reads the contents of the low-speed memory system 2.
The read data is written in the cache memory 3,
The address is also written in the cache tag memory 4.

【0005】これに対し、CPU1がデータを書き込む
場合、CPU1はキャッシュメモリ3にデータを、キャ
ッシュタグメモリ4にアドレスを書き込むと同時に、低
速メモリシステム2にデータの書込みを要求する。低速
メモリシステム2がCPUの書込み要求を受付け可能の
場合、CPU1は低速メモリシステム2へデータを書込
む処理を継続する。低速メモリシスシム2がCPU1の
書込み要求を受付け不可能の場合は、CPU1は書込み
要求の受付が可能になるまで処理を保留する。
On the other hand, when the CPU 1 writes data, the CPU 1 requests the low speed memory system 2 to write the data at the same time as writing the data to the cache memory 3 and the address to the cache tag memory 4. When the low speed memory system 2 can accept the write request of the CPU, the CPU 1 continues the process of writing the data to the low speed memory system 2. If the low-speed memory system 2 cannot accept the write request from the CPU 1, the CPU 1 suspends the process until the write request can be accepted.

【0006】このように、階層メモリシステムは、CP
Uの参照するアドレスが時間的にも空間的にも局所的で
あることを利用して、高速かつ大容量にみえるメモリを
実現する手法であり、CPUと大容量の低速メモリとの
間に小容量の高速メモリを設け、この小容量の高速メモ
リを大容量の低速メモリのキャッシュとして使用するこ
とにより、両者のアクセスギャップを埋め、CPUにと
って、あたかも高速かつ大容量メモリが実在するかのよ
うにみせることができる技法である。
As described above, the hierarchical memory system has a CP
This is a method for realizing a memory that looks high speed and has a large capacity by utilizing that the address referenced by U is local in terms of time and space, and is small between the CPU and the large capacity low speed memory. By providing a high-capacity high-speed memory and using this small-capacity high-speed memory as a cache of a large-capacity low-speed memory, the access gap between the both is filled, and it is as if the high-speed and large-capacity memory actually exists for the CPU. It is a technique that can be shown.

【0007】しかしながら、この方式では、However, in this method,

【0008】(1) キャッシュメモリの内にCPUが読み
出したい命令やデータがない場合、低速メモリシステム
から読み出しを行うので性能が低下する。
(1) When there is no instruction or data that the CPU wants to read in the cache memory, the performance is deteriorated because the low-speed memory system reads.

【0009】(2) キャッシュメモリの内にCPUが読み
出したい命令やデータがあるかないかは予測不可能なた
め、処理時間を明確に規定できない。これは実時間処理
システムの場合障害となる。
(2) It is impossible to predict whether there is an instruction or data that the CPU wants to read in the cache memory, so the processing time cannot be clearly defined. This is an obstacle for real-time processing systems.

【0010】(3) 書込みの場合、低速メモリシステムの
書込み要求受付けが不可能ならば、CPUの処理は保留
され性能が低下する。これは高速にCPUの内容を退避
したい例外処理等のレスポンスを悪くする。
(3) In the case of writing, if the writing request of the low-speed memory system cannot be accepted, the processing of the CPU is suspended and the performance deteriorates. This deteriorates the response such as the exception processing which needs to save the contents of the CPU at high speed.

【0011】(4) また、キャッシュがライトスルー方式
の場合、書込みデータはキャッシュに書き込まれると同
時に必ず低速メモリシステムにも転送されるので、低速
メモリシステムのバス使用率が高くなる。
(4) Further, when the cache is of the write-through type, the write data is written to the cache and is transferred to the low-speed memory system at the same time, so the bus usage rate of the low-speed memory system becomes high.

【0012】といった問題点がある。しかるに、このよ
うな階層メモリシステムの持つ種々の問題点を同時に解
決できるシステムが、本件発明者により既に開発されて
いる。
There are problems such as However, the present inventor has already developed a system capable of simultaneously solving various problems of such a hierarchical memory system.

【0013】図5は本件発明者により既に開発され、特
願平4−83362号として出願された明細書に記載さ
れた従来のCPUシステムである。このCPUシステム
は、低速メモリ,キャッシュメモリで構成された通常の
階層メモリシステムに、キャッシュメモリと同じタイミ
ングで動作する高速メモリ、およびCPUが高速メモリ
と命令,データのやりとりを行なう場合に高速メモリが
アクセスされたかどうかを判別するためのデコーダを追
加して設けることにより、CPUが高速メモリをアクセ
スする場合は、高速メモリ領域のみをアクセスするよう
にするとともに、CPUが高速メモリ以外の領域をアク
セスした場合は通常の階層メモリと同様に動作できるよ
うにしたものである。
FIG. 5 shows a conventional CPU system described in the specification filed as Japanese Patent Application No. 4-83362 already developed by the present inventor. This CPU system has a normal hierarchical memory system composed of a low-speed memory and a cache memory, a high-speed memory that operates at the same timing as the cache memory, and a high-speed memory when the CPU exchanges instructions and data with the high-speed memory. When the CPU accesses the high-speed memory by additionally providing a decoder for determining whether or not it has been accessed, the CPU accesses only the high-speed memory area and the CPU accesses the area other than the high-speed memory. In this case, it can operate like a normal hierarchical memory.

【0014】図において、1はプログラムとして記述さ
れた一連の命令に従ってデータの処理を実行するCP
U、2はCPUが実行すべき命令や処理すべきデータ等
を記憶する低速メモリシステムであり、これはDRAM
等の、ビット単価が安価なメモリで構成するのが一般的
である。3は低速メモリシステム2に記憶された情報の
一部を記憶しているキャッシュメモリであり、これはS
RAM等の、ビット単価は高いが高速でアクセスが可能
なメモリで構成するのが一般的である。4はキャッシュ
メモリ3が記憶している情報が低速メモリシステム2の
どのアドレスに該当するかを示すアドレス情報を記憶す
るキャッシュタグメモリ、6はキャッシュメモリ3と同
じタイミングで動作する高速メモリであり、これはキャ
ッシュメモリ3と同程度のアクセス速度,同程度の容量
を有する。
In the figure, 1 is a CP for executing data processing in accordance with a series of instructions described as a program.
U and 2 are low-speed memory systems that store instructions to be executed by the CPU, data to be processed, etc.
Generally, the memory is configured with a low bit unit price. 3 is a cache memory that stores a part of the information stored in the low-speed memory system 2, and this is a cache memory.
Generally, it is composed of a memory such as a RAM, which has a high unit price of bits but can be accessed at high speed. 4 is a cache tag memory that stores address information indicating which address in the low-speed memory system 2 the information stored in the cache memory 3 corresponds to, and 6 is a high-speed memory that operates at the same timing as the cache memory 3. This has the same access speed and the same capacity as the cache memory 3.

【0015】また、8はCPU1が出力する上位アドレ
スをデコードして、キャッシュメモリ3およびキャッシ
ュタグメモリ4のチップ選択入力/CEを制御するデコ
ーダ、9はデコーダ8が出力する信号HSELを反転した高
速メモリ選択信号/HSELを出力し、この高速メモリ選択
信号/HSELにより高速メモリ6のチップ選択入力/CE
を制御するインバータ、7はキャッシュメモリ3,キャ
ッシュタグメモリ4および高速メモリ6を制御する同期
メモリコントローラであり、71はCPU1が出力する
/RD信号の制御によりキャッシュタグメモリ4から上
位アドレス情報AddHi を入力するゲート、72はCPU
1が出力する/WR信号の制御によりキャッシュタグメ
モリ4に対し上位アドレス情報AddHi を出力するゲー
ト、73はCPU1が出力するアドレスADDR中の上位ア
ドレスとキャッシュタグメモリに記憶されている上位ア
ドレスAddHi を比較し、これらが一致しているか否かを
示すキャッシュヒット信号Hit を出力するとともに、イ
ンバータ9が出力する高速メモリ選択信号/HSELにより
高速メモリ6がチップ選択状態となったとき、その出力
を一致状態に固定する機能を持つ比較器である。
Further, 8 is a decoder which decodes the upper address output from the CPU 1 and controls the chip selection input / CE of the cache memory 3 and the cache tag memory 4, and 9 is a high-speed signal obtained by inverting the signal HSEL output from the decoder 8. Outputs memory selection signal / HSEL, and uses this high-speed memory selection signal / HSEL to select chip of high-speed memory 6 / CE
7 is a synchronous memory controller for controlling the cache memory 3, the cache tag memory 4 and the high speed memory 6, and 71 is for controlling the / RD signal output from the CPU 1 to output the upper address information AddHi from the cache tag memory 4. Input gate, 72 is CPU
1 is a gate for outputting the upper address information AddHi to the cache tag memory 4 under the control of the / WR signal, and 73 is a higher address in the address ADDR output by the CPU 1 and an upper address AddHi stored in the cache tag memory. When a comparison is made, a cache hit signal Hit indicating whether or not they match is output, and when the high-speed memory 6 is in the chip selection state by the high-speed memory selection signal / HSEL output from the inverter 9, the outputs are matched. It is a comparator that has the function of fixing the state.

【0016】次に動作について説明する。この従来例で
は高速メモリ6,キャッシュメモリ3はアドレスバス、
データバスを共有しており、CPU1の動作クロックに
同期した読み出し(/RD),書込み(/WR)信号で
読み書きされる。高速メモリかキャッシュメモリかの選
択はデコーダ8によりCPU1が出力する上位アドレス
をデコードしてチップ選択入力(/CE)を制御するこ
とで実施される。
Next, the operation will be described. In this conventional example, the high speed memory 6 and the cache memory 3 are address buses,
The data bus is shared, and read / write is performed by the read (/ RD) and write (/ WR) signals synchronized with the operation clock of the CPU 1. The selection of the high speed memory or the cache memory is performed by the decoder 8 decoding the upper address output by the CPU 1 and controlling the chip selection input (/ CE).

【0017】CPUへの命令,データの転送時、CPU
1は動作クロックに同期して同期メモリをアクセスし、
それが高速メモリ6領域に一致する場合、同期メモリコ
ントローラ7は常に一致信号を出力し、CPU1は高速
メモリ6から読み込んだ命令,データを使って処理を継
続する。
When transferring instructions and data to the CPU, the CPU
1 accesses the synchronous memory in synchronization with the operation clock,
When it coincides with the high-speed memory 6 area, the synchronous memory controller 7 always outputs a coincidence signal, and the CPU 1 continues the process using the instruction and data read from the high-speed memory 6.

【0018】一方、CPU1に命令,データを転送する
際、CPU1がアクセスした領域が高速メモリ6領域で
ない場合はキャッシュメモリ3の内容がCPUに取り込
まれ、キャッシュタグメモリ4の内容がCPUが出力す
る上位アドレスと比較される。これらが一致する場合、
CPU1は取り込んだキャッシュメモリ3の内容を使っ
て処理を継続し、不一致のときはCPU1は内部処理を
保留し、/MemRD信号をアクティブにして低速メモ
リシステム2に命令,データを要求する。低速メモリシ
ステム2はそれに応じ命令,データの準備ができるとR
DBusy信号をインアクティブにし、CPUへの命
令,データの転送を完了する。同時にキャッシュメモリ
3にも命令,データが書き込まれキャッシュタグメモリ
4にはアドレスが書き込まれる。
On the other hand, when the instruction and data are transferred to the CPU 1, if the area accessed by the CPU 1 is not the high-speed memory 6 area, the contents of the cache memory 3 are fetched by the CPU and the contents of the cache tag memory 4 are output by the CPU. It is compared with the upper address. If these match,
The CPU 1 continues the process using the fetched contents of the cache memory 3, and when they do not match, the CPU 1 suspends the internal process and activates the / MemRD signal to request the low-speed memory system 2 for instructions and data. When the low-speed memory system 2 prepares instructions and data accordingly, R
The DBusy signal is made inactive, and the transfer of instructions and data to the CPU is completed. At the same time, instructions and data are written in the cache memory 3 and addresses are written in the cache tag memory 4.

【0019】CPU1から同期メモリへのデータ転送
時、CPU1は動作クロックに同期して同期メモリをア
クセスし、それが高速メモリ6領域の場合はCPU1の
出力するデータが高速メモリ6に書き込まれ、/Mem
WR信号はインアクティブのままで低速メモリシステム
2に書込みを要求しない。
At the time of data transfer from the CPU 1 to the synchronous memory, the CPU 1 accesses the synchronous memory in synchronization with the operation clock, and if it is the high speed memory 6 area, the data output from the CPU 1 is written in the high speed memory 6, Mem
The WR signal remains inactive and does not request the low speed memory system 2 to write.

【0020】一方、CPU1が同期メモリにデータを転
送する際、それが高速メモリ領域でない場合はCPU1
の出力するデータがキャッシュメモリ3に書き込まれ、
アドレスがキャッシュタグメモリ4に書き込まれ、同時
に/MemWR信号をアクティブにして低速メモリシス
テム2にデータの書込みを要求する。
On the other hand, when the CPU 1 transfers data to the synchronous memory, if it is not in the high speed memory area, the CPU 1
The data output by is written in the cache memory 3,
The address is written in the cache tag memory 4, and at the same time, the / MemWR signal is activated to request the low speed memory system 2 to write data.

【0021】低速メモリシステム2は書込み可能なら/
WRBusy信号をインアクティブにし、CPU1はこ
れを受けて低速メモリシステム2にデータを転送し処理
を継続する。
If the low speed memory system 2 is writable /
The WRBusy signal is made inactive, and the CPU 1 receives this signal and transfers the data to the low-speed memory system 2 to continue the processing.

【0022】以上の動作をCPUの制御信号に着目して
述べると以下のようになる。即ち、CPU1への命令ま
たはデータ転送の場合に高速メモリ選択信号がインアク
ティブのときは、CPU1はキャッシュメモリ3の内容
をCPUに転送し、かつキャッシュタグメモリ4の内容
を同期メモリコントローラ7に転送するよう制御信号を
発生し、上記同期メモリコントローラ7はキャッシュタ
グメモリ4の内容をCPU1の上位アドレスと比較し、
一致した場合は一致信号をアクティブにしてCPU1に
送出し、CPU1は内部処理を継続し、低速メモリシス
テム2に対し読み出しが行われないよう制御信号を発生
し、不一致の場合は一致信号をインアクティブにしてC
PU1に送出し、CPU1は内部処理を保留し低速メモ
リシステム2から命令またはデータをCPU1に転送す
るよう制御信号を発生する。
The above operation will be described below by focusing on the control signal of the CPU. That is, in the case of an instruction or data transfer to the CPU 1, when the high speed memory selection signal is inactive, the CPU 1 transfers the contents of the cache memory 3 to the CPU and the contents of the cache tag memory 4 to the synchronous memory controller 7. Control signal is generated so that the synchronous memory controller 7 compares the contents of the cache tag memory 4 with the upper address of the CPU 1,
If they match, the match signal is activated and sent to the CPU 1. The CPU 1 continues the internal processing and generates a control signal to the low-speed memory system 2 so that reading is not performed, and if they do not match, the match signal is inactive. Then C
The data is sent to PU1, and CPU1 generates a control signal to suspend internal processing and transfer an instruction or data from low-speed memory system 2 to CPU1.

【0023】CPU1への命令またはデータ転送の場合
に高速メモリ選択信号がアクティブのときは、CPU1
は高速メモリ6の内容をCPU1に転送するよう制御信
号を発生し、上記同期メモリコントローラ7はこのとき
一致信号をアクティブに固定してCPU1に送出し、C
PU1は内部処理を継続し、低速メモリシステム2に対
し読み出しが行われないよう制御信号を発生する。
When the high speed memory selection signal is active in the case of an instruction or data transfer to the CPU1, the CPU1
Generates a control signal to transfer the contents of the high-speed memory 6 to the CPU 1, and the synchronous memory controller 7 fixes the coincidence signal to active at this time and sends it to the CPU 1.
PU1 continues internal processing and generates a control signal to the low-speed memory system 2 so that reading is not performed.

【0024】また、CPU1からのデータ書込みの場合
に高速メモリ選択信号がインアクティブの時は、CPU
1はCPU1から出力されたデータがキャッシュメモリ
3に書き込まれ、CPU1から出力されたアドレスがキ
ャシュタグメモリ4に書き込まれ、かつ低速メモリシス
テム2へデータの書込みが行われるように制御信号を発
生する。
When data is written from the CPU 1 and the high speed memory selection signal is inactive, the CPU
1 generates a control signal so that the data output from the CPU 1 is written in the cache memory 3, the address output from the CPU 1 is written in the cache tag memory 4, and the data is written in the low speed memory system 2. .

【0025】CPU1からのデータ書込みの場合に高速
メモリ選択信号がアクティブの時は、CPU1はCPU
1から出力されたデータが高速メモリ6に書き込まれる
よう制御信号を発生し、低速メモリシステム2へデータ
の書込みが行われないよう制御信号を発生する。
When the high speed memory selection signal is active when writing data from the CPU 1, the CPU 1
The control signal is generated so that the data output from 1 is written in the high speed memory 6, and the control signal is generated so that the data is not written in the low speed memory system 2.

【0026】また、図6は本件発明者により開発された
他の従来例で、図において、図5と同一符号は同一のも
のを示す。この従来例は、キャッシュメモリ,キャッシ
ュタグメモリ,高速メモリをそれぞれ2つずつ設けるこ
とにより、同期メモリを命令用とデータ用に分離するよ
うにしたものである。図において、31,32はそれぞ
れ命令用,データ用のキャッシュメモリ、41,42は
それぞれ命令用,データ用のキャッシュタグメモリ、6
1,62はそれぞれ命令用,データ用の高速メモリであ
る。8はCPU1が出力するキャッシュメモリ31,3
2およびキャッシュタグメモリ41,42のチップ選択
入力/CEを制御するデコーダ、9はデコーダ8が出力
する信号HSELを反転した高速メモリ選択信号/HSELを出
力し、この高速メモリ選択信号/HSELにより高速メモリ
61,62のチップ選択入力/CEを制御するインバー
タである。
FIG. 6 shows another conventional example developed by the inventor of the present invention. In the figure, the same reference numerals as those in FIG. 5 indicate the same elements. In this conventional example, two synchronous memories, two cache memories, two cache memories, and two high-speed memories are provided so that the synchronous memory is separated for instructions and data. In the figure, 31 and 32 are cache memories for instructions and data, 41 and 42 are cache tag memories for instructions and data, and 6 respectively.
Reference numerals 1 and 62 are high-speed memories for instructions and data, respectively. 8 is a cache memory 31, 3 output by the CPU 1.
2 and a decoder for controlling the chip selection input / CE of the cache tag memories 41 and 42, and 9 outputs a high-speed memory selection signal / HSEL that is the signal HSEL output from the decoder 8 and outputs a high-speed memory selection signal / HSEL. It is an inverter that controls the chip selection input / CE of the memories 61 and 62.

【0027】この図6の従来例において、1は図5のC
PU1に相当するCPUであるが、同期メモリを命令用
とデータ用に分離したことに対応して、動作クロックに
同期した読み出し信号/RDを/RD1,/RD2の2
つに、動作クロックに同期した書込み信号/WRを/W
R1,/WR2の2つにそれぞれ分離し、/RD2,/
WR2をCPUの動作クロックの半サイクル分、/RD
1,/WR1よりずらせて発生するようにしている。ま
た、13は読み出し信号/RD1,/RD2の論理積を
とって同期メモリコントローラ7の読み出し制御入力/
RDに入力するアンドゲート、14は書込み信号/WR
1,/WR2の論理積をとって同期メモリコントローラ
7の書込み制御入力/WRに入力するアンドゲート、1
2,11はCPU1から出力されたその動作クロックお
よびその反転信号により同期メモリコントローラ7から
出力された同期メモリの下位アドレスをそれぞれ保持す
るラッチ、10はCPU1から出力されたその動作クロ
ックを反転するインバータである。
In the conventional example of FIG. 6, 1 is C of FIG.
Although the CPU corresponds to PU1, the read signal / RD synchronized with the operation clock is divided into two of / RD1 and / RD2 in response to the separation of the synchronous memory for instruction and data.
First, write signal / WR synchronized with operating clock / W
Separated into R1 and / WR2 respectively, / RD2, /
WR2 is equivalent to half the CPU operation clock cycle, / RD
1, / WR1 is caused to be displaced. Further, 13 is the logical product of the read signals / RD1 and / RD2, and the read control input of the synchronous memory controller 7 /
AND gate input to RD, 14 is a write signal / WR
AND gate for taking the logical product of 1 and / WR2 and inputting to the write control input / WR of the synchronous memory controller 1
Reference numerals 2 and 11 denote latches for holding the lower addresses of the synchronous memory output from the synchronous memory controller 7 according to the operation clock output from the CPU 1 and its inverted signal, and 10 an inverter for inverting the operation clock output from the CPU 1. Is.

【0028】この従来例によれば、同期メモリとして命
令用とデータ用の2系統が用意されているので、CPU
の1つのサイクルを2つに分割しその前半を命令のアク
セス,後半をデータのアクセスに割り当て、命令アドレ
ス, データアドレスを半サイクルずつ出力することによ
り、図7に示すように、命令, データを半サイクル毎に
データ線を介して授受することができるので、CPUの
高速化を図ることができる。
According to this conventional example, since two systems for the instruction and the data are prepared as the synchronous memory, the CPU
One cycle is divided into two, the first half is allocated to the instruction access, the latter half is allocated to the data access, and the instruction address and the data address are output for each half cycle. Since data can be transferred and received via the data line every half cycle, the speed of the CPU can be increased.

【0029】また、図8は本件発明者の開発になるさら
に他の従来例を示し、図において、図1と同一符号は同
一のものを示す。
FIG. 8 shows still another conventional example developed by the inventor of the present invention. In the figure, the same reference numerals as those in FIG. 1 indicate the same elements.

【0030】この従来例は、CPU1がデコーダ8の出
力を受けてキャッシュメモリ3,キャッシュタグメモリ
4と高速メモリ6をそれぞれ別々に読み出し,書込み信
号を制御する例である。CPUは高速メモリ選択信号が
アクティブの場合、読み出し時/HRD信号,書込み時
/HWR信号をアクティブにし、高速メモリ選択信号が
インアクティブの場合、読み出し時では/CRD信号
を,書込み時では/CWR信号をそれぞれアクティブに
する。
In this conventional example, the CPU 1 receives the output of the decoder 8 and reads the cache memory 3, the cache tag memory 4 and the high speed memory 6 separately and controls the write signal. When the high-speed memory selection signal is active, the CPU activates the read / HRD signal and the write / HWR signal. When the high-speed memory selection signal is inactive, the read / CRD signal is read and the write / CWR signal is written. To activate each.

【0031】この従来例では、同期メモリは常時選択さ
れたままであり、メモリがデータを出力するのにある程
度準備が整った段階でアクセスを待機するので、チップ
選択信号/CEが入力されてはじめて読出しが行なわれ
る図5の従来例に比しメモリのアクセス時間に余裕がと
れる。
In this conventional example, the synchronous memory is always selected and waits for access when the memory is ready to output the data to some extent. Therefore, the synchronous memory is read only when the chip select signal / CE is input. As compared with the conventional example of FIG.

【0032】また、図9は本件発明者の開発になるさら
に他の従来例を示すもので、この従来例は、CPUと同
期メモリコントローラを1チップ化し(図9ではこの同
期メモリコントローラを搭載したCPUチップを同期メ
モリコントローラ7として示している)、低速メモリと
同期メモリでアドレスバスを共有する例である。
FIG. 9 shows still another conventional example developed by the present inventor. In this conventional example, a CPU and a synchronous memory controller are integrated into one chip (in FIG. 9, the synchronous memory controller is mounted. (A CPU chip is shown as a synchronous memory controller 7), and an address bus is shared by a low-speed memory and a synchronous memory.

【0033】図において、CK1は同期メモリライトま
たは低速メモリシステムリードライト時にLとなるクロ
ック、CK2は同期メモリリード時にLとなるクロック
である。
In the figure, CK1 is a clock which becomes L at the time of synchronous memory write or low speed memory system read / write, and CK2 is a clock which becomes L at the time of synchronous memory read.

【0034】この従来例では、CPUのアドレスを一旦
同期メモリコントローラで受けて同期メモリに出力する
必要がなくなるので、信号ラインを節減でき、CPUチ
ップのピン数の削減が可能となる。
In this conventional example, since it is not necessary to once receive the address of the CPU by the synchronous memory controller and output it to the synchronous memory, it is possible to reduce the number of signal lines and the number of pins of the CPU chip.

【0035】[0035]

【発明が解決しようとする課題】従来のCPUシステム
は以上のように構成されており、図11(b) に示すよう
に、キャッシュメモリ、低速メモリから構成される通常
の階層メモリシステムと、高速メモリのみからなる階層
を持たないメモリシステムとを共存させることにより、
図11(a) に示すような階層メモリシステムの持つ種々
の問題点を一挙に解決することが可能となっている。
The conventional CPU system is configured as described above, and as shown in FIG. 11 (b), a normal hierarchical memory system including a cache memory and a low speed memory, and a high speed memory system. By coexisting with a memory system that does not have a hierarchy consisting of only memory,
Various problems of the hierarchical memory system as shown in FIG. 11 (a) can be solved at once.

【0036】しかしながら、この従来システムの構成で
は、実際の使用にあたって次のような問題を生じること
となる。
However, the configuration of this conventional system causes the following problems in actual use.

【0037】即ち、これらの従来例の構成では、高速メ
モリ領域のデコードが一定であり、また、キャッシュメ
モリ、キャッシュタグメモリおよび高速メモリとCPU
の接続が固定であるため、キャッシュメモリ容量と高速
メモリ容量はハードウエアにより固定されている。
That is, in these conventional configurations, the decoding of the high speed memory area is constant, and the cache memory, the cache tag memory, the high speed memory and the CPU are
Since the connection is fixed, the cache memory capacity and the high-speed memory capacity are fixed by hardware.

【0038】このため、 (1) リアルタイムでない計算処理等、大容量の階層メモ
リシステムが必要な用途ではキャッシュ容量が大きいほ
ど性能が上がり、かつ高速メモリは不要であるが、上述
のような従来例ではそのような場合の対応ができない。
Therefore, (1) In applications requiring a large-capacity hierarchical memory system such as non-real-time calculation processing, the larger the cache capacity is, the higher the performance is, and the high-speed memory is not required. Then, it is not possible to deal with such cases.

【0039】(2) これに対し、リアルタイム処理等でデ
ータ,プログラム容量が小さい用途では、キャッシュメ
モリは不要であるのに対し、高速メモリはデータ,プロ
グラムを記憶するのに十分な容量が必要であるが、上述
のような従来例ではそのような場合の対応ができない。
(2) On the other hand, the cache memory is not required for applications such as real-time processing where the data and program capacities are small, whereas the high-speed memory requires sufficient capacity for storing data and programs. However, the conventional example as described above cannot handle such a case.

【0040】本発明は、上記のような従来のものの問題
点を解決するためになされたもので、同一のハードウエ
アで広範囲のアプリケーションに対応ができるCPUシ
ステムを得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems of the conventional one, and an object thereof is to obtain a CPU system capable of coping with a wide range of applications with the same hardware.

【0041】[0041]

【課題を解決するための手段】この発明に係るCPUシ
ステムは、同一ハードウエア構成で外部からの指定によ
りキャッシュメモリ容量と高速メモリ容量の割合いを可
変に設定できるように構成したものであり、このキャッ
シュメモリと高速メモリの容量の割合いの設定は、シス
テムの端子に印加される信号レベルまたはシステム内の
記憶要素に外部から設定された値により外部から与えら
れる指示に基づき、各同期メモリの選択信号を切り替
え、また高速メモリが選択されたことをCPUに伝達す
る高速メモリ選択信号を切り替える回路を設けることに
より、これを行なうようにしたものである。
A CPU system according to the present invention has the same hardware configuration and is configured to be able to variably set a ratio of a cache memory capacity and a high speed memory capacity by designation from the outside. The setting of the capacity ratio of the cache memory and the high-speed memory is based on a signal level applied to a terminal of the system or an instruction given from the outside by a value externally set to a storage element in the system. This is done by providing a circuit for switching the selection signal and switching the high speed memory selection signal for transmitting to the CPU that the high speed memory has been selected.

【0042】また、この発明に係るCPUシステムは、
キャッシュタグメモリのビット幅と高速メモリのビット
幅を等しくするようにしたものである。
Further, the CPU system according to the present invention is
The bit width of the cache tag memory and the bit width of the high speed memory are made equal.

【0043】また、この発明に係るCPUシステムは、
CPUと同期メモリとを同一半導体チップ上に搭載して
装置を構成したものである。
Further, the CPU system according to the present invention is
A CPU and a synchronous memory are mounted on the same semiconductor chip to form a device.

【0044】また、この発明に係るCPUシステムは、
CPUと同期メモリとをマルチチップモジュールに内蔵
して装置を構成したものである。
Further, the CPU system according to the present invention is
A device is configured by incorporating a CPU and a synchronous memory in a multi-chip module.

【0045】また、この発明に係るCPUシステムは、
システムへの外部からの指示が、システムの端子に印加
される信号レベルにより与えられるように構成したもの
である。
Further, the CPU system according to the present invention is
The external instruction to the system is configured to be given by the signal level applied to the terminals of the system.

【0046】また、この発明に係るCPUシステムは、
システムへの外部からの指示が、システム内の記憶装置
に外部から設定された値により与えられるように構成し
たものである。
Further, the CPU system according to the present invention is
An external instruction to the system is configured to be given to a storage device in the system by a value set from the outside.

【0047】さらに、この発明に係るCPUシステム
は、同期メモリを命令用とデータ用で別個に有するよう
に構成したものである。
Further, the CPU system according to the present invention is configured to have the synchronous memory separately for the instruction and the data.

【0048】[0048]

【作用】この発明においては、上述のように装置を構成
したことにより、高速メモリ領域の容量の割合いを外部
からの指示により可変にする。即ち、キャッシュメモリ
のみの構成の場合は、高速メモリ選択信号はアクティブ
になることなく、キャッシュメモリは下位アドレスによ
り選択される。外部からの指示により高速メモリとその
容量が決まった場合は、その範囲内では同期メモリは高
速メモリとして動作するよう、高速メモリ選択信号をア
クティブにして同期メモリコントローラに出力する。高
速メモリ領域範囲外ではキャッシュメモリまたはキャッ
シュタグメモリとして動作するよう、高速メモリ選択信
号をインアクティブにする。外部からの指示により高速
メモリのみの構成をとる場合は高速メモリ選択信号は常
にアクティブで同期メモリは高速メモリとして動作す
る。
According to the present invention, by configuring the apparatus as described above, the ratio of the capacity of the high speed memory area can be changed by an instruction from the outside. That is, in the case of only the cache memory, the high speed memory selection signal is not activated and the cache memory is selected by the lower address. When the high-speed memory and its capacity are determined by an external instruction, the high-speed memory selection signal is activated and output to the synchronous memory controller so that the synchronous memory operates as the high-speed memory within the range. The high-speed memory selection signal is made inactive so that it operates as a cache memory or a cache tag memory outside the high-speed memory area range. When only the high speed memory is configured by an instruction from the outside, the high speed memory selection signal is always active and the synchronous memory operates as the high speed memory.

【0049】また、この発明によれば、上述のようにキ
ャッシュタグメモリのビット幅と高速メモリのビット幅
を等しくするようにしたので、キャッシュタグメモリま
たは高速メモリとして使用される同期メモリは、バスス
イッチを介してCPUのデータバス、同期メモリコント
ローラの上位アドレスバス(タグバス)のどちらかに接
続することにより、キャッシュタグメモリと高速メモリ
とを入れ換え可能にすることができる。
Further, according to the present invention, since the bit width of the cache tag memory and the bit width of the high speed memory are made equal as described above, the synchronous memory used as the cache tag memory or the high speed memory is the bus. By connecting to either the data bus of the CPU or the higher-order address bus (tag bus) of the synchronous memory controller via the switch, the cache tag memory and the high-speed memory can be interchanged.

【0050】また、この発明に係るCPUシステムは、
CPUと同期メモリとを同一半導体チップ上に搭載して
装置を構成したので、低コストでキャッシュタグメモリ
と高速メモリの役割を交換可能なものが得られるもので
ある。
Further, the CPU system according to the present invention is
Since the device is configured by mounting the CPU and the synchronous memory on the same semiconductor chip, it is possible to obtain the one in which the roles of the cache tag memory and the high speed memory can be exchanged at low cost.

【0051】また、この発明に係るCPUシステムは、
CPUと同期メモリとをマルチチップモジュールに内蔵
して装置を構成したので、単一チップで実現が困難なC
PUシステムにおいて、キャッシュタグメモリと高速メ
モリの役割を交換可能なものが得られるものである。
Further, the CPU system according to the present invention is
Since the device is configured by incorporating the CPU and the synchronous memory in the multi-chip module, it is difficult to realize C with a single chip.
In the PU system, one in which the roles of the cache tag memory and the high speed memory can be exchanged can be obtained.

【0052】また、この発明に係るCPUシステムは、
システムへの外部からの指示が、システムの端子に印加
される信号レベルにより与えられるように構成したの
で、単に信号の印加のみによりキャッシュタグメモリと
高速メモリの役割を容易に交換できる。
Further, the CPU system according to the present invention is
Since the instruction to the system from the outside is given by the signal level applied to the terminals of the system, the roles of the cache tag memory and the high speed memory can be easily exchanged by simply applying the signal.

【0053】また、この発明に係るCPUシステムは、
システムへの外部からの指示が、システム内の記憶装置
に外部から設定された値により与えられるように構成し
たもので、初期設定によりキャッシュタグメモリと高速
メモリの役割を容易に設定できる。
Further, the CPU system according to the present invention is
The external instruction to the system is configured to be given to the storage device in the system by the value set from the outside, and the roles of the cache tag memory and the high speed memory can be easily set by the initial setting.

【0054】さらに、この発明に係るCPUシステム
は、同期メモリを命令用とデータ用で別個に有するよう
に構成したので、CPUの1命令サイクルを2つに分割
し前半を命令アクセス,後半をデータアクセスに割当て
ることによりCPUの高速化を図れるものにおいても、
キャッシュタグメモリと高速メモリの役割を容易に交換
できる。
Further, since the CPU system according to the present invention is configured to have the synchronous memory separately for the instruction and the data, one instruction cycle of the CPU is divided into two, and the first half is the instruction access and the latter half is the data. Even if you can speed up the CPU by assigning it to access,
The roles of cache tag memory and high-speed memory can be easily exchanged.

【0055】[0055]

【実施例】【Example】

実施例1.以下、この発明の一実施例を図について説明
する。図1は本発明の一実施例によるCPUシステムを
示す。図において、81,82,83,84はCPU1
の動作クロックに同期して動作を行なう同期メモリであ
り、これはキャッシュメモリとしても高速メモリとして
も使用できるものであり、ビット単価は高価であるが高
速にアクセス可能なメモリで構成されている。18は外
部からの指示信号SEL1,SEL0の2ビットの組合
せをデコードするデコーダ、21,22はバススイッチ
であり、上記デコーダ18のデコード結果に応じてCP
U1のバスにどのメモリを接続するかを切り換えること
により、上記メモリ81,82,83,84のどのメモ
リを高速メモリとして割当て、残りのメモリをキャッシ
ュメモリおよびキャッシュタグメモリとして割当てるか
を決定するバススイッチである。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a CPU system according to an embodiment of the present invention. In the figure, 81, 82, 83, 84 are CPUs 1.
Is a synchronous memory that operates in synchronization with the operation clock of No. 1, which can be used as both a cache memory and a high-speed memory, and is composed of a memory that can be accessed at high speed although the bit unit price is expensive. Reference numeral 18 is a decoder for decoding a 2-bit combination of external instruction signals SEL1 and SEL0, and 21 and 22 are bus switches, which are CP depending on the decoding result of the decoder 18.
A bus for determining which of the memories 81, 82, 83, 84 is to be assigned as a high-speed memory and the remaining memory to be assigned as a cache memory and a cache tag memory by switching which memory is connected to the U1 bus. It is a switch.

【0056】CPUの動作クロックに同期してCPUに
命令を供給しまたはデータを授受可能な同期メモリがメ
モリ81,メモリ82,メモリ83,メモリ84として
用意されている。これらの役割りは、外部からの指示信
号SEL1,SEL0に応じて変化させることが可能で
あり、表1に示すようにSEL1,SEL0=00の時
は、これらのメモリ81〜84はいずれも高速メモリに
割当てられることはなく、通常の階層メモリシステムと
同様に動作する。即ち、メモリ82はキャッシュメモリ
1,メモリ81はそのタグメモリ,メモリ84はキャッ
シュメモリ2、メモリ83はそのタグメモリとして動作
する。
Synchronous memories capable of supplying instructions to and receiving data from the CPU in synchronization with the operating clock of the CPU are prepared as the memory 81, the memory 82, the memory 83 and the memory 84. These roles can be changed according to instruction signals SEL1 and SEL0 from the outside. As shown in Table 1, when SEL1 and SEL0 = 00, all of these memories 81 to 84 are high-speed. It is not allocated to memory and operates like a normal hierarchical memory system. That is, the memory 82 operates as the cache memory 1, the memory 81 operates as its tag memory, the memory 84 operates as the cache memory 2, and the memory 83 operates as its tag memory.

【0057】これに対し、外部からの指示信号がSEL
1,SEL0=01の時はメモリ81および82はキャ
ッシュタグメモリ1およびキャッシュメモリ1,メモリ
83および84は高速メモリ1および高速メモリ2とし
て動作し、図1に示したような通常の階層メモリシステ
ムに高速メモリを併設したシステムとして動作する。
On the other hand, the instruction signal from the outside is SEL.
1, when SEL0 = 01, the memories 81 and 82 operate as the cache tag memory 1 and the cache memory 1, and the memories 83 and 84 operate as the high-speed memory 1 and the high-speed memory 2, and the normal hierarchical memory system as shown in FIG. It operates as a system with high-speed memory attached to.

【0058】また、外部からの指示信号がSEL1,S
EL0=11の時はメモリ81,82,83,84は高
速メモリ1,2,3,4として動作することとなり、高
速メモリのみで構成した単一階層システムと同様に動作
する。
Further, the external instruction signals are SEL1, S
When EL0 = 11, the memories 81, 82, 83, 84 operate as the high speed memories 1, 2, 3, 4 and operate in the same manner as the single hierarchical system configured by only the high speed memories.

【0059】以上の様子を表1に示す。The above situation is shown in Table 1.

【0060】[0060]

【表1】 [Table 1]

【0061】このように、本実施例ではキャッシュタグ
メモリと高速メモリの役割りの交換を可能とするため
に、バススイッチ21,22を設け、指示信号SEL
1,SEL0=00の時、即ち、メモリ81およびメモ
リ83がともにキャッシュタグメモリとして動作する場
合はメモリ81およびメモリ83のデータ入出力端子D
をともに同期メモリコントローラ7が出力する上位アド
レスAddHi に接続する。
As described above, in this embodiment, the bus switches 21 and 22 are provided and the instruction signal SEL is provided in order to exchange the roles of the cache tag memory and the high speed memory.
1, when SEL0 = 00, that is, when both the memory 81 and the memory 83 operate as a cache tag memory, the data input / output terminal D of the memory 81 and the memory 83.
Are connected to the upper address AddHi output from the synchronous memory controller 7.

【0062】また、指示信号がSEL1,SEL0=0
1の時、即ち、メモリ81およびメモリ83がそれぞれ
キャッシュタグメモリおよび高速メモリとして動作する
場合は、メモリ81およびメモリ83のデータ入出力端
子Dを同期メモリコントローラ7が出力する上位アドレ
スを伝達するAddHi バスおよびCPU1のデータバスに
それぞれ接続する。
The instruction signals are SEL1 and SEL0 = 0.
When 1, that is, when the memory 81 and the memory 83 operate as a cache tag memory and a high-speed memory, respectively, the data input / output terminal D of the memory 81 and the memory 83 transmits an upper address output from the synchronous memory controller 7 AddHi It is connected to the bus and the data bus of the CPU 1, respectively.

【0063】さらに、指示信号がSEL1,SEL0=
11の時、即ち、メモリ81およびメモリ83がともに
高速メモリとして動作する場合は、メモリ81およびメ
モリ83のデータ入出力端子DをCPU1のデータバス
に接続するようにする。
Further, the instruction signals are SEL1 and SEL0 =
In the case of 11, that is, when both the memory 81 and the memory 83 operate as a high speed memory, the data input / output terminals D of the memory 81 and the memory 83 are connected to the data bus of the CPU 1.

【0064】この様子を表2に示す。This state is shown in Table 2.

【0065】[0065]

【表2】 [Table 2]

【0066】一方、デコーダ18の側では指示信号SE
L1,SEL0と上位アドレスAddHiにより高速メ
モリが選択される場合は/HSELをL(アクティ
ブ),そうでない時はHにする。/CE1 ,/CE2 ,
/CE3 ,/CE4 はそれぞれメモリ81,82,8
3,84に割り当てられたアドレス領域がアクセスされ
た場合L(アクティブ)になる。
On the other hand, on the decoder 18 side, the instruction signal SE
If the high-speed memory is selected by L1 and SEL0 and the upper address AddHi, / HSEL is set to L (active), and otherwise set to H. / CE1, / CE2,
/ CE3 and / CE4 are memories 81, 82 and 8 respectively.
When the address area assigned to 3,84 is accessed, it becomes L (active).

【0067】この様子を表3に示す。This state is shown in Table 3.

【0068】[0068]

【表3】 [Table 3]

【0069】即ち、アドレスがメモリ81,82のアド
レス範囲内にあり、外部からの指示信号SEL1,SE
L0がともに0であるときは、/CE1 ,/CE2 ,/
CE3 ,/CE4 はそれぞれ0,0,1,1、/HSE
Lは1となる。
That is, the address is within the address range of the memories 81 and 82, and the external instruction signals SEL1 and SE
When both L0 are 0, / CE1, / CE2, /
CE3 and / CE4 are 0, 0, 1, 1 and / HSE, respectively.
L becomes 1.

【0070】また、アドレスがメモリ83,84のアド
レス範囲内にあり、外部からの指示信号SEL1,SE
L0がともに0であるときは、/CE1 ,/CE2 ,/
CE3 ,/CE4 はそれぞれ1,1,0,0、/HSE
Lは1となる。
Further, the address is within the address range of the memories 83 and 84, and the external instruction signals SEL1 and SE.
When both L0 are 0, / CE1, / CE2, /
CE3 and / CE4 are 1,1,0,0 and / HSE respectively.
L becomes 1.

【0071】また、アドレスが高速メモリ83のアドレ
ス範囲内にあり、外部からの指示信号SEL1,SEL
0がそれぞれ0,1であるときは、/CE1 ,/CE2
,/CE3 ,/CE4 はそれぞれ1,1,0,1、/
HSELは0となる。
Further, the address is within the address range of the high speed memory 83, and the external instruction signals SEL1 and SEL.
When 0 is 0 and 1 respectively, / CE1 and / CE2
, / CE3, / CE4 are 1, 1, 0, 1, /
HSEL becomes 0.

【0072】また、アドレスが高速メモリ84のアドレ
ス範囲内にあり、外部からの指示信号SEL1,SEL
0がそれぞれ0,1であるときは、/CE1 ,/CE2
,/CE3 ,/CE4 はそれぞれ1,1,1,0、/
HSELは0となる。
Further, the address is within the address range of the high speed memory 84, and the instruction signals SEL1 and SEL from the outside are supplied.
When 0 is 0 and 1 respectively, / CE1 and / CE2
, / CE3, / CE4 are 1, 1, 1, 0, /
HSEL becomes 0.

【0073】さらに、アドレスが高速メモリのアドレス
範囲外にあり、外部からの指示信号SEL1,SEL0
がそれぞれ0,1であるときは、/CE1 ,/CE2 ,
/CE3 ,/CE4 はそれぞれ0,0,1,1、/HS
ELは1となる。
Further, the address is out of the address range of the high speed memory, and external instruction signals SEL1 and SEL0.
Are 0 and 1, respectively, / CE1, / CE2,
/ CE3 and / CE4 are 0, 0, 1, 1 and / HS respectively
EL becomes 1.

【0074】また、アドレスが高速メモリ81のアドレ
ス範囲内にあり、外部からの指示信号SEL1,SEL
0がともに1であるときは、/CE1 ,/CE2 ,/C
E3,/CE4 はそれぞれ0,1,1,1、/HSEL
は0となる。
Further, the address is within the address range of the high speed memory 81, and the external instruction signals SEL1 and SEL are used.
When both 0's are 1, / CE1, / CE2, / C
E3 and / CE4 are 0, 1, 1, 1 and / HSEL respectively
Is 0.

【0075】また、アドレスが高速メモリ82のアドレ
ス範囲内にあり、外部からの指示信号SEL1,SEL
0がともに1であるときは、/CE1 ,/CE2 ,/C
E3,/CE4 はそれぞれ1,0,1,1、/HSEL
は0となる。
Further, the address is within the address range of the high speed memory 82, and the instruction signals SEL1 and SEL from the outside are supplied.
When both 0's are 1, / CE1, / CE2, / C
E3 and / CE4 are 1,0,1,1 and / HSEL respectively
Is 0.

【0076】また、アドレスが高速メモリ83のアドレ
ス範囲内にあり、外部からの指示信号SEL1,SEL
0がともに1であるときは、/CE1 ,/CE2 ,/C
E3,/CE4 はそれぞれ1,1,0,1、/HSEL
は0となる。
Further, the address is within the address range of the high speed memory 83, and the instruction signals SEL1 and SEL from the outside are supplied.
When both 0's are 1, / CE1, / CE2, / C
E3 and / CE4 are 1,1,0,1 and / HSEL respectively
Is 0.

【0077】また、アドレスが高速メモリ84のアドレ
ス範囲内にあり、外部からの指示信号SEL1,SEL
0がともに1であるときは、/CE1 ,/CE2 ,/C
E3,/CE4 はそれぞれ1,1,1,0、/HSEL
は0となる。
Further, the address is within the address range of the high speed memory 84, and the instruction signals SEL1 and SEL from the outside are supplied.
When both 0's are 1, / CE1, / CE2, / C
E3 and / CE4 are 1,1,1,0 and / HSEL respectively
Is 0.

【0078】さらに、アドレスが高速メモリのアドレス
範囲外にあり、外部からの指示信号SEL1,SEL0
がともに1であるときは、/CE1 ,/CE2 ,/CE
3 ,/CE4 はそれぞれ1,1,1,1、/HSELは
1となる。
Further, the address is out of the address range of the high speed memory, and external instruction signals SEL1 and SEL0.
If both are 1, then / CE1, / CE2, / CE
3, / CE4 is 1, 1, 1, 1 and / HSEL is 1, respectively.

【0079】このように、上記実施例によれば、キャッ
シュメモリとしても高速メモリとしても使用できる同期
メモリを用意し、外部からの指示信号をデコードしてそ
の入力を同期メモリコントローラの下位アドレスバスあ
るいはCPUのデータバスのいずれかに切り換えるよう
にしたので、その同期メモリの容量を、キャッシュメモ
リと高速メモリとに適宜分配でき、同一のハードウエア
で広範囲なアプリケーションに柔軟に対応できる。
As described above, according to the above-described embodiment, the synchronous memory which can be used as both the cache memory and the high speed memory is prepared, the instruction signal from the outside is decoded, and the input is input to the lower address bus of the synchronous memory controller. Since the data bus is switched to one of the CPU data buses, the capacity of the synchronous memory can be appropriately distributed to the cache memory and the high-speed memory, and the same hardware can flexibly support a wide range of applications.

【0080】なお、上記実施例は高速動作が可能な同期
メモリを4個、外部からの指示信号を2本で構成した
が、本発明はこれに限定されるものではない。また、C
PUとの接続を命令用メモリ,データ用メモリと分ける
場合にも本発明を適用できることは言うまでもない。
In the above embodiment, four synchronous memories capable of high-speed operation and two external instruction signals are used, but the present invention is not limited to this. Also, C
It goes without saying that the present invention can be applied to the case where the connection with the PU is separated from the instruction memory and the data memory.

【0081】実施例2.図2は本発明の他の実施例によ
るCPUシステムを示す。図において、81a,82
a,83a,84aはそれぞれデータ用の同期メモリ、
81b,82b,83b,84bはそれぞれ命令用の同
期メモリである。これらはキャッシュメモリとしても高
速メモリとしても使用できるメモリであり、ビット単価
は高価であるが高速にアクセス可能なSRAM等のメモ
リで構成されている。18aは外部からの指示信号IS
EL1,ISEL0,DSEL1,DSEL0の4ビッ
トの組合せをデコードするデコーダ、21a,22aは
データ用のバススイッチであり、上記デコーダ18aの
デコード結果に応じてCPU1のバスにどのメモリを接
続するかを切り換えることにより、上記メモリ81a,
82a,83a,84aのどのメモリを高速メモリとし
て割当て、残りのメモリをキャッシュメモリおよびキャ
ッシュタグメモリとして割当てるかを決定するバススイ
ッチである。また、21b,22bは命令用のバススイ
ッチであり、上記デコーダ18aのデコード結果に応じ
てCPU1のバスにどのメモリを接続するかを切り換え
ることにより、上記メモリ81b,82b,83b,8
4bのどのメモリを高速メモリとして割当て、残りのメ
モリをキャッシュメモリおよびキャッシュタグメモリと
して割当てるかを決定するバススイッチである。また、
10はCPU1が出力するクロック/CLKを反転して
ラッチ11,12のクロック入力端子に出力するインバ
ータ、11は同期メモリコントローラ7が出力する下位
アドレスをラッチしてメモリ81a,82a,83a,
84aに出力するラッチ、12は同期メモリコントロー
ラ7が出力する下位アドレスをラッチしてメモリ81
b,82b,83b,84bに出力するラッチ、13は
/IRDと/DRDの論理積をとって同期メモリコント
ローラ7の/RD入力に出力するアンドゲート、14は
/IWDと/DWDの論理積をとって同期メモリコント
ローラ7の/RD入力に出力するアンドゲートである。
Example 2. FIG. 2 shows a CPU system according to another embodiment of the present invention. In the figure, 81a, 82
a, 83a, 84a are synchronous memories for data,
Reference numerals 81b, 82b, 83b and 84b are synchronous memories for instructions. These are memories that can be used as both a cache memory and a high-speed memory, and are composed of a memory such as SRAM, which has a high bit unit price but can be accessed at high speed. 18a is an instruction signal IS from the outside
A decoder that decodes a 4-bit combination of EL1, ISEL0, DSEL1, and DSEL0, and 21a and 22a are bus switches for data, and switches which memory is connected to the bus of the CPU1 according to the decoding result of the decoder 18a. As a result, the memory 81a,
This is a bus switch that determines which memory 82a, 83a, 84a is to be allocated as a high-speed memory and the remaining memory is allocated as a cache memory and a cache tag memory. Further, 21b and 22b are bus switches for instructions, and by switching which memory is connected to the bus of the CPU 1 according to the decoding result of the decoder 18a, the memories 81b, 82b, 83b and 8b.
This is a bus switch that determines which memory of 4b is to be allocated as a high speed memory and the remaining memory is allocated as a cache memory and a cache tag memory. Also,
Reference numeral 10 is an inverter that inverts the clock / CLK output from the CPU 1 and outputs it to the clock input terminals of the latches 11 and 12, and 11 is a memory 81a, 82a, 83a, which latches the lower address output by the synchronous memory controller 7.
A latch for outputting to the memory 84a, and 12 for latching the lower address output by the synchronous memory controller 7 for storing the memory 81
b, 82b, 83b, 84b, a latch, 13 is an AND gate that takes the logical product of / IRD and / DRD and outputs it to the / RD input of the synchronous memory controller 7, and 14 is the logical product of / IWD and / DWD This is an AND gate for outputting to the / RD input of the synchronous memory controller 7.

【0082】この実施例によれば、同期メモリとして命
令用とデータ用の2系統が用意されているので、CPU
の1つのサイクルを2つに分割し、その前半を命令のア
クセス,後半をデータのアクセスに割当て、命令アドレ
ス,データアドレスを半サイクルずつ出力することによ
り、命令,データを半サイクル毎にデータ線を介して授
受することができるので、CPUの高速化を図ることが
できる。
According to this embodiment, since two systems for instruction and data are prepared as the synchronous memory, the CPU
One cycle is divided into two, the first half is allocated to the instruction access and the latter half is allocated to the data access, and the instruction address and the data address are output for each half cycle. Since the data can be sent and received via the CPU, the speed of the CPU can be increased.

【0083】そして、その際、外部からの指示信号IS
EL1,ISEL0,DSEL1,DSEL0の組合わ
せによって、データ用のメモリ81a,82a,83
a,84aのどのメモリをデータ用の高速メモリとして
割当て、残りのどのメモリをデータ用のキャッシュメモ
リおよびデータ用キャッシュタグメモリとして割当てる
のかを決定できる。また、これとは独立に、命令用のメ
モリ81b,82b,83b,84bのどのメモリを命
令用の高速メモリとして割当て、残りのどのメモリを命
令用のキャッシュメモリおよび命令用のキャッシュタグ
メモリとして割当てるのかを決定できる。従って、この
実施例では表1に示す、指示信号に応じたメモリの割当
ては表1の3通りの状態ではなく、都合9通りの状態と
なる。
At this time, the instruction signal IS from the outside
By combining EL1, ISEL0, DSEL1 and DSEL0, data memories 81a, 82a, 83
It is possible to determine which of the memories a and 84a is to be allocated as the high-speed memory for data and which of the remaining memories is to be allocated as the cache memory for data and the cache tag memory for data. Independently of this, which of the instruction memories 81b, 82b, 83b, 84b is allocated as a high-speed memory for instructions, and the remaining memory is allocated as a cache memory for instructions and a cache tag memory for instructions. You can decide Therefore, in this embodiment, the memory allocation according to the instruction signal shown in Table 1 does not have the three states shown in Table 1, but has nine states for convenience.

【0084】即ち、外部からの指示信号DSEL1,D
SEL0,ISEL1,ISEL0が0,0,0,0の
とき、メモリ81a,82a,83a,84aはそれぞ
れキャッシュタグメモリ1,キャッシュメモリ1,キャ
ッシュタグメモリ2,キャッシュメモリ2となり、メモ
リ81b,82b,83b,84bはそれぞれキャッシ
ュタグメモリ1,キャッシュメモリ1,キャッシュタグ
メモリ2,キャッシュメモリ2となる。
That is, the external instruction signals DSEL1, D
When SEL0, ISEL1, ISEL0 are 0, 0, 0, 0, the memories 81a, 82a, 83a, 84a become the cache tag memory 1, the cache memory 1, the cache tag memory 2, and the cache memory 2, respectively, and the memories 81b, 82b, 83b and 84b are a cache tag memory 1, a cache memory 1, a cache tag memory 2 and a cache memory 2, respectively.

【0085】また、外部からの指示信号DSEL1,D
SEL0,ISEL1,ISEL0が0,0,0,1の
とき、メモリ81a,82a,83a,84aはそれぞ
れキャッシュタグメモリ1,キャッシュメモリ1,キャ
ッシュタグメモリ2,キャッシュメモリ2となり、メモ
リ81b,82b,83b,84bはそれぞれキャッシ
ュタグメモリ1,キャッシュメモリ1,高速メモリ1,
高速メモリ2となる。
Further, external instruction signals DSEL1, D
When SEL0, ISEL1 and ISEL0 are 0, 0, 0 and 1, the memories 81a, 82a, 83a and 84a become the cache tag memory 1, the cache memory 1, the cache tag memory 2 and the cache memory 2, respectively, and the memories 81b and 82b, 83b and 84b are cache tag memory 1, cache memory 1, high speed memory 1, and
It becomes the high-speed memory 2.

【0086】また、外部からの指示信号DSEL1,D
SEL0,ISEL1,ISEL0が0,0,1,1の
とき、メモリ81a,82a,83a,84aはそれぞ
れキャッシュタグメモリ1,キャッシュメモリ1,キャ
ッシュタグメモリ2,キャッシュメモリ2となり、メモ
リ81b,82b,83b,84bはそれぞれ高速メモ
リ1,高速メモリ2,高速メモリ3,高速メモリ4とな
る。
In addition, external instruction signals DSEL1, D
When SEL0, ISEL1, ISEL0 are 0, 0, 1, 1, the memories 81a, 82a, 83a, 84a become the cache tag memory 1, the cache memory 1, the cache tag memory 2, the cache memory 2, respectively, and the memories 81b, 82b, 83b and 84b are a high speed memory 1, a high speed memory 2, a high speed memory 3 and a high speed memory 4, respectively.

【0087】また、外部からの指示信号DSEL1,D
SEL0,ISEL1,ISEL0が0,1,0,0の
とき、メモリ81a,82a,83a,84aはそれぞ
れキャッシュタグメモリ1,キャッシュメモリ1,高速
メモリ1,高速メモリ2となり、メモリ81b,82
b,83b,84bはそれぞれキャッシュタグメモリ
1,キャッシュメモリ1,キャッシュタグメモリ2,キ
ャッシュメモリ2となる。
Further, external instruction signals DSEL1, D
When SEL0, ISEL1, ISEL0 are 0, 1, 0, 0, the memories 81a, 82a, 83a, 84a become the cache tag memory 1, the cache memory 1, the high speed memory 1, the high speed memory 2, respectively, and the memories 81b, 82.
b, 83b and 84b are a cache tag memory 1, a cache memory 1, a cache tag memory 2 and a cache memory 2, respectively.

【0088】また、外部からの指示信号DSEL1,D
SEL0,ISEL1,ISEL0が0,1,0,1の
とき、メモリ81a,82a,83a,84aはそれぞ
れキャッシュタグメモリ1,キャッシュメモリ1,高速
メモリ1,高速メモリ2となり、メモリ81b,82
b,83b,84bはそれぞれキャッシュタグメモリ
1,キャッシュメモリ1,高速メモリ1,高速メモリ2
となる。
Further, external instruction signals DSEL1, D
When SEL0, ISEL1 and ISEL0 are 0, 1, 0 and 1, the memories 81a, 82a, 83a and 84a become the cache tag memory 1, the cache memory 1, the high speed memory 1 and the high speed memory 2, respectively, and the memories 81b and 82.
b, 83b and 84b are cache tag memory 1, cache memory 1, high speed memory 1 and high speed memory 2 respectively.
Becomes

【0089】また、外部からの指示信号DSEL1,D
SEL0,ISEL1,ISEL0が0,1,1,1の
とき、メモリ81a,82a,83a,84aはそれぞ
れキャッシュタグメモリ1,キャッシュメモリ1,高速
メモリ1,高速メモリ2となり、メモリ81b,82
b,83b,84bはそれぞれ高速メモリ1,高速メモ
リ2,高速メモリ3,高速メモリ4となる。
In addition, external instruction signals DSEL1, D
When SEL0, ISEL1, and ISEL0 are 0, 1, 1, and 1, the memories 81a, 82a, 83a, and 84a become the cache tag memory 1, the cache memory 1, the high-speed memory 1, and the high-speed memory 2, respectively, and the memories 81b and 82.
b, 83b and 84b are a high speed memory 1, a high speed memory 2, a high speed memory 3 and a high speed memory 4, respectively.

【0090】また、外部からの指示信号DSEL1,D
SEL0,ISEL1,ISEL0が1,1,0,0の
とき、メモリ81a,82a,83a,84aはそれぞ
れ高速メモリ1,高速メモリ2,高速メモリ3,高速メ
モリ4となり、メモリ81b,82b,83b,84b
はそれぞれキャッシュタグメモリ1,キャッシュメモリ
1,キャッシュタグメモリ2,キャッシュメモリ2とな
る。
Further, external instruction signals DSEL1, D
When SEL0, ISEL1, ISEL0 are 1, 1, 0, 0, the memories 81a, 82a, 83a, 84a become the high-speed memory 1, the high-speed memory 2, the high-speed memory 3, the high-speed memory 4, respectively, and the memories 81b, 82b, 83b, 84b
Are cache tag memory 1, cache memory 1, cache tag memory 2, and cache memory 2, respectively.

【0091】また、外部からの指示信号DSEL1,D
SEL0,ISEL1,ISEL0が1,1,0,1の
とき、メモリ81a,82a,83a,84aはそれぞ
れ高速メモリ1,高速メモリ2,高速メモリ3,高速メ
モリ4となり、メモリ81b,82b,83b,84b
はそれぞれキャッシュタグメモリ1,キャッシュメモリ
1,高速メモリ1,高速メモリ2となる。
In addition, external instruction signals DSEL1, D
When SEL0, ISEL1 and ISEL0 are 1, 1, 0 and 1, the memories 81a, 82a, 83a and 84a become the high speed memory 1, the high speed memory 2, the high speed memory 3 and the high speed memory 4, respectively, and the memories 81b, 82b and 83b, 84b
Are respectively a cache tag memory 1, a cache memory 1, a high speed memory 1 and a high speed memory 2.

【0092】さらに、外部からの指示信号DSEL1,
DSEL0,ISEL1,ISEL0が1,1,1,1
のとき、メモリ81a,82a,83a,84aはそれ
ぞれ高速メモリ1,高速メモリ2,高速メモリ3,高速
メモリ4となり、メモリ81b,82b,83b,84
bはそれぞれ高速メモリ1,高速メモリ2,高速メモリ
3,高速メモリ4となる。
Further, an external instruction signal DSEL1,
DSEL0, ISEL1, and ISEL0 are 1,1,1,1
At this time, the memories 81a, 82a, 83a, 84a become the high-speed memory 1, the high-speed memory 2, the high-speed memory 3, and the high-speed memory 4, respectively, and the memories 81b, 82b, 83b, 84
b is a high speed memory 1, a high speed memory 2, a high speed memory 3 and a high speed memory 4, respectively.

【0093】このように、本実施例ではキャッシュタグ
メモリと高速メモリの役割の交換を可能とするために、
バススイッチ21a,22a,21b,22bを設け、
指示信号ISEL1,ISEL0,DSEL1,DSE
L0=0000の時、即ち、メモリ81a,81bおよ
びメモリ83a,83bがともにキャッシュタグメモリ
として動作する場合はメモリ81a,81bおよびメモ
リ83a,83bのデータ入出力端子Dをともに同期メ
モリコントローラ7が出力する上位アドレスAddHi に接
続する。
As described above, in this embodiment, in order to enable the roles of the cache tag memory and the high speed memory to be exchanged,
Bus switches 21a, 22a, 21b, 22b are provided,
Indicator signals ISEL1, ISEL0, DSEL1, DSE
When L0 = 0000, that is, when the memories 81a and 81b and the memories 83a and 83b both operate as cache tag memories, the synchronous memory controller 7 outputs the data input / output terminals D of the memories 81a and 81b and the memories 83a and 83b. Connect to the upper address AddHi.

【0094】また、指示信号がISEL1,ISEL
0,DSEL1,DSEL0=0001の時、即ち、メ
モリ81aおよびメモリ83aがともにキャッシュタグ
メモリとして動作し、メモリ81bおよびメモリ83b
がそれぞれキャッシュタグメモリおよび高速メモリとし
て動作する場合は、メモリ81aおよびメモリ83aの
データ入出力端子Dをともに同期メモリコントローラ7
が出力する上位アドレスAddHi に接続し、かつメモリ8
1bおよびメモリ83bのデータ入出力端子Dを同期メ
モリコントローラ7が出力する上位アドレスを伝達する
AddHi バスおよびCPU1のデータバスにそれぞれ接続
する。
Further, the instruction signals are ISEL1 and ISEL.
0, DSEL1, DSEL0 = 0001, that is, both the memory 81a and the memory 83a operate as a cache tag memory, and the memory 81b and the memory 83b.
Of the synchronous memory controller 7 and the data input / output terminals D of the memory 81a and the memory 83a, respectively.
Connected to the upper address AddHi output by the
1b and the data input / output terminal D of the memory 83b are transmitted to the higher address output from the synchronous memory controller 7.
Connect to the AddHi bus and the data bus of the CPU1 respectively.

【0095】また、指示信号がISEL1,ISEL
0,DSEL1,DSEL0=0011の時、即ち、メ
モリ81aおよびメモリ83aがともにキャッシュタグ
メモリとして動作し、メモリ81bおよびメモリ83b
がともに高速メモリとして動作する場合は、メモリ81
aおよびメモリ83aのデータ入出力端子Dをともに同
期メモリコントローラ7が出力する上位アドレスAddHi
に接続し、メモリ81bおよびメモリ83bのデータ入
出力端子DをCPU1のデータバスに接続するようにす
る。
Further, the instruction signals are ISEL1 and ISEL.
0, DSEL1, DSEL0 = 0011, that is, both the memory 81a and the memory 83a operate as a cache tag memory, and the memory 81b and the memory 83b.
If both operate as high-speed memory, the memory 81
a and the data input / output terminal D of the memory 83a, the upper address AddHi output from the synchronous memory controller 7
And the data input / output terminals D of the memory 81b and the memory 83b are connected to the data bus of the CPU 1.

【0096】また指示信号ISEL1,ISEL0,D
SEL1,DSEL0=0100の時、即ち、メモリ8
1aおよびメモリ83aがそれぞれキャッシュタグメモ
リおよび高速メモリとして動作し、メモリ81bおよび
メモリ83bがともにキャッシュタグメモリとして動作
する場合は、メモリ81aおよびメモリ83aのデータ
入出力端子DをCPU1のデータバスに接続し、メモリ
81bおよびメモリ83bのデータ入出力端子Dをとも
に同期メモリコントローラ7が出力する上位アドレスAd
dHi に接続する。
Further, the instruction signals ISEL1, ISEL0, D
When SEL1 and DSEL0 = 0100, that is, the memory 8
1a and memory 83a operate as cache tag memory and high-speed memory, respectively, and memory 81b and memory 83b both operate as cache tag memory, data input / output terminal D of memory 81a and memory 83a is connected to the data bus of CPU1. Then, the high-order address Ad output from the synchronous memory controller 7 is output to both the data input / output terminals D of the memory 81b and the memory 83b.
Connect to dHi.

【0097】また、指示信号がISEL1,ISEL
0,DSEL1,DSEL0=0101の時、即ち、メ
モリ81aおよびメモリ83aがそれぞれキャッシュタ
グメモリおよび高速メモリとして動作し、メモリ81b
およびメモリ83bがそれぞれキャッシュタグメモリお
よび高速メモリとして動作する場合は、メモリ81aお
よびメモリ83aのデータ入出力端子Dを同期メモリコ
ントローラ7が出力する上位アドレスを伝達するAddHi
バスおよびCPU1のデータバスにそれぞれ接続し、か
つメモリ81bおよびメモリ83bのデータ入出力端子
Dを同期メモリコントローラ7が出力する上位アドレス
を伝達するAddHi バスおよびCPU1のデータバスにそ
れぞれ接続する。
Further, the instruction signals are ISEL1 and ISEL.
0, DSEL1, DSEL0 = 0101, that is, the memory 81a and the memory 83a operate as a cache tag memory and a high-speed memory, respectively, and the memory 81b
And the memory 83b operate as a cache tag memory and a high-speed memory, respectively, the data input / output terminal D of the memory 81a and the memory 83a transmits the upper address output from the synchronous memory controller 7 AddHi.
The data input / output terminals D of the memory 81b and the memory 83b are respectively connected to the bus and the data bus of the CPU1 and to the AddHi bus for transmitting the higher address output from the synchronous memory controller 7 and the data bus of the CPU1.

【0098】また、指示信号がISEL1,ISEL
0,DSEL1,DSEL0=0111の時、即ち、即
ち、メモリ81aおよびメモリ83aがそれぞれキャッ
シュタグメモリおよび高速メモリとして動作し、メモリ
81bおよびメモリ83bがともに高速メモリとして動
作する場合は、メモリ81aおよびメモリ83aのデー
タ入出力端子Dを同期メモリコントローラ7が出力する
上位アドレスを伝達するAddHi バスおよびCPU1のデ
ータバスにそれぞれ接続し、メモリ81bおよびメモリ
83bのデータ入出力端子DをCPU1のデータバスに
接続するようにする。
Further, the instruction signals are ISEL1 and ISEL.
When 0, DSEL1, DSEL0 = 0111, that is, when the memory 81a and the memory 83a operate as a cache tag memory and a high speed memory, respectively, and the memory 81b and the memory 83b both operate as a high speed memory, the memory 81a and the memory 81a The data input / output terminal D of 83a is connected to the AddHi bus for transmitting the upper address output from the synchronous memory controller 7 and the data bus of the CPU 1, respectively, and the data input / output terminal D of the memory 81b and the memory 83b is connected to the data bus of the CPU 1. To do so.

【0099】また指示信号ISEL1,ISEL0,D
SEL1,DSEL0=1100の時、即ち、メモリ8
1aおよびメモリ83aがそれぞれ高速メモリとして動
作し、メモリ81bおよびメモリ83bがともにキャッ
シュタグメモリとして動作する場合は、メモリ81aお
よびメモリ83aのデータ入出力端子DをCPU1のデ
ータバスに接続し、メモリ81bおよびメモリ83bの
データ入出力端子Dをともに同期メモリコントローラ7
が出力する上位アドレスAddHi に接続する。
Further, the instruction signals ISEL1, ISEL0, D
When SEL1 and DSEL0 = 1100, that is, the memory 8
1a and memory 83a operate as high-speed memories, and memory 81b and memory 83b both operate as cache tag memories, data input / output terminal D of memory 81a and memory 83a is connected to the data bus of CPU1, and memory 81b is connected. And the data input / output terminal D of the memory 83b are both connected to the synchronous memory controller 7
Connect to the upper address AddHi output by.

【0100】また、指示信号がISEL1,ISEL
0,DSEL1,DSEL0=1101の時、即ち、メ
モリ81aおよびメモリ83aがともに高速メモリとし
て動作し、メモリ81bおよびメモリ83bがそれぞれ
キャッシュタグメモリおよび高速メモリとして動作する
場合は、メモリ81aおよびメモリ83aのデータ入出
力端子DをCPU1のデータバスにそれぞれ接続し、か
つメモリ81bおよびメモリ83bのデータ入出力端子
Dを同期メモリコントローラ7が出力する上位アドレス
を伝達するAddHi バスおよびCPU1のデータバスにそ
れぞれ接続する。
Further, the instruction signals are ISEL1 and ISEL.
When 0, DSEL1, DSEL0 = 1101, that is, when both the memory 81a and the memory 83a operate as a high-speed memory and the memory 81b and the memory 83b operate as a cache tag memory and a high-speed memory, respectively, the memory 81a and the memory 83a The data input / output terminal D is connected to the data bus of the CPU 1, and the data input / output terminal D of the memory 81b and the memory 83b is connected to the AddHi bus for transmitting the higher address output from the synchronous memory controller 7 and the data bus of the CPU 1, respectively. To do.

【0101】また、指示信号がISEL1,ISEL
0,DSEL1,DSEL0=1111の時、即ち、即
ち、メモリ81aおよびメモリ83aがともに高速メモ
リとして動作し、メモリ81bおよびメモリ83bがと
もに高速メモリとして動作する場合は、メモリ81aお
よびメモリ83aのデータ入出力端子DをCPU1のデ
ータバスにそれぞれ接続し、かつメモリ81bおよびメ
モリ83bのデータ入出力端子DをCPU1のデータバ
スに接続するようにする。
The instruction signals are ISEL1 and ISEL.
When 0, DSEL1, DSEL0 = 1111, that is, when both the memory 81a and the memory 83a operate as a high-speed memory and both the memory 81b and the memory 83b operate as a high-speed memory, the data input to the memory 81a and the memory 83a is input. The output terminal D is connected to the data bus of the CPU 1, and the data input / output terminals D of the memories 81b and 83b are connected to the data bus of the CPU 1.

【0102】一方、デコーダ18aの側では指示信号S
EL1,SEL0と上位アドレスAddHiにより高速
メモリが選択される場合は/HSELをL(アクティ
ブ),そうでない時はHにする。/CE1 ,/CE2 ,
/CE3 ,/CE4 はそれぞれメモリ81,82,8
3,84に割り当てられたアドレス領域がアクセスされ
た場合L(アクティブ)になる。即ち、この場合のデコ
ーダ18aのデコード論理は指示信号ISEL1,IS
EL0とDSEL1,DSEL0に対し表3に示すもの
が、独立に2系統あるのと同様の動作になる。
On the other hand, on the decoder 18a side, the instruction signal S
/ HSEL is set to L (active) when the high-speed memory is selected by EL1 and SEL0 and the upper address AddHi, and is set to H otherwise. / CE1, / CE2,
/ CE3 and / CE4 are memories 81, 82 and 8 respectively.
When the address area assigned to 3,84 is accessed, it becomes L (active). That is, the decoding logic of the decoder 18a in this case is the instruction signals ISEL1, IS
For EL0, DSEL1 and DSEL0, the operation shown in Table 3 is the same as if there are two independent systems.

【0103】このように、上記実施例によれば、同期メ
モリとして命令用とデータ用の2系統が用意され、CP
Uの1つのサイクルを2つに分割し、その前半を命令の
アクセス,後半をデータのアクセスに割当て、命令アド
レス,データアドレスを半サイクルずつ出力することに
より、命令,データを半サイクル毎にデータ線を介して
授受することができ、CPUの高速化を図ることができ
るようにしたものにおいて、その同期メモリの容量を、
キャッシュメモリと高速メモリとに適宜分配できるの
で、同一のハードウエアで広範囲なアプリケーションに
柔軟に対応できる。
As described above, according to the above-mentioned embodiment, two systems for the instruction and the data are prepared as the synchronous memory, and the CP
By dividing one cycle of U into two, assigning the first half to instruction access and the latter half to data access, and outputting the instruction address and data address in half cycles, The capacity of the synchronous memory in the one that can be transmitted and received via the line and the speed of the CPU can be increased,
Since the cache memory and the high-speed memory can be appropriately distributed, the same hardware can flexibly support a wide range of applications.

【0104】実施例3.図3はこの発明のさらに他の実
施例によるCPUシステムを示し、図1と同一符号は同
一のものを示す。23および24は外部からの指示信号
に応じてメモリ81,83および82,84にキャッシ
ュ読み出し信号/CRD,高速メモリ読み出し信号/H
RDまたはキャッシュ書き込み信号/CWR,高速メモ
リ/HWRのいずれか一方を選択して供給するセレクタ
である。
Example 3. FIG. 3 shows a CPU system according to still another embodiment of the present invention, and the same reference numerals as those in FIG. 1 denote the same parts. 23 and 24 are cache read signals / CRDs and high-speed memory read signals / H to the memories 81, 83 and 82, 84 in response to external instruction signals.
It is a selector that selects and supplies one of RD, cache write signal / CWR, and high speed memory / HWR.

【0105】この実施例は、CPUがデコーダの出力を
受けてキャッシュメモリ,キャッシュタグメモリと高速
メモリをそれぞれ別々に読み出し,書き込み信号を制御
する例である。CPU1は高速メモリ選択信号がアクテ
ィブの場合、読み出し時は/HRD信号を,書き込み時
は/HWR信号をそれぞれアクティブにし、高速メモリ
選択信号がインアクティブの場合、読み出し時は/CR
D信号を,書き込み時は/CWR信号をそれぞれアクテ
ィブにする。
In this embodiment, the CPU receives the output of the decoder and reads the cache memory, the cache tag memory and the high speed memory separately and controls the write signal. When the high-speed memory selection signal is active, the CPU 1 activates the / HRD signal during reading and the / HWR signal during writing, and when the high-speed memory selection signal is inactive, / CR during reading.
The D signal and the / CWR signal are activated during writing.

【0106】この様子を表4に示す。This state is shown in Table 4.

【0107】[0107]

【表4】 [Table 4]

【0108】すなわち、外部からの指令信号SEL1,
SEL0が00の場合、メモリ81〜84のそれぞれに
ついて、読み出し時は/CRD信号を,書き込み時は/
CWR信号をそれぞれアクティブにする。
That is, the external command signal SEL1,
When SEL0 is 00, for each of the memories 81 to 84, the / CRD signal is read at the time of reading, and the / CRD signal is written at the time of writing.
Activate the CWR signals respectively.

【0109】また、外部からの指令信号SEL1,SE
L0が01の場合、メモリ81,82のそれぞれについ
て、読み出し時は/CRD信号を,書き込み時は/CW
R信号をそれぞれアクティブにするとともに、メモリ8
3,84のそれぞれについて、読み出し時は/CRD信
号を,書き込み時は/CWR信号をそれぞれアクティブ
にする。
In addition, external command signals SEL1, SE
When L0 is 01, for each of the memories 81 and 82, the / CRD signal is read when reading and the / CW signal is written when writing.
The R signal is activated and the memory 8
For each of 3 and 84, the / CRD signal is activated during reading and the / CWR signal is activated during writing.

【0110】さらに、外部からの指令信号SEL1,S
EL0が11の場合、メモリ81〜84のそれぞれにつ
いて、読み出し時は/HRD信号を,書き込み時は/H
WR信号をそれぞれアクティブにする。
Further, external command signals SEL1, S
When EL0 is 11, for each of the memories 81 to 84, the / HRD signal is read when reading and the / HRD signal is written when writing.
Each activates the WR signal.

【0111】この実施例によれば、同期メモリは常時選
択されたままであり、メモリがデータを出力するのにあ
る程度準備が整った段階でアクセスを待機するので、チ
ップ選択信号/CEが入力されてはじめて読出しが行な
われる図1の実施例に比しメモリのアクセス時間に余裕
がとれるようにしたものにおいても、その同期メモリの
容量を、キャッシュメモリと高速メモリとに適宜分配で
きるので、同一のハードウエアで広範囲なアプリケーシ
ョンに柔軟に対応できる。
According to this embodiment, the synchronous memory remains selected at all times and waits for access when the memory is ready to output data to some extent, so that the chip select signal / CE is input. Even in the case where the memory access time is longer than that in the embodiment of FIG. 1 in which reading is performed for the first time, the capacity of the synchronous memory can be appropriately distributed to the cache memory and the high-speed memory, so that the same hardware can be used. The software can flexibly support a wide range of applications.

【0112】実施例4.図4は本発明のさらに他の実施
例を示すもので、この実施例は、CPUと同期メモリコ
ントローラを同一チップ上に搭載し、(図4ではこの同
期メモリコントローラを搭載したCPUチップを同期メ
モリコントローラ7として示している)、低速メモリと
同期メモリでアドレスバスを共有する例である。
Example 4. FIG. 4 shows still another embodiment of the present invention. In this embodiment, a CPU and a synchronous memory controller are mounted on the same chip (in FIG. 4, a CPU chip equipped with this synchronous memory controller is a synchronous memory). This is an example in which the address bus is shared by the low-speed memory and the synchronous memory.

【0113】図において、CK1は同期メモリライトま
たは低速メモリシステムリードライト時にLとなるクロ
ック、CK2は同期メモリリード時にLとなるクロック
である。
In the figure, CK1 is a clock which becomes L at the time of synchronous memory write or low speed memory system read / write, and CK2 is a clock which becomes L at the time of synchronous memory read.

【0114】この実施例によれば、CPUのアドレスを
一旦同期メモリコントローラで受けて同期メモリに出力
する必要がなくなるので、信号ラインを節減でき、CP
Uチップのピン数の削減が可能となるものにおいても、
その同期メモリの容量を、キャッシュメモリと高速メモ
リとに適宜分配できるので、同一のハードウエアで広範
囲なアプリケーションに柔軟に対応できる。
According to this embodiment, since it is not necessary to once receive the address of the CPU in the synchronous memory controller and output it to the synchronous memory, the signal line can be saved and the CP
Even if it is possible to reduce the number of U-chip pins,
Since the capacity of the synchronous memory can be appropriately distributed to the cache memory and the high-speed memory, the same hardware can flexibly support a wide range of applications.

【0115】なお、上記各実施例におけるCPU,同期
メモリコントローラ,デコーダ,キャッシュメモリ,キ
ャッシュタグメモリ,高速メモリ,低速メモリ,インバ
ータの一部またはすべてを同一半導体チップ上に搭載し
てもよいし、マルチチップモジュールに内蔵するように
してもよく、上記各実施例と同様の効果を奏する。この
マルチチップモジュールとはパッケージングしない状態
の複数の半導体集積回路チップを同一のパッケージ内に
収容して構成された半導体装置のことである。
The CPU, the synchronous memory controller, the decoder, the cache memory, the cache tag memory, the high speed memory, the low speed memory, and some or all of the inverters in each of the above embodiments may be mounted on the same semiconductor chip. It may be built in the multi-chip module, and the same effect as that of each of the above-described embodiments can be obtained. The multi-chip module is a semiconductor device configured by accommodating a plurality of semiconductor integrated circuit chips that are not packaged in the same package.

【0116】また、指示信号をシステムの端子に印加さ
れる信号のレベルを変化させることにより、外部から入
力するようにしたもののみを示したが、これはシステム
内のメモリに、外部から設定された値により与えるよう
にしてもよく、上記各実施例と同様の効果を奏する。
Also, only the instruction signal is shown to be input from the outside by changing the level of the signal applied to the terminal of the system, but this is set in the memory in the system from the outside. It may be given by a different value, and the same effect as each of the above-mentioned embodiments is obtained.

【0117】[0117]

【発明の効果】以上のように、この発明に係るCPUシ
ステムによれば、同一ハードウエア構成で外部からの指
定によりキャッシュメモリ容量と高速メモリ容量の割合
いを可変に設定できるように構成し、このキャッシュメ
モリと高速メモリの容量の割合いの設定は、システムの
端子に印加される信号レベルまたはシステム内の記憶要
素に外部から設定された値により外部から与えられる指
示に基づき、各同期メモリの選択信号を切り替え、また
高速メモリが選択されたことをCPUに伝達する高速メ
モリ選択信号を切り替える回路を設けることにより、こ
れを行なうようにしたので、高速メモリ領域の容量の割
合いを外部からの指示により可変にできる効果がある。
As described above, according to the CPU system of the present invention, the ratio of the cache memory capacity and the high speed memory capacity can be variably set by the designation from the outside with the same hardware configuration. The setting of the capacity ratio of the cache memory and the high-speed memory is based on a signal level applied to a terminal of the system or an instruction given from the outside by a value externally set to a storage element in the system. This is done by providing a circuit for switching the selection signal and for switching the high-speed memory selection signal for transmitting to the CPU that the high-speed memory has been selected. There is an effect that it can be changed by instructions.

【0118】また、この発明に係るCPUシステムによ
れば、キャッシュタグメモリのビット幅と高速メモリの
ビット幅を等しくするようにしたので、キャッシュタグ
メモリまたは高速メモリとして使用される同期メモリ
は、バススイッチを介してCPUのデータバス、同期メ
モリコントローラの上位アドレスバス(タグバス)のど
ちらかに接続することにより、キャッシュタグメモリと
高速メモリを入れ換え可能にすることができる効果があ
る。
Further, according to the CPU system of the present invention, the bit width of the cache tag memory and the bit width of the high speed memory are made equal, so that the synchronous memory used as the cache tag memory or the high speed memory is a bus. By connecting to either the data bus of the CPU or the higher-order address bus (tag bus) of the synchronous memory controller via the switch, the cache tag memory and the high-speed memory can be interchanged.

【0119】また、この発明に係るCPUシステムによ
れば、CPUと同期メモリとを同一半導体チップ上に搭
載して装置を構成したので、低コストでキャッシュタグ
メモリと高速メモリの役割を交換可能なものが得られる
効果がある。
Further, according to the CPU system of the present invention, since the CPU and the synchronous memory are mounted on the same semiconductor chip to configure the device, the roles of the cache tag memory and the high speed memory can be exchanged at low cost. There is an effect that can be obtained.

【0120】また、この発明に係るCPUシステムによ
れば、CPUと同期メモリとをマルチチップモジュール
に内蔵して装置を構成したので、単一チップで実現が困
難なCPUシステムにおいて、キャッシュタグメモリと
高速メモリの役割を交換可能なものが得られる効果があ
る。
Further, according to the CPU system of the present invention, the CPU and the synchronous memory are built in the multi-chip module to configure the device. Therefore, in the CPU system which is difficult to realize with a single chip, the cache tag memory and There is an effect that the role of the high speed memory can be exchanged.

【0121】また、この発明に係るCPUシステムによ
れば、システムへの外部からの指示が、システムの端子
に印加される信号レベルにより与えられるように構成し
たので、単に信号の印加のみによりキャッシュタグメモ
リと高速メモリの役割を容易に交換できる効果がある。
Further, according to the CPU system of the present invention, the instruction from the outside to the system is provided by the signal level applied to the terminals of the system. Therefore, the cache tag is simply applied. There is an effect that the roles of the memory and the high speed memory can be easily exchanged.

【0122】また、この発明に係るCPUシステムによ
れば、システムへの外部からの指示が、システム内の記
憶装置に外部から設定された値により与えられるように
構成したもので、初期設定によりキャッシュタグメモリ
と高速メモリの役割を容易に設定できる効果がある。
Further, according to the CPU system of the present invention, the instruction from the outside to the system is configured to be given to the storage device in the system by the value set from the outside. This has the effect of easily setting the roles of the tag memory and the high-speed memory.

【0123】さらに、この発明に係るCPUシステム
は、同期メモリを命令用とデータ用で別個に有するよう
に構成したので、CPUの1命令サイクルを2つに分割
し前半を命令アクセス,後半をデータアクセスに割当て
ることによりCPUの高速化を図れるものにおいても、
キャッシュタグメモリと高速メモリの役割を容易に交換
できる効果がある。
Further, since the CPU system according to the present invention has the synchronous memory separately for the instruction and the data, one instruction cycle of the CPU is divided into two and the first half is the instruction access and the latter half is the data. Even if you can speed up the CPU by assigning it to access,
There is an effect that the roles of the cache tag memory and the high speed memory can be easily exchanged.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例によるCPUシステムを示す
ブロック図である。
FIG. 1 is a block diagram showing a CPU system according to an embodiment of the present invention.

【図2】本発明の他の実施例によるCPUシステムを示
すブロック図である。
FIG. 2 is a block diagram showing a CPU system according to another embodiment of the present invention.

【図3】本発明のさらに他の実施例によるCPUシステ
ムを示すブロック図である。
FIG. 3 is a block diagram showing a CPU system according to another embodiment of the present invention.

【図4】本発明のさらに他の実施例によるCPUシステ
ムを示すブロック図である。
FIG. 4 is a block diagram showing a CPU system according to still another embodiment of the present invention.

【図5】本件出願人の開発になるCPUシステムの一例
を示すブロック図である。
FIG. 5 is a block diagram showing an example of a CPU system developed by the applicant.

【図6】本件出願人の開発になるCPUシステムの他の
例を示すブロック図である。
FIG. 6 is a block diagram showing another example of a CPU system developed by the applicant.

【図7】図6のCPUシステムのタイムチャート図であ
る。
7 is a time chart diagram of the CPU system of FIG. 6;

【図8】本件出願人の開発になるCPUシステムのさら
に他の例を示すブロック図である。
FIG. 8 is a block diagram showing still another example of a CPU system developed by the applicant.

【図9】本件出願人の開発になるCPUシステムのさら
に他の例を示すブロック図である。
FIG. 9 is a block diagram showing still another example of the CPU system developed by the applicant.

【図10】従来のCPUシステムを示すブロック図であ
る。
FIG. 10 is a block diagram showing a conventional CPU system.

【図11】従来および本件出願人の開発になるCPUシ
ステムのメモリエリアを示す模式図で、図11(a) は従
来のCPUシステムのメモリエリアを示す模式図、図1
1(b) は本件出願人の開発になるCPUシステムのメモ
リエリアを示す模式図である。
FIG. 11 is a schematic view showing a memory area of a CPU system developed by the conventional and applicants, and FIG. 11 (a) is a schematic view showing the memory area of a conventional CPU system;
1 (b) is a schematic diagram showing a memory area of a CPU system developed by the applicant.

【符号の説明】[Explanation of symbols]

1 CPU 2 低速メモリシステム 7 同期メモリコントローラ 73 比較器 18 デコーダ 21,22 バススイッチ 23,24 バススイッチ 21a,22a バススイッチ 21b,22b バススイッチ 81,82,83,84 同期メモリ 81a,82a,83a,84a 同期メモリ 81b,82b,83b,84b 同期メモリ 1 CPU 2 Low-speed memory system 7 Synchronous memory controller 73 Comparator 18 Decoder 21, 22 Bus switch 23, 24 Bus switch 21a, 22a Bus switch 21b, 22b Bus switch 81, 82, 83, 84 Synchronous memory 81a, 82a, 83a, 84a synchronous memory 81b, 82b, 83b, 84b synchronous memory

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年5月21日[Submission date] May 21, 1993

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】発明の名称[Name of item to be amended] Title of invention

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【発明の名称】 データ処理装置Title: Data processing device

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【特許請求の範囲】[Claims]

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0001[Correction target item name] 0001

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0001】[0001]

【産業上の利用分野】この発明は、階層メモリを有する
データ処理装置に関し、特にCPUとメモリとのインタ
ーフェースの改善を図ったものに関するものである。
This invention has a hierarchical memory.
The present invention relates to a data processing device , and more particularly, to a data processing device having an improved interface between a CPU and a memory.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0041[Correction target item name] 0041

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0041】[0041]

【課題を解決するための手段】この発明に係るデータ処
理装置は、同一ハードウエア構成で外部からの指定によ
りキャッシュメモリ容量と高速メモリ容量の割合いを可
変に設定できるように構成したものであり、このキャッ
シュメモリと高速メモリの容量の割合いの設定は、シス
テムの端子に印加される信号レベルまたはシステム内の
記憶要素に外部から設定された値により外部から与えら
れる指示に基づき、各同期メモリの選択信号を切り替
え、また高速メモリが選択されたことをCPUに伝達す
る高速メモリ選択信号を切り替える回路を設けることに
より、これを行なうようにしたものである。
Data processing according to the present invention
The processor is configured with the same hardware configuration so that the ratio of cache memory capacity and high-speed memory capacity can be variably set by external specification. Is to switch the selection signal of each synchronous memory based on the signal level applied to the terminal of the system or the instruction given from the outside by the value set externally to the storage element in the system, and that the high speed memory is selected. This is done by providing a circuit for switching the high-speed memory selection signal for transmitting to the CPU.

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0042[Correction target item name] 0042

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0042】また、この発明に係るデータ処理装置は、
キャッシュタグメモリのビット幅と高速メモリのビット
幅を等しくするようにしたものである。
Further, the data processing device according to the present invention is
The bit width of the cache tag memory and the bit width of the high speed memory are made equal.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0043[Correction target item name] 0043

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0043】また、この発明に係るデータ処理装置は、
CPUと同期メモリとを同一半導体チップ上に搭載して
装置を構成したものである。
Further, the data processing device according to the present invention is
A CPU and a synchronous memory are mounted on the same semiconductor chip to form a device.

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0044[Correction target item name] 0044

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0044】また、この発明に係るデータ処理装置は、
CPUと同期メモリとをマルチチップモジュールに内蔵
して装置を構成したものである。
Further, the data processing device according to the present invention is
A device is configured by incorporating a CPU and a synchronous memory in a multi-chip module.

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0045[Name of item to be corrected] 0045

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0045】また、この発明に係るデータ処理装置は、
システムへの外部からの指示が、システムの端子に印加
される信号レベルにより与えられるように構成したもの
である。
Further, the data processing device according to the present invention is
The external instruction to the system is configured to be given by the signal level applied to the terminals of the system.

【手続補正10】[Procedure Amendment 10]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0046[Correction target item name] 0046

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0046】また、この発明に係るデータ処理装置は、
システムへの外部からの指示が、システム内の記憶装置
に外部から設定された値により与えられるように構成し
たものである。
Further, the data processing device according to the present invention is
An external instruction to the system is configured to be given to a storage device in the system by a value set from the outside.

【手続補正11】[Procedure Amendment 11]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0047[Correction target item name] 0047

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0047】さらに、この発明に係るデータ処理装置
は、同期メモリを命令用とデータ用で別個に有するよう
に構成したものである。
Further, according to the present inventionData processing device
Have separate synchronous memory for instructions and data
It is configured in.

【手続補正12】[Procedure Amendment 12]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0050[Correction target item name] 0050

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0050】また、この発明に係るデータ処理装置は、
CPUと同期メモリとを同一半導体チップ上に搭載して
装置を構成したので、低コストでキャッシュタグメモリ
と高速メモリの役割を交換可能なものが得られるもので
ある。
Further, the data processing device according to the present invention is
Since the device is configured by mounting the CPU and the synchronous memory on the same semiconductor chip, it is possible to obtain the one in which the roles of the cache tag memory and the high speed memory can be exchanged at low cost.

【手続補正13】[Procedure Amendment 13]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0051[Correction target item name] 0051

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0051】また、この発明に係るデータ処理装置は、
CPUと同期メモリとをマルチチップモジュールに内蔵
して装置を構成したので、単一チップで実現が困難なC
PUシステムにおいて、キャッシュタグメモリと高速メ
モリの役割を交換可能なものが得られるものである。
Further, the data processing device according to the present invention is
Since the device is configured by incorporating the CPU and the synchronous memory in the multi-chip module, it is difficult to realize C with a single chip.
In the PU system, one in which the roles of the cache tag memory and the high speed memory can be exchanged can be obtained.

【手続補正14】[Procedure Amendment 14]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0052[Correction target item name] 0052

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0052】また、この発明に係るデータ処理装置は、
システムへの外部からの指示が、システムの端子に印加
される信号レベルにより与えられるように構成したの
で、単に信号の印加のみによりキャッシュタグメモリと
高速メモリの役割を容易に交換できる。
Further, the data processing device according to the present invention is
Since the instruction to the system from the outside is given by the signal level applied to the terminals of the system, the roles of the cache tag memory and the high speed memory can be easily exchanged by simply applying the signal.

【手続補正15】[Procedure Amendment 15]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0053[Correction target item name] 0053

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0053】また、この発明に係るデータ処理装置は、
システムへの外部からの指示が、システム内の記憶装置
に外部から設定された値により与えられるように構成し
たもので、初期設定によりキャッシュタグメモリと高速
メモリの役割を容易に設定できる。
Further, the data processing apparatus according to the present invention is
The external instruction to the system is configured to be given to the storage device in the system by the value set from the outside, and the roles of the cache tag memory and the high speed memory can be easily set by the initial setting.

【手続補正16】[Procedure Amendment 16]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0054[Correction target item name] 0054

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0054】さらに、この発明に係るデータ処理装置
は、同期メモリを命令用とデータ用で別個に有するよう
に構成したので、CPUの1命令サイクルを2つに分割
し前半を命令アクセス,後半をデータアクセスに割当て
ることによりCPUの高速化を図れるものにおいても、
キャッシュタグメモリと高速メモリの役割を容易に交換
できる。
Furthermore, according to the present inventionData processing device
Have separate synchronous memory for instructions and data
Because it is configured as, 1 CPU instruction cycle is divided into 2
Assign the first half to instruction access and the second half to data access
Even if the CPU speed can be increased by doing so,
Easily swap the roles of cache tag memory and high speed memory
it can.

【手続補正17】[Procedure Amendment 17]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0055[Correction target item name] 0055

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0055】[0055]

【実施例】 実施例1.以下、この発明の一実施例を図について説明
する。図1は本発明の一実施例によるデータ処理装置
示す。図において、81,82,83,84はCPU1
の動作クロックに同期して動作を行なう同期メモリであ
り、これはキャッシュメモリとしても高速メモリとして
も使用できるものであり、ビット単価は高価であるが高
速にアクセス可能なメモリで構成されている。18は外
部からの指示信号SEL1,SEL0の2ビットの組合
せをデコードするデコーダ、21,22はバススイッチ
であり、上記デコーダ18のデコード結果に応じてCP
U1のバスにどのメモリを接続するかを切り換えること
により、上記メモリ81,82,83,84のどのメモ
リを高速メモリとして割当て、残りのメモリをキャッシ
ュメモリおよびキャッシュタグメモリとして割当てるか
を決定するバススイッチである。
EXAMPLES Example 1. An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a data processing device according to an embodiment of the present invention. In the figure, 81, 82, 83, 84 are CPUs 1.
Is a synchronous memory that operates in synchronization with the operation clock of No. 1, which can be used as both a cache memory and a high-speed memory, and is composed of a memory that can be accessed at high speed although the bit unit price is expensive. Reference numeral 18 is a decoder for decoding a 2-bit combination of external instruction signals SEL1 and SEL0, and 21 and 22 are bus switches, which are CP depending on the decoding result of the decoder 18.
A bus for determining which of the memories 81, 82, 83, 84 is to be assigned as a high-speed memory and the remaining memory to be assigned as a cache memory and a cache tag memory by switching which memory is connected to the U1 bus. It is a switch.

【手続補正18】[Procedure 18]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0081[Correction target item name] 0081

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0081】実施例2.図2は本発明の他の実施例によ
データ処理装置を示す。図において、81a,82
a,83a,84aはそれぞれデータ用の同期メモリ、
81b,82b,83b,84bはそれぞれ命令用の同
期メモリである。これらはキャッシュメモリとしても高
速メモリとしても使用できるメモリであり、ビット単価
は高価であるが高速にアクセス可能なSRAM等のメモ
リで構成されている。18aは外部からの指示信号IS
EL1,ISEL0,DSEL1,DSEL0の4ビッ
トの組合せをデコードするデコーダ、21a,22aは
データ用のバススイッチであり、上記デコーダ18aの
デコード結果に応じてCPU1のバスにどのメモリを接
続するかを切り換えることにより、上記メモリ81a,
82a,83a,84aのどのメモリを高速メモリとし
て割当て、残りのメモリをキャッシュメモリおよびキャ
ッシュタグメモリとして割当てるかを決定するバススイ
ッチである。また、21b,22bは命令用のバススイ
ッチであり、上記デコーダ18aのデコード結果に応じ
てCPU1のバスにどのメモリを接続するかを切り換え
ることにより、上記メモリ81b,82b,83b,8
4bのどのメモリを高速メモリとして割当て、残りのメ
モリをキャッシュメモリおよびキャッシュタグメモリと
して割当てるかを決定するバススイッチである。また、
10はCPU1が出力するクロック/CLKを反転して
ラッチ11,12のクロック入力端子に出力するインバ
ータ、11は同期メモリコントローラ7が出力する下位
アドレスをラッチしてメモリ81a,82a,83a,
84aに出力するラッチ、12は同期メモリコントロー
ラ7が出力する下位アドレスをラッチしてメモリ81
b,82b,83b,84bに出力するラッチ、13は
/IRDと/DRDの論理積をとって同期メモリコント
ローラ7の/RD入力に出力するアンドゲート、14は
/IWDと/DWDの論理積をとって同期メモリコント
ローラ7の/RD入力に出力するアンドゲートである。
Example 2. FIG. 2 shows a data processing device according to another embodiment of the present invention. In the figure, 81a, 82
a, 83a, 84a are synchronous memories for data,
Reference numerals 81b, 82b, 83b and 84b are synchronous memories for instructions. These are memories that can be used as both a cache memory and a high-speed memory, and are composed of a memory such as SRAM, which has a high bit unit price but can be accessed at high speed. 18a is an instruction signal IS from the outside
A decoder that decodes a 4-bit combination of EL1, ISEL0, DSEL1, and DSEL0, and 21a and 22a are bus switches for data, and switches which memory is connected to the bus of the CPU1 according to the decoding result of the decoder 18a. As a result, the memory 81a,
This is a bus switch that determines which memory 82a, 83a, 84a is to be allocated as a high-speed memory and the remaining memory is allocated as a cache memory and a cache tag memory. Further, 21b and 22b are bus switches for instructions, and by switching which memory is connected to the bus of the CPU 1 according to the decoding result of the decoder 18a, the memories 81b, 82b, 83b and 8b.
This is a bus switch that determines which memory of 4b is to be allocated as a high speed memory and the remaining memory is allocated as a cache memory and a cache tag memory. Also,
Reference numeral 10 is an inverter that inverts the clock / CLK output from the CPU 1 and outputs it to the clock input terminals of the latches 11 and 12, and 11 is a memory 81a, 82a, 83a, which latches the lower address output by the synchronous memory controller 7.
A latch for outputting to the memory 84a, and 12 for latching the lower address output by the synchronous memory controller 7 for storing the memory 81
b, 82b, 83b, 84b, a latch, 13 is an AND gate that takes the logical product of / IRD and / DRD and outputs it to the / RD input of the synchronous memory controller 7, and 14 is the logical product of / IWD and / DWD This is an AND gate for outputting to the / RD input of the synchronous memory controller 7.

【手続補正19】[Procedure Amendment 19]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0104[Correction target item name] 0104

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0104】実施例3.図3はこの発明のさらに他の実
施例によるデータ処理装置を示し、図1と同一符号は同
一のものを示す。23および24は外部からの指示信号
に応じてメモリ81,83および82,84にキャッシ
ュ読み出し信号/CRD,高速メモリ読み出し信号/H
RDまたはキャッシュ書き込み信号/CWR,高速メモ
リ/HWRのいずれか一方を選択して供給するセレクタ
である。
Example 3. 3 shows a data processing device according to still another embodiment of the present invention, and the same reference numerals as those in FIG. 1 denote the same parts. 23 and 24 are cache read signals / CRDs and high-speed memory read signals / H to the memories 81, 83 and 82, 84 in response to external instruction signals.
It is a selector that selects and supplies one of RD, cache write signal / CWR, and high speed memory / HWR.

【手続補正20】[Procedure amendment 20]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0117[Correction target item name] 0117

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0117】[0117]

【発明の効果】以上のように、この発明に係るデータ処
理装置によれば、同一ハードウエア構成で外部からの指
定によりキャッシュメモリ容量と高速メモリ容量の割合
いを可変に設定できるように構成し、このキャッシュメ
モリと高速メモリの容量の割合いの設定は、システムの
端子に印加される信号レベルまたはシステム内の記憶要
素に外部から設定された値により外部から与えられる指
示に基づき、各同期メモリの選択信号を切り替え、また
高速メモリが選択されたことをCPUに伝達する高速メ
モリ選択信号を切り替える回路を設けることにより、こ
れを行なうようにしたので、高速メモリ領域の容量の割
合いを外部からの指示により可変にできる効果がある。
As described above, the data processing according to the present invention
According to the processing device , the ratio of cache memory capacity and high-speed memory capacity can be variably set by external specification with the same hardware configuration. , The selection signal of each synchronous memory is switched based on the signal level applied to the terminal of the system or the instruction given from the outside by the value externally set to the storage element in the system, and the high-speed memory is selected. Since this is performed by providing a circuit for switching the high speed memory selection signal transmitted to the CPU, there is an effect that the ratio of the capacity of the high speed memory area can be changed by an instruction from the outside.

【手続補正21】[Procedure correction 21]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0118[Correction target item name] 0118

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0118】また、この発明に係るデータ処理装置によ
れば、キャッシュタグメモリのビット幅と高速メモリの
ビット幅を等しくするようにしたので、キャッシュタグ
メモリまたは高速メモリとして使用される同期メモリ
は、バススイッチを介してCPUのデータバス、同期メ
モリコントローラの上位アドレスバス(タグバス)のど
ちらかに接続することにより、キャッシュタグメモリと
高速メモリを入れ換え可能にすることができる効果があ
る。
Further, according to the data processing apparatus of the present invention, the bit width of the cache tag memory and the bit width of the high speed memory are made equal, so that the synchronous memory used as the cache tag memory or the high speed memory is: By connecting to either the data bus of the CPU or the higher-order address bus (tag bus) of the synchronous memory controller via the bus switch, the cache tag memory and the high-speed memory can be interchanged.

【手続補正22】[Procedure correction 22]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0119[Name of item to be corrected] 0119

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0119】また、この発明に係るデータ処理装置によ
れば、CPUと同期メモリとを同一半導体チップ上に搭
載して装置を構成したので、低コストでキャッシュタグ
メモリと高速メモリの役割を交換可能なものが得られる
効果がある。
Further, according to the data processor of the present invention, the CPU and the synchronous memory are mounted on the same semiconductor chip to constitute the device, so that the roles of the cache tag memory and the high speed memory can be exchanged at low cost. It has the effect of obtaining

【手続補正23】[Procedure amendment 23]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0120[Correction target item name] 0120

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0120】また、この発明に係るデータ処理装置によ
れば、CPUと同期メモリとをマルチチップモジュール
に内蔵して装置を構成したので、単一チップで実現が困
難なCPUシステムにおいて、キャッシュタグメモリと
高速メモリの役割を交換可能なものが得られる効果があ
る。
Further, according to the data processing device of the present invention, the CPU and the synchronous memory are built in the multi-chip module to configure the device. Therefore, in a CPU system which is difficult to realize with a single chip, a cache tag memory is provided. And the effect of being able to exchange the role of high-speed memory is obtained.

【手続補正24】[Procedure correction 24]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0121[Correction target item name] 0121

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0121】また、この発明に係るデータ処理装置によ
れば、システムへの外部からの指示が、システムの端子
に印加される信号レベルにより与えられるように構成し
たので、単に信号の印加のみによりキャッシュタグメモ
リと高速メモリの役割を容易に交換できる効果がある。
Further, according to the data processor of the present invention, the instruction to the system from the outside is given by the signal level applied to the terminal of the system. Therefore, the cache is simply applied. This has the effect of easily exchanging the roles of the tag memory and the high-speed memory.

【手続補正25】[Procedure correction 25]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0122[Name of item to be corrected] 0122

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0122】また、この発明に係るデータ処理装置によ
れば、システムへの外部からの指示が、システム内の記
憶装置に外部から設定された値により与えられるように
構成したもので、初期設定によりキャッシュタグメモリ
と高速メモリの役割を容易に設定できる効果がある。
Further, according to the data processing apparatus of the present invention, the external instruction to the system is configured to be given to the storage device in the system by the value set from the outside. This has the effect of easily setting the roles of the cache tag memory and the high-speed memory.

【手続補正26】[Procedure Amendment 26]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0123[Name of item to be corrected] 0123

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0123】さらに、この発明に係るデータ処理装置に
よれば、同期メモリを命令用とデータ用で別個に有する
ように構成したので、CPUの1命令サイクルを2つに
分割し前半を命令アクセス,後半をデータアクセスに割
当てることによりCPUの高速化を図れるものにおいて
も、キャッシュタグメモリと高速メモリの役割を容易に
交換できる効果がある。
Furthermore, in the data processing device according to the present invention ,
According to this configuration , the synchronous memory is configured to have separate memory for instructions and data, so that one instruction cycle of the CPU is divided into two and the first half is assigned to the instruction access and the latter half is assigned to the data access, thereby speeding up the CPU. Even if it can be achieved, the roles of the cache tag memory and the high speed memory can be easily exchanged.

【手続補正27】[Procedure Amendment 27]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例によるデータ処理装置を示す
ブロック図である。
FIG. 1 is a block diagram showing a data processing device according to an embodiment of the present invention.

【図2】本発明の他の実施例によるデータ処理装置を示
すブロック図である。
FIG. 2 is a block diagram showing a data processing device according to another embodiment of the present invention.

【図3】本発明のさらに他の実施例によるデータ処理装
を示すブロック図である。
FIG. 3 is a data processing device according to still another embodiment of the present invention.
It is a block diagram showing an arrangement .

【図4】本発明のさらに他の実施例によるデータ処理装
を示すブロック図である。
FIG. 4 is a data processing device according to still another embodiment of the present invention.
It is a block diagram showing an arrangement .

【図5】本件出願人の開発になるCPUシステムの一例
を示すブロック図である。
FIG. 5 is a block diagram showing an example of a CPU system developed by the applicant.

【図6】本件出願人の開発になるCPUシステムの他の
例を示すブロック図である。
FIG. 6 is a block diagram showing another example of a CPU system developed by the applicant.

【図7】図6のCPUシステムのタイムチャート図であ
る。
7 is a time chart diagram of the CPU system of FIG. 6;

【図8】本件出願人の開発になるCPUシステムのさら
に他の例を示すブロック図である。
FIG. 8 is a block diagram showing still another example of a CPU system developed by the applicant.

【図9】本件出願人の開発になるCPUシステムのさら
に他の例を示すブロック図である。
FIG. 9 is a block diagram showing still another example of the CPU system developed by the applicant.

【図10】従来のCPUシステムを示すブロック図であ
る。
FIG. 10 is a block diagram showing a conventional CPU system.

【図11】従来および本件出願人の開発になるCPUシ
ステムのメモリエリアを示す模式図で、図11(a) は従
来のCPUシステムのメモリエリアを示す模式図、図1
1(b) は本件出願人の開発になるCPUシステムのメモ
リエリアを示す模式図である。
FIG. 11 is a schematic view showing a memory area of a CPU system developed by the conventional and applicants, and FIG. 11 (a) is a schematic view showing the memory area of a conventional CPU system;
1 (b) is a schematic diagram showing a memory area of a CPU system developed by the applicant.

【符号の説明】 1 CPU 2 低速メモリシステム 7 同期メモリコントローラ 73 比較器 18 デコーダ 21,22 バススイッチ 23,24 バススイッチ 21a,22a バススイッチ 21b,22b バススイッチ 81,82,83,84 同期メモリ 81a,82a,83a,84a 同期メモリ 81b,82b,83b,84b 同期メモリ[Description of Reference Signs] 1 CPU 2 Low-speed memory system 7 Synchronous memory controller 73 Comparator 18 Decoder 21, 22 Bus switch 23, 24 Bus switch 21a, 22a Bus switch 21b, 22b Bus switch 81, 82, 83, 84 Synchronous memory 81a , 82a, 83a, 84a Synchronous memory 81b, 82b, 83b, 84b Synchronous memory

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】プログラムに応じた手順でデータを処理す
るCPUと、 このCPUの動作クロックに同期してCPUに命令を供
給しまたはCPUとデータを授受する同期メモリとから
なるシステムにおいて、 このシステムへの外部からの指示により、上記同期メモ
リを、CPUに命令を供給しまたはCPUとデータを授
受するキャッシュメモリおよびそのキャッシュタグメモ
リ、あるいはCPUに命令を供給またはCPUとデータ
を授受する高速メモリとして動作できるように切り換え
可能とする容量切り換え手段を備え、 上記同期メモリの容量配分を、キャッシュメモリおよび
そのキャッシュタグメモリと、高速メモリとの間で可変
としたことを特徴とするCPUシステム。
1. A system comprising a CPU for processing data in a procedure according to a program and a synchronous memory for supplying an instruction to the CPU or exchanging data with the CPU in synchronization with an operating clock of the CPU. In response to an external instruction to the above, the synchronous memory serves as a cache memory that supplies an instruction to the CPU or exchanges data with the CPU and its cache tag memory, or a high-speed memory that supplies an instruction to the CPU or exchanges data with the CPU. A CPU system comprising: a capacity switching means capable of switching so as to be operable, wherein the capacity distribution of the synchronous memory is variable between a cache memory and its cache tag memory and a high speed memory.
【請求項2】上記キャッシュタグメモリのビット幅と、
高速メモリのビット幅が等しいことを特徴とする請求項
1記載のCPUシステム。
2. A bit width of the cache tag memory,
2. The CPU system according to claim 1, wherein the high speed memories have the same bit width.
【請求項3】上記CPUと上記同期メモリが同一半導体
チップ上に搭載されてなることを特徴とする請求項1記
載のCPUシステム。
3. The CPU system according to claim 1, wherein the CPU and the synchronous memory are mounted on the same semiconductor chip.
【請求項4】上記CPUと上記同期メモリとをマルチチ
ップモジュールに内蔵してなることを特徴とする請求項
1記載のCPUシステム。
4. A CPU system according to claim 1, wherein said CPU and said synchronous memory are built in a multichip module.
【請求項5】上記システムへの外部からの指示が、シス
テムの端子に印加される信号レベルにより与えられるこ
とを特徴とする請求項1記載のCPUシステム。
5. The CPU system according to claim 1, wherein the external instruction to the system is given by a signal level applied to a terminal of the system.
【請求項6】上記システムへの外部からの指示が、シス
テム内の記憶装置に外部から設定された値により与えら
れることを特徴とする請求項1記載のCPUシステム。
6. The CPU system according to claim 1, wherein the external instruction to the system is given to a storage device in the system by a value set from the outside.
【請求項7】上記メモリを命令用とデータ用で別個に有
することを特徴とする請求項1記載のCPUシステム。
7. The CPU system according to claim 1, wherein the memory is separately provided for instructions and data.
JP4350870A 1992-12-03 1992-12-03 Data processor Pending JPH06175926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4350870A JPH06175926A (en) 1992-12-03 1992-12-03 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4350870A JPH06175926A (en) 1992-12-03 1992-12-03 Data processor

Publications (1)

Publication Number Publication Date
JPH06175926A true JPH06175926A (en) 1994-06-24

Family

ID=18413452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4350870A Pending JPH06175926A (en) 1992-12-03 1992-12-03 Data processor

Country Status (1)

Country Link
JP (1) JPH06175926A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301589A (en) * 2004-04-09 2005-10-27 Renesas Technology Corp Data processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301589A (en) * 2004-04-09 2005-10-27 Renesas Technology Corp Data processor
JP4553622B2 (en) * 2004-04-09 2010-09-29 ルネサスエレクトロニクス株式会社 Data processing device

Similar Documents

Publication Publication Date Title
US20180307423A1 (en) Memory system having a plurality of types of memory chips and a memory controller for controlling the memory chips
KR100265263B1 (en) Programmable shared memory system and method
US7411859B2 (en) Multi-port memory device for buffering between hosts
CA2043493C (en) Hierarchical integrated circuit cache memory
US5870625A (en) Non-blocking memory write/read mechanism by combining two pending commands write and read in buffer and executing the combined command in advance of other pending command
US5608881A (en) Microcomputer system for accessing hierarchical buses
US6574142B2 (en) Integrated circuit with flash memory
US5367494A (en) Randomly accessible memory having time overlapping memory accesses
EP0700003B1 (en) Data processor with controlled burst memory accesses and method therefor
US20040076044A1 (en) Method and system for improving access latency of multiple bank devices
JP3629519B2 (en) Programmable SRAM and DRAM cache interface
JP3136257B2 (en) Computer memory interface device
KR20020029760A (en) Integrated circuit with flash bridge and autoload
US8127110B2 (en) Method, system, and medium for providing interprocessor data communication
JPH09179780A (en) Microprocessor device for supporting burst-enabled and cache-disabled memory access
US6633927B1 (en) Device and method to minimize data latency and maximize data throughput using multiple data valid signals
US7310717B2 (en) Data transfer control unit with selectable transfer unit size
US8244929B2 (en) Data processing apparatus
JPH0883237A (en) Data processor
JP2995752B2 (en) Bus architecture conversion circuit
JP2618223B2 (en) Single chip microcomputer
JPH06175926A (en) Data processor
JP2004127305A (en) Memory controller
JP2004318877A (en) Intelligent waiting method
JP3206960B2 (en) Extended central processing unit