JPS62134744A - Address decoding system - Google Patents

Address decoding system

Info

Publication number
JPS62134744A
JPS62134744A JP27531185A JP27531185A JPS62134744A JP S62134744 A JPS62134744 A JP S62134744A JP 27531185 A JP27531185 A JP 27531185A JP 27531185 A JP27531185 A JP 27531185A JP S62134744 A JPS62134744 A JP S62134744A
Authority
JP
Japan
Prior art keywords
interface
address
circuit
address decoding
software
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
JP27531185A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Goto
後藤 佳之
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP27531185A priority Critical patent/JPS62134744A/en
Publication of JPS62134744A publication Critical patent/JPS62134744A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To change allocation of an address of each interface from a software on a system, and to make management of an address map by a person who uses a system, unnecessary by rewriting electrically an address decoding circuit, based on an attribute data. CONSTITUTION:In case of connecting additionally an interface 3' to a bus, first of all, a software controls a program controlling circuit 22 through a bus 1, and a temporary logical data for selecting an address decoding signal 4' connected to the interface circuit 3' is written in a programmable logical element 21. When an address decoding signal 4' is selected, the interface 3' is connected electrically to the bus 1, therefore, the software reads out an attribute data 32'. The software registers the attribute data 32' which is read out, under a management of the software by control information, so that this interface 3' can be utilized from various application softwares.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、コンピュータシステム等のアドレスデコード
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an address decoding method for computer systems and the like.

従来の技術 ]ンピュータシステム等において、複数のインタフェー
ス回路をバスに接続する場合、データの衝突が起らない
ようにそれぞれのインタフェース回路に異なったアドレ
スを割り付けるアドレスデコード回路が必要である。
2. Description of the Related Art When a plurality of interface circuits are connected to a bus in a computer system or the like, an address decoding circuit is required to allocate different addresses to each interface circuit to prevent data collisions.

従来のアドレスデコード回路では、第2図に示すように
バス1に接続される各インタフェース3と3′の内部に
アドレスデコード回路33と33′ヲ持っており(例え
ば田丸啓吉、松本占弘、浪本敬三著「入出力制御とシス
テム構成」オーム社P11)このアドレスデコード回路
は固定された論理回路で構成されていた。しかし、この
ような固定された論理回路で構成されたアドレスデコー
ド回路を使用する場合、バスに接続されるインタフェー
ス回路に異なったアドレスを割り付ける必要性から、シ
ステムの設計の前にあらかじめ将来追加されるであろう
インタフェースの分も含めて、すべてのインタフェース
にアドレスを割り付けてそれに基ついて個々のアドレス
デコード回路を設計する必要がある。しかし、現実には
そのようなことは不可能であり、いくつかのアドレスが
重複したり、インタフェースの接続が制限されることが
起こる。
The conventional address decoding circuit has address decoding circuits 33 and 33' inside each interface 3 and 3' connected to the bus 1, as shown in FIG. Keizo Moto, "Input/Output Control and System Configuration", Ohmsha, p. 11) This address decoding circuit was composed of fixed logic circuits. However, when using such an address decoding circuit composed of fixed logic circuits, it is necessary to allocate different addresses to the interface circuits connected to the bus. It is necessary to allocate addresses to all interfaces, including those that may be different, and to design individual address decoding circuits based on these addresses. However, in reality, this is not possible, and some addresses may overlap or interface connections may be restricted.

このため、アドレスデコード回路にアドレスを設定する
スイッチを取り付け、インタフェースをバスに接続する
ときにすべてのアドレスに重複が生じないようにスイッ
チを切り換えてアドレスを設定することなどが行なわれ
たりしていた。
For this reason, a switch was installed in the address decoding circuit to set the address, and when connecting the interface to the bus, the switch was changed to set the address so that all addresses would not be duplicated. .

発明が解決しようとする問題点 しかしながら、従来のようなアドレスデコード回路では
、使用者がすべてのアドレスを管理しておかねばならず
、面倒なばかりではなく、管理を怠るとデバイスのデー
タが衝突してデバイスを破壊してしまうという問題点を
有していた。
Problems to be Solved by the Invention However, with conventional address decoding circuits, the user has to manage all addresses, which is not only troublesome, but also causes device data collisions if management is neglected. This has the problem of destroying the device.

本発明は、上記問題点を解決するため、コンピュータシ
ステム自身がアドレスを管理できるアドレスデコード方
式を提供することを目的としている。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention aims to provide an address decoding method that allows the computer system itself to manage addresses.

問題点を解決するだめの手段 本発明は、上記目的を達するため、各インクフェース回
路ヘアドレス信号をデコードして与える電気的に書き換
え++J能な論理素子で構成されたアドレスデコード回
路と、各インタフェース回路内部にそれぞれの属性デー
タを記憶する手段を設けたものである。
Means for Solving the Problems In order to achieve the above object, the present invention provides an address decoding circuit composed of electrically rewritable logic elements that decode and provide address signals to each ink face circuit, and each interface. A means for storing each attribute data is provided inside the circuit.

作用 本発明は上記した構成により、属性データに基ついて、
論理素子の論理データを7E気的に書き換えてアドレス
デコード回路の論理を変更することにより、各インタフ
ェースが必要としている条件を満たしつつ各アドレスが
重複するなどして問題が生じないように、システム自身
がソフトウェアによりアドレスの割り付けを変更できる
ものである。
Effect The present invention has the above-described configuration, and based on the attribute data,
By rewriting the logic data of the logic elements 7E and changing the logic of the address decoding circuit, the system itself can be improved to avoid problems such as duplication of addresses while satisfying the conditions required by each interface. The address assignment can be changed by software.

実施例 第1図は本発明のアドレスデコード方式を実現するアド
レスデコード回路の一実施例を示すブロック図である。
Embodiment FIG. 1 is a block diagram showing an embodiment of an address decoding circuit implementing the address decoding method of the present invention.

第1図において、1ばCPUなどのアドレスやデータお
よび制御信号のバス、2はシステム上に1個以上存圧す
るアドレスデコード回路で電気的に論理データの書き換
え可能なプログラマブル論理素子21とこのプログラマ
ブル論理素子21の論理データの書き換えを行なうプロ
グラム制御回路22を含んだ回路である。また、3と3
′はバスに接続されるインタフェース回路で、デバイス
31と31′、属性データ32と32′を含んでおり、
アドレスデコード回路2によりCPUからのアドレスや
制御信号をデコードして得られるアドレスデコード信号
4と4′によって、アドレス空間玉にアドレスを割り当
てられて、χ・1心するアドレスデコード信号が選択さ
れたとき、デバイスと属性データはバスと電気的に接続
されて、データの読み、ハ、きが11丁能となる。
In FIG. 1, 1 is a bus for addresses, data, and control signals of a CPU, etc., 2 is an address decoding circuit that exists in one or more systems, and a programmable logic element 21 that can electrically rewrite logic data and this programmable logic This circuit includes a program control circuit 22 that rewrites the logical data of the element 21. Also, 3 and 3
' is an interface circuit connected to the bus, which includes devices 31 and 31', attribute data 32 and 32',
When an address is assigned to an address space ball by the address decode signals 4 and 4' obtained by decoding the address and control signal from the CPU by the address decode circuit 2, and the address decode signal with χ·1 center is selected. The device and attribute data are electrically connected to the bus, making it possible to read and write the data.

まず、インタフェース3′ヲバスに追加接続する場合に
ついて第1図を用いて説明する。始めにソフトウェアは
バス1全通してプログラム制θ1j回路22金制DII
 L、プログラマブル論理素子21に、インタフェース
回路3′と接続されているアドレスデコード信号4′を
選択するような仮の論111jデータヲ、1)き込む。
First, the case of additional connection to the interface 3' bus will be explained using FIG. First, the software runs the entire bus 1 to program θ1j circuit 22K DII.
L, a temporary logic 111j data 1) is loaded into the programmable logic element 21 to select the address decode signal 4' connected to the interface circuit 3'.

アドレスデコード信号4′が選択されるとインタフェー
ス3′がバス1と電気的に接続されるので、ソフトウェ
アは属性データ32′ヲ読み出す。
When the address decode signal 4' is selected, the interface 3' is electrically connected to the bus 1, so that the software reads the attribute data 32'.

属性データは回路としてはROMなどの手段に記憶され
ており、インタフェースを制御するために必要なデータ
と、アドレスデコード回路のプログラマブル論理素子2
1をプログラムするのに必要なデータである。前者は、
インタフェースを制御する制御プログラムそのもの、ま
たは主メモリや補助記憶に記憶されている制C卸プログ
ラムを特定するデータなどの側副情報で、後者は、イン
タフェースが必要とするアドレスのバイト数などのアド
レスデコード回路のプログラマブル論理素子をプログラ
ムするために必要なプログラム情報である。
The attribute data is stored as a circuit in means such as ROM, and the data necessary to control the interface and the programmable logic element 2 of the address decoding circuit
This is the data necessary to program 1. The former is
Collateral information such as data that identifies the control program itself that controls the interface or the control program stored in main memory or auxiliary memory, and the latter includes address decoding such as the number of address bytes required by the interface. Program information necessary to program the programmable logic elements of the circuit.

アドレスマツプは、上記の属性データに基つきソフトウ
ェアにより自動的に各インタフェースを配置して作成さ
れるため、各インタフェース上にはアドレス情報は必要
でない。
Since the address map is created by automatically arranging each interface by software based on the above attribute data, address information is not required on each interface.

ソフトウェアは読み出した属性データ32′のうち制御
情報によりソフトウェアの管理下に登録して、各種のア
ブリケーンヨンソフトウエアからこのインタフェース3
′を利用できるようにする。また、今までのアドレスマ
ツプより、今まで接続されていたインタフェース3など
のアドレスと屯ならない空きアドレスを探し出し、さら
にその中からプログラム情報を吠ってインタフェース3
′が要求する条件のアドレスを探し出して、そのアドレ
スをインタフェース3′に割り付けて新しいアドレスマ
ツプを作る。そして、このアドレスマツプにより、プロ
グラム制御回路22を制御して先にプログラマブル論理
素子21に仮に書き込んでおいた論理データを消去して
新しい論理データを−)き込む。
The software registers the read attribute data 32' under control information based on the control information, and uses the interface 3 from various types of application software.
’ to be available. In addition, from the address map so far, it searches for empty addresses that do not match the addresses of interface 3, etc. that have been connected until now, and then retrieves program information from them to connect interface 3.
3', and allocates that address to interface 3' to create a new address map. Based on this address map, the program control circuit 22 is controlled to erase the logic data previously written in the programmable logic element 21 and write new logic data.

発明の効果 本発明は、属性データに基づいてアドレスデコード回路
を電気的にどき換えることにより、システム上のソフト
ウェアから各インタフェースのアドレスの割り付けを変
更できるため、ソステムを使う人間がアドレスマツプを
管理する必要がな(なり、完全にシステム自身がアドレ
スマッグ(、Q理でき実用的にきわめて有用である。
Effects of the Invention The present invention allows the address assignment of each interface to be changed from the software on the system by electrically changing the address decoding circuit based on attribute data, so that the person using the system can manage the address map. There is no need to do this, and the system itself can handle the address mapping, which is extremely useful in practice.

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

第1図は本発明の一実施例におけるアドレスデコード回
路を示すブロック図、第2図は従来のアドレスデコード
回路を示すブロック図である。 1・・・・・・バス、2・・・・・・アドレステコ−1
’回路、3・・・・・インタフェース、21・・・・・
・プログラマブル論理素子、22・・・・・・プログラ
ム制御回路、31・・・・・・デバイス、32・・・・
・・属性データ。 代即人の氏名 弁理士 中 尾 敏 男 ほか1名派
FIG. 1 is a block diagram showing an address decoding circuit according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional address decoding circuit. 1...Bus, 2...Address lever-1
'Circuit, 3...Interface, 21...
- Programmable logic element, 22... Program control circuit, 31... Device, 32...
...Attribute data. Name of representative: Patent attorney Toshio Nakao and one other person

Claims (1)

【特許請求の範囲】[Claims] バスに複数のインタフェース回路が接続されるコンピュ
ータシステム等において、各インタフェース回路ヘアド
レス信号をデコードして与える、電気的に書き換え可能
な論理素子と書き換えを制御するプログラム制御回路で
構成されたアドレスデコード回路と、各インタフェース
回路内部にそれぞれの属性データを記憶する手段を有し
、前記属性データに基づいて前記アドレスデコード回路
を電気的に書き換えることにより、システム上のソフト
ウェアから各インタフェースのアドレスの割り付けを変
更できることを特徴とするアドレスデコード方式。
In a computer system where multiple interface circuits are connected to a bus, an address decoding circuit consisting of an electrically rewritable logic element that decodes and provides an address signal to each interface circuit and a program control circuit that controls rewriting. and means for storing respective attribute data inside each interface circuit, and by electrically rewriting the address decoding circuit based on the attribute data, address assignment of each interface can be changed from software on the system. An address decoding method that is characterized by the following features:
JP27531185A 1985-12-06 1985-12-06 Address decoding system Pending JPS62134744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27531185A JPS62134744A (en) 1985-12-06 1985-12-06 Address decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27531185A JPS62134744A (en) 1985-12-06 1985-12-06 Address decoding system

Publications (1)

Publication Number Publication Date
JPS62134744A true JPS62134744A (en) 1987-06-17

Family

ID=17553670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27531185A Pending JPS62134744A (en) 1985-12-06 1985-12-06 Address decoding system

Country Status (1)

Country Link
JP (1) JPS62134744A (en)

Similar Documents

Publication Publication Date Title
US4035777A (en) Data processing system including parallel bus transfer control port
KR890002469B1 (en) Memory paging system in a micro computer
JPS62134744A (en) Address decoding system
JPH0326864B2 (en)
JPS5960488A (en) Data writing unit for color graphic memory
KR101111466B1 (en) Communication steering for use in a multi-master shared resource system
US5434979A (en) Disk drive controller
JPH07334420A (en) Extended memory control circuit
JPS6019268A (en) Microcomputer
JPS5975350A (en) Memory controlling method in multi-processor system
JPS6143367A (en) Register control system
JPS60134940A (en) Register selecting system of information processing device
JPS6047664B2 (en) information processing equipment
JPS605369A (en) Memory control system
JPS6074076A (en) Processor sharing system
JP2680013B2 (en) External I / O control circuit of programmable controller
JPS6156826B2 (en)
JPS62284450A (en) I/o selecting device
JPS58179977A (en) Memory controller
JPH064469A (en) Input/output device control system
JPS60176106A (en) Sequence controller
JPS5913766B2 (en) Address control method
JPH0545978B2 (en)
JPH04168545A (en) Interface circuit
JPH0353360A (en) Setting system for data prescribing lsi working range