JPS6243747A - dual port memory controller - Google Patents
dual port memory controllerInfo
- Publication number
- JPS6243747A JPS6243747A JP60181893A JP18189385A JPS6243747A JP S6243747 A JPS6243747 A JP S6243747A JP 60181893 A JP60181893 A JP 60181893A JP 18189385 A JP18189385 A JP 18189385A JP S6243747 A JPS6243747 A JP S6243747A
- Authority
- JP
- Japan
- Prior art keywords
- address
- memory
- dual
- dual port
- port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Multi Processors (AREA)
- Memory System (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は2つのデータ処理装置を複数のデュアルポート
メモリを介して接続しているシステムにおいて、一方の
データ処理装置のメモリ空間を切換える装置に関するも
のである。Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a device for switching the memory space of one data processing device in a system in which two data processing devices are connected via a plurality of dual port memories. It is something.
[従来の技術]
従来、この種の装置は第1図のごとく、デュアルポート
メモリのメモリシステムを1つしか介在させないように
構成されていた。[Prior Art] Conventionally, this type of device has been configured to include only one memory system of dual port memory, as shown in FIG.
[発明が解決しようとする問題点]
したがって、データ処理装置がデュアルポートメモリに
アクセスする場合、常にもう一方のデータ処理装置との
競合が起こり、アクセス時間が非常に長くなるという欠
点があった。[Problems to be Solved by the Invention] Therefore, when a data processing device accesses a dual port memory, there is always competition with the other data processing device, resulting in a disadvantage that the access time becomes extremely long.
また、デュアルポートメモリを一方のデータ処理装置か
ら他のデータ処理装置へのデータの一時蓄積として使用
する場合などのように、メモリ容量が不足した場合の処
理が複雑になるなどの欠点があった。Another disadvantage is that processing becomes complicated when memory capacity is insufficient, such as when dual-port memory is used to temporarily store data from one data processing device to another. .
[問題点を解決するための手段]
本発明は上述従来例の欠点を除去すると同時に、デュア
ルポートメモリ間のデータの転送が論理アドレスブロッ
クに対応する実メモリを変換などをすることで代用でき
ることによって、より高速な処理を可能にすることを目
的とし、そのために、2つのデータ処理装置からアクセ
ス回部なデュアルポートメモリを個々にシングルポート
化する手段と、メモリのデュアルポート部分の論理アト
し・ス空間を″′l該デュアルポート部分の物理アドレ
ス空間に当該デュアルポートメモリの容量のブロック中
位で任意に割り当てる手段とを具える。[Means for Solving the Problems] The present invention eliminates the drawbacks of the conventional example described above, and at the same time, it is possible to transfer data between dual port memories by converting the real memory corresponding to the logical address block. , the purpose is to enable faster processing, and for this purpose, we have developed a means for individually converting dual-port memory, which is an access circuit from two data processing devices, into a single port, and a logical attribution of the dual-port portion of memory. means for arbitrarily allocating a space to the physical address space of the dual port portion in the middle of the block of capacity of the dual port memory.
[作 用]
」なわち、本発明は、デュアルポートメモリを個々にシ
ングルポート化すると共に、メモリのデュアルポート部
分の論理アドレス空間を当該デュアルポート部分の物理
アドレス空間に当該デュアルポートメモリの容量のブロ
ー2り単位で任意に割り当てることによって、データ処
理装置に高速処理を行わせる。[Function] In other words, the present invention converts each dual-port memory into a single port, and also converts the logical address space of the dual-port portion of the memory into the physical address space of the dual-port portion with the capacity of the dual-port memory. By arbitrarily allocating it in units of two blows, the data processing device can perform high-speed processing.
[実施例]
以F1図面に従って本発明の詳細な説明する。第2図は
本発明の一実施例のブロック図である。[Example] The present invention will be described in detail below with reference to the F1 drawing. FIG. 2 is a block diagram of one embodiment of the present invention.
第2図において、AおよびBはデータ処理装置であって
、マイクロブロセ−/す1,2およびメモリ3.4を各
々有する。In FIG. 2, A and B are data processing devices each having a microprocessor/system 1, 2 and a memory 3.4.
9.10および11はデュアルポートメモリであって、
それぞれ、独立して、1つのデュアルポートメモリのブ
ロックになってる。9.10 and 11 are dual port memories,
Each is an independent block of dual-port memory.
5はデコーダ、6はデータ処理装δAの論理り位アドレ
スを物理−L位アドレスに変換するアドレス変換装置(
レジスタファイル)、7はデータ処理装置Bからのコン
トロール信号17をデュアルポートメモリへ分岐させる
マルチプレクサ、8はデコード・ラッチ回路であって、
データ処理装置Aからのコントロール信号13で制御さ
れ、同5t21Aからのデータ信畦14をデコードして
その結果をチー2チしてマルチプレクサ7を制御する。5 is a decoder, and 6 is an address conversion device that converts the logical address of the data processing device δA into a physical L address (
7 is a multiplexer for branching the control signal 17 from data processing device B to the dual port memory; 8 is a decode/latch circuit;
It is controlled by a control signal 13 from the data processing device A, decodes the data signal 14 from the same 5t21A, and controls the multiplexer 7 by checking the result.
12はデータ処理装置Aの論理上位アドレス、15は論
理上位アドレス12か、またはアドレス変換装M6によ
って変換された物理上位アドレス、16は回路8によっ
てラッチされているマルチプレクサ7へのコントロール
信号、17はデコーダ5によってデコードされたデュア
ルポートメモリ9.10および11へのメモリセレクト
信号、18はマルチプレクサ7によって分岐されたコン
トロール信号である。12 is a logical high-order address of the data processing device A, 15 is the logical high-order address 12 or a physical high-order address translated by the address translation device M6, 16 is a control signal to the multiplexer 7 latched by the circuit 8, and 17 is a Memory select signals to dual port memories 9, 10 and 11 are decoded by decoder 5, and 18 is a control signal branched by multiplexer 7.
アドレス変換装M(レジスタファイル)6は、第3図(
a)のごとく論理上位アドレスをレジスタファイルのア
ドレスとして、その論理上位アドレスに対応する物理上
位アドレスが格納されている。The address conversion device M (register file) 6 is shown in FIG.
As shown in a), the logical upper address is used as the address of the register file, and the physical upper address corresponding to the logical upper address is stored.
論理上位アドレス12によって、アドレス変換装置6の
レジスタアドレスがアクセスされるとそこに格納されて
いる対応する物理上位アドレスがアドレス15としてデ
コーダ5に送られる。When a register address of the address translation device 6 is accessed by the logical upper address 12, the corresponding physical upper address stored therein is sent to the decoder 5 as an address 15.
このようにして論理上上位アドレスは物理上位アドレス
に変換される。このアドレス変換装置6の内容はデータ
処理装HAによって自由に書き換えが可能なので論理上
位アドレスは物理上位アドレスに自由にわりあてること
ができる。In this way, a logically higher address is converted into a physically higher address. Since the contents of this address translation device 6 can be freely rewritten by the data processing device HA, logical high-order addresses can be freely assigned to physical high-order addresses.
データ信号14には、アドレス変換装216の内容を書
き換える時に、物理上位アドレスのデータをのせるが、
このデータには第3図(b)のごとく、データ信号線の
うちの1本にデュアルポート切換信号をのせる。このデ
ュアルポート切換信号によって、同時に他のデータ信号
線上にのせられている物理上位アドレスのデータに対応
するデュアルポートメモリ(第2図におけるデュアルポ
ートメモリ9,10.11など)をデュアルポートまた
はデータ処理装NAからのシングルポートにする。When rewriting the contents of the address conversion device 216, the data of the physical upper address is placed on the data signal 14.
For this data, a dual port switching signal is placed on one of the data signal lines as shown in FIG. 3(b). This dual port switching signal causes the dual port memory (dual port memories 9, 10, 11, etc. in Figure 2) corresponding to the data of the physical upper address placed on other data signal lines to be switched to dual port or data processing. Make it a single port from the installed NA.
例えば、このデュアルポート切換信号がのせられた信号
線を1″とすると、対応するメモリはデュアルポートと
なり、0″とすると、シングルポートとなるようにする
ことができる。For example, if the signal line carrying this dual port switching signal is set to 1'', the corresponding memory becomes a dual port, and if it is set to 0'', the corresponding memory becomes a single port.
デコード・ラッチ回路8はデータ信号線14上の物理上
位アドレスとデュアルポート制御信号とをデコードして
、マルチプレクサ7へどのデュアルポートメモリがデュ
アルポートに設定されたのかを知らせる信号を出力し、
かつその信号を変更されるまでう・ノチする。The decode/latch circuit 8 decodes the physical upper address on the data signal line 14 and the dual port control signal, and outputs a signal to the multiplexer 7 indicating which dual port memory is set as dual port.
And the signal is turned until it is changed.
マルチプレクサ7は回路8からの信号に従って、デュア
ルポートであると設定されたメモリのみにコントロール
信す17を分岐する。According to the signal from the circuit 8, the multiplexer 7 branches the control signal 17 only to the memory set to be dual-ported.
したがって、コントロール信号17を分岐されないメモ
リは自動的にデータ処11F装置Aのシングルポートメ
モリになる。Therefore, the memory to which the control signal 17 is not branched automatically becomes the single port memory of the data processing 11F device A.
第4IA(a’)、(b)は論理アドレスブロック(以
下、 LABと略す)と物理アドレスロック(以下PA
Bと略す)の対応の例である。ただし、ブロック数が3
の場合について記述する。The 4th IA (a') and (b) have a logical address block (hereinafter referred to as LAB) and a physical address lock (hereinafter referred to as PA).
(abbreviated as B) is an example of correspondence. However, the number of blocks is 3
Let us describe the case.
PABOはデュアルポートメモリ9に対応し、PAB
1はデュアルポートメモリ10に対応し、PAB2はデ
ュアルポートメモリ11に対応する。PABO supports dual port memory 9, and PAB
1 corresponds to the dual port memory 10, and PAB2 corresponds to the dual port memory 11.
(a)においては、LABOがPABOに対応していて
、LABlはPAB 1に、LAB2はPAB2に各々
対応している。In (a), LABO corresponds to PABO, LAB1 corresponds to PAB 1, and LAB2 corresponds to PAB2.
そして、PABOがデュアルポートとなっているが、こ
のことは実メモリにおいては9がデュアルポートになっ
てることを示す、他のPABI 、PAB2はシングル
ポートである。Although PABO is a dual port, this means that 9 is a dual port in the actual memory; the other PABI and PAB2 are single ports.
この状態からアドレス変換装置6のレジスタの内容を占
き換え、同時にデュアルボー1切換信号をコントロール
することにより、例えば(b)のような設定状態にする
ことができる。この場合、アドレス変換装置6のレジス
タの内容をLABOがPAB 1に、LABIがPAB
2に、LAB2がPABOに対応するように書きかえる
と同時にデュアルポート切換信号をLABOをPAB
1に対応するようにアドレス変!!!!装2i6を書き
かえる時は“O”とし、LABIをPAB2に対応する
ようにする時には”1″とし、LAB2をPABOと対
応するようにする時には”O”とするようにする。By changing the contents of the register of the address translation device 6 from this state and controlling the dual baud 1 switching signal at the same time, a setting state such as that shown in (b) can be achieved, for example. In this case, LABO is set to PAB 1, LABI is set to PAB 1, and LABI is set to PAB 1.
2, rewrite LAB2 to correspond to PABO and at the same time change the dual port switching signal from LABO to PAB.
Change the address to correspond to 1! ! ! ! When rewriting the module 2i6, set it to "O", when making LABI correspond to PAB2, set it to "1", and when making LAB2 correspond to PABO, set it to "O".
これによって、PAB2、すなわち、デュアルポートメ
モリ11のみをデュアルポートにすることができる。With this, only the PAB2, that is, the dual port memory 11 can be made into a dual port.
1)上記に実施例においては、論理アドレスブロック、
物理アドレスブロックが共に3ブロー2りの場合につい
て述べたが、このブロック数は複数であればよい。1) In the above embodiment, the logical address block,
Although the case has been described in which the number of physical address blocks is 3 and 2, the number of blocks may be more than one.
2)上記実施例においては、アドレス変換装置にレジス
タファイルを用いているが、同様な動作をするものであ
れば、これに限定されるものではない。2) In the above embodiment, a register file is used as the address translation device, but the present invention is not limited to this as long as it operates in a similar manner.
3) 本発明は、−上記実施例の構成例に限定されるも
のではなく、その技術的範囲で種々の構成の変形が可能
である。3) The present invention is not limited to the configuration example of the above-described embodiment, and various configuration modifications are possible within the technical scope thereof.
[発明の効果]
l)以上説明したように、本発明においては、デュアル
ポート部の論理アドレスと物理アドレスをブロック単位
で自由に対応させることができるので、メモリ間のデー
タ転送をすることなく論理アドレス上では、データ転送
をしたことと同じ結果を選られるので処理が非常に高速
になる。[Effects of the Invention] l) As explained above, in the present invention, the logical address and physical address of the dual port section can be freely associated in block units, so logical On the address, the same result as the data transfer is selected, so processing becomes extremely fast.
2) メモリをデュアルポートとシングルポートに自由
に切換えられるの↑、メモリをシングルポート化するこ
とで、アクセス時間をデュアルポート時に比較してはる
かに短縮でき、処理を高速化できる。2) Memory can be freely switched between dual port and single port↑ By making memory a single port, access time can be much reduced compared to dual port, and processing can be faster.
3)デュアルポートメモリを自由にデュアルポート化し
たり、シングルポート化したりできることから、デュア
ルポートとなる実メモリを次々変換していくことで仮想
的に大きなデュアルポートメモリ空間をとることができ
る。3) Since dual-port memory can be freely converted into dual-port or single-port memory, a virtually large dual-port memory space can be taken up by converting real memory that becomes dual-port one after another.
第1図は従来のデュアルポートメモリを持ったシスアテ
ムを示す図、
第2図は本発明一実施例のブロック図、第3図(a)は
アドレス変換装置の内容を示す図。
第3図(b)はデータ信号の内容を示す図、第4図(a
)、(&)は論理アドレス空間、物理アドレス空間およ
びデュアルポートメモリの対応関係を示す図である。
1.2・・・マイクロプロセッサ、
3.4・・・メモリ、
5・・・デコーダ、
6・・・アドレス変換装置(レジスタファイル)、
7・・・マルチプレクサ、
8・・・デコーダとチー2千回路、
9.10.11・・・デュアルポートメモリ、12・・
・データ処理装置の論理上位アドレス、
13・・・データ処理装置のコントロール信号、
14・・・データ処理装置のデータ信号、15・・・デ
ータ処理装置の物理−F位アドレス、
16・・・マルチプレクサコントロール信号17・・・
データ処理装置のコントロール信号、
18・・・メモリセレクト信号、
19・・・データ処理装置のコントロール信号。
第1図
r −==−−一一−コ―
しジスタアドレス しレスタオじ1孕グ理、ヒイ亡
アトし又
第3図FIG. 1 is a diagram showing a conventional system having a dual port memory, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3(a) is a diagram showing the contents of an address translation device. Fig. 3(b) is a diagram showing the contents of the data signal, Fig. 4(a)
), (&) are diagrams showing the correspondence between a logical address space, a physical address space, and a dual port memory. 1.2...Microprocessor, 3.4...Memory, 5...Decoder, 6...Address translation device (register file), 7...Multiplexer, 8...Decoder and chip 2,000 Circuit, 9.10.11... Dual port memory, 12...
- Logical upper address of the data processing device, 13... Control signal of the data processing device, 14... Data signal of the data processing device, 15... Physical -F address of the data processing device, 16... Multiplexer Control signal 17...
Control signal for data processing device, 18... Memory select signal, 19... Control signal for data processing device. Figure 1 r -==--11-co- The address of the person who was pregnant and died at the same time Figure 3
Claims (1)
トメモリを個々にシングルポート化する手段と、 前記メモリのデュアルポート部分の論理アドレス空間を
当該デュアルポート部分の物理アドレス空間に当該デュ
アルポートメモリの容量のブロック単位で任意に割り当
てる手段とを具えたことを特徴とするメモリ空間切換装
置。[Claims] Means for individually converting a dual port memory accessible from two data processing devices into a single port; 1. A memory space switching device comprising means for arbitrarily allocating port memory capacity in block units.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60181893A JP2718661B2 (en) | 1985-08-21 | 1985-08-21 | Dual port memory controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60181893A JP2718661B2 (en) | 1985-08-21 | 1985-08-21 | Dual port memory controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6243747A true JPS6243747A (en) | 1987-02-25 |
| JP2718661B2 JP2718661B2 (en) | 1998-02-25 |
Family
ID=16108726
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60181893A Expired - Lifetime JP2718661B2 (en) | 1985-08-21 | 1985-08-21 | Dual port memory controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2718661B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7492660B2 (en) * | 1989-04-13 | 2009-02-17 | Sandisk Corporation | Flash EEprom system |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5872260A (en) * | 1981-10-24 | 1983-04-30 | Nec Corp | Memory sharing device |
-
1985
- 1985-08-21 JP JP60181893A patent/JP2718661B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5872260A (en) * | 1981-10-24 | 1983-04-30 | Nec Corp | Memory sharing device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7492660B2 (en) * | 1989-04-13 | 2009-02-17 | Sandisk Corporation | Flash EEprom system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2718661B2 (en) | 1998-02-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6142287B2 (en) | ||
| KR900000771A (en) | Parallel processing equipment | |
| US4344130A (en) | Apparatus to execute DMA transfer between computing devices using a block move instruction | |
| EP0217479A2 (en) | Information processing unit | |
| JPS621047A (en) | Semiconductor device containing memory circuit | |
| JPS6243747A (en) | dual port memory controller | |
| US5349693A (en) | Control circuit for digital data transfer | |
| JP2000207281A (en) | Processor and method for data processing | |
| KR100261154B1 (en) | Dma controller | |
| JPH0447920B2 (en) | ||
| JPS60123952A (en) | Input-output controlling system | |
| JP2687679B2 (en) | Program development equipment | |
| JP3436497B2 (en) | Memory access circuit | |
| KR920003845B1 (en) | Rom region expansion system for users of pc | |
| JPH03171497A (en) | Data processor | |
| JPH023164A (en) | dual port memory | |
| KR900009212Y1 (en) | Address controller | |
| KR860003535Y1 (en) | Control Logic Circuit with Dual Port | |
| JPH0160864B2 (en) | ||
| JPS60189043A (en) | processor | |
| JPS6095667A (en) | High speed access system in external address space | |
| JPH03191487A (en) | Single chip microcomputer | |
| JPH03163651A (en) | Interruption generating circuit for dual port memory | |
| JPH04177697A (en) | Semiconductor memory | |
| JPS63313251A (en) | addressing circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |