JPS623323A - Conversion system for data format - Google Patents
Conversion system for data formatInfo
- Publication number
- JPS623323A JPS623323A JP14171585A JP14171585A JPS623323A JP S623323 A JPS623323 A JP S623323A JP 14171585 A JP14171585 A JP 14171585A JP 14171585 A JP14171585 A JP 14171585A JP S623323 A JPS623323 A JP S623323A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- bits
- input
- output
- 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
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 claims description 7
- 230000008707 rearrangement Effects 0.000 claims description 2
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 3
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデータフォーマット変換方式、特に複数並列の
データを入力し、データのビット間での論理演算、配置
変更を行ない出力データとするようなデータフォーマッ
ト変換方式に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a data format conversion method, particularly a method that inputs multiple parallel data and performs logical operations and rearrangement between bits of the data to produce output data. Regarding data format conversion method.
従来のデータフォーマット変換回路として本発明の実施
例に対応した回路図を第4図に示す。まず複数の入力8
ビツトデータを上位4ビツト・下位4ビツトに分けて入
力データ用の4ビツトメモリ向路6にそれぞれ制御信号
発生回路10からの制御信号101,102.111に
より保持する。次に入・出力間でデータフォーマット変
換するため4ビツトオア回路7Sよび4ビツト切替ゲー
ト回路8に4ビツトメモリ回路6に保持された入力デ−
タが取込まれデータフォーマット変換される。次にデー
タフォーマット変換後のデータは制御信号発生回路10
からの制御信号105,111,112により出力デー
タ用の4ビツトメモリ回路9に保持される。そして制御
信号発生回路10からの制御信号106,113,11
4により4ビツトゲート回路11を切替えて複数の出力
データを時分割に8ビツトずつ出力する。A circuit diagram of a conventional data format conversion circuit corresponding to an embodiment of the present invention is shown in FIG. First, multiple inputs 8
Bit data is divided into upper 4 bits and lower 4 bits and held in a 4-bit memory path 6 for input data by control signals 101, 102, and 111 from a control signal generating circuit 10, respectively. Next, in order to convert the data format between input and output, the input data held in the 4-bit memory circuit 6 is sent to the 4-bit OR circuit 7S and the 4-bit switching gate circuit 8.
data is imported and the data format is converted. Next, the data after data format conversion is transferred to the control signal generation circuit 10.
The output data is held in the 4-bit memory circuit 9 by control signals 105, 111, and 112 from the output data. Control signals 106, 113, 11 from the control signal generation circuit 10
4, the 4-bit gate circuit 11 is switched to output a plurality of output data 8 bits at a time in a time-division manner.
すなわち回路構成として入力側及び出力側それぞれに独
立した保持回路と入・出力間にデータフォーマットを変
換するための演算処理回路を設けているため人・出力デ
ータ数と並列データ長に対応した数の回路を必要とした
。In other words, the circuit configuration includes independent holding circuits on the input side and output side, and an arithmetic processing circuit for converting the data format between the input and output. needed a circuit.
上述した従来のデータフォーマット変換方式は、並列人
・出力データ毎に保持回路を、没けているたぬ、回路数
が多くまた並列データのため回路間の信号数が多いとい
う欠点があった。The above-mentioned conventional data format conversion method has disadvantages in that a holding circuit is not provided for each parallel output data, the number of circuits is large, and the number of signals between circuits is large due to the parallel data.
また人・出力データの組み合わぜが変化する毎に回路構
成が変わるという欠点があった。Another drawback is that the circuit configuration changes every time the combination of person and output data changes.
本発明によると複数ビット並列のデータを入力し入力デ
ータに従ってフォーマット変換するデータフォーマット
変換回路において、データの入力動作と変換出力動作が
非同期であり、且つ並列2ビット以上を最小単位とし最
小単位並列ビット数の整数倍を1組とするデータ2組以
上を入力してランダムアクセスメモリ回路に書込み、ラ
ンダムアクセスメモリ回路内の被変換データを読出し、
論理ゲート回路と保持回路を通して入力データ間あるい
は入力データと旧入力データ間にてビットの論理和、論
理積あるいは最小単位並列ビット毎の配置変更のフォー
マット変換を行なって再び油記ランダムアクセスメモリ
回路に書込む動作をデータ1組を構成する最小単位並列
ビット数の組数分を繰り返し行ない出力データとして保
持し異なるフォーマットデータ1組以上を出力すること
を%敵とするデータフォーマット変換方式が得られる。According to the present invention, in a data format conversion circuit that inputs multiple bits of parallel data and converts the format according to the input data, the data input operation and the conversion output operation are asynchronous, and the minimum unit is two or more parallel bits, and the minimum unit is the parallel bit. Input two or more sets of data, each set being an integer multiple of a number, write them into a random access memory circuit, read out the converted data in the random access memory circuit,
Through the logic gate circuit and the holding circuit, format conversion is performed between the input data or between the input data and the old input data, such as bit logical sum, logical product, or arrangement change for each minimum unit parallel bit, and the data is returned to the random access memory circuit. A data format conversion method is obtained in which the write operation is repeatedly performed for the number of sets of minimum unit parallel bits constituting one set of data, and the data is held as output data, and the output of one or more sets of different format data is an enemy.
すなわち本発明のデータフォーマット変換方式は入・出
力の保持回路数及び回路間の信号数を削除するため信号
ラインをバス化し、保持回路をRAM化し、同−RAM
への読み出し及び切替ゲート回路を介しての書き込みを
繰り返す手段を講じている。In other words, the data format conversion method of the present invention converts the signal line into a bus in order to eliminate the number of input/output holding circuits and the number of signals between the circuits, converts the holding circuit into a RAM, and converts the holding circuit into a RAM.
Measures are taken to repeat reading from and writing to through the switching gate circuit.
またnビット単位でのビット位置の変換、ビットの論理
演算についてもRAMへの読み出し及び切替ゲート回路
を介しての書き込みを繰り返すことにより実現している
。Further, conversion of bit positions in units of n bits and logical operations on bits are realized by repeating reading to the RAM and writing via the switching gate circuit.
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明のn = 4ビツトの場合の実施例を示
すブロック図である。第1図に示す実施例は入力データ
とフォーマット変換前データとを切替える4ビツト切替
ゲート回路1、入力用(変換前)データ及び出力用(変
換後)データを一時格納する4ビットRkM回路2.4
ビツトメモリ回路3.4ビツト演算処理及び保持回路4
と、制御イご号発生回路5を備えて構成される。FIG. 1 is a block diagram showing an embodiment of the present invention when n=4 bits. The embodiment shown in FIG. 1 includes a 4-bit switching gate circuit 1 for switching between input data and data before format conversion, a 4-bit RkM circuit 2 for temporarily storing input (before conversion) data and output (after conversion) data. 4
Bit memory circuit 3. 4-bit operation processing and holding circuit 4
and a control iphone signal generation circuit 5.
第2図、第3図に第1図の実施例のフォーマット変換の
説明図とタイムチャートを示す。FIGS. 2 and 3 show explanatory diagrams and time charts of format conversion in the embodiment shown in FIG. 1.
この第1図の実施例の基本的動作を以下に説明する。8
ビツト長の入力データ4組(&B、CD。The basic operation of the embodiment shown in FIG. 1 will be explained below. 8
4 sets of bit length input data (&B, CD.
E(1)F■、E@F■)を4ビット単位で制御信号発
生回路5からの切替信号11.12により4ビツト切替
ゲート回路1を通過し、データバス101を経て4ピツ
)RAM回路2の制御信号発生回路からのRAMアドレ
ス指定信号15〜18で定められたエリアに、制御信号
発生回路5からの書込み信号19により格納する。次に
制御信号発生回路5からの読出し信号20によりアドレ
ス指定15〜18で指定された変換前データ人を読出し
、制御信号発生回路5からの書込み信号21により4ビ
ツトメモリ回路3に保持する。次に制御KI信号発生回
路5からの続出し信号20によりアドレス指定15〜1
8で指定された変換前データCを4ビットR,AM回路
より読出し、データバス102を純で4ビツト演算処理
及び保持回路4に入力する。E(1)F■, E@F■) is passed through the 4-bit switching gate circuit 1 by the switching signal 11.12 from the control signal generation circuit 5 in units of 4 bits, and is transferred to the 4-bit RAM circuit via the data bus 101. In response to the write signal 19 from the control signal generation circuit 5, the data is stored in the area determined by the RAM address designation signals 15 to 18 from the control signal generation circuit 2. Next, the pre-conversion data specified by addresses 15 to 18 are read out by the read signal 20 from the control signal generation circuit 5, and held in the 4-bit memory circuit 3 by the write signal 21 from the control signal generation circuit 5. Next, addresses 15 to 1 are designated by the successive signal 20 from the control KI signal generation circuit 5.
The pre-conversion data C specified by 8 is read out from the 4-bit R, AM circuit, and the data bus 102 is input to the purely 4-bit arithmetic processing and holding circuit 4.
ここで4ビツトメモリ回路3に格納されているデータ人
と論理和され、その結果を制御信号発生回路5からの誓
込み信号22により4ビツト演算処理及び保持回路4に
保持する。そしてその出力を制御信号発生回路5からの
切替信号14により、4ビツト切替ゲート回路1を通過
し、更にアト1/ス指定15〜18で指定された4ピッ
laAM回路2のエリアミζ書込み信号19により格納
する。Here, the data stored in the 4-bit memory circuit 3 is logically summed, and the result is held in the 4-bit arithmetic processing and holding circuit 4 by the pledge signal 22 from the control signal generation circuit 5. Then, the output is passed through the 4-bit switching gate circuit 1 by the switching signal 14 from the control signal generation circuit 5, and is then sent to the 4-bit laAM circuit 2 as the area error ζ write signal 19 specified by the at 1/s specifications 15 to 18. Stored by
ここで変換前データAとCの論理和の結果としてデータ
Gが変換後メモリエリアに格納されたことになる。Here, as a result of the logical sum of the pre-conversion data A and C, data G is stored in the post-conversion memory area.
次に、上記と同様にして変換前データE■、E■の論理
和の結果として変換後データI、Kが4ビットRAM回
路2に格納される。Next, in the same manner as described above, the converted data I and K are stored in the 4-bit RAM circuit 2 as a result of the logical sum of the pre-converted data E■ and E■.
次に、制御信号発生回路5からの続出し13号20によ
りアドレス指定15〜18で指定された変換前データB
を読出し、書込み1号21により4ビツトメモリ回路3
に保持する。その出力データがデータバス105を社で
切替信号13により4ビツト切替ゲート回路1を通過し
て、アト1/ス指定15〜18で指定されるエリアに誉
込み信号19により格納する。次に、アドレス指定15
〜18で指定された変換後データGを読出し、信号20
で読出しデータバス106を経て上位4ビツトとして出
力し、同時に4ビツトメモリ回路3に保持されているデ
ータBを下位4ビツトとしてデータ送出する。Next, the pre-conversion data B designated by address designations 15 to 18 is output from the control signal generation circuit 5 by No. 13 No. 20.
The 4-bit memory circuit 3 is read by writing No. 1 21.
to hold. The output data passes through the 4-bit switching gate circuit 1 on the data bus 105 in response to the switching signal 13, and is stored in the area designated by the address 1/pass designations 15 to 18 in response to the input signal 19. Next, address specification 15
Read the post-conversion data G specified by ~18 and send the signal 20.
Then, the data is output as the upper 4 bits via the read data bus 106, and at the same time, data B held in the 4-bit memory circuit 3 is sent out as the lower 4 bits.
次に、上記と同様にして変換前データDを読出し、上位
4ビツトデータGと同時に下゛位4ビットとして出力す
る。つまりここで、上位4ビツトとしてはデータAとC
の論理和、下位4ビツトとしては時間によりデータBま
たはDに変化するデータとして出力されることになる。Next, the pre-conversion data D is read out in the same manner as described above, and output as the lower 4 bits simultaneously with the upper 4 bits of data G. In other words, here, the upper 4 bits are data A and C.
The logical sum of the lower 4 bits is output as data that changes to data B or D depending on time.
同じようにして変換前データF■を読出し、4ビツトメ
モリ回路3に臀込み、次に変換後データIを続出すこと
により上位4ビツトとしてデータI、下位4ビツトとし
−CデータF■が出力する。In the same way, the pre-conversion data F■ is read out and stored in the 4-bit memory circuit 3, and then the post-conversion data I is output one after another, so that data I is output as the upper 4 bits and -C data F■ is output as the lower 4 bits. .
更に上位4ビツトとしてデータに1下位4ビットとして
データF■を出力する場合も同様である。Furthermore, the same holds true when outputting data F1 as the upper 4 bits and 1 as the lower 4 bits.
本実施例は、n == 4ビツトで、任意の4ビツトす
べてをオアする場合であるが、4ビツト以外でも、又、
論理演算のビット数が全ビットでない場合でも本実施例
と同様な考え方でデータフォーマットの変換が可能であ
る。In this example, n == 4 bits and all 4 arbitrary bits are ORed, but other than 4 bits may also be used.
Even when the number of bits in a logical operation is not all bits, it is possible to convert the data format using the same concept as in this embodiment.
本実陶例は、入・出力データのビット構成が8ビツトで
あるが本実施例の制御信号発生回路の変更のみで、4ビ
ツトの整数倍のすべての入・出方データのフォーマット
変換が同一回路構成にて実現できる。In this practical example, the bit configuration of input/output data is 8 bits, but the format conversion of all input/output data that is an integer multiple of 4 bits is the same, with only a change in the control signal generation circuit of this embodiment. This can be realized by circuit configuration.
以上説明したように本発明は、複数の入−出力データで
、nピットの整数倍のビット構成を有するデータのフォ
ーマット変換がすべて同一回路で可能となり、回路数の
大巾な低減、設計期間の著しい短縮が実現できる効果が
ある。As explained above, the present invention enables the format conversion of multiple input/output data having a bit configuration that is an integer multiple of n pits, all using the same circuit, which greatly reduces the number of circuits and shortens the design period. This has the effect of achieving significant shortening.
第1図は本発明の一実梅例を示すブロック図、第2図は
データフォーマット変換の一例を示す説明図、43図は
第1図の動作を示すタイムチャート、第4図は従来回路
の一例を示すブロック図である。
1・・・・・・4ビツト切替ゲート回路、2・・・・・
・4ビットRAM回路、3・・・・・・4ビツトメモリ
回路、4・・・・・・4ビツト演算処理及び保持回路、
5・・・・・・制御信号発生回路。
−Bやニド−へ、
交1−
モ
第4図Fig. 1 is a block diagram showing an example of the present invention, Fig. 2 is an explanatory diagram showing an example of data format conversion, Fig. 43 is a time chart showing the operation of Fig. 1, and Fig. 4 is a diagram of the conventional circuit. FIG. 2 is a block diagram showing an example. 1...4-bit switching gate circuit, 2...
・4-bit RAM circuit, 3...4-bit memory circuit, 4...4-bit arithmetic processing and holding circuit,
5... Control signal generation circuit. -To B and Nido-, intersection 1-mo Fig. 4
Claims (1)
ォーマット変換するデータフォーマット変換回路におい
て、データの入力動作と変換出力動作が非同期であり、
且つ並列2ビット以上を最小単位とし最小単位並列ビッ
ト数の整数倍を1組とするデータ2組以上を入力してラ
ンダムアクセスメモリ回路に書込み、ランダムアクセス
メモリ回路内の被変換データを読出し、論理ゲート回路
と保持回路を通して入力データ間あるいは入力データと
旧入力データ間にてビットの論理和、論理積あるいは最
小単位並列ビット毎の配置変更のフォーマット変換を行
なって再び前記ランダムアクセスメモリ回路に書込む動
作をデータ1組を構成する最小単位並列ビット数の組数
分を繰り返して行ない出力データとして保持し異なるフ
ォーマットデータ1組以上を出力することを特徴とする
データフォーマット変換方式。In a data format conversion circuit that inputs multiple bits of parallel data and converts the format according to the input data, the data input operation and conversion output operation are asynchronous,
In addition, two or more sets of data in which the minimum unit is two or more parallel bits and one set is an integer multiple of the minimum unit parallel bit number are input and written to the random access memory circuit, the data to be converted in the random access memory circuit is read, and the logic Through the gate circuit and the holding circuit, format conversion is performed between the input data or between the input data and the old input data, such as bit logical sum, logical product, or rearrangement change for each minimum unit parallel bit, and then written to the random access memory circuit again. A data format conversion method characterized in that an operation is repeatedly performed for the number of sets of minimum unit parallel bits constituting one data set, and the data is held as output data and one or more different format data sets are output.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14171585A JPS623323A (en) | 1985-06-28 | 1985-06-28 | Conversion system for data format |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14171585A JPS623323A (en) | 1985-06-28 | 1985-06-28 | Conversion system for data format |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS623323A true JPS623323A (en) | 1987-01-09 |
| JPH0444286B2 JPH0444286B2 (en) | 1992-07-21 |
Family
ID=15298511
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14171585A Granted JPS623323A (en) | 1985-06-28 | 1985-06-28 | Conversion system for data format |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS623323A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4991341A (en) * | 1972-12-29 | 1974-08-31 | ||
| JPS57137934A (en) * | 1981-02-20 | 1982-08-25 | Hitachi Ltd | Binary-coded decimal and binary code conversion processing system |
-
1985
- 1985-06-28 JP JP14171585A patent/JPS623323A/en active Granted
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4991341A (en) * | 1972-12-29 | 1974-08-31 | ||
| JPS57137934A (en) * | 1981-02-20 | 1982-08-25 | Hitachi Ltd | Binary-coded decimal and binary code conversion processing system |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0444286B2 (en) | 1992-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| GB742470A (en) | Improvements in or relating to electronic digital computing machines | |
| US3988605A (en) | Processors for the fast transformation of data | |
| JPH0444286B2 (en) | ||
| JPH01134544A (en) | Memory access method | |
| JPS61192139A (en) | Frame converting circuit | |
| JPH066881A (en) | Time-division data interchange system | |
| JPS6014322A (en) | Digital data comparator | |
| JPS59151371A (en) | Semiconductor memory element | |
| JPH11150459A (en) | Pulse output circuit | |
| JPS6398046A (en) | Memory controller | |
| JPS6134172B2 (en) | ||
| JPH01171331A (en) | Timing signal generating circuit | |
| JPS62186609A (en) | Signal generating circuit | |
| JPH0239798A (en) | Converter for tdma data and tdm data | |
| JPH0514985A (en) | Digital exchange | |
| JPH05205038A (en) | Data converter | |
| JPH06233364A (en) | Data phase converter | |
| JPS6325717A (en) | Data transfer circuit | |
| JPS61276058A (en) | System of preprocessing for switching-setting of benes permutation network | |
| JPS62139417A (en) | Code conversion system | |
| JPS63157599A (en) | Time division multiplex time switch circuit | |
| JPS5975491A (en) | Integrated circuit device incorporated with memory control circuit | |
| JPH03280796A (en) | Shunting system for time slot | |
| JPS6145370A (en) | Buffer memory device of data processor | |
| JPS58159091A (en) | Time division switch controlling circuit of time division switchboard |