JPH0425952A - Address distribution circuit - Google Patents
Address distribution circuitInfo
- Publication number
- JPH0425952A JPH0425952A JP2131803A JP13180390A JPH0425952A JP H0425952 A JPH0425952 A JP H0425952A JP 2131803 A JP2131803 A JP 2131803A JP 13180390 A JP13180390 A JP 13180390A JP H0425952 A JPH0425952 A JP H0425952A
- Authority
- JP
- Japan
- Prior art keywords
- address
- shared memory
- memory
- circuit
- signal
- 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
Links
Landscapes
- Memory System (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、マイクロプロセッサシステムにおけるアドレ
ス分配回路に関し、特に限られたメモリ空間で共有メモ
リおよび各種■/○やローカルメモリのメモリ指定領域
を分配するシステムにおけるアドレス分配回路に関する
。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an address distribution circuit in a microprocessor system, and in particular, the present invention relates to an address distribution circuit in a microprocessor system, and in particular, to distribution of memory specified areas of shared memory, various ■/○, and local memories in a limited memory space. This invention relates to an address distribution circuit in a system.
従来、−例としてのマイクロプロセッサシステムは、マ
イクロプロセッサと、共有メモリと、Iloを有する入
出力機器と、ローカルメモリと、そしてマツピングメモ
リとを有し、それぞれかアドレスバスおよびデータバス
によって結合されていた。この種のマイクロプロセッサ
システムにおけるアドレス分配回路は、予めマツピング
メモリの各アドレスに対して共有メモリ領域かそれ以外
の領域かの区分けを記憶させておく。そして、共有メモ
リはマツピングメモリの出力が共有メモリ領域と判定さ
れた場合のみ自メモリへのアクセスを許可するようにア
ドレス分配回路によって制御されていた。Conventionally, an exemplary microprocessor system includes a microprocessor, a shared memory, an input/output device with Ilo, a local memory, and a mapping memory, each coupled by an address bus and a data bus. was. The address distribution circuit in this type of microprocessor system stores in advance the classification of each address in the mapping memory as a shared memory area or another area. The shared memory is controlled by an address distribution circuit so as to permit access to its own memory only when the output of the mapping memory is determined to be a shared memory area.
しかし、このようなアドレス分配回路では、マツピング
メモリにおけるアドレス空間の分割を細かくすればする
ほどマツピングメモリの容量を大きくする必要があるた
め、アドレス空間の任意の分割が難しいという欠点があ
った。また、アドレス空間の分割を変更する場合、マツ
ピングメモリがROMの場合はもとより、マイクロプロ
セッサにより書換え可能なメモリであってもマイクロプ
ロセッサが実行するプログラムを変更しなければならず
、その実行が容易ではないという欠点もあった。However, such address distribution circuits have the disadvantage that it is difficult to arbitrarily divide the address space because the finer the division of the address space in the mapping memory, the larger the capacity of the mapping memory. . Furthermore, when changing the division of the address space, the program executed by the microprocessor must be changed, not only when the mapping memory is a ROM but also when the memory is rewritable by the microprocessor. There was also the drawback that it was not.
本発明のアドレス分配回路は、マイクロプロセッサと共
有メモリと前記共有メモリのメモリ空間上にアドレスが
マツピングされる1個または複数個の回路とがアドレス
バスおよびデータバスによって相互に結合されたマイク
ロプロセッサシステムのアドレス分配回路において、前
記回路内の各々のアドレスデコード回路が検出する自ア
ドレス検出信号のワイアードORをとるOR回路と、前
記共有メモリが前記共有メモリのメモリ空間のアドレス
でメモリ読み出しを指定され且つ前記ワイアードOR信
号が「真」のとき前記共有メモリの読み出しデータを前
記データバスに出力することを禁止する前記共有メモリ
に設けられたデータ入出力ゲート回路とを有している。The address distribution circuit of the present invention is a microprocessor system in which a microprocessor, a shared memory, and one or more circuits whose addresses are mapped onto the memory space of the shared memory are interconnected by an address bus and a data bus. In the address distribution circuit, an OR circuit performs a wired OR of self-address detection signals detected by each address decoding circuit in the circuit, and the shared memory is designated for memory reading by an address in a memory space of the shared memory, and and a data input/output gate circuit provided in the shared memory that prohibits outputting read data of the shared memory to the data bus when the wired OR signal is "true".
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例を示すブロック構成図、第2
図は実施例における共有メモリのアドレス空間分配の様
子を示す図である。FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure is a diagram showing how the address space of the shared memory is distributed in the embodiment.
第1図に示すマイクロプロセッサシステムは、マイクロ
プロセッサ1と共有メモリ2を有し、また共有メモリ2
のメモリ空間上にアドレスがマツピングされた。l10
5を有する入出力機器(図示せず)とローカルメモリ6
を有している。これらの構成要素はアドレスバス3およ
びデータバス4で結合されている。第2図には、共有メ
モリ2における共有メモリ領域21の一部領域が、l1
05とローカルメモリ6のアドレス用に、I10指定領
域22とローカルメモリ指定領域23に配分されている
様子が示されている。The microprocessor system shown in FIG. 1 has a microprocessor 1 and a shared memory 2.
The address was mapped onto the memory space of l10
input/output equipment (not shown) with 5 and local memory 6
have. These components are connected by an address bus 3 and a data bus 4. In FIG. 2, a part of the shared memory area 21 in the shared memory 2 is l1
05 and local memory 6 are allocated to an I10 designated area 22 and a local memory designated area 23.
以下、共有メモリ2のアドレス空間をこのように配分す
るアドレス分配回路の説明を行う。l105内のアドレ
スデコード回路7は、マイクロプロセッサ1からアドレ
スバス3に送出される書き込みあるいは読み出し要求の
アドレスのうち、自己宛のアドレスのみをデコードする
。そして自己宛のアドレスが検出された場合には、それ
を示す自アドレス検出信号11をOR回路10に送出す
る。OR回路10によってワイアードORされたワイア
ードOR信号13は共有メモリ2内のデータ入出力ゲー
ト回路9に入力される。ローカルメモリ6内のアドレス
デコード回路8も同様に自己宛のアドレスを検出したと
き、自アドレス検出信号12をOR回路10に送出する
。An address distribution circuit that distributes the address space of the shared memory 2 in this manner will be described below. The address decoding circuit 7 in the l105 decodes only the address addressed to itself among the addresses of write or read requests sent from the microprocessor 1 to the address bus 3. If an address addressed to itself is detected, it sends a self-address detection signal 11 indicating this to the OR circuit 10. A wired OR signal 13 that has been wired ORed by the OR circuit 10 is input to a data input/output gate circuit 9 in the shared memory 2 . Address decode circuit 8 in local memory 6 similarly sends own address detection signal 12 to OR circuit 10 when it detects an address addressed to itself.
T105またはローカルメモリ6がらの読み出しを行う
場合は、自アドレス検出信号11肱たは同12の何れか
がONになり、OR回路10によってワイアーFORを
とったワイアード信号13が0N(r真J)になる。When reading from T105 or the local memory 6, either the own address detection signal 11 or 12 turns ON, and the wired signal 13 obtained by wire-ORing by the OR circuit 10 becomes 0N (r true J). become.
共有メモリ2内のデータ入出力ゲート回路9は、ワイア
ードOR信号13がONの場合は共有メモリ2からデー
タバス4への出力ゲートを閉じ、データバス4上で共有
メモリ2からの信号とT105またはローカルメモリ6
からの信号とが衝突することを防止する。The data input/output gate circuit 9 in the shared memory 2 closes the output gate from the shared memory 2 to the data bus 4 when the wired OR signal 13 is ON, and connects the signal from the shared memory 2 and T105 or T105 on the data bus 4. local memory 6
This prevents the signals from colliding with each other.
以上説明した動作により、l105またはローカルメモ
リ6のアドレスデコード回路7または同8で決定される
。共有メモリ2の任意のアドレス空間位置と領域に11
05およびローカルメモリ6のアドレスを配分すること
が可能となる。Through the operations described above, the address decoding circuit 7 or 8 of the l105 or local memory 6 determines the address. 11 in any address space location and area of shared memory 2
05 and local memory 6 can be allocated.
なお、l105またはローカルメモリ6への書き込みを
行なう場合は、共有メモリ2にも同時に書き込むことを
禁止する必要はない。従って、ワイアードOR信号13
がONとなっても、入出力ゲート回路9の入力ゲートは
閉じる必要はない。Note that when writing to 1105 or the local memory 6, there is no need to prohibit writing to the shared memory 2 at the same time. Therefore, the wired OR signal 13
Even if the input/output gate circuit 9 is turned on, the input gate of the input/output gate circuit 9 does not need to be closed.
このように、共有メモリ2のメモリ空間上にアドレスが
マツピングされる各機器(回路)の自アドレス検出信号
によって生成されるワイアードOR信号によって、共有
メモリ2からの読み出しを制御すれば、マイクロプロセ
ッサシステムの拡張性も高くなる。例えば、新たにl1
014をこのシステムに組み込む場合は、I 1014
をアドレスバス3とデータバス4に接続し、11014
内のアドレスデコード回路15が送出する自アドレス検
出信号16をOR回路10に接続するだけで、第2図に
示されるI10指定領域24の位置にl1014のアド
レスを配置でき、以前のシステムに全く変更を加える必
要がない。In this way, if reading from the shared memory 2 is controlled by the wired OR signal generated by the own address detection signal of each device (circuit) whose address is mapped on the memory space of the shared memory 2, the microprocessor system The scalability of is also increased. For example, newly l1
014 into this system, I 1014
Connect 11014 to address bus 3 and data bus 4,
By simply connecting the own address detection signal 16 sent by the address decoding circuit 15 in the internal address decoding circuit 15 to the OR circuit 10, the address of I1014 can be placed at the position of the I10 specified area 24 shown in FIG. 2, and the previous system is completely changed. There is no need to add
以上説明したように本発明は、マツピングメモリを廃し
ており、各l1010−カルメモリのアドレスデコード
回路の自アドレス検出信号をワイアードOR,した信号
により共有メモリからの読み出しを制御する。この結果
、各I10またはローカルメモリのアドレスデコード回
路で決定される共有メモリの任意のアドレス空間位置と
領域にそれらIloまたはローカルメモリのアドレスを
配分することが可能となる。また、Iloを持つ回路ブ
ロックを追加する場合でも単に物理的に回路ブロックを
バスに接続するだけで自動的にアドレス分配の変更が可
能である0以上の説明のように、このアドレス分配回路
を用いることにより、構成が容易で且つ拡張性の高いマ
イクロプロセッサシステムが得られる効果がある。As explained above, the present invention eliminates the mapping memory, and controls reading from the shared memory by a signal obtained by wire-ORing the own address detection signal of the address decoding circuit of each l1010-cal memory. As a result, it becomes possible to allocate the addresses of Ilo or local memory to any address space location and area of the shared memory determined by the address decoding circuit of each Ilo or local memory. In addition, even when adding a circuit block with Ilo, address distribution can be changed automatically by simply physically connecting the circuit block to the bus.As explained above, this address distribution circuit is used. This has the effect of providing a microprocessor system that is easy to configure and highly expandable.
第1図は本発明の一実施例を示すブロック構成図、第2
図は実施例でのアドレス空間分配の様子を示す図である
。
1・・・マイクロプロセッサ、2・・・共有メモリ、3
・・・アドレスバス、4・・・データバス、5,14・
・・Ilo、6・・・ローカルメモリ、7,8.15・
・・アドレスデコード回路、9・・・データ入出力ゲー
ト回路、10・・・OR回路、11,12,16・・・
自アドレス検出信号、13・・・ワイアードOR信号、
21共有メモリ領域、
4・・・ I
10指定領
域、
23・・・ローカルメモリ指定領域。FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure is a diagram showing how address space is distributed in the embodiment. 1... Microprocessor, 2... Shared memory, 3
...Address bus, 4...Data bus, 5,14.
...Ilo, 6... Local memory, 7, 8.15.
... Address decoding circuit, 9... Data input/output gate circuit, 10... OR circuit, 11, 12, 16...
Own address detection signal, 13... wired OR signal,
21 shared memory area, 4... I 10 designated area, 23... local memory designated area.
Claims (1)
モリ空間上にアドレスがマッピングされる1個または複
数個の回路とがアドレスバスおよびデータバスによって
相互に結合されたマイクロプロセッサシステムのアドレ
ス分配回路において、前記回路内の各々のアドレスデコ
ード回路が検出する自アドレス検出信号のワイアードO
RをとるOR回路と、前記共有メモリが前記共有メモリ
のメモリ空間のアドレスでメモリ読み出しを指定され且
つ前記ワイアードOR信号が「真」のとき前記共有メモ
リの読み出しデータを前記データバスに出力することを
禁止する前記共有メモリに設けられたデータ入出力ゲー
ト回路とを有することを特徴とするアドレス分配回路。An address distribution circuit for a microprocessor system in which a microprocessor, a shared memory, and one or more circuits whose addresses are mapped onto the memory space of the shared memory are interconnected by an address bus and a data bus, wherein the circuit Wired O of own address detection signal detected by each address decoding circuit in
an OR circuit that takes R, and outputting read data of the shared memory to the data bus when the shared memory is designated for memory reading by an address of the memory space of the shared memory and the wired OR signal is "true". and a data input/output gate circuit provided in the shared memory for inhibiting data input/output gate circuits.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2131803A JPH0425952A (en) | 1990-05-22 | 1990-05-22 | Address distribution circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2131803A JPH0425952A (en) | 1990-05-22 | 1990-05-22 | Address distribution circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0425952A true JPH0425952A (en) | 1992-01-29 |
Family
ID=15066479
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2131803A Pending JPH0425952A (en) | 1990-05-22 | 1990-05-22 | Address distribution circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0425952A (en) |
-
1990
- 1990-05-22 JP JP2131803A patent/JPH0425952A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS645341B2 (en) | ||
| JPH0546473A (en) | Memory spatial expansion circuit for microprocessor | |
| JPH05233834A (en) | Single chip microcomputer | |
| JPS57117056A (en) | Microcomputer device | |
| KR910010340A (en) | Expansion addressing circuit and adapter card | |
| JP3868316B2 (en) | Multiprocessor and control method thereof | |
| JPH0262642A (en) | Bus switching system | |
| JPH03191487A (en) | Single chip microcomputer | |
| JPS59128619A (en) | Microcomputer device | |
| JPS6324348A (en) | Memory sharing method | |
| JPS62174843A (en) | Switching system for memory priority | |
| JPS60252980A (en) | Dual port memory configuration method | |
| JPS6232832B2 (en) | ||
| JPS5920066A (en) | device access control circuit | |
| JPS5921062B2 (en) | Memory contention control method | |
| JPH05189264A (en) | One-chip microcomputer | |
| JPH0417466B2 (en) | ||
| JPS6119059B2 (en) | ||
| JPH048159U (en) | ||
| JPS63204342A (en) | Memory device | |
| JPH04105146A (en) | Automatic setting system for extension memory bank | |
| JPH0336627A (en) | Microcomputer device | |
| JPH04128961A (en) | Multi-processor control system | |
| JPS61177556A (en) | Memory switching circuit | |
| JPH044345U (en) |