JPH11175398A - Memory device - Google Patents

Memory device

Info

Publication number
JPH11175398A
JPH11175398A JP34112197A JP34112197A JPH11175398A JP H11175398 A JPH11175398 A JP H11175398A JP 34112197 A JP34112197 A JP 34112197A JP 34112197 A JP34112197 A JP 34112197A JP H11175398 A JPH11175398 A JP H11175398A
Authority
JP
Japan
Prior art keywords
memory
program
address
processor
system bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP34112197A
Other languages
Japanese (ja)
Inventor
Kenji Tanaka
健志 田中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP34112197A priority Critical patent/JPH11175398A/en
Publication of JPH11175398A publication Critical patent/JPH11175398A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To process a program in real time without forming a transfer period from outside even in the case that a program capacity exceeds the capacity of a memory device in a configuration of the memory device for which plural processors and a readable and writable instruction memory are connected. SOLUTION: By preserving a program in a processor 2 with a memory shortage in a memory device 31 of other processor 1 with a free area 41 in an opposite direction from the end to the head, even a program exceeding the capacity of a built-in memory 32 is processed in real time without turning the processor 2 to an operation stop state, thus the free area 41 of the other built-in memory 31 is effectively utilized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は一つの半導体チップ
に複数のプロセッサと各プロセッサに対応した読み書き
可能な命令メモリーが接続されたメモリ装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory device in which a plurality of processors and a readable and writable instruction memory corresponding to each processor are connected to one semiconductor chip.

【0002】[0002]

【従来の技術】以下に従来の一つの半導体チップに複数
のプロセッサと各プロセッサに対応した読み書き可能な
命令メモリーが接続されたメモリ装置について説明す
る。
2. Description of the Related Art Hereinafter, a conventional memory device in which a plurality of processors and a readable and writable instruction memory corresponding to each processor are connected to one semiconductor chip will be described.

【0003】図5はこの種の従来のメモリ装置の構成図
である。図5において、1,2はプロセッサ、5はバス
調停回路、11,12はプロセッサ1,2とバス調停回
路5を接続するシステムバス、31は、プロセッサ1の
プログラムが格納される内蔵メモリー、41は、内蔵メ
モリー31で無効領域となっている空き領域、32は、
プロセッサ2のプログラムが格納される内蔵メモリー、
42は、内蔵メモリー32で無効領域となっている空き
領域、21,22はバス調停回路5と内蔵メモリー3
1,32を接続するシステムバスである。70は、内蔵
メモリー31,32に書き込むプログラムをあらかじめ
格納しておく外付メモリー、71は外付メモリー70と
の読み書きを担うコントローラ、15は、外付メモリー
70とコントローラ71を接続するシステムバス、16
はコントローラ71とバス調停回路5を接続するシステ
ムバスである。外付メモリー70以外で一つの半導体チ
ップを構成している。
FIG. 5 is a block diagram of a conventional memory device of this kind. 5, reference numerals 1 and 2 denote processors, 5 denotes a bus arbitration circuit, 11 and 12 denote system buses connecting the processors 1 and 2 and the bus arbitration circuit 5, 31 denotes a built-in memory for storing a program of the processor 1, 41 Is a free area that is an invalid area in the built-in memory 31, and 32 is
A built-in memory in which a program for the processor 2 is stored,
Reference numeral 42 denotes a free area which is an invalid area in the built-in memory 32, and 21 and 22 denote bus arbitration circuits 5 and the built-in memory 3.
This is a system bus connecting the first and second devices. 70 is an external memory in which programs to be written in the internal memories 31 and 32 are stored in advance, 71 is a controller that reads and writes data from and to the external memory 70, 15 is a system bus that connects the external memory 70 and the controller 71, 16
Is a system bus connecting the controller 71 and the bus arbitration circuit 5. One semiconductor chip is constituted by components other than the external memory 70.

【0004】以上のように構成されたメモリ装置につい
て、以下にその動作を説明する。まずプロセッサ1,2
をリセット状態または、ホルト状態のような動作停止状
態にする。外付メモリー70にはあらかじめプロセッサ
1,2のプログラムが書き込んでおく。この前記プログ
ラムをコントローラ71の一般的にDMA転送と呼ばれ
るような高速データ転送機能を用いてシステムバス1
5,16、バス調停回路5、システムバス21を通じて
内蔵メモリー31に書き込む。同様に、内蔵メモリー3
2に前記プログラムをシステムバス15、コントローラ
71、システムバス16、バス調停回路5、システムバ
ス22を通じて書き込む。このとき、内蔵メモリー3
1,32は汎用化された記憶装置を用いることが多いた
めビット幅である語長は、通常8ビットの倍数であるの
に対し、プロセッサ1,2の命令長は任意である。ま
た、内蔵メモリー31,32のアドレスの深さも通常2
の倍数であるのに対し、プロセッサ1,2のプログラム
サイズは任意であるため、ほぼ必ず空き領域41,42
のような無効領域が発生する。
The operation of the memory device configured as described above will be described below. First, the processors 1 and 2
To a reset state or an operation stop state such as a halt state. The programs of the processors 1 and 2 are written in the external memory 70 in advance. This program is transferred to the system bus 1 by using a high-speed data transfer function of the controller 71 which is generally called a DMA transfer.
5, 16; the bus arbitration circuit 5; Similarly, the built-in memory 3
2 is written through the system bus 15, the controller 71, the system bus 16, the bus arbitration circuit 5, and the system bus 22. At this time, the built-in memory 3
The word length, which is the bit width, is usually a multiple of 8 bits because the storage devices 1 and 32 often use general-purpose storage devices, whereas the instruction lengths of the processors 1 and 2 are arbitrary. The address depth of the internal memories 31 and 32 is usually 2
Since the program sizes of the processors 1 and 2 are arbitrary, the free areas 41 and 42 are almost always used.
An invalid area such as

【0005】その後プロセッサ1,2の動作停止状態を
解除する。プロセッサ1はシステムバス11、バス調停
回路5、システムバス21を通じて内蔵メモリー31か
ら0000(16進数表記)番地から4000(16進
数表記)番地まで前記プログラムを読み出し通常動作を
行う。同様に、プロセッサ2はシステムバス12、バス
調停回路5、システムバス22を通じて内蔵メモリー3
2から前記プログラムを読み出し通常動作を行う。この
時、プロセッサ1,2は並行して前記プログラムの読み
出しが行える。いま、内蔵メモリー32の容量より前記
プログラムサイズの方が大きい場合は、2つの手法で対
応することが多い。
Thereafter, the operation stop state of the processors 1 and 2 is released. The processor 1 reads the program from the address 0000 (hexadecimal notation) to the address 4000 (hexadecimal notation) from the internal memory 31 through the system bus 11, the bus arbitration circuit 5, and the system bus 21, and performs a normal operation. Similarly, the processor 2 communicates with the internal memory 3 via the system bus 12, the bus arbitration circuit 5, and the system bus 22.
2 and the normal operation is performed. At this time, the processors 1 and 2 can read the program in parallel. If the program size is larger than the capacity of the built-in memory 32, two methods are often used.

【0006】1つは、内蔵メモリー32のプログラムが
アドレスの最末尾ffff(16進数表記)番地まで達
すると、バス調停回路5がプロセッサ2を停止状態や待
機状態にさせ、コントローラ71を起動させ、残りプロ
グラムを外付メモリー70からデータ転送により、シス
テムバス15,16,22を通じて、たとえば内蔵メモ
リー31のアドレス0000(16進数表記)番地から
書き込む。前記書き込みが終了すると、バス調停回路
は、プロセッサ2を通常動作状態に戻し、アドレス00
00(16進数表記)番地から行わせるという一般的に
オーバーレイと呼ばれる手法を用いる。
One is that when the program in the internal memory 32 reaches the last address ffff (hexadecimal notation) of the address, the bus arbitration circuit 5 causes the processor 2 to stop or wait, activates the controller 71, The remaining program is written by data transfer from the external memory 70 through the system buses 15, 16, and 22, for example, from the address 0000 (hexadecimal notation) of the internal memory 31. When the write is completed, the bus arbitration circuit returns the processor 2 to the normal operation state, and
A method generally called an overlay, which is performed from address 00 (hexadecimal notation), is used.

【0007】再度、上書きされる以前のプログラムを実
行させる場合、前記手法でもって外付メモリー70から
データ転送を行い、前記プログラムを実行させる。
When the program before overwriting is executed again, data is transferred from the external memory 70 by the above-mentioned method, and the program is executed.

【0008】このような手法を用いる場合、リアルタイ
ム性と呼ばれる実時間処理には不向きであり処理時間に
余裕を持たせる必要がある。なおかつ実アドレス空間と
呼ばれる単純なアクセス方法であればプログラム自体に
も工夫が必要であり、アドレスの最末尾ffff(16
進数表記)番地からプログラムの上書き領域へ分岐命令
を加えておくなどの措置が必要である。この従来例では
先頭番地への分岐命令を加える。
When such a method is used, it is not suitable for real-time processing called real-time processing, and it is necessary to provide a margin for processing time. In addition, if the access method is a simple access method called a real address space, the program itself needs to be devised, and the last address ffff (16
It is necessary to take measures such as adding a branch instruction from the address (in the base number) to the overwrite area of the program. In this conventional example, a branch instruction to the head address is added.

【0009】2つ目は、プログラムデバッグに多大な工
数をかけ、プログラムサイズを内蔵メモリー32の容量
内に圧縮を試みる。
Second, program debugging requires a great deal of man-hours and attempts to compress the program size within the capacity of the built-in memory 32.

【0010】[0010]

【発明が解決しようとする課題】従来の一つの半導体チ
ップに複数のプロセッサと各プロセッサに対応した読み
書き可能な命令メモリーが接続されたメモリ装置の構成
では、各メモリー装置の空き領域に不均一が生じる上、
不足が生じた場合外部メモリーからプログラムをデータ
転送させる必要があり、この処理中はプロセッサが動作
停止状態であるため、実時間処理を実現できない問題が
あり、またオーバーレイ処理を想定したプログラムを開
発しなければならないという欠点を有していた。
In the conventional configuration of a memory device in which a plurality of processors and a readable and writable instruction memory corresponding to each processor are connected to one semiconductor chip, unevenness is caused in the free area of each memory device. On top of
When the shortage occurs, it is necessary to transfer the program data from the external memory.During this process, the processor is in a halt state, so there is a problem that real-time processing cannot be realized. Had the disadvantage of having to do so.

【0011】本発明はこのようなメモリー装置において
実時間処理を損なうことなくまた、プログラムも特殊な
措置を加えることなく各プロセッサが処理を行えるメモ
リー装置を提供することを目的とする。
It is an object of the present invention to provide a memory device in which each processor can perform processing without impairing real-time processing in such a memory device and without adding special measures to a program.

【0012】[0012]

【課題を解決するための手段】この課題を解決するため
に本発明のメモリー装置には、1)不足が生じたプロセ
ッサのプログラムを空き領域のある他のプロセッサのメ
モリー装置に保存させ、末尾方向から先頭方向の逆方
向、または先頭から末尾方向の順方向に書き込まれてお
り、2)書き込まれたメモリー装置を示す識別フラグが
設ける構成を有している。
In order to solve this problem, a memory device according to the present invention has the following features. 1) A program of a processor having a shortage is stored in a memory device of another processor having a free area, and the program is stored in a memory in a backward direction. , The data is written in the reverse direction from the head to the head, or in the forward direction from the head to the end, and 2) an identification flag indicating the written memory device is provided.

【0013】前記構成によって不足が生じたプロセッサ
のプログラムが他のプロセッサのメモリー装置の空き領
域にあるため、プロセッサを停止状態や待機状態にして
外部メモリーからデータ転送する必要がなく、プログラ
ムを読み出して取り込み、実時間処理をすることが可能
である。
[0013] Since the program of the processor, which is insufficient due to the above configuration, is in the free area of the memory device of the other processor, there is no need to stop the processor or wait and transfer data from the external memory. Capture and real-time processing are possible.

【0014】[0014]

【発明の実施の形態】以下に本発明の第1の実施形態つ
いて、図面を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.

【0015】(実施の形態1)図1は、本実施形態にお
けるメモリ装置の構成を示すものである。
(Embodiment 1) FIG. 1 shows a configuration of a memory device according to this embodiment.

【0016】図1において、1,2はプロセッサ、5は
バス調停回路、6はアドレス変換器、11,12はプロ
セッサ1,2とバス調停回路5を接続するシステムバ
ス、31は、プロセッサ1のプログラムが格納される内
蔵メモリー、41は、内蔵メモリー31で無効領域とな
っている空き領域、32は、プロセッサ2のプログラム
が格納される内蔵メモリー、42は、内蔵メモリー32
で無効領域となっている空き領域、20はバス調停回路
5とアドレス変換器6を接続するシステムバス、21,
22はアドレス変換器6と内蔵メモリー31,32を接
続するシステムバスである。
In FIG. 1, 1 and 2 are processors, 5 is a bus arbitration circuit, 6 is an address converter, 11 and 12 are system buses connecting the processors 1 and 2 and the bus arbitration circuit 5, and 31 is a processor 1 A built-in memory in which programs are stored, 41 is a free area which is an invalid area in the built-in memory 31, 32 is a built-in memory in which programs of the processor 2 are stored, and 42 is a built-in memory 32
, An empty area which is an invalid area, and 20 is a system bus connecting the bus arbitration circuit 5 and the address converter 6,
A system bus 22 connects the address converter 6 and the built-in memories 31 and 32.

【0017】70は、内蔵メモリー31,32に書き込
むプログラムをあらかじめ格納しておく外付メモリー、
71は外付メモリー70との読み書きを担うコントロー
ラ、15は、外付メモリー70とコントローラ71を接
続するシステムバス、16はコントローラ71とバス調
停回路5を接続するシステムバスである。外付メモリー
70以外で一つの半導体チップを構成している。
Reference numeral 70 denotes an external memory in which programs to be written in the internal memories 31 and 32 are stored in advance.
Reference numeral 71 denotes a controller for reading and writing to and from the external memory 70, 15 denotes a system bus connecting the external memory 70 and the controller 71, and 16 denotes a system bus connecting the controller 71 and the bus arbitration circuit 5. One semiconductor chip is constituted by components other than the external memory 70.

【0018】以上のように構成された一つの半導体チッ
プに複数のプロセッサと各プロセッサに対応した読み書
き可能な命令メモリーが接続されたメモリ装置につい
て、以下にその動作を説明する。
The operation of a memory device in which a plurality of processors and a readable / writable instruction memory corresponding to each processor are connected to one semiconductor chip configured as described above will be described below.

【0019】まずプロセッサ1,2をリセット状態また
は、ホルト状態のような動作停止状態にする。外付メモ
リー70にはあらかじめプロセッサ1,2のプログラム
が書き込んでおく。この前記プログラムをコントローラ
71の一般的にDMA転送と呼ばれるような高速データ
転送機能を用いてシステムバス15,16、バス調停回
路5、システムバス20、アドレス変換器6、システム
バス21を通じて内蔵メモリー31に書き込む。
First, the processors 1 and 2 are set to a reset state or an operation stop state such as a halt state. The programs of the processors 1 and 2 are written in the external memory 70 in advance. This program is transferred to the built-in memory 31 through the system buses 15 and 16, the bus arbitration circuit 5, the system bus 20, the address converter 6 and the system bus 21 by using a high-speed data transfer function generally called a DMA transfer of the controller 71. Write to.

【0020】同様に、内蔵メモリー32に前記プログラ
ムをシステムバス15、コントローラ71、システムバ
ス16、バス調停回路5、システムバス20、アドレス
変換器6、システムバス22を通じて書き込む。また内
蔵メモリー31には、アドレス最末尾ffff(16進
数表記)番地から先頭方向に向かってプロセッサ2の不
足プログラムを前記同様手段でもって書き込む。
Similarly, the program is written into the internal memory 32 through the system bus 15, the controller 71, the system bus 16, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 22. Further, the shortage program of the processor 2 is written in the internal memory 31 from the address ffff (hexadecimal notation) address toward the head by the same means as described above.

【0021】したがって、データ転送完了時にはプロセ
ッサ1のプログラムが内蔵メモリー31の0000(1
6進数表記)番地から4000(16進数表記)番地ま
で書き込まれており、プロセッサ2のプログラムは、内
蔵メモリー32の0000(16進数表記)番地からf
fff(16進数表記)番地までと内蔵メモリー31の
ffff(16進数表記)番地からfffc(16進数
表記)番地に分割されて格納されている。このとき空き
領域31は従来の技術例に比べて少ない。
Therefore, when the data transfer is completed, the program of the processor 1 stores 0000 (1) in the internal memory 31.
The program is written from address hex (hexadecimal notation) to address 4000 (hexadecimal notation).
The data is divided and stored at addresses up to ffff (hexadecimal notation) and from ffff (hexadecimal notation) in the internal memory 31 to fffc (hexadecimal notation). At this time, the free space 31 is smaller than that of the conventional example.

【0022】その後プロセッサ1,2の動作停止状態を
解除する。プロセッサ1はシステムバス11、バス調停
回路5、システムバス20、アドレス変換器6、システ
ムバス21を通じて内蔵メモリー41から前記プログラ
ムを読み出し通常動作を行う。同様に、プロセッサ2は
システムバス12、バス調停回路5、システムバス2
0、アドレス変換器6、システムバス22を通じて内蔵
メモリー32から前記プログラムを読み出し通常動作を
行う。この時、プロセッサ1,2は並行して前記プログ
ラムの読み出しが行える。
Thereafter, the operation stop state of the processors 1 and 2 is released. The processor 1 reads the program from the built-in memory 41 through the system bus 11, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 21, and performs a normal operation. Similarly, the processor 2 includes a system bus 12, a bus arbitration circuit 5, and a system bus 2
0, reads the program from the built-in memory 32 through the address converter 6 and the system bus 22, and performs a normal operation. At this time, the processors 1 and 2 can read the program in parallel.

【0023】いま、プロセッサ2の処理で内蔵メモリー
32のプログラムがアドレスの最末尾ffff(16進
数表記)番地まで達した後、内蔵メモリー32の容量を
超えるアドレスをプロセッサ2が発行すると、たとえ
ば、10000(16進数表記)番地が発行されるとバ
ス調停回路5がプロセッサ1の内蔵メモリー31への読
み出しを完了させてから内蔵メモリー31へ読み出しを
行う。
When the processor 2 issues an address exceeding the capacity of the internal memory 32 after the program in the internal memory 32 reaches the last address ffff (hexadecimal notation) of the address in the processing of the processor 2, for example, 10000 When the address (in hexadecimal notation) is issued, the bus arbitration circuit 5 completes the reading of the processor 1 to the internal memory 31 and then reads the internal memory 31.

【0024】このときバス調停回路5の発行アドレスは
アドレス変換器6においてプロセッサ2の発行アドレス
10000(16進数表記)のビット反転である1の補
数ffff(16進数表記)を生成し読み出しを行う。
At this time, the issue address of the bus arbitration circuit 5 generates and reads out the one's complement ffff (hexadecimal notation) which is a bit inversion of the issue address 10000 (hexadecimal notation) of the processor 2 in the address converter 6.

【0025】同様にプロセッサ2が10001(16進
数表記)番地を発行するとバス調停回路5がプロセッサ
1の内蔵メモリー31への読み出しを完了させてからア
ドレス変換器6において内蔵メモリー31へ前記発行ア
ドレスのビット反転である1の補数fffe(16進数
表記)を生成し読み出しを行う。
Similarly, when the processor 2 issues the address 10001 (hexadecimal notation), the bus arbitration circuit 5 completes the reading of the processor 1 into the internal memory 31 and then the address converter 6 sends the address to the internal memory 31. A one's complement fffe (hexadecimal notation) which is a bit inversion is generated and read.

【0026】このように、内蔵メモリー32の容量を超
えるプログラムであってもプロセッサ2を動作停止状態
にすることなく実時間処理が可能であり、内蔵メモリー
31の空き領域41も有効活用ができる。
As described above, even a program exceeding the capacity of the built-in memory 32 can be processed in real time without suspending the operation of the processor 2, and the free space 41 of the built-in memory 31 can be effectively utilized.

【0027】以下に本発明の第2の実施形態ついて、図
面を参照しながら説明する。 (実施の形態2)図2は、本実施形態におけるメモリ装
置の構成を示すものである。
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. (Embodiment 2) FIG. 2 shows a configuration of a memory device according to the present embodiment.

【0028】本実施の形態は、実施の形態1とほぼ同様
な構成をとるが、プロセッサ2のプログラムの一部を内
蔵メモリ31に格納させる方法とそれに伴ってアドレス
変換器6のアドレス変換方法が異なる。
The present embodiment has a configuration substantially similar to that of the first embodiment. However, the method of storing a part of the program of the processor 2 in the built-in memory 31 and the address conversion method of the address converter 6 are accordingly. different.

【0029】以下に本実施形態におけるメモリ装置の動
作を説明する。まずプロセッサ1,2をリセット状態ま
たは、ホルト状態のような動作停止状態にする。外付メ
モリー70にはあらかじめプロセッサ1,2のプログラ
ムが書き込んでおく。この前記プログラムをコントロー
ラ71の一般的にDMA転送と呼ばれるような高速デー
タ転送機能を用いてシステムバス15,16、バス調停
回路5、システムバス20、アドレス変換器6、システ
ムバス21を通じて内蔵メモリー31に書き込む。
The operation of the memory device according to this embodiment will be described below. First, the processors 1 and 2 are set to a reset state or an operation stop state such as a halt state. The programs of the processors 1 and 2 are written in the external memory 70 in advance. This program is transferred to the built-in memory 31 through the system buses 15 and 16, the bus arbitration circuit 5, the system bus 20, the address converter 6 and the system bus 21 by using a high-speed data transfer function generally called a DMA transfer of the controller 71. Write to.

【0030】同様に、内蔵メモリー32に前記プログラ
ムをシステムバス15、コントローラ71、システムバ
ス16、バス調停回路5、システムバス20、アドレス
変換器6、システムバス22を通じて書き込む。また内
蔵メモリー31には、空き領域41途中であるfffc
(16進数表記)番地からからアドレス最末尾ffff
(16進数表記)番地方向に向かってプロセッサ2の不
足プログラムを前記同様手段でもって書き込む。
Similarly, the program is written in the internal memory 32 through the system bus 15, the controller 71, the system bus 16, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 22. In the internal memory 31, fffc in the middle of the empty area 41 is stored.
(Hexadecimal notation) From the address to the end of the address ffff
(Hexadecimal notation) The shortage program of the processor 2 is written toward the address direction by the same means as described above.

【0031】したがって、データ転送完了時にはプロセ
ッサ1のプログラムが内蔵メモリー31の0000(1
6進数表記)番地から4000(16進数表記)番地ま
で書き込まれており、プロセッサ2のプログラムは、内
蔵メモリー32の0000(16進数表記)番地からf
fff(16進数表記)番地までと内蔵メモリー31の
fffc(16進数表記)番地からffff(16進数
表記)番地に分割されて格納されている。このとき空き
領域41は従来の技術例に比べて少ない。
Therefore, when the data transfer is completed, the program of the processor 1 stores 0000 (1
The program is written from address hex (hexadecimal notation) to address 4000 (hexadecimal notation).
The addresses are divided into addresses up to the address ffff (hexadecimal notation) and from the address fffc (hexadecimal notation) of the internal memory 31 to the address ffff (hexadecimal notation). At this time, the free area 41 is smaller than that in the conventional example.

【0032】その後プロセッサ1,2の動作停止状態を
解除する。プロセッサ1はシステムバス11、バス調停
回路5、システムバス20、アドレス変換器6、システ
ムバス21を通じて内蔵メモリー41から前記プログラ
ムを読み出し通常動作を行う。
Thereafter, the operation stop state of the processors 1 and 2 is released. The processor 1 reads the program from the built-in memory 41 through the system bus 11, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 21, and performs a normal operation.

【0033】同様に、プロセッサ2はシステムバス1
2、バス調停回路5、システムバス20、アドレス変換
器6、システムバス22を通じて内蔵メモリー42から
前記プログラムを読み出し通常動作を行う。この時、プ
ロセッサ1,2は並行して前記プログラムの読み出しが
行える。
Similarly, the processor 2 is connected to the system bus 1
2. The program is read from the built-in memory 42 through the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 22 to perform a normal operation. At this time, the processors 1 and 2 can read the program in parallel.

【0034】いま、プロセッサ2の処理で内蔵メモリー
32のプログラムがアドレスの最末尾ffff(16進
数表記)番地まで達した後、内蔵メモリー32の容量を
超えるアドレスをプロセッサ2が発行すると、たとえ
ば、10000(16進数表記)番地が発行されるとバ
ス調停回路5がプロセッサ1の内蔵メモリー31への読
み出しを完了させてから内蔵メモリー31へ読み出しを
行う。
When the processor 2 issues an address exceeding the capacity of the internal memory 32 after the program of the internal memory 32 reaches the last address ffff (hexadecimal notation) of the address in the processing of the processor 2, for example, 10,000 When the address (in hexadecimal notation) is issued, the bus arbitration circuit 5 completes the reading of the processor 1 to the internal memory 31 and then reads the internal memory 31.

【0035】このときバス調停回路5の発行アドレスは
アドレス変換器6においてプロセッサ2の発行アドレス
10000(16進数表記)から4を減算しfffc
(16進数表記)を生成し読み出しを行う。
At this time, the issue address of the bus arbitration circuit 5 is obtained by subtracting 4 from the issue address 10000 (in hexadecimal notation) of the processor 2 in the address converter 6 and fffc.
(Hexadecimal notation) and read it out.

【0036】同様にプロセッサ2が10001(16進
数表記)番地を発行するとバス調停回路5がプロセッサ
1の内蔵メモリー31への読み出しを完了させてからア
ドレス変換器6において内蔵メモリー31へ前記アドレ
スから4を減算しfffd(16進数表記)を生成し読
み出しを行う。
Similarly, when the processor 2 issues the address 10001 (in hexadecimal notation), the bus arbitration circuit 5 completes the reading of the processor 1 into the internal memory 31, and then the address converter 6 sends the address 4 to the internal memory 31. Is subtracted to generate ffffd (in hexadecimal notation) and read out.

【0037】このように、内蔵メモリー32の容量を超
えるプログラムであってもプロセッサ2を動作停止状態
にすることなく実時間処理が可能であり、内蔵メモリー
31の空き領域41も有効活用ができる。
As described above, even a program exceeding the capacity of the built-in memory 32 can be processed in real time without stopping the operation of the processor 2, and the free space 41 of the built-in memory 31 can be effectively utilized.

【0038】以下に本発明の第3の実施形態ついて、図
面を参照しながら説明する。 (実施の形態3)図3は、本実施形態におけるメモリ装
置の構成を示すものである。
Hereinafter, a third embodiment of the present invention will be described with reference to the drawings. (Embodiment 3) FIG. 3 shows a configuration of a memory device according to the present embodiment.

【0039】図3において、1,2,3はプロセッサ、
5はバス調停回路、6はアドレス変換器、11,12,
13はプロセッサ1,2,3とバス調停回路5を接続す
るシステムバス、31は、プロセッサ1のプログラムが
格納される内蔵メモリー、41は、内蔵メモリー31で
無効領域となっている空き領域、51はプログラムの不
足が生じた際に読み出し先を指定するメモリーの識別フ
ラグであるIDフラグ、32は、プロセッサ2のプログラ
ムが格納される内蔵メモリー、42は、内蔵メモリー3
2で無効領域となっている空き領域、52はプログラム
の不足が生じた際に読み出し先を指定するメモリーの識
別フラグであるIDフラグ、33は、プロセッサ3のプロ
グラムが格納される内蔵メモリー、43は、内蔵メモリ
ー33で無効領域となっている空き領域、20はバス調
停回路5とアドレス変換器6を接続するシステムバス、
21,22,23はアドレス変換器6と内蔵メモリー3
1,32,33を接続するシステムバスである。
In FIG. 3, 1, 2 and 3 are processors,
5 is a bus arbitration circuit, 6 is an address converter, 11, 12,
13 is a system bus connecting the processors 1, 2, 3 and the bus arbitration circuit 5, 31 is a built-in memory for storing the program of the processor 1, 41 is a free space in the built-in memory 31 which is an invalid area, 51 Is an ID flag which is an identification flag of a memory for designating a reading destination when a program shortage occurs, 32 is a built-in memory in which a program of the processor 2 is stored, and 42 is a built-in memory 3
2, an empty area which is an invalid area, 52 is an ID flag which is an identification flag of a memory for designating a read destination when a program shortage occurs, 33 is an internal memory for storing a program of the processor 3, 43 Is a free area which is an invalid area in the internal memory 33, 20 is a system bus connecting the bus arbitration circuit 5 and the address converter 6,
21, 22 and 23 are an address converter 6 and a built-in memory 3.
1, 32 and 33 are system buses.

【0040】70は、内蔵メモリー31,32,33に
書き込むプログラムをあらかじめ格納しておく外付メモ
リー、71は外付メモリー70との読み書きを担うコン
トローラ、15は、外付メモリー70とコントローラ7
1を接続するシステムバス、16はコントローラ71と
バス調停回路5を接続するシステムバスである。外付メ
モリー70以外で一つの半導体チップを構成している。
Reference numeral 70 denotes an external memory in which programs to be written in the internal memories 31, 32, and 33 are stored in advance, 71 denotes a controller that reads and writes data from and to the external memory 70, and 15 denotes an external memory and the controller 7.
1, a system bus connecting the controller 71 and the bus arbitration circuit 5; One semiconductor chip is constituted by components other than the external memory 70.

【0041】以上のように構成された一つの半導体チッ
プに複数のプロセッサと各プロセッサに対応した読み書
き可能な命令メモリーが接続されたメモリ装置につい
て、以下にその動作を説明する。
The operation of a memory device in which a plurality of processors and a readable / writable instruction memory corresponding to each processor are connected to one semiconductor chip configured as described above will be described below.

【0042】まずプロセッサ1,2,3をリセット状態
または、ホルト状態のような動作停止状態にする。外付
メモリー70にはあらかじめプロセッサ1,2,3のプ
ログラムが書き込んでおく。この前記プログラムをコン
トローラ71の一般的にDMA転送と呼ばれるような高
速データ転送機能を用いてシステムバス15,16、バ
ス調停回路5、システムバス20、アドレス変換器6、
システムバス21を通じて内蔵メモリー31に書き込
む。
First, the processors 1, 2, 3 are put into a reset state or an operation stop state such as a halt state. The programs of the processors 1, 2, and 3 are written in the external memory 70 in advance. This program is transferred to the system buses 15 and 16, the bus arbitration circuit 5, the system bus 20, the address converter 6, using a high-speed data transfer function generally called DMA transfer of the controller 71.
The data is written to the internal memory 31 through the system bus 21.

【0043】同様に、内蔵メモリー32に前記プログラ
ムをシステムバス15、コントローラ71、システムバ
ス16、バス調停回路5、システムバス20、アドレス
変換器6、システムバス22を通じて書き込む。同様に
内蔵メモリー33に前記プログラムをシステムバス1
5、コントローラ71、システムバス16、バス調停回
路5、システムバス20、アドレス変換器6、システム
バス23を通じて書き込む。
Similarly, the program is written to the internal memory 32 through the system bus 15, the controller 71, the system bus 16, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 22. Similarly, the program is stored in the internal memory 33 in the system bus 1.
5, the controller 71, the system bus 16, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 23.

【0044】また内蔵メモリー31には、アドレス最末
尾ffff(16進数表記)番地から先頭方向に向かっ
てプロセッサ2の不足プログラムを前記同様手段でもっ
て書き込む。したがって、データ転送完了時にはプロセ
ッサ1のプログラムが内蔵メモリー31の0000(1
6進数表記)番地から4000(16進数表記)番地ま
で書き込まれており、プロセッサ2のプログラムは、内
蔵メモリー32の0000(16進数表記)番地からf
fff(16進数表記)番地までと内蔵メモリー31の
ffff(16進数表記)番地からfffc(16進数
表記)番地に分割されて格納されている。このとき空き
領域41は従来の技術例に比べて少ない。
Further, the shortage program of the processor 2 is written in the built-in memory 31 from the address ffff (hexadecimal notation) address toward the head by the same means as described above. Therefore, when the data transfer is completed, the program of the processor 1 stores 0000 (1
The program is written from address hex (hexadecimal notation) to address 4000 (hexadecimal notation).
The data is divided and stored at addresses up to ffff (hexadecimal notation) and from ffff (hexadecimal notation) in the internal memory 31 to fffc (hexadecimal notation). At this time, the free area 41 is smaller than that in the conventional example.

【0045】この時、各プログラムに付帯情報として内
蔵メモリー容量より越える場合、継続プログラムの所在
を示すIDフラグを書き込む。内蔵メモリ31および内蔵
メモリ33のIDをそれぞれ”01”,”10”とす
る。ID”00”は継続プログラムがないことを示す。
IDフラグ52では、継続プログラムは内蔵メモリー31
を示す”01”というフラグが書き込まれている。内蔵
メモリー31のアドレス0000(16進数表記)番地
から4000(16進数表記)番地までは継続プログラ
ムがないのでIDフラグ51には”00”が書き込まれて
いる。内蔵メモリー31のfffc(16進数表記)番
地からffff(16進数表記)番地まではさらに継続
プログラムが内蔵メモリー33であるのでIDフラグ51
には”10”が書き込まれている。
At this time, an ID flag indicating the location of the continuation program is written into each program as supplementary information if the capacity exceeds the internal memory capacity. The IDs of the built-in memory 31 and the built-in memory 33 are “01” and “10”, respectively. ID “00” indicates that there is no continuation program.
In the ID flag 52, the continuation program is stored in the internal memory 31.
The flag “01” is written. Since there is no continuation program from addresses 0000 (hexadecimal notation) to 4000 (hexadecimal notation) of the internal memory 31, "00" is written in the ID flag 51. Since the continuation program from the address fffc (hexadecimal notation) to the address ffff (hexadecimal notation) of the internal memory 31 is the internal memory 33, the ID flag 51
Is written with "10".

【0046】その後プロセッサ1,2の動作停止状態を
解除する。プロセッサ1はシステムバス11、バス調停
回路5、システムバス20、アドレス変換器6、システ
ムバス21を通じて内蔵メモリー31から前記プログラ
ムを読み出し通常動作を行う。
Thereafter, the operation stop state of the processors 1 and 2 is released. The processor 1 reads the program from the built-in memory 31 through the system bus 11, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 21, and performs a normal operation.

【0047】同様に、プロセッサ2はシステムバス1
2、バス調停回路5、システムバス20、アドレス変換
器6、システムバス22を通じて内蔵メモリー32から
前記プログラムを読み出し通常動作を行う。
Similarly, the processor 2 is connected to the system bus 1
2. The program is read from the built-in memory 32 through the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 22 to perform a normal operation.

【0048】同様に、プロセッサ3はシステムバス1
3、バス調停回路5、システムバス20、アドレス変換
器6、システムバス23を通じて内蔵メモリー33から
前記プログラムを読み出し通常動作を行う。この時、プ
ロセッサ1,2、3は並行して前記プログラムの読み出
しが行える。
Similarly, the processor 3 is connected to the system bus 1
3. The program is read from the built-in memory 33 through the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 23 to perform a normal operation. At this time, the processors 1, 2, and 3 can read the program in parallel.

【0049】いま、プロセッサ2の処理で内蔵メモリー
32のプログラムがアドレスの最末尾ffff(16進
数表記)番地まで達した後、内蔵メモリー32の容量を
超えるアドレスをプロセッサ2が発行すると、たとえ
ば、10000(16進数表記)番地が発行されるとバ
ス調停回路5が前回アクセス番地のIDフラグ52が”0
1”であったのでプロセッサ1の内蔵メモリー31への
読み出しを完了させてから内蔵メモリー31へ読み出し
を行う。
When the processor 2 issues an address exceeding the capacity of the internal memory 32 after the program of the internal memory 32 reaches the last address ffff (hexadecimal notation) of the address in the processing of the processor 2, for example, 10000 When the address (in hexadecimal notation) is issued, the bus arbitration circuit 5 sets the ID flag 52 of the previous access address to "0".
Since it is 1 ", the reading to the internal memory 31 of the processor 1 is completed and then the reading to the internal memory 31 is performed.

【0050】このときバス調停回路5の発行アドレスは
アドレス変換器6においてプロセッサ2の発行アドレス
10000(16進数表記)のビット反転である1の補
数ffff(16進数表記)を生成し読み出しを行う。
At this time, the 1-complement ffff (hexadecimal notation) which is a bit inversion of the issue address 10000 (hexadecimal notation) of the processor 2 is generated and read out from the address arbiter 5 by the address converter 6 in the address converter 6.

【0051】同様にプロセッサ2が10001(16進
数表記)番地を発行するとバス調停回路5がプロセッサ
1の内蔵メモリー31への読み出しを完了させてからア
ドレス変換器6において内蔵メモリー31へ前記発行ア
ドレスのビット反転である1の補数fffe(16進数
表記)を生成し読み出しを行う。
Similarly, when the processor 2 issues the address 10001 (in hexadecimal notation), the bus arbitration circuit 5 completes the reading of the processor 1 into the internal memory 31, and then the address converter 6 sends the address to the internal memory 31. A one's complement fffe (hexadecimal notation) which is a bit inversion is generated and read.

【0052】さらに他のメモリーに継続している場合、
同様な前記手法でもって連続的なメモリー空間を有する
メモリー装置のように読み出しができる。
When the operation is continued in another memory,
In the same manner as above, reading can be performed as in a memory device having a continuous memory space.

【0053】このように、内蔵メモリー32の容量を超
えるプログラムであってもプロセッサ2を動作停止状態
にすることなく実時間処理が可能であり、内蔵メモリー
31の空き領域41も有効活用ができる。
As described above, even a program exceeding the capacity of the built-in memory 32 can be processed in real time without stopping the operation of the processor 2, and the free space 41 of the built-in memory 31 can be effectively used.

【0054】以下に本発明の第4の実施形態ついて、図
面を参照しながら説明する。 (実施の形態4)図4は、本実施形態におけるメモリ装
置の構成を示すものである。
Hereinafter, a fourth embodiment of the present invention will be described with reference to the drawings. (Embodiment 4) FIG. 4 shows a configuration of a memory device according to the present embodiment.

【0055】本実施の形態は、実施の形態3とほぼ同様
な構成をとるが、プロセッサ2のプログラムの一部を内
蔵メモリ31に格納させる方法とそれに伴ってアドレス
変換器6のアドレス変換方法が異なる。
The present embodiment has a configuration substantially similar to that of the third embodiment. However, the method of storing a part of the program of the processor 2 in the built-in memory 31 and the address conversion method of the address translator 6 accordingly. different.

【0056】以下に本実施の形態のメモリ装置の動作を
説明する。まずプロセッサ1,2,3をリセット状態ま
たは、ホルト状態のような動作停止状態にする。外付メ
モリー70にはあらかじめプロセッサ1,2,3のプロ
グラムが書き込んでおく。この前記プログラムをコント
ローラ71の一般的にDMA転送と呼ばれるような高速
データ転送機能を用いてシステムバス15,16、バス
調停回路5、システムバス20、アドレス変換器6、シ
ステムバス21を通じて内蔵メモリー31に書き込む。
The operation of the memory device according to the present embodiment will be described below. First, the processors 1, 2, and 3 are put into a reset state or an operation stop state such as a halt state. The programs of the processors 1, 2, and 3 are written in the external memory 70 in advance. This program is transferred to the built-in memory 31 through the system buses 15 and 16, the bus arbitration circuit 5, the system bus 20, the address converter 6 and the system bus 21 by using a high-speed data transfer function generally called a DMA transfer of the controller 71. Write to.

【0057】同様に、内蔵メモリー32に前記プログラ
ムをシステムバス15、コントローラ71、システムバ
ス16、バス調停回路5、システムバス20、アドレス
変換器6、システムバス22を通じて書き込む。同様に
内蔵メモリー33に前記プログラムをシステムバス1
5、コントローラ71、システムバス16、バス調停回
路5、システムバス20、アドレス変換器6、システム
バス23を通じて書き込む。
Similarly, the program is written in the internal memory 32 through the system bus 15, the controller 71, the system bus 16, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 22. Similarly, the program is stored in the internal memory 33 in the system bus 1.
5, the controller 71, the system bus 16, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 23.

【0058】また内蔵メモリー31には、空き領域41
途中であるfffc(16進数表記)番地からからアド
レス最末尾ffff(16進数表記)番地方向に向かっ
てプロセッサ2の不足プログラムを前記同様手段でもっ
て書き込む。
The built-in memory 31 has an empty area 41.
The missing program of the processor 2 is written by the same means as described above from the middle of the address fffc (hexadecimal notation) to the address ffff (hexadecimal notation).

【0059】したがって、データ転送完了時にはプロセ
ッサ1のプログラムが内蔵メモリー31の0000(1
6進数表記)番地から4000(16進数表記)番地ま
で書き込まれており、プロセッサ2のプログラムは、内
蔵メモリー32の0000(16進数表記)番地からf
fff(16進数表記)番地までと内蔵メモリー31の
fffc(16進数表記)番地からffff(16進数
表記)番地に分割されて格納されている。このとき空き
領域41は従来の技術例に比べて少ない。
Therefore, when the data transfer is completed, the program of the processor 1 stores 0000 (1) in the internal memory 31.
The program is written from address hex (hexadecimal notation) to address 4000 (hexadecimal notation).
The addresses are divided into addresses up to the address ffff (hexadecimal notation) and from the address fffc (hexadecimal notation) of the internal memory 31 to the address ffff (hexadecimal notation). At this time, the free area 41 is smaller than that in the conventional example.

【0060】この時、各プログラムに付帯情報として内
蔵メモリー容量より越える場合、継続プログラムの所在
を示すIDフラグを書き込む。IDフラグ52では、継続プ
ログラムは内蔵メモリー31を示す”01”というフラ
グが書き込まれている。内蔵メモリー31のアドレス0
000(16進数表記)番地から4000(16進数表
記)番地までは継続プログラムがないのでIDフラグ51
には”00”が書き込まれている。内蔵メモリー31の
fffc(16進数表記)番地からffff(16進数
表記)番地まではさらに継続プログラムが内蔵メモリー
33あるのでIDフラグ51には”10”が書き込まれて
いる。
At this time, if the information exceeds the capacity of the built-in memory in each program, an ID flag indicating the location of the continuation program is written. In the ID flag 52, a flag “01” indicating the built-in memory 31 is written in the continuation program. Address 0 of internal memory 31
Since there is no continuation program from addresses 000 (hexadecimal notation) to 4000 (hexadecimal notation), the ID flag 51
Is written with "00". From the address fffc (hexadecimal notation) to the address ffff (hexadecimal notation) of the built-in memory 31, “10” is written in the ID flag 51 because a continuation program exists in the built-in memory 33.

【0061】その後プロセッサ1,2の動作停止状態を
解除する。プロセッサ1はシステムバス11、バス調停
回路5、システムバス20、アドレス変換器6、システ
ムバス21を通じて内蔵メモリー41から前記プログラ
ムを読み出し通常動作を行う。
After that, the operation stop state of the processors 1 and 2 is released. The processor 1 reads the program from the built-in memory 41 through the system bus 11, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 21, and performs a normal operation.

【0062】同様に、プロセッサ2はシステムバス1
2、バス調停回路5、システムバス20、アドレス変換
器6、システムバス22を通じて内蔵メモリー42から
前記プログラムを読み出し通常動作を行う。同様に、プ
ロセッサ3はシステムバス13、バス調停回路5、シス
テムバス20、アドレス変換器6、システムバス23を
通じて内蔵メモリー43から前記プログラムを読み出し
通常動作を行う。この時、プロセッサ1,2、3は並行
して前記プログラムの読み出しが行える。
Similarly, the processor 2 is connected to the system bus 1
2. The program is read from the built-in memory 42 through the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 22 to perform a normal operation. Similarly, the processor 3 reads the program from the built-in memory 43 through the system bus 13, the bus arbitration circuit 5, the system bus 20, the address converter 6, and the system bus 23 and performs a normal operation. At this time, the processors 1, 2, and 3 can read the program in parallel.

【0063】いま、プロセッサ2の処理で内蔵メモリー
32のプログラムがアドレスの最末尾ffff(16進
数表記)番地まで達した後、内蔵メモリー32の容量を
超えるアドレスをプロセッサ2が発行すると、たとえ
ば、10000(16進数表記)番地が発行されるとバ
ス調停回路5が前回アクセス番地のIDフラグ52が”1
0”であったのでプロセッサ1の内蔵メモリー31への
読み出しを完了させてから内蔵メモリー31へ読み出し
を行う。
When the processor 2 issues an address exceeding the capacity of the built-in memory 32 after the program in the built-in memory 32 reaches the last address ffff (hexadecimal notation) of the address in the processing of the processor 2, for example, 10000 When the address (in hexadecimal notation) is issued, the bus arbitration circuit 5 sets the ID flag 52 of the previous access address to "1".
Since it is 0 ", reading from the processor 1 to the built-in memory 31 is completed, and then reading to the built-in memory 31 is performed.

【0064】このときバス調停回路5の発行アドレスは
アドレス変換器6においてプロセッサ2の発行アドレス
10000(16進数表記)から4を減算しfffc
(16進数表記)を生成し読み出しを行う。同様にプロ
セッサ2が10001(16進数表記)番地を発行する
とバス調停回路5がプロセッサ1の内蔵メモリー31へ
の読み出しを完了させてからアドレス変換器6において
内蔵メモリー31へ前記アドレスから4を減算しfff
d(16進数表記)を生成し読み出しを行う。
At this time, the issue address of the bus arbitration circuit 5 is obtained by subtracting 4 from the issue address 10000 (in hexadecimal notation) of the processor 2 in the address converter 6 and fffc
(Hexadecimal notation) and read it out. Similarly, when the processor 2 issues the address 10001 (hexadecimal notation), the bus arbitration circuit 5 completes the reading of the processor 1 into the internal memory 31, and then the address converter 6 subtracts 4 from the address to the internal memory 31. fff
d (hexadecimal notation) is generated and read.

【0065】さらに他のメモリーに継続している場合、
同様な前記手法でもって連続的なメモリー空間を有する
メモリー装置ように読み出しができる。
When continuing to another memory,
In the same manner, reading can be performed as in a memory device having a continuous memory space.

【0066】このように、内蔵メモリー32の容量を超
えるプログラムであってもプロセッサ2を動作停止状態
にすることなく実時間処理が可能であり、内蔵メモリー
31の空き領域41も有効活用ができる。
As described above, even a program exceeding the capacity of the built-in memory 32 can be processed in real time without stopping the processor 2, and the free space 41 of the built-in memory 31 can be effectively utilized.

【0067】[0067]

【発明の効果】以上のように本発明によれば、内蔵メモ
リーの容量を超えるプログラムであってもプロセッサを
動作停止状態にすることなく実時間処理が可能であり、
他の内蔵メモリーの空き領域も有効活用ができる。
As described above, according to the present invention, even a program exceeding the capacity of the built-in memory can be processed in real time without stopping the processor.
Free space in other internal memory can also be used effectively.

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

【図1】本発明の第1の実施形態によるメモリ装置の構
成図
FIG. 1 is a configuration diagram of a memory device according to a first embodiment of the present invention;

【図2】本発明の第2の実施形態によるメモリ装置の構
成図
FIG. 2 is a configuration diagram of a memory device according to a second embodiment of the present invention;

【図3】本発明の第3の実施形態によるメモリ装置の構
成図
FIG. 3 is a configuration diagram of a memory device according to a third embodiment of the present invention;

【図4】本発明の第4の実施形態によるメモリ装置の構
成図
FIG. 4 is a configuration diagram of a memory device according to a fourth embodiment of the present invention;

【図5】従来のメモリ装置の構成図FIG. 5 is a configuration diagram of a conventional memory device.

【符号の説明】 1〜3 プロセッサ 5 バス調停回路 6 アドレス変換器 31〜33 内蔵メモリー 41〜43 空き領域 11〜13,15,16,20〜23 システムバス 51,52 IDフラグ 61,62 活性化フラグ 70 外付メモリー 71 コントローラ[Description of References] 1-3 Processor 5 Bus Arbitration Circuit 6 Address Converter 31-33 Internal Memory 41-43 Free Space 11-13, 15, 16, 20-23 System Bus 51,52 ID Flag 61,62 Activation Flag 70 External memory 71 Controller

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】一つの半導体チップに複数のプロセッサと
各プロセッサに対応した読み書き可能な命令メモリーが
接続され、一つのプロセッサの命令容量の不足時に、他
のプロセッサの命令メモリーの空き領域にプログラムを
書き込むことを特徴とするメモリ装置。
A plurality of processors and a readable and writable instruction memory corresponding to each processor are connected to one semiconductor chip, and when an instruction capacity of one processor is insufficient, a program is stored in a free area of the instruction memory of another processor. A memory device for writing.
【請求項2】前記空き領域に末尾から先頭方向または空
き領域の途中から末尾方向にプログラムを書き込み、前
記書き込み方向から読み出すことを特徴とする請求項1
記載のメモリ装置。
2. The program according to claim 1, wherein the program is written in the free area in the direction from the end to the head or in the middle of the free area in the direction from the end and read out in the writing direction.
A memory device as described.
【請求項3】前記命令メモリーに識別フラグを設けるこ
とで、一つのプロセッサの命令容量の不足時に識別フラ
グに書き込まれた情報にしたがって、他のプロセッサの
命令メモリーの空き領域からプログラムを取り込むこと
を特徴とする請求項1または請求項2記載のメモリ装
置。
3. An instruction flag is provided in the instruction memory, so that when an instruction capacity of one processor is insufficient, a program is fetched from a free area of the instruction memory of another processor according to information written in the identification flag. The memory device according to claim 1 or 2, wherein:
JP34112197A 1997-12-11 1997-12-11 Memory device Pending JPH11175398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34112197A JPH11175398A (en) 1997-12-11 1997-12-11 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34112197A JPH11175398A (en) 1997-12-11 1997-12-11 Memory device

Publications (1)

Publication Number Publication Date
JPH11175398A true JPH11175398A (en) 1999-07-02

Family

ID=18343457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34112197A Pending JPH11175398A (en) 1997-12-11 1997-12-11 Memory device

Country Status (1)

Country Link
JP (1) JPH11175398A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007226742A (en) * 2006-02-27 2007-09-06 Fujitsu Ltd Storage controller, storage control method, storage control program and information processor
KR100861896B1 (en) * 2005-04-28 2008-10-09 엔이씨 일렉트로닉스 가부시키가이샤 Data processing apparatus and data processing method
KR100900439B1 (en) 2006-12-05 2009-06-01 한국전자통신연구원 Method and Apparatus for managing out-of-memory in embedded system
US7716392B2 (en) 2004-07-14 2010-05-11 Oki Semiconductor Co., Ltd. Computer system having an I/O module directly connected to a main storage for DMA transfer

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716392B2 (en) 2004-07-14 2010-05-11 Oki Semiconductor Co., Ltd. Computer system having an I/O module directly connected to a main storage for DMA transfer
KR100861896B1 (en) * 2005-04-28 2008-10-09 엔이씨 일렉트로닉스 가부시키가이샤 Data processing apparatus and data processing method
US8122192B2 (en) 2005-04-28 2012-02-21 Renesas Electronics Corporation Data processing apparatus and data processing method
US8312216B2 (en) 2005-04-28 2012-11-13 Renesas Electronics Corporation Data processing apparatus and data processing method
JP2007226742A (en) * 2006-02-27 2007-09-06 Fujitsu Ltd Storage controller, storage control method, storage control program and information processor
KR100900439B1 (en) 2006-12-05 2009-06-01 한국전자통신연구원 Method and Apparatus for managing out-of-memory in embedded system

Similar Documents

Publication Publication Date Title
US8825718B2 (en) Methods and apparatus for marking objects for garbage collection in an object-based memory system
KR20010031430A (en) Buffering data that flows between buses operating at different frequencies
WO2004066059A3 (en) Microprocessor systems
JPS5898893A (en) Information processing device
JPH0122940B2 (en)
JPH11175398A (en) Memory device
US20070299991A1 (en) DMA module and operating system therefor
USRE38514E1 (en) System for and method of efficiently controlling memory accesses in a multiprocessor computer system
JPH0210446A (en) Buffer storage device
JPH03656B2 (en)
KR100283187B1 (en) Device and method for accessing common memory in system using common memory
JPS5925320B2 (en) Shared storage controller
JPH0240760A (en) Information processor
JPH04337851A (en) Memory access system
JPH0455650U (en)
TW480404B (en) Memory card with signal processing element
JP2002032352A (en) Multiprocessor system
JPS5815245U (en) memory access device
JPS5822834B2 (en) Buffer invalid control method
JPH02235167A (en) Information processor
JPH06274416A (en) Cache memory device
JPS63186358A (en) Data transfer system
JPS5836453U (en) Mechanism for effective utilization of program operation memory in multi-computer systems
JPS62229457A (en) Data transfer controller
JPH03257555A (en) Store buffer device