JPS6261976B2 - - Google Patents
Info
- Publication number
- JPS6261976B2 JPS6261976B2 JP12902083A JP12902083A JPS6261976B2 JP S6261976 B2 JPS6261976 B2 JP S6261976B2 JP 12902083 A JP12902083 A JP 12902083A JP 12902083 A JP12902083 A JP 12902083A JP S6261976 B2 JPS6261976 B2 JP S6261976B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- information
- code
- code conversion
- transfer
- 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
Links
- 238000006243 chemical reaction Methods 0.000 claims description 33
- 238000000034 method Methods 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 5
- 230000010365 information processing Effects 0.000 description 3
- 239000000872 buffer Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
Description
〔発明の属する技術分野〕
本発明は情報処理システムに於けるコード変換
方式に関するものである。
〔従来技術〕
中央処理装置、記憶装置、入出力制御装置をバ
スを介して結合した情報処理システムにおいて、
入出力制御装置で入出力される情報のコードと、
中央処理装置で処理される情報のコードが相違す
る場合、コード変換を行なうことが必要になる。
従来、この種の情報処理システムのコード変換
方法として
中央処理装置のソフトウエアにより記憶装置
上で入出力情報のコード変換を行なう方法
コード変換用ハードウエアを記憶装置に付加
し、入出力制御装置と転送を行なうために記憶
装置上に割り当てられた入出力情報バツフアに
対し、ソフトウエアの指令により該ハードウエ
アが記憶装置上でコード変換を行なう方法
入出力制御装置内でコード変換を行なう方法
がある。
の方法は、コード変換をソフトウエアで行な
うため、コード変換する入出力情報量が多大であ
るとソフトウエアのオーバーヘツドが増大し、ソ
フトウエアの負担が大きくなるという欠点があ
る。の方法は、コード変換を必要とする入出力
制御装置が多数存在する場合は、ソフトウエアに
よる入出力情報バツフアの管理が複残化し、ソフ
トウエアの負担が大きくなるという欠点があつ
た。の方法では、個々の入出力制御装置内にコ
ード変換用のハードウエアあるいは制御プログラ
ムを持たせなければならず、個々の入出力制御装
置のハードウエア量が増大あるいは制御プログラ
ムが複雑化するという欠点があつた。
すなわち、従来の方法ではソフトウエアの負担
が多大であつたり、あるいはハードウエア量が多
大になるか制御プログラムが複雑化するという欠
点があつた。
〔発明の目的〕
本発明の目的はバスに接続された入出力制御装
置や中央処理装置、記憶装置などのバス接続装置
間のバスを介した情報転送において、情報のコー
ド変換を行なう共有のコード変換装置をバスに接
続し、コード変換が必要な装置間の情報転送バス
サイクルに介入してバス上の転送情報をコード変
換装置へ取り込み、コード変換を行なつた後、前
記転送情報の代りにコード変換された情報をコー
ド変換装置が転送先装置へ送ることにより、あた
かもバス上でコード変換が行なわれるようにする
ことで前記欠点を解消し、ソフトウエアの負担を
軽減、あるいは個々の入出力制御装置のハードウ
エアを低減ないしは制御用プログラムを簡素化で
きるコード変換システムを提供することにある。
〔発明の構成〕
本発明によるとバスに接続され、該バスを介し
て情報の授受をおこなう2つ以上の装置と、前記
バスに接続されてコード変換を指示する信号ある
いはバス接続装置を指定する信号に応動して
(1) 前記バス上の転送情報を入力する手段
(2) バス接続装置に対し前記バスから転送情報を
入力あるいは前記バスへ情報を出力することを
許可または禁止する手段
(3) 入力した転送情報をコード変換しコード変換
された情報を前記バスへ出力する手段
を備えたコード変換装置を含み、前記バスの情報
転送バスサイクルに関して前記バス上の転送情報
を前記コード変換装置へ入力しコード変換したの
ち前記転送情報のかわりにコード変換された情報
を転送先のバス接続装置へ送出することを特徴と
するコード変換方式が得られる。
〔実施例の説明〕
次に本発明の実施例について図面を参照して詳
細に説明する。第1図は本発明の一実施例を示す
ブロツク図で、同図の一点鎖線で囲つた部分が本
発明によるコード変換方式に関係する部分を示し
ている。
第1図に示す実施例のバスBは双方向性バスで
あり、データバスDBと、転送をおこなう相手装
置の装置アドレスを転送するアドレスバスAB
と、相手装置へのデータ書込みと相手装置からの
データの読み出しを制御する信号とコード変換動
作を制御する信号を通すバス制御線CBから構成
される。中央処理装置CPU、入出力制御装置
IOC、記憶装置MEMは夫々、バスBのデータバ
スDB、アドレスバスAB、バス制御線CBに接続
され、コード変換装置CODはバスBのデータバ
スDBと、バス制御線CBに接続されている。
本実施例は上記一点鎖線で囲んだ構成とした
が、これ以外に表1の番号1〜番号4に示すよう
に、バスBを介して互いに通信できるバス接続装
置のペアとコード変換装置CODとの組合せによ
るコード変換方式も実現可能である。なお、表1
の番号5のペアにコード変換装置を加えたものが
第1図の一点鎖線内の実施例に相当する。
次に第1図に示されたバスBの基本的な動作原
理を説明する。バスBの転送形式の詳細な省略す
るが、各装置間の転送は概略以下のように行なわ
れる。
[Technical field to which the invention pertains] The present invention relates to a code conversion method in an information processing system. [Prior Art] In an information processing system in which a central processing unit, a storage device, and an input/output control device are connected via a bus,
Code of information input/output by input/output control device,
When the codes of information processed by the central processing unit are different, code conversion becomes necessary. Conventionally, code conversion methods for this type of information processing system include a method in which code conversion of input/output information is performed on the storage device using software in the central processing unit; a method in which code conversion hardware is added to the storage device; There is a method in which code conversion is performed by hardware on the storage device according to instructions from software for input/output information buffers allocated on the storage device for transfer.A method in which code conversion is performed within the input/output control device. . Since code conversion is performed by software in the above method, if the amount of input/output information to be code converted is large, the overhead of the software increases and the burden on the software increases. This method has the disadvantage that if there are a large number of input/output control devices that require code conversion, the management of the input/output information buffer by software becomes redundant, which increases the burden on the software. In this method, code conversion hardware or a control program must be provided in each input/output control device, which has the disadvantage that the amount of hardware for each input/output control device increases or the control program becomes complicated. It was hot. That is, the conventional methods have disadvantages in that the burden on software is large, the amount of hardware is large, or the control program is complicated. [Object of the Invention] The object of the present invention is to develop a shared code that converts information in information transfer via a bus between input/output control units, central processing units, storage devices, and other bus-connected devices connected to the bus. A conversion device is connected to the bus, and the transfer information on the bus is taken into the code conversion device by intervening in the information transfer bus cycle between the devices that require code conversion, and after performing the code conversion, in place of the transfer information. By sending the code-converted information to the destination device, the code conversion device makes it appear as if the code conversion is being performed on the bus, which eliminates the above-mentioned drawbacks, reduces the burden on software, or reduces the burden on individual input/output devices. It is an object of the present invention to provide a code conversion system that can reduce the hardware of a control device or simplify the control program. [Structure of the Invention] According to the present invention, two or more devices that are connected to a bus and exchange information via the bus, and a signal or bus connection device that is connected to the bus and instructs code conversion are specified. In response to the signal, (1) means for inputting transfer information on the bus; (2) means for permitting or prohibiting a bus connection device from inputting transfer information from the bus or outputting information to the bus; ) a code converting device comprising means for code converting input transfer information and outputting the code converted information to the bus, the transfer information on the bus to the code converting device regarding the information transfer bus cycle of the bus; A code conversion method is obtained which is characterized in that after inputting and converting the code, the code-converted information is sent to the transfer destination bus connection device instead of the transfer information. [Description of Embodiments] Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention, and the portion surrounded by the dashed line in the figure shows the portion related to the code conversion method according to the present invention. The bus B in the embodiment shown in FIG. 1 is a bidirectional bus, which includes a data bus DB and an address bus AB that transfers the device address of the other device to which the transfer is to be performed.
and a bus control line CB that passes signals that control writing data to and reading data from the partner device, and signals that control code conversion operations. Central processing unit CPU, input/output control unit
The IOC and the storage device MEM are connected to the data bus DB of the bus B, the address bus AB, and the bus control line CB, respectively, and the code conversion device COD is connected to the data bus DB of the bus B and the bus control line CB. This embodiment has the configuration surrounded by the above-mentioned dashed line, but in addition to this, as shown in numbers 1 to 4 in Table 1, there are a pair of bus connection devices that can communicate with each other via bus B, and a code conversion device COD. It is also possible to realize a code conversion method using a combination of the following. In addition, Table 1
An example in which a code conversion device is added to the pair numbered 5 corresponds to the embodiment shown in the dashed line in FIG. Next, the basic operating principle of bus B shown in FIG. 1 will be explained. Although the details of the transfer format of bus B are omitted, the transfer between each device is roughly performed as follows.
本発明は以上説明したように、バス上を流れる
転送情報を、システム共有のコード変換装置で必
要に応じて補捉し、コード変換したのち転送先装
置へ送ることにより、あたかもバス上でコード変
換がおこなわれるようにしたことでソフトウエア
の負担を軽減し、少ないハードウエアコード変換
ができるという効果がある。
As explained above, the present invention captures the transfer information flowing on the bus with a code conversion device shared by the system as necessary, converts the code, and then sends it to the transfer destination device. This has the effect of reducing the burden on the software and reducing hardware code conversion.
第1図は本発明の一実施例を示すブロツク図、
第2図は第1図に示した各装置とバスの詳細を示
すブロツク図、第3図は第2図に示すブロツク図
の動作タイミング図である。B……バス、DB…
…データバス、AB……アドレスバス、CB……バ
ス制御線、IOC……入出力制御装置、COD……
コード変換装置、MEM……記憶装置、C1……
バス要求信号、C2……バスサイクル信号、C3
……書込み指示信号、C4……読出し指示信号、
C5……コード変換指示信号、C6……コード変
換実行信号、1,3,4,9,15,16……ト
ライステートゲート、2,18……アンドゲー
ト、5,10,13……制御回路、6……アドレ
スレジスタ、7……データ送受信レジスタ、8…
…インバータ、11……データラツチレジスタ、
12……コード変換回路、14……アドレス比較
回路、17……メモリ、S1……出力イネーブル
信号、S2……入力イネーブル信号、S3……ア
ドレス一致信号、S4……リードイネーブル信
号、S5……ライトイネーブル信号。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a block diagram showing details of each device and bus shown in FIG. 1, and FIG. 3 is an operation timing diagram of the block diagram shown in FIG. 2. B...Bus, DB...
…data bus, AB…address bus, CB…bus control line, IOC…input/output control device, COD…
Code converter, MEM...Storage device, C1...
Bus request signal, C2...Bus cycle signal, C3
...Write instruction signal, C4...Read instruction signal,
C5... Code conversion instruction signal, C6... Code conversion execution signal, 1, 3, 4, 9, 15, 16... Tri-state gate, 2, 18... AND gate, 5, 10, 13... Control circuit , 6...Address register, 7...Data transmission/reception register, 8...
...Inverter, 11...Data latch register,
12...Code conversion circuit, 14...Address comparison circuit, 17...Memory, S1...Output enable signal, S2...Input enable signal, S3...Address match signal, S4...Read enable signal, S5... Write enable signal.
Claims (1)
をおこなう2つ以上の装置と、前記バスに接続さ
れてコード変換を指示する信号あるいはバス接続
装置を指定する信号に応動して (1) 前記バス上の転送情報を入力する手段 (2) バス接続装置に対し前記バスから転送情報を
入力あるいは前記バスへ情報を出力することを
許可または禁止する手段 (3) 入力した転送情報をコード変換しコード変換
された情報を前記バスへ出力する手段 を備えたコード変換装置を含み、前記バスの情報
転送バスサイクルに関して前記バス上の転送情報
を前記コード変換装置へ入力しコード変換したの
ち前記転送情報のかわりにコード変換された情報
を転送先のバス接続装置へ送出することを特徴と
するコード変換方式。[Claims] 1. Two or more devices that are connected to a bus and exchange information via the bus, and a signal that is connected to the bus and instructs code conversion or a signal that specifies a bus-connected device. In response, (1) means for inputting transfer information on the bus; (2) means for permitting or prohibiting a bus connection device from inputting transfer information from the bus or outputting information to the bus; and (3) inputting. a code converting device comprising means for code converting the transferred information and outputting the code converted information to the bus, and inputting the transfer information on the bus to the code converting device regarding the information transfer bus cycle of the bus. A code conversion method characterized in that after code conversion, code-converted information is sent to a transfer destination bus connection device instead of the transfer information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12902083A JPS6029062A (en) | 1983-07-15 | 1983-07-15 | Code conversion system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12902083A JPS6029062A (en) | 1983-07-15 | 1983-07-15 | Code conversion system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6029062A JPS6029062A (en) | 1985-02-14 |
JPS6261976B2 true JPS6261976B2 (en) | 1987-12-24 |
Family
ID=14999167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP12902083A Granted JPS6029062A (en) | 1983-07-15 | 1983-07-15 | Code conversion system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6029062A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6429208A (en) * | 1987-07-27 | 1989-01-31 | Matsushita Electric Works Ltd | Hair dryer |
-
1983
- 1983-07-15 JP JP12902083A patent/JPS6029062A/en active Granted
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6429208A (en) * | 1987-07-27 | 1989-01-31 | Matsushita Electric Works Ltd | Hair dryer |
Also Published As
Publication number | Publication date |
---|---|
JPS6029062A (en) | 1985-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5297231A (en) | Digital signal processor interface for computer system | |
JPS6261976B2 (en) | ||
JPH02226419A (en) | Data array conversion control system | |
JPH0715670B2 (en) | Data processing device | |
JPS6259825B2 (en) | ||
JP2586134B2 (en) | CPU external bus access method | |
JP2534321B2 (en) | Data transfer control method and apparatus | |
JPS6130300B2 (en) | ||
JPH07120329B2 (en) | Bus controller | |
JPH0344748A (en) | Read control system for memory data | |
JPS61262870A (en) | Bus controlling system | |
JPH11122275A (en) | Serial communication system | |
JPH07334453A (en) | Memory access system | |
JPH05265923A (en) | Data transfer equipment | |
JPS6217879Y2 (en) | ||
JPH09269890A (en) | Endian conversion system | |
JPH07109599B2 (en) | Information transfer device for processing system | |
JPH05298179A (en) | Memory control system | |
JPH05324534A (en) | Dma transfer system | |
JPH07250102A (en) | Data transmission circuit | |
JPS58213336A (en) | Communication controller | |
JPS6211951A (en) | Channel device | |
JPH04314157A (en) | Communication equipment | |
JPS61235968A (en) | Data bus control system | |
JPH07160625A (en) | Data transfer device |