JPS5897740A - Data converting system - Google Patents

Data converting system

Info

Publication number
JPS5897740A
JPS5897740A JP19613881A JP19613881A JPS5897740A JP S5897740 A JPS5897740 A JP S5897740A JP 19613881 A JP19613881 A JP 19613881A JP 19613881 A JP19613881 A JP 19613881A JP S5897740 A JPS5897740 A JP S5897740A
Authority
JP
Japan
Prior art keywords
bit
data
address information
serial data
register
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
JP19613881A
Other languages
Japanese (ja)
Other versions
JPS6252893B2 (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 JP19613881A priority Critical patent/JPS5897740A/en
Publication of JPS5897740A publication Critical patent/JPS5897740A/en
Publication of JPS6252893B2 publication Critical patent/JPS6252893B2/ja
Granted legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Communication Control (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To eliminate a program for alteration of data definition to simplify the program and 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 series data SD which underwent a conversion, and an address information storing means 2 stores the address information which designates the storing position of the means 1. A register 3 holds the address information. In this case, the address information WA which is read out to the register 3 is used for a reading address of the next address information given from the means 2. Then the information is written to the means 2 by one bit and on the basis of the address information which is held at the register 3. Thus the means 2 is read to deliver the bit parallel word series data PD after the bit series data is stored.

Description

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

語(ワード)を構成する各桁(ビット)が並列して処理
されかつワードが複数回直列して処理されるような二次
元的構造のビット並列ワード直列データは情報処理分野
において極めて一般的なデータ形式である。一方、デー
タを構成する各ビ。
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, each bit that makes up the data.

トが1ビツトづつ直列して処理される一次元的構造のビ
ット直列データは、たとえばデータ通信回線上のデータ
に代表されるごとく、データを搬送するインタフェース
線を少数化する目的で採用されるデータ形式である。
Bit serial data with a one-dimensional structure in which bits are processed serially one by one is data that is adopted for the purpose of reducing the number of interface lines that carry data, such as data on a data communication line. It is a form.

ビット直列データを処理する機器tビット並列ワード直
列データを処理するMA!へ接続する場合等のように、
ビット直列データ形式によるデータ処理の次に、ビット
並列ワード直列データ形式によるデータ処理を行なう必
要がある場合には、ビン、ト直列データをビット並列ワ
ード直列データにデータ変換する必要が生じる。
Equipment for processing bit-serial data t MA for processing bit-parallel word-serial data! For example, when connecting to
If it is necessary to perform data processing in a bit-parallel word-serial data format after data processing in a bit-serial data format, it becomes necessary to convert the bin-to-bit serial data into bit-parallel word-serial data.

従来のこの種のデータ変換方式は、シフトレジスタtc
1ビットづつをワードを構成するビット数回入力した後
、ビット並列ワード直列データを処理するビット並列処
理装置へ前記シフトレジスタが保持する1ワードを転送
する動作をワード数回繰)返している。
A conventional data conversion method of this type uses a shift register tc.
After inputting one bit at a time several times to form a word, the operation of transferring one word held by the shift register to a bit parallel processing device that processes bit parallel word serial data is repeated several times.

ところで、シフトレジスタとビット並列逃理装置との間
に、データ定義、すなわち、ビット配列の順序性の一致
が無い場合がある。たとえば、シフトレジスタにおいて
は前記ビット並列処理装置以外のシフトレジスタへの接
続装置のハードウェア構成上の便宜さによ)、制御情報
とこれによ〕制御を受けるデータそれぞれが複数群をな
しかつ該−2種の群が入〕混っているようなビット配列
になっているのに対して、ビット並列処理装置において
は前徴2種の群はそれぞれが集中するようなビット配列
になっている場合が多い。
By the way, there are cases where the data definition, that is, the order of the bit arrangement, does not match between the shift register and the bit parallel escape device. For example, in a shift register, depending on the convenience of the hardware configuration of the device connected to the shift register other than the bit parallel processing device, the control information and the data controlled by the control information form multiple groups and -The bit array is such that two types of groups are mixed together, whereas in a bit parallel processing device, the bit array is such that the two types of groups are concentrated. There are many cases.

このような場合には、従来のデータ変換方式では、ビッ
ト並列処理装置がシフトレジスタにおけるデータ定義の
まま入力したビット並列ワード直列データを、ビット並
列処理装置におけるデータ定義に、プログラムによ〕変
換しているため、プログラムの複雑化およびシステム処
理速度の低下を招くという欠点がある。
In such cases, in conventional data conversion methods, the bit-parallel word serial data, which is input to the bit-parallel processing device as it is as defined in the shift register, is converted by a program into the data definition in the bit-parallel processing device. This has the disadvantage of complicating the program and slowing down the system processing speed.

本発明の目的はプログラムを簡単化しかつシステム処理
速度を向上させるデータ変換方式を提供することにある
An object of the present invention is to provide a data conversion method that simplifies programs and improves system processing speed.

本発明の方式は入力されtビ、ト直列データをビット並
列ワード直列データに変換して出力するデータ変換方式
において、前記変換後のど、ト直列データを格納するデ
ータ格納手段と、前記ビ。
The method of the present invention is a data conversion method for converting input serial data into bit-parallel word serial data and outputting the data, comprising: data storage means for storing the serial data after the conversion;

ト直列データの格納位置を指定するためのアドレス情報
があらかじめ格納されているアドレス情報格納手段と、
前記データ格納手段への前記ビット直列データの格納時
に前記アドレス情報格納手段から読み出される前記アド
レス情報を保持するレジスタとを設け、前記レジスタに
読み出されてくる前記アドレス情報を前記アドレス情報
格納手段からの次のアドレス情報読出し用アドレスとし
て使用も、前記レジスタに保持される前記アドレス情報
に基づ込て前記データ格納手段へlビ、トづつを書き込
むことによ)前記ビット直列データを格納したあと、前
記データ格納手段を読み出して前記ビット並列ワード直
列データを出方するようにしている。
address information storage means pre-stored with address information for specifying a storage position of the serial data;
a register for holding the address information read from the address information storage means when the bit serial data is stored in the data storage means; The next address information can also be used as an address for reading information (by writing l bit and g to the data storage means based on the address information held in the register) after storing the bit serial data. , the data storage means is read out to output the bit-parallel word-serial data.

次に本発明について図面を参照して詳細に説明する。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.

第1図を参照すると、本実施例はデータ格納手段である
デ1タ記憶回路1と、アドレス情報格納手段であるアド
レス記憶回路2と、レジスタ3と、切替回路4と、選択
回路5と、シフトレジスタ40と、−ビット並列処理装
置であるアダプタ10とを含んでいる。
Referring to FIG. 1, this embodiment includes a data storage circuit 1 as a data storage means, an address storage circuit 2 as an address information storage means, a register 3, a switching circuit 4, a selection circuit 5, It includes a shift register 40 and an adapter 10 which is a -bit parallel processing device.

籐−2図を参照すると、本適用例は2つの論理装置50
,51と、2つのシフトレジスタ40.41と、2つの
保守盤30.31と、2つのデータ変換装置20.21
と、2つのアダプタ10.11と、4組の接続線71,
70,61.60と、3本のインタフェース線300,
201,200と、データ通信回線100とから構成さ
れている。
Referring to Figure 2, this application example uses two logical devices 50
, 51, two shift registers 40.41, two maintenance panels 30.31, and two data conversion devices 20.21.
, two adapters 10.11, and four sets of connection wires 71,
70, 61.60 and three interface lines 300,
201 and 200, and a data communication line 100.

論理装置50と51はそれぞれ保守盤3oと31へそれ
ぞれシフトレジスタ40と41、接続線7゜と71およ
び60と61を介してそれぞれ論理装置50と51の内
部信号を送出するようになっている。論理装置50、シ
フトレジスタ4oおよびされているため、接続線60,
70,61および71は短くかつ多くすることができ、
これらの接続線は複数ビットを並列して転送している。
The logic devices 50 and 51 are configured to send internal signals of the logic devices 50 and 51 to the maintenance panels 3o and 31, respectively, via shift registers 40 and 41, connection lines 7° and 71, and 60 and 61, respectively. . Logic device 50, shift register 4o and connecting wire 60,
70, 61 and 71 can be short and many,
These connection lines transfer multiple bits in parallel.

通常はこのようにして、論理装[50および51はそれ
ぞれ保守盤30および31へ保守用の内部信号を送出し
ているが、データ通信回線100t−経由して遠隔地へ
内部信号を送出することもてきる、#に、データ通信に
よる情報処理の普及にょ)このような遠隔保守の領置が
高まってきている。
Normally, in this way, the logic devices 50 and 51 send internal signals for maintenance to the maintenance panels 30 and 31, respectively, but it is also possible to send internal signals to a remote location via the data communication line 100t. With the spread of information processing through data communications, remote maintenance is becoming more and more popular.

論塩装雪50または51からそれぞれシフトレジスタ4
oまたは41と、データ変換装置20または21を経由
してそれぞれアダプタ1oまたは11へ送られてくる内
部信号は、データ通信回線100を介して接続される遠
隔地の端末装置に対して、保守盤30または31へ供給
される内部信号に@似した内部信号にアダプタ10また
は11において変換されるが、この変換処理はビット並
列に行なわれる。アダプタ10と11との間は、る几め
、インタフェース線300はビット直列デンビ、−タ室
やユーザの職場に設置されるが、アダプタlOおよび1
1はデータ通信回[1100や列データを搬送するよう
Kなっている。
Shift register 4 from Ronshio Sousetsu 50 or 51 respectively
Internal signals sent to the adapter 1o or 11 via the adapter 1o or 41 and the data conversion device 20 or 21, respectively, are transmitted to the terminal device at a remote location connected via the data communication line 100 to the maintenance panel. It is converted in adapter 10 or 11 into an internal signal similar to the internal signal supplied to 30 or 31, but this conversion process is performed bit-parallel. Between the adapters 10 and 11, the interface line 300 is installed in a bit-series storage, data room or user's workplace.
1 is designed to carry data communication times [1100 and column data].

データ変換装置2oと21は、それぞれインタフェース
線200と201上のビット直列データをそれぞれアダ
プタ1oと11におけるビット並列ワード直列デーlに
変換するようく動作する。
Data conversion devices 2o and 21 operate to convert bit-serial data on interface lines 200 and 201, respectively, into bit-parallel word-serial data l at adapters 1o and 11, respectively.

ところが、インタフェースl1200と201上のビッ
ト直列データのデータ定義はそれぞれシフトレジスタ4
0と41におけるデータのデータ定義と合致しているが
、このデータ定義はアダプタ10と11におけるビット
並列ワード直列データのデータ定義とは異なっている。
However, the data definition of the bit serial data on the interfaces 1200 and 201 is the shift register 4, respectively.
0 and 41, but this data definition differs from the data definition for bit-parallel word-serial data in adapters 10 and 11.

したがって、データ変換装置20と21はデータ形式と
データ定義両方の変換を行なう必要がある。
Therefore, data converters 20 and 21 must convert both data formats and data definitions.

再び第1図を参照すると、アドレス記憶回路2はデータ
記憶回路1のビット位置とワード位置とを指定するアド
レス情報が、シフトレジスタ4゜から入力されるビット
直列データSDのビット数分だけ、最終的に出方させた
いビット並列ワード直列データFDのビット順列になる
ように、予め書き込まれ、たとえば挽出し専用メモリ等
で構成される。
Referring again to FIG. 1, the address storage circuit 2 stores the address information specifying the bit position and word position of the data storage circuit 1 as many times as the number of bits of the bit serial data SD input from the shift register 4°. It is written in advance so as to have the bit permutation of the bit-parallel word-serial data FD that is desired to be output, and is constituted by, for example, a memory dedicated to extraction.

レジスタ3にはビット直列データSDの先頭ビット1格
納すべきアドレス情報が初期設定されるようになってい
る。
The register 3 is initially set with address information to store the first bit 1 of the bit serial data SD.

切替回路4はまずレジスタ3が保持するアドレス情報の
うちのワードWWを受は入れてデータ記憶回路1へ供給
し、選択回路5はレジスタ3が保持するアドレス情報の
うちのど、トWBt−データ記憶回路1へ供給する。こ
れらのワードWWとビットWBとで特定されるデータ記
憶回路1の位置へ、シフトレジスタ40から送られてく
るビット直列データSDのうちの1ビ、トが格納される
The switching circuit 4 first accepts the word WW of the address information held by the register 3 and supplies it to the data storage circuit 1, and the selection circuit 5 selects the word WW of the address information held by the register 3. Supply to circuit 1. One bit of the bit serial data SD sent from the shift register 40 is stored in the position of the data storage circuit 1 specified by the word WW and the bit WB.

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

このようにして、アドレス記憶回路2t−ビット直列デ
ータ8Dのビット数回だけ読み出してビット直列データ
8Diデータ記憶回路lに格納した後に、切替回路4は
アダプタ10から供給されるワードRWt−受は入れて
データ記憶回路lへ供給するように動作する。データ記
憶回路1からはこのワードRWにより指定されるワード
位置からビット並列ワード直列データFDのうちの1ワ
一ド分がビット並列処理装置へ読み出されていく。
In this way, after reading the bits of the address storage circuit 2t-bit serial data 8D several times and storing them in the bit-serial data 8Di data storage circuit 1, the switching circuit 4 switches the word RWt-receiver supplied from the adapter 10 to It operates to supply the data to the data storage circuit l. From the data storage circuit 1, one word of the bit-parallel word-serial data FD is read out to the bit-parallel processing device from the word position specified by the word RW.

第3図は本実施例の動作をより具体的に説明する九めの
図であり、レジスタ3にアドレス情報[6Iが初期設定
されていれば、シフトレジスタ40から入力されるデー
タ定義rGcHAFDBEJt有するビット直列データ
からデータ定義「ABcDEFGHJを有するビット並
列ワード直列データPDt−出力させることができるこ
とがわかる。
FIG. 3 is a ninth diagram explaining the operation of this embodiment in more detail. If register 3 is initially set to address information [6I, data definition rGcHAFDBEJt input from shift register 40] It can be seen that bit-parallel word serial data PDt- having the data definition ABcDEFGHJ can be output from the serial data.

本発明によれば、データ定義の変][ラビット並列処理
装置におけるプログラムによ〕行なうことによ〕、ビッ
ト直列データをデータ定義の異なるビット並列ワード直
列データに変換する代シに、以上のような構成を採用す
ることによシ、前記データ定義変更用プログラムを不要
化し得る九め1プログラムを簡単化しかつシステム処理
速度を向上させることができる。
According to the present invention, bit-serial data is converted into bit-parallel word-serial data with a different data definition by changing the data definition [by a program in a rabbit parallel processing device]. By adopting this configuration, it is possible to eliminate the need for the data definition change program, simplify the ninth program, and improve system processing speed.

【図面の簡単な説明】[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,30
0・・・・・・インタフェース線、WW、RW・・・・
・・ワード、WB・・・・・・ビット、W人・・・・・
・アドレス、PD・・・・・・ビ、ト並列ワード直列デ
ータ、8D・・・・・・ビット直列第1図 第2図 アドルス  データtと・1102各のr勾容  アト
□レス記(・息回r番り内容OA        5 1           B            
   42           C7 3D                14     
 E        6 S           F            
    36           (r      
          27           HQ 第3図
FIG. 1 is an embodiment of the present invention, FIG. 2 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, 20.21...Data converter, 30.31...Maintenance panel, 40°41...
...Shift register, 50.51...Logic device, 60,61,70.71...Connection line, 10
0... Data communication line, 200, 201, 30
0...Interface line, WW, RW...
...Word, WB...Bit, W person...
・Address, PD...Bit parallel word serial data, 8D...Bit serial Figure 1 Figure 2 Address data t and ・1102 each r gradient Address □ Address note (・Breathing rotation number r content OA 5 1 B
42 C7 3D 14
E 6 S F
36 (r
27 HQ Figure 3

Claims (1)

【特許請求の範囲】[Claims] 入力されたビット直列データをビット並列ワード直列デ
ータに変換して出力するデータ変換方式において、前記
変換後のビット直列データを格納するデータ格納手段と
、前記ビット直列データの格納位置を指定するためのア
ドレス情報があらかじめ格納されているアドレス情報格
納手段と、前記データ格納手段への前記ビット直列デー
タの格納時に前記アドレス情報格納手段から読み出され
る前記アドレス情報を保持するレジスタと會設け、前記
レジスタに読み出されてくる前記アドレス情報を前記ア
ドレス情報格納手段からの次のアドレス情報読出し用ア
ドレスとして使用し、前記レジスタに保持される前記ア
ドレス情報に基づいて前記デー夫格納手段へ1ビ、トづ
つを書き込むことにより前記ビット直列データを格納し
たあと、前記データ格納手段ヲ読み出して前記ビット並
列ワード直列データを出力するようにし几ことt−特徴
とするデータ変換方式。
In a data conversion method for converting input bit-serial data into bit-parallel word-serial data and outputting the converted bit-serial data, a data storage means for storing the converted bit-serial data and a means for specifying a storage position of the bit-serial data are provided. An address information storage means in which address information is stored in advance, and a register that holds the address information read out from the address information storage means when the bit serial data is stored in the data storage means, and The output address information is used as an address for reading the next address information from the address information storage means, and one bit at a time is sent to the data storage means based on the address information held in the register. A data conversion method characterized in that after storing the bit-serial data by writing, the data storage means is read out to output the bit-parallel word-serial data.
JP19613881A 1981-12-04 1981-12-04 Data converting system Granted JPS5897740A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS5897740A true JPS5897740A (en) 1983-06-10
JPS6252893B2 JPS6252893B2 (en) 1987-11-07

Family

ID=16352859

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS5897740A (en)

Also Published As

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

Similar Documents

Publication Publication Date Title
JPS5912666Y2 (en) data communication system
US3331055A (en) Data communication system with matrix selection of line terminals
US3413612A (en) Controlling interchanges between a computer and many communications lines
US3493731A (en) Hybrid computer interface having plurality of block addressable channels
JPS5897740A (en) Data converting system
US5428801A (en) Data array conversion control system for controlling conversion of data arrays being transferred between two processing systems
US3719930A (en) One-bit data transmission system
JPS6252894B2 (en)
JPH0430217B2 (en)
EP0076408B1 (en) Functional addressing method for a multiplexed data bus
JPS62182857A (en) Input and output controller
JPS61148562A (en) Data transfer system of information processor
JPS6257043A (en) Memory circuit
JPS62102626A (en) Data converter
JP2708366B2 (en) Data processing system and auxiliary control device
SU1485257A1 (en) Computer/communication line interface
JPS63234749A (en) Message transmitting equipment
SU1539787A1 (en) Multichannel processor-to-subscribers interface
KR890702154A (en) Computer peripheral controller
JPH0668055A (en) Digital signal processor
JPS58195230A (en) Channel controller
JPH0285950A (en) Inter-bus transfer system
JPS6368955A (en) Input/output controller
JPH04342022A (en) Shift type bit-byte converting system
JPH02216529A (en) Recognition processing system for electric signal