JPS5897741A - Data converting system - Google Patents

Data converting system

Info

Publication number
JPS5897741A
JPS5897741A JP19613981A JP19613981A JPS5897741A JP S5897741 A JPS5897741 A JP S5897741A JP 19613981 A JP19613981 A JP 19613981A JP 19613981 A JP19613981 A JP 19613981A JP S5897741 A JPS5897741 A JP S5897741A
Authority
JP
Japan
Prior art keywords
bit
data
address information
register
serial data
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.)
Granted
Application number
JP19613981A
Other languages
Japanese (ja)
Other versions
JPS6252894B2 (en
Inventor
Takayuki Iwata
岩田 恭幸
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP19613981A priority Critical patent/JPS5897741A/en
Publication of JPS5897741A publication Critical patent/JPS5897741A/en
Publication of JPS6252894B2 publication Critical patent/JPS6252894B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa

Abstract

PURPOSE:To eliminate a program for alternation of the data definition to simplify the program as well as to increase the system processing speed, by altering the data definition by means of a program of a bit parallel processor. CONSTITUTION:A data storing means 1 stores the bit parallel word series data PD, and an address information storing means 2 stores the address information RA which designates the output bit order of the bit series data SD. A register 3 holds the information RA. In this case, the information RA which is read out to the register 3 is used for a reading address of the next address information given from the means 2. The address is then read by one bit out of the means 2 based on the information RA which is held at the register 3. Thus the data SD is delivered.

Description

【発明の詳細な説明】 本発明はデータ変換方式に関する。[Detailed description of the invention] The present invention relates to a data conversion method.

語(ワード)を構成する各桁(ビット)が並列して処理
されかつワードが複数回直列して処理されるような二次
元的構造のビット並列ワード直列データは情報処理分野
において極めて一般的なデータ形式である。一方、デー
タを構成する各ビットが1ビツトづつ直列して処理され
る一次元的構造のビット直列データは、たとえばデータ
通信回線上のデータに代表されるごとく、データを搬送
するインタフェース線を少数化する目的で採用されるデ
ータ形式である。
Bit-parallel word-serial data with a two-dimensional structure in which each digit (bit) constituting a word is processed in parallel and the word is processed serially multiple times is extremely common in the information processing field. It is a data format. On the other hand, bit-serial data with a one-dimensional structure in which each bit constituting the data is processed serially, one bit at a time, requires fewer interface lines to transport the data, as typified by data on a data communication line. This is a data format adopted for the purpose of

ビット並列ワード直列データを処理する機器をビット直
列データを処理する機器へ接続する場合等のように、ビ
ット並列ワード直列データ形式によるデータ処理の次に
、ビット直列データ形式によるデータ処理を行なう必要
がある場合には、ビット並列ワード直列データをビット
直列データにデータ変換する必要が生じる。
For example, when connecting a device that processes bit-parallel word-serial data to a device that processes bit-serial data, it is necessary to perform data processing in the bit-parallel word-serial data format followed by data processing in the bit-serial data format. In some cases, it may be necessary to convert bit-parallel word-serial data to bit-serial data.

従来のとの穐のデータ変換方式は、ビット並列ワード直
列データを処理するビット並列処理装置がビット直列デ
ータのビット順列を維持できるように1ワードづつをシ
フトレジスタへ出力し、シフトレジスタは入力されてき
たワードの各ビットを1ビツトづつシフトして出力して
いる。
In the conventional data conversion method, a bit-parallel processing device that processes bit-parallel word-serial data outputs one word at a time to a shift register so that the bit order of the bit-serial data can be maintained, and the shift register inputs and outputs one word to a shift register. Each bit of the received word is shifted one bit at a time and output.

ところで、ビット並列処理装置とシフトレジスタとの間
に、データ定義、すなわちビット配列の順序性の一致が
無い場合がある。たとえば、ビット並列処理装置におい
ては制御情報とこれによ多制御を受けるデータとはそれ
ぞれが一群をなして集中するようなビット配列になって
いるのに対して、シフトレジスタにおいては前記ビット
並列処、 + 理装置以外のシフトレジスタの接続装置のハードウェア
構成上の便宜さによシ、制御情報とこれによ多制御を受
けるデータそれぞれが複数群をなしかつ該2種の群が入
シ混りているようなビット配このような場合には、従来
のデータ変換方式ではビット並列処理装置のプログラム
にょシ、ビット並列ワード直列データをシフトレジスタ
側のデータ定義に合致するようなビット配列のビット直
列データに変換してシフトレジスタへ出方しているため
、プログラムの複雑化およびシステム処理速度の低下を
招くという欠点がある。
By the way, there are cases where there is no agreement in data definition, that is, in the order of bit arrays, between the bit parallel processing device and the shift register. For example, in a bit-parallel processing device, the control information and the data subject to multiple control are arranged in a bit array such that they are concentrated in a group, whereas in a shift register, the bit-parallel processing , + Due to the convenience of the hardware configuration of the connection device of the shift register other than the physical device, the control information and the data that are subject to multiple controls therein form a plurality of groups, and the two types of groups are mixed in the input system. In such a case, in the conventional data conversion method, the program of the bit-parallel processing device converts the bit-parallel word-serial data into a bit-array that matches the data definition of the shift register. Since the data is converted into serial data and output to the shift register, it has the disadvantage of complicating the program and slowing down the system processing speed.

本発明の目的はプログラムを簡単化しかつシステム処理
速度を向上させるデータ変換方式を提供することにある
・ 本発明の方式は入力されたビット並列ワード直列データ
をビット直列データに変換して1ビツトづつ出力するデ
ータ変換方式において、前記ビット並列ワード直列デー
タを格納するデータ格納手祷 段と、前記ビット直列データの出力ビット順位を指定す
るためのアドレス情報があらかじめ格納されているアド
レス情報格納手段と、前記データ格納手段への前記ビッ
ト並列ワード直列データの格納のあと前記アドレス情報
格納手段から読み出される前記アドレス情報を保持する
レジスタとを設け、前記レジスタに読み出されてくる前
記アドレス情報を前記アドレス情報格納手段からの次の
アドレス情報読出し用アドレスとして使用し、前記レジ
スタに保持される前記アドレス情報に基づいて前記デー
タ格納手段から1ビツトづつを読み出すことによシ前記
ビット直列データを出力するようにしている。
An object of the present invention is to provide a data conversion method that simplifies programs and improves system processing speed.The method of the present invention converts input bit-parallel word serial data into bit-serial data, bit by bit. In the data conversion method for outputting, a data storage means for storing the bit-parallel word-serial data, an address information storage means in which address information for specifying an output bit order of the bit-serial data is stored in advance; A register is provided for holding the address information read from the address information storage means after the bit parallel word serial data is stored in the data storage means, and the address information read into the register is stored as the address information. The next address information from the storage means is used as an address for reading, and the bit serial data is output by reading out one bit at a time from the data storage means based on the address information held in the register. ing.

次に本発明について図面を参照して詳細に説明する。Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例および第2図は本実施例の適
用例をそれぞれ示す。
FIG. 1 shows an embodiment of the present invention, and FIG. 2 shows an application example of this embodiment.

切替回路4と、選択回路5と、ビット並列処理装置であ
るアダプタ10と、シフトレジスタ40とを含んでいる
0 第2図を参照すると、本適用例は2つのアダプタ10,
11.2つのデータ変換装置に20,21.2つの保守
盤30,31,2つのシフトレジスタ40゜41.2つ
の論理装置50,51、データ通信回線100.3本の
インタフェース1l1200,201゜300および4
組の接続線60,70,61.71とから構成されてい
る。
The present application example includes a switching circuit 4, a selection circuit 5, an adapter 10 which is a bit parallel processing device, and a shift register 40.
11. Two data conversion devices 20, 21. Two maintenance panels 30, 31, two shift registers 40° 41. Two logical devices 50, 51, data communication line 100. Three interfaces 1l 1200, 201° 300 and 4
It is composed of sets of connecting wires 60, 70, 61, and 71.

論理装置50と51はそれぞれ保守盤30と31からそ
れぞれシフトレジスタ40と41.接続線60と61お
よび70と71を介してそれぞれ論理装置50と51の
保守信号を受けとれるようになっている。保守盤30、
シフトレジスタ40おに収容されているため、接続線6
0,70.61および71は短くかつ多くすることがで
き、これらの接続線は複数ビットを並列して転送してい
る0通常はこのようにして、保守盤30および31から
それぞれ論理装置50および51の保守を行なっている
が、遠隔地からデータ通信回線100を経由して論理装
置50および51の保守を行なうこともできる。特に、
データ通信による情報処理の普及によりこのような遠隔
保守の精度が高まってきている。
Logic units 50 and 51 are connected to shift registers 40 and 41 . . . from maintenance panels 30 and 31, respectively. Maintenance signals for logic devices 50 and 51 can be received via connection lines 60 and 61 and 70 and 71, respectively. maintenance panel 30,
Since it is housed in the shift register 40, the connection line 6
0, 70. 61 and 71 can be short and many, and these connecting lines transfer multiple bits in parallel. This is typically how the maintenance panels 30 and 31 are connected to logic devices 50 and 71, respectively. Although the maintenance of the logical devices 51 is performed, the maintenance of the logical devices 50 and 51 can also be performed from a remote location via the data communication line 100. especially,
With the spread of information processing through data communications, the precision of such remote maintenance is increasing.

データ通信回線100によ)遠隔地からビット直列で送
られてくるデータは、それぞれ保守盤30または31へ
供給される保守信号に類似した保守信号にアダプタ10
または11において変換されるが、この変換処理はビッ
ト並列に行なわれる。アダプタlOと11との間は、た
とえば同一ンピユータ室やユーザの職場に設置されるが
、アダプタlOおよび11はデータ通信回線100やイ
ンタフェース線200および201もビット直列データ
を搬送するようになっている。
Data sent in bit series from a remote location (via data communication line 100) is transmitted to adapter 10 into a maintenance signal similar to the maintenance signal supplied to maintenance panel 30 or 31, respectively.
or 11, but this conversion process is performed in bit parallel. The adapters 10 and 11 are installed, for example, in the same computer room or at the user's workplace, but the adapters 10 and 11 are also designed to carry bit-serial data over the data communication line 100 and the interface lines 200 and 201. .

データ変換装置20と21は、それぞれアダプタ10と
11におけるビット並列ワー、ド直列データをそれぞれ
インタフェース線200 t!−201上のビット直列
データに変換するように動作する。
Data converters 20 and 21 convert bit parallel word and bit serial data in adapters 10 and 11, respectively, to interface lines 200t!, respectively. -201 bit serial data.

ところが、インタフェース線200と201上のビット
直列データのデータ定義はそれぞれシフトレジスタ40
と41におけるデータのデータ定義と合致しているが、
このデータ定義はアダプタ10と11におけるビット並
列ワード直列データのデータ定義とは異なっている。し
たがりて、データ変換装置20と21はデータ形式とデ
ータ定義両方の変換を行なう必要がある。
However, the data definition of the bit serial data on the interface lines 200 and 201 is the same as the shift register 40.
Although it is consistent with the data definition of the data in 41,
This data definition differs from the data definition for bit-parallel word-serial data in adapters 10 and 11. Therefore, data conversion devices 20 and 21 need to convert both data format and data definition.

再び第1図を参照すると、切替回路4はまずアダプタ1
0から供給されるワードWWt−ビット並列ワード直列
データの直列ワード数分の回数だけ受は入れてデータ記
憶回路1へ供給し、そのつどアダプタ10からのビット
並列データPDIワードWWで指定されるワード位置に
格納する。
Referring again to FIG. 1, the switching circuit 4 first connects the adapter 1
Word WWt supplied from 0 - Bit parallel word Serial data is received as many times as the number of serial words and supplied to data storage circuit 1, each time bit parallel data from adapter 10 The word specified by PDI word WW Store in position.

アドレス記憶回路2は、データ記憶回路1のビット位置
とワード°位置とを指定するアドレス情報を、最終的に
出力させたいビット直列データ8D    −のビット
数分だけ、ビット直列データSDのビット順列になるよ
うに、あらかじめ書き込まれ、たとえば読出し専用メモ
リ等で構成される@レジスタ3にはビット直列データ8
Dの先頭のビット位置を指定するアドレス情報が初期設
定されるようになっている。
The address storage circuit 2 converts the address information specifying the bit position and word position of the data storage circuit 1 into bit permutations of the bit serial data SD by the number of bits of the bit serial data 8D- to be finally output. The bit serial data 8 is written in advance and consists of a read-only memory, etc.@register 3 so that
Address information specifying the first bit position of D is initially set.

前述のデータ記憶回路lへのビット並列データPDの格
納が終了すると、切替回路4はレジスタ3の保持するワ
ードRWt−受は入れてデータ記憶回路lへ供給するよ
うに動作する。データ記憶回路lからはこのワードRW
によシ指定されるワード徨1の吉井毒ビット並列データ
が選択回路5へ読み出されてくるが、このビット並列デ
ータのビットのうち、レジスタ3が保持するビットRB
によシ指定される1ビツトのみが、選択回路5から選択
されてシフトレジスタ40へ出力していく。
When the above-mentioned storage of the bit parallel data PD in the data storage circuit l is completed, the switching circuit 4 operates to input the word RWt-receiving held by the register 3 and supply it to the data storage circuit l. From data storage circuit l, this word RW
The Yoshii poison bit parallel data of the word depth 1 specified by the user is read out to the selection circuit 5, but among the bits of this bit parallel data, the bit RB held by the register 3
Only one bit specified by the selection circuit 5 is selected by the selection circuit 5 and output to the shift register 40.

レジスタ3の保持するワードRWおよびビットRBはア
ドレス記憶回路2へも供給されて、アドレス記憶回路2
から次のアドレス情報をレジスタ  −3へ読み出すた
めのアドレスRA(=RW+RB)として使用される。
The word RW and bit RB held by the register 3 are also supplied to the address storage circuit 2.
It is used as address RA (=RW+RB) for reading the next address information from register-3.

第3図は本実施例の動作をよシ具体的に説明するための
図であシ、レジスタ3にアドレス情報家「6」が初期設
定されていれば、アダプタ10から入力されるアドレス
昇順のデータ定義「ABCDEFGHJt−有するビッ
ト並列ワード直列データPDからデータ定義rGcHA
FDBEj  を有するビット直列データ8Dを出力さ
せることができることがわかる 本発明によれば、データ定義の変更をビット並列処理装
置におけるグログ2ムによシ行なうことによシ、ビット
並列ワード直列データをデータ定義の異なるビット直列
データに変換する代シに、以上のような構成を採用する
ことによシ、前記データ定義変更用プログラムを不要化
し得るため、プログラムを簡単化しかつシステム処理速
度を向上させることができる。
FIG. 3 is a diagram for explaining the operation of this embodiment in more detail. If the address information register "6" is initially set in the register 3, the ascending order of the addresses input from the adapter 10 Data definition “ABCDEFGHJt-bit parallel word serial data PD to data definition rGcHA
According to the present invention, it is found that bit serial data 8D having FDBEj can be output by changing the data definition in the log 2 module in the bit parallel processing device. By adopting the above-described configuration for converting bit serial data with different definitions, the program for changing the data definition can be made unnecessary, thereby simplifying the program and improving system processing speed. I can do it.

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

第1図は本発明の一実施例、第2因は本実施例の適用例
および第3図は本実施例を説明するための図である。 図において、1・・・・・・データ記憶回路、2・・・
・・・アドレス記憶回路、3・・・・・・レジスタ、4
・・・・・・切替回路、5・・・選択回路、10,11
・・・・・アダプタ、畝20、21・・・・・・データ
変換回路、30.31・・・・・・保守盤、40.41
 ・・・・・シフトレジスタ、50.51・・・・・・
論理装置、60,61,70.71・・・接続線、10
0・・・・・・データ通信回線、200.201 、3
00・・・・・・インタフェース線、WW、RW・・・
・ワード、RB・・・・・ビット、R人・・・・・アド
レス、PD・ ・・・ビット並列ワード直列データ、S
D・・・・・・ビット直列データ。 代理人 弁理士 内 原  音 1、。 第1図 第2図 γト″レス  データ首ど1を回路の内容  アドシz
記すl巨U条のr勺客OA’            
 5 1           B            
  42          C7 3D               14      
     E               65  
         F               
36         G             
 27         H○ 第 3 図
FIG. 1 is an embodiment of the present invention, the second factor is an application example of this embodiment, and FIG. 3 is a diagram for explaining this embodiment. In the figure, 1... data storage circuit, 2...
...Address storage circuit, 3...Register, 4
...Switching circuit, 5...Selection circuit, 10, 11
...adapter, ridges 20, 21 ...data conversion circuit, 30.31 ...maintenance panel, 40.41
...Shift register, 50.51...
Logical device, 60, 61, 70.71... Connection line, 10
0...Data communication line, 200.201, 3
00...Interface line, WW, RW...
・Word, RB...Bit, R person...Address, PD...Bit parallel word serial data, S
D...Bit serial data. Agent: Patent Attorney Oto Uchihara 1. Figure 1 Figure 2 γT'res Data head 1 is the content of the circuit
Write down the huge U article's guest OA'
5 1 B
42 C7 3D 14
E 65
F
36 G
27 H○ Figure 3

Claims (1)

【特許請求の範囲】[Claims] 入力されたビット並列ワード直列データをビット直列デ
ータに変換して1ビツトづつ出力するデータ変換方式に
おいて、前記ビット並列ワード直列データを格納するデ
ータ格納手段と、前記ビット直列デー4力ビツト順位を
指定するためのアドレス情報があらかじめ格納されてい
るアドレス情報格納手段と、前記データ格納手段への前
記ビット並列ワード直列データの格納のあと前記アドレ
ス情報格納手段から読み出される前記アドレス情報を保
持するレジスタとを設け、前記レジスタに読み出されて
くる前記アドレス情報を前記アドレス情報格納手段から
の次のアドレス情報読出し用アドレスとして使用し、前
記レジスタに保持される前記アドレス情報に基づいて前
記データ格納手段から1ビツトづつを読み出すことによ
シ前記ビット直列データを出力するようにしたことを特
徴とするデータ変換方式。
In a data conversion method that converts input bit-parallel word-serial data into bit-serial data and outputs the bit-by-bit data, a data storage means for storing the bit-parallel word-serial data and a four-bit order of the bit-serial data are specified. address information storage means pre-stored with address information for the data storage means; and a register holding the address information read out from the address information storage means after the bit-parallel word serial data is stored in the data storage means. The address information read out to the register is used as the next address information reading address from the address information storage means, and the address information read out to the register is used as the next address information read address from the data storage means based on the address information held in the register. A data conversion method characterized in that the bit serial data is output by reading bits one by one.
JP19613981A 1981-12-04 1981-12-04 Data converting system Granted JPS5897741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19613981A JPS5897741A (en) 1981-12-04 1981-12-04 Data converting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19613981A JPS5897741A (en) 1981-12-04 1981-12-04 Data converting system

Publications (2)

Publication Number Publication Date
JPS5897741A true JPS5897741A (en) 1983-06-10
JPS6252894B2 JPS6252894B2 (en) 1987-11-07

Family

ID=16352874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19613981A Granted JPS5897741A (en) 1981-12-04 1981-12-04 Data converting system

Country Status (1)

Country Link
JP (1) JPS5897741A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0293698U (en) * 1989-01-11 1990-07-25

Also Published As

Publication number Publication date
JPS6252894B2 (en) 1987-11-07

Similar Documents

Publication Publication Date Title
US4041472A (en) Data processing internal communications system having plural time-shared intercommunication buses and inter-bus communication means
US5410727A (en) Input/output system for a massively parallel, single instruction, multiple data (SIMD) computer providing for the simultaneous transfer of data between a host computer input/output system and all SIMD memory devices
JPH02263260A (en) Memory access switch network
JPS5810236A (en) Interface circuit
US3210733A (en) Data processing system
US4126897A (en) Request forwarding system
US5245705A (en) Functional addressing method and apparatus for a multiplexed data bus
EP1314099B1 (en) Method and apparatus for connecting a massively parallel processor array to a memory array in a bit serial manner
US3976980A (en) Data reordering system
US3766531A (en) Communication line multiplexing apparatus having a main memory and an input/output memory
WO1981002798A1 (en) Computer system and interface therefor
JPS5897741A (en) Data converting system
AU607516B2 (en) Nest level judging hardware device for high speed message handling systems
GB2228813A (en) Data array conversion
JPS6122830B2 (en)
JPS5897740A (en) Data converting system
JPS6145635A (en) Data converter
SU562811A1 (en) Device for information exchange
SU955016A1 (en) Device for interfacing input-output channel to peripheral devices
JPS63234749A (en) Message transmitting equipment
SU1539787A1 (en) Multichannel processor-to-subscribers interface
US3157858A (en) Electrical storage apparatus
SU1446625A1 (en) Device for interfacing electronic computer with subscriber
JPS6217879Y2 (en)
JPS6257043A (en) Memory circuit