JPS63205751A - Bus controller - Google Patents

Bus controller

Info

Publication number
JPS63205751A
JPS63205751A JP62039581A JP3958187A JPS63205751A JP S63205751 A JPS63205751 A JP S63205751A JP 62039581 A JP62039581 A JP 62039581A JP 3958187 A JP3958187 A JP 3958187A JP S63205751 A JPS63205751 A JP S63205751A
Authority
JP
Japan
Prior art keywords
control signal
address
bus
memory
access
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
JP62039581A
Other languages
Japanese (ja)
Inventor
Koichi Tanaka
幸一 田中
Kiichiro Tamaru
田丸 喜一郎
Akiyoshi Kanuma
加沼 安喜良
Yasuo Yamada
泰生 山田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP62039581A priority Critical patent/JPS63205751A/en
Publication of JPS63205751A publication Critical patent/JPS63205751A/en
Priority to US07/870,758 priority patent/US5325513A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Abstract

PURPOSE:To realize the titled controller without necessitating an additional circuit or by providing only a few additional circuits, by providing a common data bus and an address bus between a data processing means and each access object means, and also, providing a control signal line corresponding to the kind of respective access object means. CONSTITUTION:A data processing means (processor) 11 supplies an access control signal to plural timing signal generating circuits 13A-13C. On the other hand, the processor 11 supplies access object discriminating information to a memory kind deciding circuit 12. The timing signal generating circuits 13A-13C which have been started by the memory kind deciding circuit 12 converts the access control signal to a control signal conforming to its access object means (memory ICs) 20A-20C. In prescribed memory ICs 20A-20C to which this control signal is supplied, an address signal and data are sent and received to and from the processor 11 through an address bus 21 and a data bus 22. In such a way, in case of connecting plural memory ICs 20A-20C whose kinds are different to the processor 11, it can be realized without necessitating an additional circuit at all or by providing only a fed additional circuits.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明はデータ処理装置と、このデータ処理装置のア
クセス対象となる記憶装置、周辺装置、他のデータ処理
装置とを接続するデータ・バス、アドレス・バス及び各
種制御信号バスの制御を行なうバス制御装置に係り、特
にアクセス対象装置のアクセス制御方式がそれぞれの装
置で異なる場合であっても、バスの接続に要する付加回
路を簡素化できるようにしたものである。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) This invention connects a data processing device and a storage device, peripheral device, or other data processing device that is accessed by this data processing device. Regarding bus control devices that control data buses, address buses, and various control signal buses, in particular, additional circuits required for bus connection even if the access control methods of the devices to be accessed are different for each device. It is designed to simplify the .

(従来の技術) 従来のデータ装置、例えばプロセッサ等では、外部メモ
リ、周辺装置、または種別が異なる他のプロセッサを接
続する際に、両者間のバス信号としてアクセス対象装置
の種別に依存しない独自の汎用的な制御方式を定めるか
、または特にメモリを対象とした場合にはそのメモリに
のみ適合した信号と制御方式とを定める等の手法が採用
されている。特に後者の方式は極めて特殊な用途におい
て、接続に要する付加回路を最少限に押えることができ
るため好まれている。
(Prior Art) In conventional data devices, such as processors, when connecting external memory, peripheral devices, or other processors of different types, a unique bus signal that does not depend on the type of the device to be accessed is used as a bus signal between the two. Techniques have been adopted, such as determining a general-purpose control method, or, in the case of a memory in particular, determining a signal and control method suitable only for that memory. The latter method is particularly preferred in very specific applications because it minimizes the additional circuitry required for connection.

ところで、ネットワーク制御装置等においては、ROM
に記憶されたプログラムと大量の書込み、読出し用デー
タとが共存する場合や、初期化プログラムのみをROM
として実装し、本来実行すべきプログラムを他の装置か
ら初期化プログラムを用いて読み込む場合等のように、
複数の種類のメモリ、例えばROM、スタティック型R
AM、ダイナミック型RAM等が゛混在することがある
。このような用途では、前記のような特定メモリにのみ
適合した制御方式を利用することはできない。
By the way, in network control devices etc., ROM
When programs stored in the ROM coexist with large amounts of writing and reading data, or when only the initialization program is stored in the ROM.
For example, when a program that should be executed is read from another device using an initialization program, etc.
Multiple types of memory, e.g. ROM, static type R
AM, dynamic RAM, etc. may be mixed. In such applications, it is not possible to use a control method suitable only for a specific memory as described above.

従って、この場合には汎用的な制御方式を持つプロセッ
サを用い、メモリ側でそのメモリに適合した制御信号を
作成するための回路を付加する必要がある。この付加回
路は構成が複雑であり、しかもメモリ側に設けているの
で、ネットワーク制御装置を構成する際に部品点数や実
装面積が増加するのみならず、付加回路の動作遅延時間
のために高速なメモリアクセスが実現できないという問
題がある。
Therefore, in this case, it is necessary to use a processor with a general-purpose control method and add a circuit on the memory side to create a control signal suitable for the memory. This additional circuit has a complex configuration and is provided on the memory side, which not only increases the number of parts and mounting area when configuring the network control device, but also increases the speed due to the operation delay time of the additional circuit. There is a problem that memory access cannot be realized.

また、あえて特定メモリ向けの制御方式を使用する場合
には、対象となるメモリの種類に応じてアドレス信号の
出力方法や制御信号が異なるため、多数のバス制御信号
線が必要となる。このため、このような方式では外部端
子の本数に制限があるプロセッサICでは採用すること
ができない。ざらに、同様の問題が周辺装置や他のプロ
セッサとの接続において問題となっている。
Furthermore, if a control method for a specific memory is used, a large number of bus control signal lines will be required because the address signal output method and control signals will differ depending on the type of target memory. Therefore, such a method cannot be used in a processor IC that has a limited number of external terminals. Broadly speaking, similar problems arise with connections to peripherals and other processors.

(発明が解決しようとする問題点) このように従来では、データ処理装置に種別が異なる複
数のアクセス対象装置を接続する場合に、付加回路すべ
き回路の構成が複雑となり、装置全体を構成する際に部
品点数や実装面積が増加する共に^速なメモリアクセス
を実現することができないという欠点がある。
(Problems to be Solved by the Invention) Conventionally, when connecting a plurality of access target devices of different types to a data processing device, the configuration of the circuit to be added becomes complicated, and the configuration of the entire device becomes complicated. However, the disadvantage is that the number of components and mounting area increase, and fast memory access cannot be achieved.

この発明は上記のような事情を考慮してなされたもので
あり、その目的は、データ処理装置に種別が異なる複数
のアクセス対象装置を接続する場合に、付加回路を全く
必要しないかもしくはわずかな付加回路を設けることに
よって実現でき、かつ高速アクセスが実現できるバス制
w+i装置を提供することにある。
This invention has been made in consideration of the above circumstances, and its purpose is to eliminate the need for additional circuits or to require only a small amount of additional circuitry when connecting multiple access target devices of different types to a data processing device. It is an object of the present invention to provide a bus-based w+i device which can be realized by providing an additional circuit and which can realize high-speed access.

[発明の構成] (問題点を解決するための手段) この発明のバス制御装置は、データ処理手段と、上記デ
ータ処理手段のアクセス対象となる種別が異なる複数の
アクセス対象手段と、上記データ処理手段と上記各アク
セス対象手段との間に設けられた共通のデータ・バス及
びアドレス・バスと、上記各アクセス対象手段の種別に
応じたi制御信号線を有し、上記データ処理手段からア
クセスIll III信号が入力された際にこのアクセ
ス制御信号を対応するアクセス対象手段に適合した制御
信号に変換して供給する複数の制御信号発生手段と、上
記データ処理手段から出力されるアクセス対象識別情報
に基づきアクセスすべきアクセス対象手段を判定し、そ
のアクセス対象手段に対応した上記制御信号発生手段を
選択的に起動させる対象種別判定手段とから構成されて
いる。
[Structure of the Invention] (Means for Solving the Problems) A bus control device of the present invention includes a data processing means, a plurality of access target means having different types of access targets of the data processing means, and a bus control device of the present invention. A common data bus and an address bus are provided between the data processing means and each of the access target means, and an i control signal line corresponding to the type of each of the access target means, and A plurality of control signal generating means converting and supplying the access control signal into a control signal suitable for the corresponding access target means when the III signal is input, and access target identification information output from the data processing means. and object type determining means for determining the access target means to be accessed based on the access target means and selectively activating the control signal generating means corresponding to the access target means.

(作用) データ処理手段がある特定のアクセス対象手段をアクセ
スする際に、データ処理手段は複数の制御信号発生手段
に対してアクセス制御信号を供給する。他方、データ処
理手段はアクセス対象識別情報を対象種別判定手段に供
給する。対象種別判定手段はこのアクセス対象識別情報
に基づきアクセスすべきアクセス対象手段を判定し、そ
のアクセス対象手段に対応した上記制御信号発生手段を
選択的に起動させる。対象種別判定手段によって起動さ
れた制御信号発生手段は上記アクセス制御信号をそのア
クセス対象手段に適合した制御信号に変換する。この制
御信号が供給される特定のアクセス対象手段では、アド
レス・バス及びデータ・バスを介してアドレス信号及び
データの授受がデータ処理手段との間で行なわれる。
(Operation) When the data processing means accesses a specific access target means, the data processing means supplies access control signals to the plurality of control signal generation means. On the other hand, the data processing means supplies the access object identification information to the object type determination means. The target type determining means determines the access target means to be accessed based on the access target identification information, and selectively activates the control signal generating means corresponding to the access target means. The control signal generation means activated by the object type determining means converts the access control signal into a control signal suitable for the access object means. A specific access target means to which this control signal is supplied exchanges address signals and data with the data processing means via an address bus and a data bus.

(実施例) 以下、図面を参照してこの発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図はこの発明の第1の実施例の構成を示すブロック
図であり、特にアクセス対象として種別が異なる複数個
のメモリを使用した場合のものである。
FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention, particularly when a plurality of memories of different types are used as access targets.

図において、10はプロセッサICであり、20A 。In the figure, 10 is a processor IC, 20A.

20B、 20CはそれぞれこのプロセッサICでアク
セスされ、互いに種別が異なる外部のメモリICである
。プロセッサIC10はプロセッサ11、メモリ種別判
定回路12及び上記3個のメモリI C20A 。
20B and 20C are external memory ICs that are accessed by this processor IC and are of different types. The processor IC 10 includes a processor 11, a memory type determination circuit 12, and the three memory ICs 20A.

20B、20Cに対応して設けられたタイミング信号発
生回路13A、 13B、 13Cとから構成されてい
る。
It is composed of timing signal generation circuits 13A, 13B, and 13C provided corresponding to 20B and 20C.

プロセッサ11はメモリI C20A 、 208 、
20Gをアクセスし、これらメモリICから読み出され
たデータを処理しかつ処理後のデータをメモリIcに書
き込む装置である。このプロセッサ11はアクセスすべ
きアドレス信号を作成して外部に出力し、かつアクセス
対象を特定するためのメモリ識別情報をメモリ種別判定
回路12に出力する。さらに、プロセッサ11はアクセ
ス制御信号を3個のタイミング発生回路13A、 13
8.130に出力する。プロセッサ11は各タイミング
発生回路13から出力されるアクセス終了信号によりメ
モリアクセス動作を終了する。さらに、アクセスを開始
するに先立ち、プロセッサ11はメモリ種別判定回路1
2に対しメモリ種別情報とアクセス対象メモリの識別情
報を設定する。
The processor 11 has memory ICs 20A, 208,
This is a device that accesses 20G, processes the data read from these memory ICs, and writes the processed data to the memory IC. This processor 11 creates an address signal to be accessed and outputs it to the outside, and also outputs memory identification information for specifying the access target to the memory type determination circuit 12. Furthermore, the processor 11 sends access control signals to three timing generation circuits 13A, 13.
8. Output at 130. The processor 11 ends the memory access operation in response to the access end signal output from each timing generation circuit 13. Furthermore, before starting the access, the processor 11
2, set memory type information and identification information of the memory to be accessed.

メモリ種別判定回路12は、プロセッサ11により設定
されたメモリ種別情報を保持し、その模、プロセッサ1
1が出力したメモリ識別情報との比較を行なってアクセ
ス対象メモリの種別を判定し、該当するメモリIC20
のタイミング制御信号発生回路13を選択的に起動させ
る。起動されたタイミング制御信号発生回路13はプロ
セッサ11からのアクセス制御信号をそれぞ−れのメモ
リIcに適合した制御信号に変換し、適切なタイミング
で出力する。
The memory type determination circuit 12 holds memory type information set by the processor 11, and the memory type determination circuit 12 retains memory type information set by the processor 11.
The type of the memory to be accessed is determined by comparing it with the memory identification information output by the memory IC 20.
selectively activates the timing control signal generation circuit 13 of. The activated timing control signal generation circuit 13 converts the access control signal from the processor 11 into a control signal suitable for each memory IC and outputs it at an appropriate timing.

メモリI C20A、 208.200は上記プロセッ
サICl0とは、それぞれ1系統のアドレスバス21と
データ・バス22とで接続されており、かつ上記タイミ
ング制御信号発生回路13A、 13B、 13Cとは
各制御信号線23A、 23B、 23Cで接続されて
いる。
The memory ICs 20A, 208.200 are connected to the processor IC10 by one system of address bus 21 and one data bus 22, respectively, and the timing control signal generation circuits 13A, 13B, 13C are connected to each control signal. They are connected by wires 23A, 23B, and 23C.

このような構成において、プロセッサ11がメモリIC
20をアクセスする際に出力、するメモリ識別情報に基
づき、メモリ種別判定回路12が該当するタイミング信
号発生回路13を起動し、起動したタイミング信号発生
回路13はプロセッサ11が出力するアクセス制御信号
を対応するメモリKC20に適合した制御信号に変換し
て制御信号線23に出力する。メモリIC20はこの制
御信号に基づいて動作が制御され、上記アドレス・バス
21に出力されているアドレス信号に基づいてアドレス
指定を行ない、データ・バス22を介してプロセッサ1
1との間でデータの授受を行なう。メモリIC20の動
作が終了すると、いままで制御信号を出力していたタイ
ミング信号発生回路13は終了信号をプロセッサ゛11
に返す。これにより、プロセッサ11のメモリアクセス
動作が完了する。
In such a configuration, the processor 11 is a memory IC.
Based on the memory identification information output when accessing 20, the memory type determination circuit 12 activates the corresponding timing signal generation circuit 13, and the activated timing signal generation circuit 13 responds to the access control signal output from the processor 11. The control signal is converted into a control signal suitable for the memory KC20 and output to the control signal line 23. The operation of the memory IC 20 is controlled based on this control signal, and addresses are specified based on the address signal output to the address bus 21, and the memory IC 20 is connected to the processor 1 via the data bus 22.
Data is exchanged with 1. When the operation of the memory IC 20 is completed, the timing signal generation circuit 13 that has been outputting the control signal outputs the completion signal to the processor 11.
Return to. This completes the memory access operation of the processor 11.

上記実施例装置によれば、メモリのアクセス開開時に、
メモリ種別判定回路12がアクセスすべきメモリ種別を
判定するので、プロセッサ11はアクセスしているメモ
リの種別に無関係にデータの読出し及び■き込みを行な
うことができる。
According to the above embodiment device, when opening and opening access to the memory,
Since the memory type determination circuit 12 determines the type of memory to be accessed, the processor 11 can read and write data regardless of the type of memory being accessed.

さらに、プロセッサIC10側にのみメモリ種別判定回
路12とアクセスすべきメモリIC20に対応した数の
タイミング信号発生回路13を設ければよく、メモリI
C20側には付加回路を設ける必要がない。このため、
各メモリIC20として従来の汎用メモリICをそのま
まプロセッサIC10に接続することができ、プロセッ
サ1c10とメモリ1C20以外には付加回路は不要で
ある。また、両IC闇には余計な回路がないので、高速
アクセスが実現される。
Furthermore, it is only necessary to provide the memory type determination circuit 12 and the number of timing signal generation circuits 13 corresponding to the memory ICs 20 to be accessed only on the processor IC 10 side.
There is no need to provide an additional circuit on the C20 side. For this reason,
A conventional general-purpose memory IC can be directly connected to the processor IC 10 as each memory IC 20, and no additional circuits are required other than the processor 1c10 and the memory 1c20. Furthermore, since there is no unnecessary circuit behind both ICs, high-speed access is achieved.

またさらに、種別が異なる複数のメモリl020に対し
て共通のアドレス・バス21を使用することができ、各
メモリIC毎に独立したアドレス・バスを設ける必要が
ないので、プロセッサICl0の外部端子数の増加を招
くこともない。
Furthermore, since a common address bus 21 can be used for multiple memories l020 of different types and there is no need to provide an independent address bus for each memory IC, the number of external terminals of the processor ICl0 can be reduced. It will not cause an increase.

第1の実施例をより具体的に説明するため、特に特定用
途向きのバス制御装置にこの発明を実施した場合の例を
第2図のブロック図を参照して説明する。この第2の実
施例装置では、アクセス対象メモリIC20としてダイ
ナミック型RAMのRAM>20aとスタティック型R
AM(SRAM)20bの2個のメモリICを使用する
ようにしたものであり、さらにメモリ種別情報としてプ
ロセッサ11が出力するアドレス信号を使用するように
したものである。
In order to explain the first embodiment more specifically, an example in which the present invention is implemented in a bus control device particularly suited for a specific application will be explained with reference to the block diagram of FIG. 2. In this second embodiment device, as the memory IC 20 to be accessed, a dynamic RAM RAM>20a and a static type R
Two memory ICs, AM (SRAM) 20b, are used, and an address signal output from the processor 11 is used as memory type information.

プロセッサIC10はプロセッサ11、メモリ種別判定
回路12、DRAMタイミング信号発生回路13a及び
SRAMタイミング信号発生回路13bとから構成され
ている。ここで、プロセッサICl0の内部にはPAO
−PA20からなる21ビット分の内部アドレス・バス
14が設けられており、この内部アドレス・バス14は
プロセッサIC10内部に設けられたアドレス・マルチ
プレクサ15を介して外部アドレス・バス21と接続さ
れている。ここで、上記外部アドレス・バス21として
AO〜A15の16ビット分が設けられており、DRA
M20aにはそのうちのAo〜A9の10ビット分のみ
が接続されている。
The processor IC 10 includes a processor 11, a memory type determination circuit 12, a DRAM timing signal generation circuit 13a, and an SRAM timing signal generation circuit 13b. Here, the PAO is inside the processor ICl0.
- A 21-bit internal address bus 14 consisting of a PA 20 is provided, and this internal address bus 14 is connected to an external address bus 21 via an address multiplexer 15 provided inside the processor IC 10. . Here, 16 bits of AO to A15 are provided as the external address bus 21, and the DRA
Of these, only 10 bits Ao to A9 are connected to M20a.

プロセッサ11は上記21ビツトの内部アドレス・バス
14にアドレス信号を出力すると共に、アクセス制御信
号としてデータの読み出しまたは書き込みを示すRW倍
信号出力する。
The processor 11 outputs an address signal to the 21-bit internal address bus 14, and also outputs an RW times signal indicating data read or write as an access control signal.

ここで、プロセッサ11がアクセス可能なメモリ領域は
、第3図に示すように16進数によって表現されたro
00000J番地から N FFFFFJ番地FF上し、このうちro0000
0J番地からr0OFFFFJ番地までの64にバイト
分の領域1はSRAM20bに対応しており、rloo
ooOJ番地からrI FFFFFJ番地FF上1Mバ
イト分の領域2はDRAM20aに対応しているとする
Here, the memory area accessible by the processor 11 is ro expressed in hexadecimal as shown in FIG.
From address 00000J to NFFFFFFJ address FF, of which ro0000
Area 1 of 64 bytes from address 0J to address r0OFFFFJ corresponds to SRAM20b, and rloo
It is assumed that a 1 Mbyte area 2 on the FF from address ooOJ to address rIFFFFFJ corresponds to the DRAM 20a.

この場合、プロセッサ11からメモリ種別判定回路12
に入力されるアクセス対象メモリの識別情報として、上
記内部アドレス・バス14の最上位ビット信号PA20
が使用される。また、メモリ種別判定回路12において
、プロセッサ11により設定されるメモリ種別情報は第
3図に示すようなアドレスの関係である。そしてメモリ
種別判定回路12は、プロセッサ11により設定された
第3図のアドレスの関係と、プロセッサ11が出力した
アドレス信号(PA20>との比較を行なって対象メモ
リの種別を判定し、この判定結果に基づいてDRAMタ
イミング信号発生回路13aとSRAMタイミング信号
発生回路13bのいずれかを選択的に起動させると共に
、アドレス・マルチプレクサ15に対し種別判定された
対象メモリ区別を示すモード信号MODEを出力する。
In this case, from the processor 11 to the memory type determination circuit 12
The most significant bit signal PA20 of the internal address bus 14 is used as the identification information of the memory to be accessed which is input to the
is used. Furthermore, in the memory type determination circuit 12, the memory type information set by the processor 11 has an address relationship as shown in FIG. Then, the memory type determination circuit 12 determines the type of the target memory by comparing the address relationship shown in FIG. Based on this, either the DRAM timing signal generation circuit 13a or the SRAM timing signal generation circuit 13b is selectively activated, and a mode signal MODE is outputted to the address multiplexer 15 to indicate the target memory distinction determined by type.

DRAMタイミング信号発生回路13aは起動後に上記
RW倍信号変換して、DRAM20aに適合した各種制
御信号を複数本からなる制御線23aに出力すると共に
、ロウ・アドレスを外部アドレス・バス21に出力する
ため、ROWOU T信号をアドレス・マルチプレクサ
15に出力する。制御線23aに出力される制御信号は
、データ書き込みのときには“L″、読み出しのときに
は“H′となるDRD信号、ロウ・アドレスが外部アド
レス・バス21に出力されていることを示すDRAS信
号及びカラム・アドレスが外部アドレス・バス21に出
力されていることを示すDCAS信号である。
After activation, the DRAM timing signal generation circuit 13a converts the RW signal and outputs various control signals suitable for the DRAM 20a to the control line 23a consisting of a plurality of lines, and also outputs the row address to the external address bus 21. , ROWOUT signals to the address multiplexer 15. The control signals output to the control line 23a include a DRD signal that is “L” when writing data and “H” when reading data, a DRAS signal that indicates that the row address is being output to the external address bus 21, and This is a DCAS signal indicating that a column address is being output to external address bus 21.

これらの制御信号はDRAM20aにライト制御信号、
ロウ・アドレス・ストローブ信号、カラム・アドレス・
ストローブ信号として供給される。また、動作終了を示
すRDY信号をプロセッサ11に返す。
These control signals are write control signals to the DRAM 20a,
Row address strobe signal, column address
Supplied as a strobe signal. Further, an RDY signal indicating the end of the operation is returned to the processor 11.

SRAMタイミング信号発生回路13bは起動後に上記
RW倍信号変換し、SRAM20bに適合した各種制御
信号を複数本からなる制御線23bに出力する。これら
の制御信号は、データ書き込みのときには“L″、読み
出しのときには“H″となるSRD信号、書き込みや読
み出しのタイミング信号となるRWT信号である。これ
らの制御信号はSRAM20bにライト制御信号、チッ
プ・セレクト信号として供給される。また、動作終了を
示すRDY信号をプロセッサ11に返す。
After startup, the SRAM timing signal generation circuit 13b performs the RW multiplication signal conversion and outputs various control signals suitable for the SRAM 20b to a plurality of control lines 23b. These control signals are an SRD signal that is "L" when writing data and "H" when reading data, and an RWT signal that is a timing signal for writing and reading. These control signals are supplied to the SRAM 20b as a write control signal and a chip select signal. Further, an RDY signal indicating the end of the operation is returned to the processor 11.

アドレス・マルチプレクサ15は、アドレス入力方式が
異なっているDRAM20a、SRAM20bの両方が
同じ外部アドレス・バス21を使用することができよう
にするため、メモリ種別判定回路12から出力されるM
ODE信号及びDRAMタイミング信号発生回路13a
から出力されるR OWOU T信号に応じて、内部ア
ドレス・バス14上のアドレスPAO−PA20を第4
図のような関係の下に外部アドレス・バス21に出力す
る。
The address multiplexer 15 uses the M output from the memory type determination circuit 12 to enable both the DRAM 20a and the SRAM 20b, which have different address input methods, to use the same external address bus 21.
ODE signal and DRAM timing signal generation circuit 13a
The address PAO-PA20 on the internal address bus 14 is set to the fourth
It is output to the external address bus 21 under the relationship shown in the figure.

すなわち、MODE信号は内部アドレスの最上位ビット
信号となっており、MODE−“L Itのときはメモ
リ種別判定回路12がSRAM20bをアクセス対象と
して判定したときである。この場合にアドレス・マルチ
プレクサ15は内部アドレス・バス14の下位10ビツ
トのアドレスPAO〜PA9及び上位6ビツトのアドレ
スPAIO〜PA15をそのまま外部アドレス・バス2
1の下位10ビツトのアドレスAO−A9及び上位6ビ
ツトのアドレスA10〜A15として出力する。
That is, the MODE signal is the most significant bit signal of the internal address, and when MODE-"L It, the memory type determination circuit 12 determines that the SRAM 20b is the access target. In this case, the address multiplexer 15 The lower 10 bits of the address PAO to PA9 and the higher 6 bits of the address PAIO to PA15 of the internal address bus 14 are directly transferred to the external address bus 2.
The lower 10 bits of 1 are output as addresses AO-A9 and the upper 6 bits are output as addresses A10 to A15.

MODE−”H”のときはメモリ種別判定回路12がD
RAM20aをアクセス対象として判定したときであり
、この場合はさらにD RA Mタイミング信号発生回
路13aからのROWOUT信号に応じて出力方法が異
なる。まず、ROWOU T −“H”のとき、アドレ
ス・マルチプレクサ15は内部アドレス・バス14の上
位10ビツトのアドレスPA10〜PA19を外部アド
レス・バス21の下位10ビツトのアドレスAO−A9
として出力する。このとき外部アドレス・バス21の上
位6ビツトには有効なアドレスは出力されない。
When MODE is “H”, the memory type determination circuit 12 is D.
This is when the RAM 20a is determined to be accessed, and in this case, the output method differs depending on the ROWOUT signal from the DRAM timing signal generation circuit 13a. First, when ROWOUT is "H", the address multiplexer 15 transfers the upper 10 bits of addresses PA10 to PA19 of the internal address bus 14 to the lower 10 bits of the address AO-A9 of the external address bus 21.
Output as . At this time, no valid address is output to the upper six bits of the external address bus 21.

ROWOUT−“し”のとき、アドレス・マルチプレク
サ15は内部アドレス・バス14の上位10ビツトのア
ドレスPAOO−PA9を外部アドレス・バス21の下
位10ビツトのアドレス入力方式〇として出力する。こ
のとき外部アドレス・バス21の上位6ビツトには有効
なアドレスは出力されない。
When ROWOUT is "ON", the address multiplexer 15 outputs the address PAOO-PA9 of the upper 10 bits of the internal address bus 14 as the address input method of the lower 10 bits of the external address bus 21. At this time, no valid address is output to the upper six bits of the external address bus 21.

上記構成でなるバス制御装置の動作を第5図ないし第8
図のタイミングチャー1−に示す。ここで、第5図と第
6図はプロセッサ11が前記第3図に示す領域1、すな
わちSRAM20bをアクセス対象として選択する場合
のものであり、第7図と第8図はプロセッサ11が前記
第3図に示す領1a2、すなわちDRAM20aをアク
セス対象として選択する場合のものである。
The operation of the bus control device having the above configuration is shown in Figures 5 to 8.
This is shown in timing chart 1- in the figure. Here, FIGS. 5 and 6 show the case where the processor 11 selects the area 1 shown in FIG. 3, that is, the SRAM 20b, as an access target, and FIGS. This is a case where the area 1a2 shown in FIG. 3, ie, the DRAM 20a, is selected as the access target.

始めに第5図のタイミングチャートで示される動作につ
いて説明する。これはプロセッサ11がSRAM20b
をアクセスしてその記憶データを読み込む場合であり、
まず、プロセッサ11はSRAM20bをアクセスする
ため、例えば内部アドレス・バス14にro01000
Jl地を出力し、読み込みを示すためにRW倍信号“H
″にする。
First, the operation shown in the timing chart of FIG. 5 will be explained. This means that the processor 11 is the SRAM 20b
When accessing and reading the stored data,
First, in order to access the SRAM 20b, the processor 11 sends, for example, ro01000 to the internal address bus 14.
Outputs Jl ground and outputs RW double signal “H” to indicate reading.
”.

メモリ種別判定回路12は入力されたアドレスPA20
がL′であることを検出し、アクセス対象メモリがSR
AM20bであると判定する。そしてこの判定結果に基
づき、アドレス・マルチプレクサ15に対して“L I
IのMODE信号を出力し、SRAMタイミング信号発
生回路13bを起動させる。
The memory type determination circuit 12 receives the input address PA20.
is L', and the memory to be accessed is SR.
It is determined that it is AM20b. Based on this determination result, “L I
A MODE signal of I is output, and the SRAM timing signal generation circuit 13b is activated.

アドレス・マルチプレクサ15は、MODE信号によっ
て区別されているアドレスの領域が前記領域1であるこ
とから、内部アドレス・バス14のPAO〜PA15を
そのまま外部アドレス・バス21に出力する。すなわち
、外部アドレス・バス21にはr1000J番地が出力
される。
Address multiplexer 15 outputs PAO to PA15 of internal address bus 14 as is to external address bus 21, since the address area distinguished by the MODE signal is area 1. That is, the address r1000J is output to the external address bus 21.

起動されたSRAMタイミング信号発生回路13bは、
RW倍信号“H”であることからSRD信号を“HII
にし、またSRAM20bの動作タイミングに合せてR
WT信号をH″にする。この後、SRAMタイミング信
号発生回路13bはSRAM20bのデータ読み出し動
作が終了したことをRDY信号をH″にすることによっ
てプロセッサ11に知らせる。他方、SRAM20bは
SRD信号とRWT信号とが共に“HIIにされた後か
ら所定時間の後に「1000」番地からデータを読み出
す。この読出しデータは、データ・バス22を介してプ
ロセッサ11に送られる。
The activated SRAM timing signal generation circuit 13b is
Since the RW double signal is “H”, the SRD signal is “HII”.
and R according to the operation timing of SRAM20b.
The WT signal is set to H''. Thereafter, the SRAM timing signal generation circuit 13b notifies the processor 11 that the data read operation of the SRAM 20b has been completed by setting the RDY signal to H''. On the other hand, the SRAM 20b reads data from address "1000" a predetermined time after both the SRD signal and the RWT signal are set to "HII". This read data is sent to processor 11 via data bus 22.

第6図のタイミングチャートで示される動作は、プロセ
ッサ11がSRAM20t)にデータの書き込みを行な
う場合のものである。この場合にも、プロセッサ11は
SRAM20bをアクセスするため、内部アドレス・バ
ス14にrhol 000J番地を出力し、書き込みデ
ータを図示しないデータ・バッファに設定すると共に書
き込みを示すためにRW倍信号“L”にする。
The operation shown in the timing chart of FIG. 6 is when the processor 11 writes data to the SRAM 20t). In this case as well, the processor 11 outputs rhol 000J address to the internal address bus 14 in order to access the SRAM 20b, sets the write data in a data buffer (not shown), and sets the RW double signal "L" to indicate writing. Make it.

このとき、内部アドレス・バス14の最上位ビットのア
ドレスPA20が“L 11であるため、第5図の場合
と同様に、SRAMタイミング信号発生回路13bが起
動され、アドレス・マルチプレクサ15は内部アドレス
・バス14のPAO〜PA15をそのまま外部アドレス
・バス21に出力する。従って、外部アドレス・バス2
1にはrlo00J番地が出力される。
At this time, since the address PA20 of the most significant bit of the internal address bus 14 is "L11," the SRAM timing signal generation circuit 13b is activated and the address multiplexer 15 is activated to output the internal address signal. PAO to PA15 on bus 14 are output as they are to external address bus 21. Therefore, external address bus 2
1, the address rlo00J is output.

起動されたSRAMタイミング信号発生回路13bは、
RW倍信号“L IIであることからSRD信号を“L
 11にし、またSRAM20bの動作タイミングに合
せてRWT信号を“Hl+にする。この後、SRAMタ
イミング信号発生回路13bはSRAM20bに対する
データ■き込み動作が終了したことをRDY信号を“H
+eにすることによってプロセッサ11に知らせる。他
方、SRAM20bはSRD信号が°″L IIに、R
WT信号が“HITにされた模から所定時間の後にr1
000J番地にデータ・バス22上のデータを1き込む
The activated SRAM timing signal generation circuit 13b is
Since the RW double signal is “L II”, the SRD signal is “L”.
11, and sets the RWT signal to "Hl+" in accordance with the operation timing of the SRAM 20b.After this, the SRAM timing signal generation circuit 13b sets the RDY signal to "H" to indicate that the data writing operation to the SRAM 20b has been completed.
+e to notify the processor 11. On the other hand, in the SRAM 20b, the SRD signal is
r1 after a predetermined time after the WT signal becomes “HIT”
Write 1 data on the data bus 22 to address 000J.

次に第7図のタイミングチャートで示される動作につい
て説明する。これはプロセッサ11がDRAM20aを
アクセスしてその記憶データを読み込む場合であり、ま
ず、プロセッサ11はSRAM20bをアクセスするた
め、例えば内部アドレス・バス14にNF1000J番
地を出力し、読み込みを示すためにRW倍信号゛H゛に
する。
Next, the operation shown in the timing chart of FIG. 7 will be explained. This is a case where the processor 11 accesses the DRAM 20a and reads the stored data. First, in order to access the SRAM 20b, the processor 11 outputs address NF1000J to the internal address bus 14, and doubles RW to indicate reading. Set the signal to ``H''.

メモリ種別判定回路12は入力されたアドレスPA20
が“HITであることを検出し、アクセス対象メモリが
DRAM20aであると判定する。そしてこの判定結果
に基づき、アドレス・マルチプレクサ15に対して“H
ITのMODE信号を出力し、かつDRAMタイミング
信号発生回路13aを起動させる。
The memory type determination circuit 12 receives the input address PA20.
detects that “HIT” and determines that the memory to be accessed is the DRAM 20a. Based on this determination result, “HIT” is sent to the address multiplexer 15.
It outputs the IT MODE signal and activates the DRAM timing signal generation circuit 13a.

起動されたDRAMタイミング信号発生回路13aは、
まずロウ・アドレスを出力するために、DRAM20a
の動作タイミングに合せてROWOtJT信号をH°′
にし、DRAS信号をL″にする。次にカラム・アドレ
スを出力するために、DRAM20aの動作タイミング
に合せてROWOUT信号を”L”にL、DCAS信号
ヲ11 L #にする。このとき、プロセッサ11から
のRW信号は°°H°°にされていることから、DRA
Mタイミング信号発生回路13a1.tDRD信号を“
H”にする。
The activated DRAM timing signal generation circuit 13a is
First, in order to output the row address, the DRAM 20a
The ROWOtJT signal is set to H°' in accordance with the operation timing of
Then, in order to output the column address, the ROWOUT signal is set to "L" and the DCAS signal is set to "L" in accordance with the operation timing of the DRAM 20a. At this time, the processor Since the RW signal from 11 is set to °°H°°, DRA
M timing signal generation circuit 13a1. tDRD signal “
Set to “H”.

アドレス・マルチプレクサ15では、MODE信号がH
”であることから、DRAMタイミング信号発生回路1
3aからのROWOUT信号が“H”17)トキ1.−
G、tPA 10〜PA 11、ROWOUT−“L゛
′のときにはPAO〜PA9をそれぞれ外部アドレス・
バス21に出力する。すなわち、DRAM20aにはロ
ウ・アドレスとカラム・アドレスとが時分割的に供給さ
れる。
In the address multiplexer 15, the MODE signal is
”, the DRAM timing signal generation circuit 1
ROWOUT signal from 3a is “H” 17) Toki 1. −
G, tPA 10 to PA 11, ROWOUT - When “L”, PAO to PA9 are respectively external addresses.
Output to bus 21. That is, row addresses and column addresses are supplied to the DRAM 20a in a time-division manner.

この後、DRAMタイミング信号発生回路13aはDR
AM20aのデータ読み出し動作が終了したことをRD
Y信号を“H”にすることによってプロセッサ11に知
らせる。他方、DRAM20bはDRAS信号とDCA
S信号が共に“L”にされ、かつDRD信号が“H”に
された後から所定時間の後にrF1000J番地からデ
ータを読み出す。
After this, the DRAM timing signal generation circuit 13a
RD indicates that the data read operation of AM20a is completed.
The processor 11 is notified by setting the Y signal to "H". On the other hand, the DRAM 20b receives the DRAS signal and the DCA signal.
Data is read from address rF1000J a predetermined time after both the S signals are set to "L" and the DRD signal is set to "H".

この読出しデータは、データ・バス22を介してプロセ
ッサ11に送られる。
This read data is sent to processor 11 via data bus 22.

第8図のタイミングチャートで示される動作は、プロセ
ッサ11がDRAM20aにデータの書き込みを行なう
場合のものである。このとき、DRAMタイミング信号
発生回路13aがDRD信号を“°[”にすること以外
は第7図のときと同様であり、DRAM20aG(tD
RD信号が“L”IC6tlJ、:Iカら所定時間の後
にrF1000J番地に、プロセッサ11から出力され
たデータ・バス22上のデータを書き込む。
The operation shown in the timing chart of FIG. 8 is when the processor 11 writes data to the DRAM 20a. At this time, the process is the same as in FIG. 7 except that the DRAM timing signal generation circuit 13a sets the DRD signal to "°[", and the DRAM 20aG (tD
The data on the data bus 22 output from the processor 11 is written to address rF1000J after a predetermined time since the RD signal is "L" from IC6tlJ:I.

この実施例でも、メモリのアクセス開始時に、メモリ種
別判定回路12がアクセスすべきメモリ種別を判定する
ので、プロセッサ11はアクセスしているメモリの種別
に無関係にデータの読出し及び書き込みを行なうことが
できる。さらに、プロセッサ1c10側にのみメモリ種
別判定回路12とアクセスすべきメモリIC20に対応
した数のタイミング信号発生回路13及びアドレスマル
チプレクサ15を設ければよく、メモリIC20側には
付加回路を設ける必要はなく、高速アクセスが実現され
る。
In this embodiment as well, since the memory type determination circuit 12 determines the type of memory to be accessed at the start of memory access, the processor 11 can read and write data regardless of the type of memory being accessed. . Furthermore, it is only necessary to provide the memory type determination circuit 12 and the number of timing signal generation circuits 13 and address multiplexers 15 corresponding to the memory ICs 20 to be accessed on the processor 1c10 side, and there is no need to provide an additional circuit on the memory IC 20 side. , high-speed access is achieved.

さらに、種別が異なる複数のメモリIC20に対して共
通のアドレス・バス21を使用することができる。
Furthermore, a common address bus 21 can be used for a plurality of memory ICs 20 of different types.

次にこの発明の種々の変形例について説明する。Next, various modifications of this invention will be explained.

[変形例1] 第2の実施例装置では、プロセッサ11のメモリ・アド
レス空間を単純にDRAMとSRAMとに分けていたが
、これは3以上の複数のアドレス空間に分けてそれぞれ
のアドレス空間で種別が異なるメモリを選択するように
してもよい。
[Modification 1] In the device of the second embodiment, the memory address space of the processor 11 was simply divided into DRAM and SRAM, but this is divided into three or more address spaces and each address space is Memories of different types may be selected.

[変形例2] 同種のメモリであるが、動作速度が異なるメモリを接続
するため、メモリの動作速度に合せた11御信号を発生
するタイミング信号発生回路13を必要な個数だけ設け
、メモリ種別判定回路12ではアクセス・アドレスに対
応するメモリの種別の判定、すなわち動作速度を判定し
、この結果に基づいてタイミング信号発生回路13を起
動するように構成してもよい。この場合、例えば高速S
RAMと低速SRAMとを付加回路を用いることなしに
プロセッサIC10に接続することができる。
[Modification 2] In order to connect memories of the same type but with different operating speeds, a necessary number of timing signal generation circuits 13 that generate 11 control signals matched to the operating speeds of the memories are provided to determine the memory type. The circuit 12 may be configured to determine the type of memory corresponding to the access address, that is, the operating speed, and activate the timing signal generation circuit 13 based on this result. In this case, for example, high speed S
RAM and low speed SRAM can be connected to processor IC 10 without using additional circuitry.

[変形例3] 第1の実施例装置ではアドレス・バス21とデータ・バ
ス22とを複数のメモリ1c20で共用し、各メモリI
C20に対して制御信号を伝達する制御lll1!12
3についてはそれぞれ独立して設けるようにしている。
[Modification 3] In the device of the first embodiment, the address bus 21 and the data bus 22 are shared by a plurality of memories 1c20, and each memory I
Controllll1!12 that transmits a control signal to C20
3 are provided independently.

しかし、メモリ種別判定回路12で判定した結果をプロ
セッサIcl0の外部に出力すると共に、同時には出力
されない制御信号を多重化して出力し、外部に設けられ
た付加回路により多重化制御信号を判定結果に−づいて
選択し、対応するメモリに供給するように構成してもよ
い。
However, the result determined by the memory type determination circuit 12 is output to the outside of the processor Icl0, and the control signals that are not output simultaneously are multiplexed and output, and an additional circuit provided externally converts the multiplexed control signal into the determination result. - may be selected based on the selected memory and supplied to the corresponding memory.

このような変形が施された実施例装置の構成を第9図の
ブロック図に示す。この変形例装置ではN種の外部メモ
リIC20A〜2ONが設けられ、これに対応してプロ
セッサICl0内にもNilのタイミング信号発生回路
13A〜13Nが設けられている。
The configuration of the embodiment device to which such a modification has been made is shown in the block diagram of FIG. In this modified example device, N types of external memories IC20A to 2ON are provided, and Nil timing signal generation circuits 13A to 13N are also provided in the processor ICl0 correspondingly.

また、これらタイミング信号光主回路13A〜13Nか
ら出力される制御信号はただ1系統の制御線23を介し
てプロセッサIC10の外部に出力される。
Further, the control signals outputted from these timing signal light main circuits 13A to 13N are outputted to the outside of the processor IC 10 via only one control line 23.

さらにメモリ種別判定回路12の判定結果は制御a線2
4に直接出力されるようになっている。
Furthermore, the determination result of the memory type determination circuit 12 is the control a line 2.
4 is output directly.

他方、メモリl020A〜2ONに対応してゲート回路
25A〜25Nが設けられており、これら各ゲート回路
25A〜25Nには上記制御線23と24の信号が並列
に供給されている。
On the other hand, gate circuits 25A to 25N are provided corresponding to the memories 1020A to 2ON, and signals from the control lines 23 and 24 are supplied in parallel to each of these gate circuits 25A to 25N.

ここで各ゲート回路25A〜25Nはメモリ種別判定回
路12の判定結果に基づいていずれか一つ゛が信号線2
3の制御信号を選択出力する。
Here, in each of the gate circuits 25A to 25N, one of them is connected to the signal line 2 based on the judgment result of the memory type judgment circuit 12.
3 control signals are selectively output.

このような構成によれば、わずかな付加回路(ゲート回
路25)を設けることによって、多数のメモリICを接
続する場合でも制御信号線23を共用することができ、
プロセッサICl0の外部端子数の増加を防ぐことがで
きる。
According to such a configuration, by providing a small number of additional circuits (gate circuits 25), the control signal line 23 can be shared even when a large number of memory ICs are connected.
It is possible to prevent an increase in the number of external terminals of the processor ICl0.

[変形例4] 同種のメモリが多数設けられる場合には、メモリ種別判
定回路12の判定結果を外部に出力し、他方、この判定
結果の論理和を取り、かつ同種のメモリに対してただ1
個のタイミング信号発生回路を設け、上記論理和信号に
基づいてこのタイミング信号発生回路を起動させること
によって、タイミング信号発生回路13の個数を削減す
ることができる。
[Modification 4] When a large number of memories of the same type are provided, the judgment result of the memory type judgment circuit 12 is outputted to the outside, and on the other hand, the logical sum of the judgment results is taken, and only one memory of the same type is provided.
The number of timing signal generation circuits 13 can be reduced by providing two timing signal generation circuits and activating the timing signal generation circuits based on the logical sum signal.

[変形例5] 第1の実施例装置ではメモリ種別判定回路12において
、プロセッサ11が出力したアドレス信号に基づいてア
クセス対象メモリの判定を行なうようにしているが、こ
れはアドレス以外の情報、例えばプロセッサ11の命令
フェッチ期間とデータ・アクセス期間とを区別するため
の信号に基づいてアクセス対象メモリの判定を行なうよ
うにしてもよい。この場合に命令フェッチ期間ではSR
AMがアクセス対象となり、データ・アクセス期間では
DRAMがアクセス対象となる。
[Variation 5] In the device of the first embodiment, the memory type determination circuit 12 determines the memory to be accessed based on the address signal output by the processor 11, but this is based on information other than the address, such as The memory to be accessed may be determined based on a signal for distinguishing between an instruction fetch period and a data access period of the processor 11. In this case, during the instruction fetch period, SR
AM becomes the access target, and DRAM becomes the access target during the data access period.

[変形例6] 以上の各実施例では、メモリ種別判定回路12の判定基
準としてのメモリ種別情報をプロセッサ11が設定して
いるが、これはプロセッサIC10の外部から設定でき
るように構成してもよく、あるいは予め使用するメモリ
が決まっているような場合はメモリ種別判定回路12内
に判定基準を固定的に保持させておくようにしてもよい
[Variation 6] In each of the above embodiments, the processor 11 sets the memory type information as a criterion for the memory type determination circuit 12, but this may also be configured to be set from outside the processor IC 10. If the memory to be used is often determined or the memory to be used is determined in advance, the determination criteria may be fixedly held in the memory type determination circuit 12.

[変形例7] タイミング信号発生回路13を異なるメモリIC20毎
に独立して設けるようにしているが、一つのタイミング
信号発生回路13はメモリ種別判定回路12の判定結果
に基づいて動作モードを切替えることができるような曙
能を持つものであってもよい。
[Modification 7] Although the timing signal generation circuit 13 is provided independently for each different memory IC 20, the operation mode of one timing signal generation circuit 13 can be switched based on the determination result of the memory type determination circuit 12. It may also be something that has the ability to do something.

特に、上記変形例2のように、同種のメモリではあるが
動作速度が異なるような場合、使用する制御信号の種類
は同じでタイミングのみが異なるので、このように構成
することで回路規模を削減することができる。
In particular, as in Modification 2 above, when the memory is of the same type but has different operating speeds, the type of control signal used is the same and only the timing is different, so this configuration reduces the circuit scale. can do.

[変形例8] メモリ種別判定回路12における判定の結果、異なるタ
イミング信号発生回路13を起動させる一方、アクセス
対象とするメモリl020を重複させるように構成して
もよい。すなわち、第2図の実施例装置においてアドレ
ス・マルチプレクサ15が出力するアドレスはプロセッ
サ11が出力したアドレスの一部に制限するように構成
されていてもよい。
[Modification 8] As a result of the determination in the memory type determination circuit 12, different timing signal generation circuits 13 may be activated, while the memories 1020 to be accessed may be overlapped. That is, in the embodiment shown in FIG. 2, the addresses output by the address multiplexer 15 may be limited to a portion of the addresses output by the processor 11.

この実施例の構成を第10図のブロック図に示す。The configuration of this embodiment is shown in the block diagram of FIG.

この第10図の実施例装置では、プロセッサ11はPA
O〜PA21からなる22ビツトの拡張されたアドレス
を出力する。
In the embodiment device of FIG. 10, the processor 11 is a PA
Outputs a 22-bit extended address consisting of O to PA21.

またアクセス対象メモリICとして DRAM20aとSRAM20bとが設けられている。Also, as an access target memory IC A DRAM 20a and an SRAM 20b are provided.

さらにこの実施例では、DRAMの拡張された高速アク
セス方式であるページ・モード、スタティックカラム・
モード、ニブル・モード等の特殊アクセス方式が使用で
きる領域をDRAM2Oa内に設定している。すなわち
、プロセッサ11がアクセス可能なメモリ領域は、第1
1図に示すように16進数によって表坦されたro00
000J番地からr2FFFFFJ番地までとし、この
うちro00000J番地からroOFFFFJ番地ま
での領域1はSRAM20bに対応している。また、N
 0OOOOJ番地からr2FFFFFJ番地までの領
域はDRAM20aに対応しており、このうちのN 0
OOOOJ番地から rl FFFFFJ番地までの領域2はDRAM20a
の通常アクセスモードに対応し、r20000oJ番f
lら[2FFFFFJl地までの領域3はDRAM20
aの高速アクセスモードに対応しているとする。
Furthermore, this embodiment uses page mode, static column, and expanded high-speed access methods for DRAM.
An area where special access methods such as mode and nibble mode can be used is set in the DRAM 2Oa. That is, the memory area accessible by the processor 11 is the first memory area.
ro00 expressed in hexadecimal as shown in Figure 1
The area is from address 000J to address r2FFFFFJ, of which area 1 from address ro00000J to address roOFFFFJ corresponds to the SRAM 20b. Also, N
The area from address 0OOOOJ to address r2FFFFFJ corresponds to the DRAM 20a, of which N0
Area 2 from address OOOOJ to address rlFFFFFFJ is DRAM20a
Corresponds to the normal access mode of r20000oJ number f
[2FFFFFFJl area 3 is DRAM20
It is assumed that the high-speed access mode of a is supported.

DRAM20aが二つの領域に分けられたことに対応し
て、プロセッサIC10内には、^速用のDRAMタイ
ミング信号発生回路13a 1 、低速用のDRAMタ
イミング信号発生回路13a2とSRAMタイミング信
号発生回路13bが設けられている。
Corresponding to the fact that the DRAM 20a is divided into two areas, the processor IC 10 includes a DRAM timing signal generation circuit 13a1 for speed, a DRAM timing signal generation circuit 13a2 for low speed, and an SRAM timing signal generation circuit 13b. It is provided.

この場合、プロセッサ11からメモリ種別判定回路12
に入力されるアクセス対象メモリの識別情報として、上
記内部アドレス・バス14の上位2ビツトの信号PA2
0とPA21とがメモリ種別判定回路12に供給される
。メモリ種別判定回路12は、プロセッサ11により予
め設定された種別情報と、プロセッサ11が出力した識
別情報としてのアドレス信号(PA20とPA21)と
の比較を行なって対象メモリの種別を判定する。
In this case, from the processor 11 to the memory type determination circuit 12
The upper two bits of the signal PA2 of the internal address bus 14 are used as the identification information of the memory to be accessed which is input to the
0 and PA21 are supplied to the memory type determination circuit 12. The memory type determination circuit 12 determines the type of target memory by comparing type information preset by the processor 11 and address signals (PA20 and PA21) as identification information outputted by the processor 11.

また、外部アドレス・バス21に実際に出力されるアド
レスはPAO−PAl 9の20ビツトである。このた
め、N 0OOOOJ番地からN FFFFFJ番地も
しくはr200000J番地からr2FFFFFJ番地
がアクセスされても、実際には同じDRAM20aのr
oooooOJ番地からrOFFFFFJ番地がアクセ
スされることになる。
The address actually output to the external address bus 21 is 20 bits of PAO-PA19. Therefore, even if address NFFFFFJ is accessed from address N0OOOOJ or address r2FFFFFJ is accessed from address r200000J, r2FFFFFJ of the same DRAM 20a is actually accessed.
Address rOFFFFFFJ will be accessed from address oooooOJ.

このような構成によれば、データを記憶するアドレス空
間をN 0OOOOJ番地からrIFFFFFJ番地に
、プロセッサ11の命令コードを記憶するアドレス空間
をr200000J番地からr2FFFFFJ番地にそ
れぞれ設定したとき、プロセッサ11が命令の先行フェ
ッチ等を行なうときには連続するアドレス空間に記憶さ
れた命令を読み出すので、DRAMの高速アクセスを有
効に使用することができ、プロセッサ11の処理速度の
向上を図ることができる。ざらに、命令コードを記憶し
た領域の残りをデータ空間として同じDRAMを使用す
ることができるようになり、DRAMの有効利用がなさ
れる。
According to such a configuration, when the address space for storing data is set from address N0OOOOJ to address rIFFFFFJ, and the address space for storing instruction code of processor 11 is set from address r200000J to address r2FFFFFJ, processor 11 stores instructions. When pre-fetching or the like is performed, instructions stored in consecutive address spaces are read out, so the high-speed access of the DRAM can be effectively used, and the processing speed of the processor 11 can be improved. In other words, the remaining area in which instruction codes are stored can be used as a data space in the same DRAM, resulting in effective use of the DRAM.

[変形例9] タイミング信号発生回路13は外部から入力された制御
信号に基づき、メモリ制御のためのIll tll信号
並びに終了信号の出力タイミングを変更するように構成
されていてもよい。例えば、タイミング信号発生回路1
3の対象としたメモリよりもさらに動作速度が遅いメモ
リを接続した場合、外部からウェイト信号を入力するこ
とで、アクセスの終了を遅らせるようにする。これによ
って、接続可能になるメモリの種別をさらに増加できる
という効果を得ることができる。
[Modification 9] The timing signal generation circuit 13 may be configured to change the output timing of the Ill tll signal and end signal for memory control based on a control signal input from the outside. For example, timing signal generation circuit 1
If a memory whose operating speed is even slower than the target memory in step 3 is connected, a wait signal is input from the outside to delay the end of access. This has the effect of further increasing the types of memory that can be connected.

以上、上記各実施例ではデータ処yI装置としてのプロ
セッサのアクセス対象がメモリである場合につき種々説
明したが、これはアクセス対象がメモリの他に周辺装置
や他のプロセッサ等のデータ処理装置であってもこの発
明が適用されることは明白である。
In the above embodiments, various explanations have been given regarding the case where the access target of the processor as the data processing yI device is the memory, but this also applies when the access target is not only the memory but also a data processing device such as a peripheral device or another processor. It is clear that the present invention is applicable to any case.

[発明の効果〕 以上説明したようにこの発明によれば、データ処理装置
に種別が異なる複数のアクセス対象装置を接続する場合
に、付加回路を全く必要しないかもしくはわずかな付加
回路を設けることによって実現でき、かつ高速アクセス
が実現できるバス制御装置を提供することができる。
[Effects of the Invention] As explained above, according to the present invention, when connecting a plurality of access target devices of different types to a data processing device, no additional circuit is required or only a small amount of additional circuit is provided. Accordingly, it is possible to provide a bus control device that can realize high-speed access.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の第1の実施例の構成を示すブロック
図、第2図はこの発明の第2の実施例のブロック図、第
3図は上記第2の実施例によるメモリ領域を示す図、第
4図は上記第2の実施例による内外部アドレスの関係を
示す図、第5図ないし第8図はそれぞれ上記第2の実施
例gwのタイミングチャート、第9図及び第10図はそ
れぞれこの発明の他の実施例による構成を示すブロック
図、第11図は上記第10図の実施例装置によるメモリ
領域を示す図である。 10・・・プロセッサIc、11・・・プロセッサ、1
2・・・メモリ種別判定回路、13・・・タイミング信
号発生回路、14・・・内部アドレス命バス、15・・
・アドレスφマルチプレクサ、20・・・メモリIC,
21・・・外部アドレス・バス、22・・・データ・バ
ス、23.24・・・制御信号線、25・・・ゲート回
路。 出願人代理人 弁理士 鈴江武彦 第21!il 第3図 第4図 プロセッサアドレスバス     001000外部ア
ドレスバス            1000WT Rt)Y 第5図 RW            (書込み)外部アドレス
バス              1000WT DY 第6図 外部アドレスバス      PAlo−PA19  
   PAO〜PA9ROWOLIT DY 第7図 外部アドレスバス       PA10〜PA19 
   PAO−PA9第8図 第9図
FIG. 1 is a block diagram showing the configuration of a first embodiment of the invention, FIG. 2 is a block diagram of a second embodiment of the invention, and FIG. 3 shows a memory area according to the second embodiment. 4 is a diagram showing the relationship between internal and external addresses according to the second embodiment, FIGS. 5 to 8 are timing charts of the second embodiment gw, and FIGS. 9 and 10 are timing charts of the second embodiment gw. FIG. 11 is a block diagram showing a configuration according to another embodiment of the present invention, and FIG. 11 is a diagram showing a memory area of the embodiment device of FIG. 10. 10... Processor Ic, 11... Processor, 1
2...Memory type determination circuit, 13...Timing signal generation circuit, 14...Internal address bus, 15...
・Address φ multiplexer, 20...Memory IC,
21... External address bus, 22... Data bus, 23.24... Control signal line, 25... Gate circuit. Applicant's representative Patent attorney Takehiko Suzue 21st! il Figure 3 Figure 4 Processor address bus 001000 External address bus 1000WT Rt)Y Figure 5 RW (Write) External address bus 1000WT DY Figure 6 External address bus PAlo-PA19
PAO~PA9ROWOLIT DY Figure 7 External address bus PA10~PA19
PAO-PA9 Figure 8 Figure 9

Claims (11)

【特許請求の範囲】[Claims] (1)データ処理手段と、上記データ処理手段のアクセ
ス対象となる種別が異なる複数のアクセス対象手段と、
上記データ処理手段と上記各アクセス対象手段との間に
設けられた共通のデータ・バス及びアドレス・バスと、
上記各アクセス対象手段の種別に応じた制御信号線を有
し、上記データ処理手段からアクセス制御信号が入力さ
れた際にこのアクセス制御信号を対応するアクセス対象
手段に適合した制御信号に変換して供給する複数の制御
信号発生手段と、上記データ処理手段から出力されるア
クセス対象識別情報に基づきアクセスすべきアクセス対
象手段を判定し、そのアクセス対象手段に対応した上記
制御信号発生手段を選択的に起動させる対象種別判定手
段とを具備したことを特徴とするバス制御装置。
(1) a data processing means and a plurality of access target means of different types to be accessed by the data processing means;
A common data bus and address bus provided between the data processing means and each of the access target means;
It has a control signal line corresponding to the type of each access target means, and when an access control signal is input from the data processing means, it converts this access control signal into a control signal suitable for the corresponding access target means. Determine the access target means to be accessed based on the plurality of control signal generation means supplied and the access target identification information output from the data processing means, and selectively select the control signal generation means corresponding to the access target means. 1. A bus control device comprising: means for determining the type of object to be activated.
(2)前記複数の各制御信号発生手段は、制御信号を出
力した後に終了信号を前記データ処理手段に供給するよ
うに構成されている特許請求の範囲第1項に記載のバス
制御装置。
(2) The bus control device according to claim 1, wherein each of the plurality of control signal generating means is configured to supply an end signal to the data processing means after outputting the control signal.
(3)前記複数の各制御信号発生手段から出力される終
了信号の出力タイミングが外部から制御されるように構
成されている特許請求の範囲第2項に記載のバス制御装
置。
(3) The bus control device according to claim 2, wherein the output timing of the end signal output from each of the plurality of control signal generating means is controlled from the outside.
(4)前記複数の制御信号発生手段には共通の制御信号
線が設けられ、この制御信号線からの制御信号が前記各
アクセス対象手段に対応して設けられたゲート回路に並
列に供給され、これらゲート回路を前記対象種別判定手
段の判定結果に基づいて選択することにより制御信号発
生手段からの制御信号を対応するアクセス対象手段に供
給するようにした特許請求の範囲第1項に記載のバス制
御装置。
(4) A common control signal line is provided to the plurality of control signal generating means, and a control signal from this control signal line is supplied in parallel to a gate circuit provided corresponding to each of the access target means, The bus according to claim 1, wherein the control signal from the control signal generating means is supplied to the corresponding access target means by selecting one of these gate circuits based on the determination result of the target type determining means. Control device.
(5)前記対象種別判定手段は、前記データ処理手段か
ら出力されるアクセス対象識別情報と比較すべき種別情
報を保持している特許請求の範囲第1項に記載のバス制
御装置。
(5) The bus control device according to claim 1, wherein the object type determining means holds type information to be compared with the access object identification information output from the data processing means.
(6)前記対象種別判定手段で保持される種別情報が前
記データ処理手段によって設定される特許請求の範囲第
5項に記載のバス制御装置。
(6) The bus control device according to claim 5, wherein the type information held by the object type determining means is set by the data processing means.
(7)前記アクセス対象識別情報が前記データ処理手段
から出力されるアドレス信号である特許請求の範囲第1
項に記載のバス制御装置。
(7) Claim 1, wherein the access target identification information is an address signal output from the data processing means.
The bus control device described in section.
(8)前記複数のアクセス対象手段に対して同一の制御
信号発生手段から出力される制御信号が供給される特許
請求の範囲第1項に記載のバス制御装置。
(8) The bus control device according to claim 1, wherein control signals output from the same control signal generating means are supplied to the plurality of access target means.
(9)前記データ処理手段から出力されるアドレス信号
を前記複数のアクセス対象手段に適合するアドレス信号
に変換するアドレス変換手段が設けられ、このアドレス
変換手段が前記対象種別判定手段及び制御信号発生手段
の出力で制御される特許請求の範囲第1項に記載のバス
制御装置。
(9) Address converting means for converting the address signal output from the data processing means into an address signal suitable for the plurality of access target means is provided, and the address converting means serves as the target type determining means and the control signal generating means. The bus control device according to claim 1, which is controlled by the output of.
(10)複数の制御信号発生手段から出力される制御信
号が同一のアクセス対象手段に供給されている特許請求
の範囲第1項に記載のバス制御装置。
(10) The bus control device according to claim 1, wherein the control signals output from the plurality of control signal generating means are supplied to the same access target means.
(11)前記アクセス対象手段がメモリ装置である特許
請求の範囲第1項に記載のバス制御装置。
(11) The bus control device according to claim 1, wherein the access target means is a memory device.
JP62039581A 1987-02-23 1987-02-23 Bus controller Pending JPS63205751A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62039581A JPS63205751A (en) 1987-02-23 1987-02-23 Bus controller
US07/870,758 US5325513A (en) 1987-02-23 1992-04-20 Apparatus for selectively accessing different memory types by storing memory correlation information in preprocessing mode and using the information in processing mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62039581A JPS63205751A (en) 1987-02-23 1987-02-23 Bus controller

Publications (1)

Publication Number Publication Date
JPS63205751A true JPS63205751A (en) 1988-08-25

Family

ID=12557057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62039581A Pending JPS63205751A (en) 1987-02-23 1987-02-23 Bus controller

Country Status (1)

Country Link
JP (1) JPS63205751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288036A (en) * 2001-03-27 2002-10-04 Nec Corp Memory reading circuit and ice

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6129961A (en) * 1984-07-23 1986-02-12 Mitsubishi Electric Corp Data transfer method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6129961A (en) * 1984-07-23 1986-02-12 Mitsubishi Electric Corp Data transfer method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288036A (en) * 2001-03-27 2002-10-04 Nec Corp Memory reading circuit and ice

Similar Documents

Publication Publication Date Title
US5228135A (en) Multiport cache memory control unit including a tag memory having plural address ports and a snoop address part
US5421000A (en) Memory subsystem having a static row memory and a dynamic RAM
US5966727A (en) Combination flash memory and dram memory board interleave-bypass memory access method, and memory access device incorporating both the same
US4141067A (en) Multiprocessor system with cache memory
US6381190B1 (en) Semiconductor memory device in which use of cache can be selected
US5247629A (en) Multiprocessor system with global data replication and two levels of address translation units
US5519664A (en) Dynamic random access memory persistent page implemented as processor register sets
US7082491B2 (en) Memory device having different burst order addressing for read and write operations
US6499093B2 (en) Multiple mode memory module
EP0192202A2 (en) Memory system including simplified high-speed data cache
US20040093458A1 (en) Information processing apparatus using index and TAG addresses for cache
JPS6334652A (en) Access method and system for computer memory
US5325513A (en) Apparatus for selectively accessing different memory types by storing memory correlation information in preprocessing mode and using the information in processing mode
US5307469A (en) Multiple mode memory module
JP3039557B2 (en) Storage device
US5265053A (en) Main memory DRAM interface
JPH08221319A (en) Semiconductor memory device
JPH01187650A (en) Buffer storage device
JPS63205751A (en) Bus controller
US6564308B2 (en) Multiple mode memory module
KR940002595Y1 (en) Dual port memory unit controller on cpu-board
KR950000495B1 (en) Node memory system for parallel processing system
KR970010367B1 (en) On-board interleaving apparatus and method of main memory on multi processor system
JPH0561769A (en) Memory access method
JPS617954A (en) Reading-out system of main memory