JPS6197759A - Memory control system - Google Patents
Memory control systemInfo
- Publication number
- JPS6197759A JPS6197759A JP21887584A JP21887584A JPS6197759A JP S6197759 A JPS6197759 A JP S6197759A JP 21887584 A JP21887584 A JP 21887584A JP 21887584 A JP21887584 A JP 21887584A JP S6197759 A JPS6197759 A JP S6197759A
- Authority
- JP
- Japan
- Prior art keywords
- address
- bus
- upper address
- data
- latch circuit
- 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
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、上位アドレス変化時のみデータバス経由で
上位アドレスを転送して下位アドレスとともに拡張アド
レスを構成するメモリ制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory control system in which an upper address is transferred via a data bus only when the upper address changes to form an extended address together with the lower address.
第2図および第3図は従来のCPσ/メモリの構成を示
すもので、図中(1)はCPU、(2)はメモリ、(8
)はデータバス、(4)はアドレスバス、(5)はアド
レス/データマルチプレクサパスで、アドレスとデータ
とが時分割で出力される。(6)は上記アドレス/デー
タマルチプレクサバス(6)上のアドレスをラッチする
アドレスラッチ回路、(6)はその出力で、アドレスバ
スを構成している。Figures 2 and 3 show the configuration of a conventional CPσ/memory, in which (1) is the CPU, (2) is the memory, and (8) is the CPU.
) is a data bus, (4) is an address bus, and (5) is an address/data multiplexer path, through which addresses and data are output in a time-division manner. (6) is an address latch circuit that latches the address on the address/data multiplexer bus (6), and (6) is its output, forming an address bus.
次に動作について説明する。Next, the operation will be explained.
第2図は一般的に使用されるCPσ/メモリの構成を示
し、CP U (1)から出力されたアドレスおよびデ
ータは、アドレスバス(4)およびデータバス(8)を
介して各別に伝送され、データはメモリ(2)に格納さ
れる。Figure 2 shows the configuration of a commonly used CPσ/memory, in which addresses and data output from the CPU (1) are transmitted separately via an address bus (4) and a data bus (8). , the data is stored in memory (2).
一方、第3図はデータバス、アドレスバス兼用のマルチ
プレクサバスを用いたもので、CPU(1)からアドレ
スおよびデータを時分割で出力してアドレス/データマ
ルチプレクサバス(5)を介して伝送し、このバス(6
)上のアドレスをアドレスラッチ回路(6)でラッチし
、上記マルチプレクサバス(5)上のデータをメモリ(
2)に格納する0
〔発明が解決、しようとする問題点〕
従来方式は以上のように構成され、第2図に示す方式の
場合には、アドレスが増えるに従って信号線の本数を増
やす必要があり、また第6図に示す方式の場合には、処
理速度が遅くなるという問題がある。On the other hand, FIG. 3 uses a multiplexer bus that serves as both a data bus and an address bus, and the CPU (1) outputs addresses and data in a time-division manner and transmits them via the address/data multiplexer bus (5). This bus (6
) is latched by the address latch circuit (6), and the data on the multiplexer bus (5) is transferred to the memory (
2) [Problems to be solved by the invention] The conventional system is configured as described above, and in the case of the system shown in Figure 2, it is necessary to increase the number of signal lines as the number of addresses increases. However, in the case of the method shown in FIG. 6, there is a problem that the processing speed is slow.
この発明はかかる問題点を解決するためになされたもの
で、アドレスを拡張した場合にもアドレスバスの信号線
の本数を少なくすることができ、しかも処理速度の遅れ
を可及的少なくすることができるメモリ制御方式を得る
ことを目的とする0〔問題点を解決するための手段〕
この発明に係るメモリ制御方式は、下位アドレス伝送用
のアドレスバスと、上位アドレス伝送用の上位アドレス
バスと、上位アドレスバス上の上位アドレスをラッチす
る第1ラッチ回路と、第1ラッチ回路でラッチされた上
位アドレスと上位アドレスバス上の上位アドレス値との
一致、不一致を比較する比較器と、比較器からの不一致
出力信号により開となり上位アドレスバス上の上位アド
レスをデータバスを介して伝送するゲートと、データバ
ス上の上位アドレスをラッチする第2ラッチ回路とを備
え、上記アドレスバス上の下位アドレスと第2ラッチ回
路にラッチされた上位アドレスとにより拡張アドレスを
構成してデータバス上のデータをメモリに格納するよう
にしたものである0
〔作用〕
この発明においては、上位アドレス変化時のみデータバ
スをアドレメケして使用するので、処理速度の遅れを可
及的少なくすることが可能となり、またデータバスを上
位アドレスバスとして用いるコトにヨリ、アドレスバス
の信号線の本数を少なくすることが可能となる。This invention was made in order to solve such problems, and it is possible to reduce the number of signal lines of the address bus even when the address is expanded, and to reduce the delay in processing speed as much as possible. [Means for solving the problem] A memory control method according to the present invention has an address bus for transmitting lower addresses, an upper address bus for transmitting upper addresses, A first latch circuit that latches the upper address on the upper address bus, a comparator that compares the match or mismatch between the upper address latched by the first latch circuit and the upper address value on the upper address bus, and from the comparator. A gate that is opened in response to a mismatch output signal and transmits the upper address on the upper address bus via the data bus, and a second latch circuit that latches the upper address on the data bus, and the lower address on the address bus and The data on the data bus is stored in the memory by forming an extended address with the upper address latched by the second latch circuit.0 [Operation] In this invention, the data bus is Since it is used with address mapping, it is possible to reduce delays in processing speed as much as possible, and in addition to using the data bus as the upper address bus, it is also possible to reduce the number of signal lines for the address bus. Become.
第1図はこの発明の一実施例を示すもので、図中第2図
および第3図と同一符号は同−又は相当部分を示す。(
7)は上位アドレス変化時のみ使用される上位アドレス
バス、(8)は上位アドレス(7)上の上位アドレスを
ラッチするラッチ回路、(8a)はその出力、(9)は
出力(8a)と上位アドレスバス(7)上の上位アドレ
ス値とがある条件を満たしているかどうか、換言すれば
両信号値が一致しているか否かを比較判断する比較回路
、(9a)はその出力、α0)は出力(9a)により開
閉制御されるゲートで、ゲートα@が開かれると上位ア
ドレスバス(7ン上の上位アドレスがデータバス(8)
上に出力される。0℃はデータバス(3)上の上位アド
レスをラッチするラッチ回路、(11a) ijその出
力で、上位アドレスバスとなってアドレスバス(4)と
ともンこ拡張されたアドレスバスを構成する。FIG. 1 shows an embodiment of the present invention, and the same reference numerals as in FIGS. 2 and 3 indicate the same or corresponding parts. (
7) is an upper address bus used only when the upper address changes, (8) is a latch circuit that latches the upper address above upper address (7), (8a) is its output, and (9) is the output (8a). A comparator circuit that compares and determines whether the upper address value on the upper address bus (7) satisfies a certain condition, in other words, whether the two signal values match or not; (9a) is its output, α0) is a gate whose opening/closing is controlled by the output (9a), and when gate α@ is opened, the upper address on the upper address bus (7) is connected to the data bus (8).
is output above. 0° C. is a latch circuit (11a) ij that latches the upper address on the data bus (3), and its output becomes the upper address bus and constitutes an expanded address bus together with the address bus (4).
次に動作について説明する。まず、上位アドレスバス(
ア)上の適当なアドレスをラッチ回路(8)、C11)
で上位アドレスとして予めラッチしておく0この状態で
c p a (1)からメモリ(2)にデータの伝送を
行なう。すると、上位アドレスバス(7)上にはCPU
(1)から上位アドレスが出力される。この上位アドレ
スは、比較回路(9)によりラッチ回路(8)の出力(
8a)と比較され、両値が不一致である場合、換言すれ
ばアドレスバス(4)上で示し得る最大アドレスを超え
るという条件を満たしている場合には、比較回路(9)
の出力(9a)によりグー) (10)が開き、上位ア
ドレスバス(7)上の上位アドレスはデータバス(8)
上に出力されるとともに、ラッチ回路(8)は上位アド
レスバス(7)上の上位アドレス値をラッチする。Next, the operation will be explained. First, the upper address bus (
a) Latch the appropriate address on the circuit (8), C11)
In this state, data is transmitted from c p a (1) to memory (2). Then, there is a CPU on the upper address bus (7).
The upper address is output from (1). This upper address is determined by the comparator circuit (9) as the output of the latch circuit (8) (
8a), and if the two values do not match, in other words, if the condition of exceeding the maximum address that can be indicated on the address bus (4) is satisfied, the comparison circuit (9)
The output (9a) opens the goo (10), and the upper address on the upper address bus (7) is connected to the data bus (8).
At the same time, the latch circuit (8) latches the upper address value on the upper address bus (7).
その後、データバス(8)上の上位アドレスは、適当な
タイミングによってラッチ回路α℃によりラッチされ、
その出力(11a)とアドレスバス(4)とによって拡
張アドレスバスが構成される。Thereafter, the upper address on the data bus (8) is latched by the latch circuit α℃ at an appropriate timing.
The output (11a) and the address bus (4) constitute an extended address bus.
一方、上記比較回路(9)において上記条件をf4たし
ていないと判断した場合、すなわちCP U (1)か
ら出力されるアドレスがアドレスバス(4)で示し得る
最大アドレスを超えていない場合には、ゲート叫は閉じ
たままの状態が維持され、第2図に示す従来のパス構成
と同一の動作となる。On the other hand, when the comparison circuit (9) judges that the above condition is not satisfied f4, that is, when the address output from the CPU (1) does not exceed the maximum address that can be indicated by the address bus (4), In this case, the gate signal remains closed, resulting in the same operation as the conventional path configuration shown in FIG.
なお上記実施例では特に説明しなかったが、アドレスバ
ス(4)とラッチ回路αηの出力(11a)とは、その
信号線の本数が相互に同一である必要は必ずしもなく、
相互に異なっていてもよい。Although not specifically explained in the above embodiment, the address bus (4) and the output (11a) of the latch circuit αη do not necessarily have to have the same number of signal lines.
They may be different from each other.
以上説明したようKこの発明によれば、上位アドレスの
変化時のみデータバスを上位アドレスバスとして用いる
ので、上位アドレスが変化しない領域内においては、第
2図に示す従来方式と同様の動作となり、アドレスが拡
張された時のみラッチ方式となるので、第3図に示す従
来の方式に比較してオーバーヘッドが小さい。また第2
図に示す従来の方式においてアドレスを拡張した場合よ
りも信号線の本数を少なくすることができるという効果
がある。As explained above, according to this invention, the data bus is used as the upper address bus only when the upper address changes, so in the area where the upper address does not change, the operation is similar to the conventional method shown in FIG. Since the latch method is used only when the address is extended, the overhead is smaller than the conventional method shown in FIG. Also the second
This has the advantage that the number of signal lines can be reduced compared to the case where addresses are extended in the conventional method shown in the figure.
第1図はこの発明の一実施例を示すメモリ制御方式の構
成図、第2図および第3図は従来のメモリ、制御方式を
それぞれ示す第1図相当図である。
(1)・・c P U (2)・・メそり(8
)・・データバス (4)争・アドレスバス(γ)−
参上位アドレスバス
(8)、C11)・・ラッチ回路
(9)・・比較回路 (10)・・ゲートなお、各
図中、同一符号は同−又は相当部分を示すものとする。FIG. 1 is a block diagram of a memory control method showing an embodiment of the present invention, and FIGS. 2 and 3 are diagrams corresponding to FIG. 1 showing conventional memory and control methods, respectively. (1)... c P U (2)... Mesori (8
)...Data bus (4) Contention/Address bus (γ) -
Reference address bus (8), C11) Latch circuit (9) Comparison circuit (10) Gate Note that in each figure, the same reference numerals indicate the same or equivalent parts.
Claims (1)
送用の上位アドレスバスと、上位アドレスバス上の上位
アドレスをラッチする第1ラッチ回路と、第1ラッチ回
路でラッチされた上位アドレスと上位アドレスバス上の
上位アドレス値との一致、不一致を比較する比較器と、
比較器からの不一致出力信号により開となり上位アドレ
スバス上の上位アドレスをデータバスを介して伝送する
ゲートと、データバス上の上位アドレスをラッチする第
2ラッチ回路とを備え、上記アドレスバス上の下位アド
レスと第2ラッチ回路にラッチされた上位アドレスとに
より拡張アドレスを構成してデータバス上のデータをメ
モリに格納することを特徴とするメモリ制御方式。An address bus for transmitting a lower address, an upper address bus for transmitting an upper address, a first latch circuit that latches the upper address on the upper address bus, and an upper address latched by the first latch circuit and a higher address bus on the upper address bus. a comparator that compares the match or mismatch with the upper address value of
It includes a gate that opens in response to a mismatch output signal from the comparator and transmits the upper address on the upper address bus via the data bus, and a second latch circuit that latches the upper address on the data bus. A memory control method characterized in that a lower address and an upper address latched by a second latch circuit constitute an extended address and data on a data bus is stored in a memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21887584A JPS6197759A (en) | 1984-10-18 | 1984-10-18 | Memory control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21887584A JPS6197759A (en) | 1984-10-18 | 1984-10-18 | Memory control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6197759A true JPS6197759A (en) | 1986-05-16 |
Family
ID=16726672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP21887584A Pending JPS6197759A (en) | 1984-10-18 | 1984-10-18 | Memory control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6197759A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0628314A (en) * | 1991-04-24 | 1994-02-04 | Internatl Business Mach Corp <Ibm> | Data processing system provided with address decoder supporting wide range of operating frequency |
-
1984
- 1984-10-18 JP JP21887584A patent/JPS6197759A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0628314A (en) * | 1991-04-24 | 1994-02-04 | Internatl Business Mach Corp <Ibm> | Data processing system provided with address decoder supporting wide range of operating frequency |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6197759A (en) | Memory control system | |
JPS5833766A (en) | Multi-microcomputer | |
JPH0636054A (en) | One-chip microcomputer | |
KR910009906B1 (en) | Method and circuit for triple memory | |
JPS6130300B2 (en) | ||
JPH0454522Y2 (en) | ||
JPS59133639A (en) | Data transfer system | |
JP2557066B2 (en) | Priority control circuit | |
JPH04135268A (en) | Multi-cpu system | |
JPS58101361A (en) | Data processor | |
JPS605492A (en) | Address buffer circuit of semiconductor memory device | |
JPS6375960A (en) | Bus control system | |
JPS6133558A (en) | Input/output control circuit of computer | |
JPS61217859A (en) | Data transfer system | |
JPS60189558A (en) | Address information output system | |
JPS62174843A (en) | Switching system for memory priority | |
JPS6214866B2 (en) | ||
JPH05135188A (en) | Microcomputer | |
JPS628243A (en) | Cache memory | |
JPH04333152A (en) | Address generating circuit | |
JPS57117035A (en) | Data transfer device of asynchronous device | |
JPH05233437A (en) | Memory sharing type multiprocessor system | |
JPH035863A (en) | Digital system | |
JPH04288654A (en) | Data transmission system | |
JPH0495295A (en) | Memory circuit |