JPH0223892B2 - - Google Patents
Info
- Publication number
- JPH0223892B2 JPH0223892B2 JP56123426A JP12342681A JPH0223892B2 JP H0223892 B2 JPH0223892 B2 JP H0223892B2 JP 56123426 A JP56123426 A JP 56123426A JP 12342681 A JP12342681 A JP 12342681A JP H0223892 B2 JPH0223892 B2 JP H0223892B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- data
- register
- bus
- gate
- 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.)
- Expired - Lifetime
Links
Landscapes
- Executing Machine-Instructions (AREA)
Description
【発明の詳細な説明】
本発明はコンピユータシステムのアドレス制御
方式に係り、特にCPUから独立したアドレスレ
ジスタに、前記CPUがアクセスする度に、前記
アドレスレジスタを自動的に更新する方式に関す
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an address control method for a computer system, and more particularly to a method for automatically updating an address register independent of a CPU each time the CPU accesses the address register.
従来CPUはそのハードウエアによつてアドレ
ス可能なアドレス空間が固定されていた、この為
該アドレス空間では不十分な場合には、アドレス
計算手段アドレス設定手段を追加して拡張メモリ
を附加し、実質的なアドレス空間の拡張が行なわ
れたが処理時間が長いという欠点があつた。 Conventionally, the addressable address space of a CPU was fixed by its hardware, so if the address space was insufficient, address calculation means and address setting means were added and extended memory was added, effectively increasing the address space. Although the address space was expanded in a similar manner, the disadvantage was that the processing time was long.
本発明は前記欠点を解消して効率的なアドレス
変換が行なえる方式を提供することを目的とす
る。 SUMMARY OF THE INVENTION An object of the present invention is to provide a system that can eliminate the above-mentioned drawbacks and perform efficient address translation.
この目的は中央処理装置(以下CPUと呼ぶ)
のアドレスレジスタによつて他装置のアドレス制
御を行なうコンピユータシステムにおいて、前記
CPUから独立したアドレスレジスタを設け、該
アドレスレジスタに対してコンピユータシステム
からアクセスされる毎に、前記アドレスレジスタ
の内容を更新することを特徴とするアドレス制御
方式により達成される。 This purpose is a central processing unit (hereinafter referred to as CPU)
In a computer system in which addresses of other devices are controlled by the address register of the
This is achieved by an address control method characterized by providing an address register independent of the CPU and updating the contents of the address register each time the address register is accessed by the computer system.
以下図面を使つて本発明を詳細に説明する。 The present invention will be explained in detail below using the drawings.
第1図は本発明の一実施例を示す全体のブロツ
ク図である。図において、1はCPU部、2は
ROM部、3はRAM部、4はIO部、5は拡張部、
6は制御バス、7はアドレスバス、8はデータバ
スである。 FIG. 1 is an overall block diagram showing one embodiment of the present invention. In the figure, 1 is the CPU section, 2 is the
ROM part, 3 is RAM part, 4 is IO part, 5 is expansion part,
6 is a control bus, 7 is an address bus, and 8 is a data bus.
第2図は本発明の一実施例を示す拡張部5の詳
細な動作を示すブロツク図である。 FIG. 2 is a block diagram showing the detailed operation of the expansion section 5 according to an embodiment of the present invention.
図において、10はアドレス制御部、11はデ
ータ制御部、12はROMテーブル部(又は拡張
データメモリ)、13はシステム制御バスとの接
続線、14はシステムアドレスバス、15はシス
テムデータバスとの接続線、16は拡張部にアク
セスが行なわれた事をアドレス制御部に知らせる
信号線、17は拡張アドレス線、18は拡張デー
タ線である。 In the figure, 10 is an address control section, 11 is a data control section, 12 is a ROM table section (or expansion data memory), 13 is a connection line with the system control bus, 14 is a system address bus, and 15 is a connection line with the system data bus. A connection line 16 is a signal line for notifying the address control section that the extension section has been accessed, 17 is an extension address line, and 18 is an extension data line.
第3図は本発明の一実施例を示すアドレス制御
部とデータ制御部の詳細を示すブロツク図であ
る。 FIG. 3 is a block diagram showing details of an address control section and a data control section showing one embodiment of the present invention.
図において、19はクロツク、20はライト信
号、21はアドレスレコーダ出力線、22はアド
レスレコーダ出力線、50はゲートA、51はゲ
ートB、52はゲートC、53はゲートD(AND
回路)、54はゲートE、55はゲートF、56
はORゲートG、58は3ステートバツフアA、
59は3ステートバツフアB、60はアドレスレ
コードA、61はマルチプレクサ、62はFFA
(アドレスレジスタA)、63はFFB(アドレスレ
ジスタB)、64は加算器、65はアドレスレコ
ーダBである。 In the figure, 19 is a clock, 20 is a write signal, 21 is an address recorder output line, 22 is an address recorder output line, 50 is a gate A, 51 is a gate B, 52 is a gate C, and 53 is a gate D (AND
circuit), 54 is gate E, 55 is gate F, 56
is OR gate G, 58 is 3-state buffer A,
59 is 3-state buffer B, 60 is address record A, 61 is multiplexer, 62 is FFA
(address register A), 63 is FFB (address register B), 64 is an adder, and 65 is address recorder B.
第4図は本発明の一実施例の一変形を示すブロ
ツク図である。 FIG. 4 is a block diagram showing a modification of one embodiment of the present invention.
図において、30はインターフエース用
RAM、31はハンドシエーク線、70は
CPUA、72はCPUB。 In the figure, 30 is for the interface.
RAM, 31 is handshake line, 70 is
CPUA, 72 is CPUB.
さて、固定アドレス空間では不十分な場合には
拡張メモリが付加され、実質的なアドレス空間の
拡張が行なわれる。例えば拡張部5は、MTとの
アクセスを行なう場合のようなシーケンシヤルな
データの蓄積やレコード変換テーブルの様な固定
的なデータの読み書きに使用されている。 Now, when the fixed address space is insufficient, an expansion memory is added to substantially expand the address space. For example, the extension unit 5 is used for storing sequential data such as when accessing an MT, and for reading and writing fixed data such as a record conversion table.
また、CPU1がROMテーブル12からNワー
ドのデータを読み出す動作を例にして説明する
と、CPU1は先づ、ROMテーブル12の読み出
し先頭番地を指定する為にシステムアドレス14
にアドレスレジスタA62のアドレスを、システ
ムデータバス15にROMテーブル12の読み出
し、先頭番地を設定してアドレス制御部10に書
き込む、つづいてアドレスレジスタA62の加算
値を指定する為にシステムアドレスバス14に加
算値レジスタアドレス、システムデータバスに加
算値を設定してアドレス制御部10に書き込む。 Also, to explain the operation of the CPU 1 reading N words of data from the ROM table 12 as an example, the CPU 1 first uses the system address 14 to specify the read start address of the ROM table 12.
Read the address of the address register A62 to the system data bus 15 from the ROM table 12, set the start address, and write it to the address control unit 10. Next, write the address of the address register A62 to the system address bus 14 to specify the addition value of the address register A62. The added value is set in the added value register address and the system data bus and written to the address control unit 10.
また、拡張データメモリの1回目の読み出しを
行なう為にシステムアドレスバス14にデータ制
御部アドレスを設定してデータ制御部11の読み
出しを行なうと、システムデータバス15にアド
レスレジスタA62で指定されたアドレスに格納
されていたデータが読み出されてくる。該読み出
しが完了すると拡張アドレス線17には読み出し
先頭番地に加算値が加えられた値が出力され次回
のアクセスの準備している。続いてROMテーブ
ル12の読み出し動作を(N−1)回実行するこ
とにより、Nワードのデータの読み出しが行なわ
れる。 Furthermore, when the data control section address is set on the system address bus 14 and the data control section 11 is read in order to read the extended data memory for the first time, the address specified by the address register A62 is set on the system data bus 15. The data stored in is read out. When the read is completed, a value obtained by adding the addition value to the read start address is output to the extended address line 17 in preparation for the next access. Subsequently, by executing the read operation of the ROM table 12 (N-1) times, N words of data are read.
次にアドレス制御部とデータ制御部を詳しく説
明する。アドレス制御部10には、拡張アドレス
を保持しているアドレスレジスタA62と該アド
レスレジスタA62に加算又は減算する値を保持
しているアドレスレジスタB63とFFA62と
FFB63の内容を加算(又は減算)してアドレ
スレジスタに設定する新しい値を計算する加算器
64等から構成されている。 Next, the address control section and data control section will be explained in detail. The address control unit 10 includes an address register A62 that holds an extended address, and an address register B63 and FFA62 that hold values to be added to or subtracted from the address register A62.
It is composed of an adder 64 and the like that adds (or subtracts) the contents of the FFB 63 to calculate a new value to be set in the address register.
データ制御部11内には、双方向性ドライバ/
レシーバ(58,59)とアクセス通知信号16
を作るAND回路53等より構成されている。 The data control unit 11 includes a bidirectional driver/
Receiver (58, 59) and access notification signal 16
It is composed of an AND circuit 53 and the like that generates.
また、アドレスレジスタA62にアクセス先頭
アドレスを設定する機能は次の様にして行なわれ
る。 Further, the function of setting the access start address in the address register A62 is performed as follows.
システムアドレスバス14に拡張アドレスレ
ジスタのアドレスが設定され、アドレスデコー
ダA60が動作し、その出力線21が付勢さ
れ、マルチプレクサ61がシステムデータバス
15の内容をアドレスレジスタA62の入力と
する。 The address of the extended address register is set on the system address bus 14, the address decoder A60 operates, its output line 21 is activated, and the multiplexer 61 inputs the contents of the system data bus 15 to the address register A62.
一方、ライト信号20とクロツク19の
ANDされた信号が、ゲートA50、ゲートB
51、ゲートG56を通つてアドレスレジスタ
A62のクロツク入力として与えられる。 On the other hand, the write signal 20 and clock 19
The ANDed signal is gate A50, gate B
51 and is applied as a clock input to address register A62 through gate G56.
、の動作によりアドレスレジスタA62
には、アクセス先頭アドレスが設定され、拡張
アドレス線17に出力される。 , address register A62
An access start address is set in , and output to the extended address line 17 .
なお、アドレスレジスタB63に加算値を設
定する手順も、前記アドレスレジスタA62に
アクセス先頭アドレスを設定するのと同様な手
順で行なわれる。 Note that the procedure for setting the addition value in the address register B63 is performed in the same manner as the procedure for setting the access start address in the address register A62.
次にROMテーブル12にアクセスが行なわれ
た時の動作については
システムアドレスバス14にデータ制御部ア
ドレスが設定され、アドレスデコーダB65が
動作し、該アドレスデコーダB51の出力線2
3が付勢され、ANDゲートであるゲートD5
3、ゲートE54、ゲートF55に導かれる。 Next, regarding the operation when the ROM table 12 is accessed, the data control unit address is set in the system address bus 14, the address decoder B65 is operated, and the output line 2 of the address decoder B51 is
3 is activated and gate D5, which is an AND gate,
3. Guided to gate E54 and gate F55.
もし、ライト信号20が“1”であれば3ス
テートバツフアA58がシステムデータ線15
の内容を拡張データ線18に伝え、書き込みが
行なわれる。逆にライト信号が“0”であれば
3ステートバツフアB59が拡張データ線18
の内容をシステムデータ線に伝え、読み出し動
作が行なわれる。 If the write signal 20 is “1”, the 3-state buffer A58 is connected to the system data line 15.
The contents are transmitted to the extended data line 18, and writing is performed. Conversely, if the write signal is “0”, the 3-state buffer B59 is connected to the extended data line 18.
The contents are transmitted to the system data line and a read operation is performed.
一方、ANDゲートであるゲートD53の出
力はアクセス通知信号16として、ORゲート
G56を経てアドレスレジスタA62のクロツ
ク入力となる。この時、アドレスレジスタA6
2のデータ入力には、加算器64の出力がマル
チプレクサ61を経て与えられている。この
為、ROMテーブル部12にアクセスが行なわ
れる度にアドレスレジスタA62の内容が自動
的に更新される。 On the other hand, the output of gate D53, which is an AND gate, becomes the access notification signal 16, which passes through OR gate G56 and becomes the clock input of address register A62. At this time, address register A6
The output of the adder 64 is applied to the data input of No. 2 via the multiplexer 61. Therefore, each time the ROM table section 12 is accessed, the contents of the address register A62 are automatically updated.
次に第4図を参考にして本発明の他の実施例に
ついて述べる。該例では2組の制御部にはさまれ
たインタフエース用RAM30の使用権は、ハン
ドシエーク線31により受け渡しされたCPUA7
0からCPUB71にMワードのデータを転送する
例で動作を説明する。 Next, another embodiment of the present invention will be described with reference to FIG. In this example, the right to use the interface RAM 30 sandwiched between two sets of control units is given to the CPUA 7 through a handshake line 31.
The operation will be explained using an example in which M words of data are transferred from CPUB 0 to CPUB 71.
ハンドシエーク線31によりCPUA70がイ
ンタフエース用RAM30の使用権を獲得す
る。 Through the handshake line 31, the CPUA 70 acquires the right to use the interface RAM 30.
アドレス制御部10に、「書き込み先頭アド
レス」と「アドレス加算値」を設定する。 The “write start address” and “address addition value” are set in the address control unit 10.
データ制御部11にM回の連続した書き込み
を行なう。 Continuous writing is performed to the data control unit 11 M times.
ハンドシエーク線31により、CPU71に
データの読み出し動作を行なうことを指示す
る。 The handshake line 31 instructs the CPU 71 to perform a data read operation.
アドレス制御部10に「読出し先頭アドレ
ス」と「アドレス加算値」を設定する。 A "read start address" and "address addition value" are set in the address control unit 10.
データ制御部11にM回の連続した読み出し
を行なう。 The data control unit 11 is read out M times consecutively.
ハンドシエーク線31により、CPUA70に
データ読み出し動作が完了したことを通知す
る。 The handshake line 31 notifies the CPUA 70 that the data read operation has been completed.
更に他の実施例としてはアドレス加算値が固
定(例えば“1”)である場合がある。この場
合は第3図のアドレスレジスタA62をカウン
タに置き換え、マルチプレクサ61、アドレス
レジスタB63、加算器64を省略する。そし
てCPUの動作面でも、アドレス加算値の設定
動作が不要になる。 In yet another embodiment, the address addition value may be fixed (for example, "1"). In this case, address register A62 in FIG. 3 is replaced with a counter, and multiplexer 61, address register B63, and adder 64 are omitted. Also, in terms of CPU operation, there is no need to set the address addition value.
以上説明した様に、従来方式に較べて約3分の
1の手順で拡張アドレス変換が行なえるととも
に、CPU間での高速データ転送動作が実現でき
るという効果がある。 As explained above, this method has the advantage of being able to perform extended address conversion in about one third of the steps compared to the conventional method, and also realizing high-speed data transfer operations between CPUs.
第1図は本発明の一実施例を示す全体のブロツ
ク図である。第2図は本発明の一実施例を示す拡
張部5の詳細な動作を示すブロツク図である。第
3図は本発明の一実施例を示すアドレス制御部と
データ制御部の詳細を示すブロツク図である。第
4図は本発明の一実施例の一変形を示すブロツク
図である。
記号の説明、1……CPU部、2……ROM部、
3……RAM部、4……IO部、5……拡張部、6
……制御バス、7……アドレスバス、8……デー
タバス、10……アドレス制御部、11……デー
タ制御部、12……ROMテーブル部(又は拡張
データメモリ)、13……システム制御バスとの
接続線、14……システムアドレスバス、15…
…システムデータバスとの接続線、16……拡張
部にアクセスが行なわれた事をアドレス制御部に
知らせる信号線、17……拡張アドレス線、18
……拡張データ線、19……クロツク、20……
ライト信号、21……アドレスレコーダ出力線、
22……アドレスレコーダ出力線、23……アド
レスレコーダ出力線、50……ゲートA、51…
…ゲートB、52……ゲートC、53……ゲート
D(AND回路)、54……ゲートE、55……ゲ
ートF、56……ORゲートG、58……3ステ
ートバツフアA、59……3ステートバツフア
B、60……アドレスレコードA、61……マル
チプレクサ、62……FFA(アドレスレジスタ
A)、63……FFB(アドレスレジスタB)、64
……加算器、65……アドレスレコーダB。
FIG. 1 is an overall block diagram showing one embodiment of the present invention. FIG. 2 is a block diagram showing the detailed operation of the expansion section 5 according to an embodiment of the present invention. FIG. 3 is a block diagram showing details of an address control section and a data control section showing one embodiment of the present invention. FIG. 4 is a block diagram showing a modification of one embodiment of the present invention. Explanation of symbols, 1...CPU section, 2...ROM section,
3...RAM section, 4...IO section, 5...extension section, 6
... Control bus, 7 ... Address bus, 8 ... Data bus, 10 ... Address control section, 11 ... Data control section, 12 ... ROM table section (or extended data memory), 13 ... System control bus Connection line with, 14... System address bus, 15...
... Connection line with the system data bus, 16 ... Signal line that informs the address control section that the extension section has been accessed, 17 ... Extension address line, 18
...Extended data line, 19...Clock, 20...
Write signal, 21...address recorder output line,
22...Address recorder output line, 23...Address recorder output line, 50...Gate A, 51...
...Gate B, 52...Gate C, 53...Gate D (AND circuit), 54...Gate E, 55...Gate F, 56...OR gate G, 58...3-state buffer A, 59... ...3-state buffer B, 60... Address record A, 61... Multiplexer, 62... FFA (address register A), 63... FFB (address register B), 64
... Adder, 65 ... Address recorder B.
Claims (1)
タバス15により、中央処理装置と接続された拡
張メモリ12をアクセスするためのアドレス制御
方式であつて、 前記拡張メモリ側には、アドレスレジスタ62
と、アドレス増分レジスタ63と、両レジスタ6
2と63の内容を加算する加算器64と、 第一の特定アドレスに対して書き込み動作を指
示した時に、データバス上の書き込みデータを上
記アドレスレジスタ62に設定する手段50,6
0,61,51,56と、 第二の特定アドレスに対して書き込み動作を指
示した時に、データバス上の書き込みデータを上
記アドレス増分レジスタ63に設定する手段5
0,60,52と、 第三の特定アドレスに対して読み出しまたは書
き込みを指示した時に、上記アドレスレジスタ6
2に設定された内容に基づいて上記拡張メモリ1
2をアクセスするとともに、上記加算器64の出
力を上記アドレスレジスタに設定する手段65,
54,55,58,59,53,56とを設け、 上記第三の特定アドレスへのアクセスを繰り返
すことにより、上記拡張メモリ12の連続領域へ
のアクセスを行うことを特徴とするアクセス制御
方式。[Claims] 1. An address control method for accessing an extended memory 12 connected to a central processing unit via a control bus 13, an address bus 14, and a data bus 15, wherein the extended memory has an address register 62
, address increment register 63, and both registers 6
an adder 64 for adding the contents of 2 and 63, and means 50 and 6 for setting write data on the data bus in the address register 62 when a write operation is instructed to the first specific address.
means 5 for setting write data on the data bus in the address increment register 63 when a write operation is instructed to a second specific address such as 0, 61, 51, 56;
0, 60, 52, and when reading or writing is instructed to the third specific address, the address register 6
Based on the contents set in 2, the above extended memory 1
means 65 for accessing 2 and setting the output of the adder 64 in the address register;
54, 55, 58, 59, 53, and 56, and access to continuous areas of the extended memory 12 is accessed by repeating access to the third specific address.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12342681A JPS5824954A (en) | 1981-08-06 | 1981-08-06 | Address controlling system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12342681A JPS5824954A (en) | 1981-08-06 | 1981-08-06 | Address controlling system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5824954A JPS5824954A (en) | 1983-02-15 |
| JPH0223892B2 true JPH0223892B2 (en) | 1990-05-25 |
Family
ID=14860262
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12342681A Granted JPS5824954A (en) | 1981-08-06 | 1981-08-06 | Address controlling system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5824954A (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57130457A (en) * | 1981-02-04 | 1982-08-12 | Sanyo Electric Co Ltd | Mass assembling method of semiconductor device |
| JPS59197946A (en) * | 1983-04-25 | 1984-11-09 | Nec Corp | Memory device |
| JPS59223880A (en) * | 1983-06-03 | 1984-12-15 | Hitachi Ltd | Picture input device |
| JPS60142438A (en) * | 1983-12-28 | 1985-07-27 | Daihatsu Diesel Kk | External storage device for data log |
| JPS6215642A (en) * | 1985-07-13 | 1987-01-24 | Micro Eng:Kk | Memory device for double access system |
| JPS6226549A (en) * | 1985-07-26 | 1987-02-04 | Nec Corp | Memory circuit |
| JPS6242385A (en) * | 1985-08-20 | 1987-02-24 | Matsushita Electric Ind Co Ltd | Control device for memory |
| JPS62130438A (en) * | 1985-11-30 | 1987-06-12 | Fujitsu Ltd | Memory access system |
| JPH0621997B2 (en) * | 1989-06-26 | 1994-03-23 | ローム株式会社 | ROM data reading device for key operation equipment |
| CA2026768C (en) * | 1989-11-13 | 1996-07-23 | Russell S. Padgett | Extended addressing using sub-addressed segment registers |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5299027A (en) * | 1976-02-16 | 1977-08-19 | Hitachi Ltd | Address designating system |
| JPS5495126A (en) * | 1978-01-13 | 1979-07-27 | Hitachi Ltd | Display device |
| JPS6029134B2 (en) * | 1978-01-13 | 1985-07-09 | 日本電気株式会社 | Storage device control method |
| JPS5563453A (en) * | 1978-11-04 | 1980-05-13 | Sanyo Electric Co Ltd | Memory system |
-
1981
- 1981-08-06 JP JP12342681A patent/JPS5824954A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5824954A (en) | 1983-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0223892B2 (en) | ||
| JPH0619760B2 (en) | Information processing equipment | |
| JPH0448358A (en) | Cache memory control system | |
| JPH01261758A (en) | Computer system | |
| JP3217815B2 (en) | Address translation method | |
| JPS62243075A (en) | Image data transfer device | |
| JPS6233603B2 (en) | ||
| JP2845746B2 (en) | Micro program controller | |
| JPS6356746A (en) | Paging by-pass system in virtual computer | |
| JPH11338774A (en) | Information processor, its system bus optimizing method and recording medium recording control program therefor | |
| JP2581144B2 (en) | Bus control device | |
| JPH04160458A (en) | DMA controller peripheral circuit | |
| JPS6320631A (en) | Register selecting system | |
| JPS62221751A (en) | Paging system | |
| JPS627583B2 (en) | ||
| JPH01155460A (en) | Data processor | |
| JPH0224748A (en) | Address switching circuit | |
| JPS6272042A (en) | Cache memory | |
| JPH0556544B2 (en) | ||
| JPS6222165A (en) | Control system for access to main storage device | |
| JPS5819965A (en) | Recording device | |
| JPS608971A (en) | Central processing unit | |
| JPS6146854B2 (en) | ||
| JPS6125180B2 (en) | ||
| JPH06124226A (en) | Access conversion control device |