JP2513415B2 - Parallel / serial signal conversion circuit - Google Patents

Parallel / serial signal conversion circuit

Info

Publication number
JP2513415B2
JP2513415B2 JP5161890A JP16189093A JP2513415B2 JP 2513415 B2 JP2513415 B2 JP 2513415B2 JP 5161890 A JP5161890 A JP 5161890A JP 16189093 A JP16189093 A JP 16189093A JP 2513415 B2 JP2513415 B2 JP 2513415B2
Authority
JP
Japan
Prior art keywords
signal
circuit
parallel
serial
clock signal
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 - Lifetime
Application number
JP5161890A
Other languages
Japanese (ja)
Other versions
JPH0723038A (en
Inventor
俊文 五十嵐
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5161890A priority Critical patent/JP2513415B2/en
Publication of JPH0723038A publication Critical patent/JPH0723038A/en
Application granted granted Critical
Publication of JP2513415B2 publication Critical patent/JP2513415B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は電子回路要素の一つとし
て利用する。本発明はパラレルデータを一定の変換則に
したがってシリアルデータに変換するパラレル・シリア
ル信号変換回路として利用する。
BACKGROUND OF THE INVENTION The present invention is used as one of electronic circuit elements. The present invention is used as a parallel / serial signal conversion circuit for converting parallel data into serial data according to a certain conversion rule.

【0002】[0002]

【従来の技術】電子装置では、通信回線にあるいは他装
置にデータ信号を伝送するときに、装置内部にあるパラ
レルデータをシリアルデータに変換するパラレル・シリ
アル信号変換回路が用いられる。パラレルデータは8ビ
ット、16ビット、32ビットなど2のn乗ビット構成
になっているものが標準的であり、シリアルデータはそ
のパラレルデータに対応してそれぞれ複数の標準的な信
号形式がある。標準的な信号形式毎にシリアルデータの
ビット伝送速度(ビットレートあるいは周波数)が異な
る。また、シリアルデータにフレーム識別用にあるいは
同期パターンとして付加される特定パターンの信号もそ
の形式が異なる。
2. Description of the Related Art An electronic device uses a parallel / serial signal conversion circuit for converting parallel data in the device into serial data when transmitting a data signal to a communication line or to another device. It is standard that the parallel data has an n-th power of 2 such as 8 bits, 16 bits, and 32 bits, and the serial data has a plurality of standard signal formats corresponding to the parallel data. The bit transmission rate (bit rate or frequency) of serial data differs for each standard signal format. The format of the signal of a specific pattern added to the serial data for frame identification or as a synchronization pattern is also different.

【0003】従来のパラレル・シリアル信号変換回路に
ついては、特開昭61−116440号公報、特開昭6
3−262938号公報、特開平1−233845号公
報などに開示がある。
Regarding the conventional parallel-serial signal conversion circuit, Japanese Patent Application Laid-Open No. 61-116440 and Japanese Patent Application Laid-Open No. 6-116440.
It is disclosed in Japanese Patent Application Laid-Open No. 3-262938, Japanese Patent Application Laid-Open No. 1-233845.

【0004】[0004]

【発明が解決しようとする課題】従来のパラレル・シリ
アル信号変換回路は、一つの変換則ごとに固定したもの
である。したがって、パラレル・シリアル信号変換はそ
の変換則毎に別の回路が必要であり、相手回路にしたが
って別の設計を行わなければならない。
The conventional parallel-serial signal conversion circuit is fixed for each conversion rule. Therefore, parallel / serial signal conversion requires a different circuit for each conversion rule, and different designs must be made according to the counterpart circuit.

【0005】本発明はこのような背景に行われたもので
あって、複数のパラレル・シリアル信号変換則のいずれ
にも一つの回路で対応することができる装置を提供する
ことを目的とする。
The present invention has been made against such a background, and an object of the present invention is to provide a device capable of coping with any of a plurality of parallel-serial signal conversion rules with a single circuit.

【0006】[0006]

【課題を解決するための手段】本発明は、クロック信号
を発生するクロック信号発生回路と、パラレルデータを
入力しそのクロック信号に同期してシリアルデータを出
力するメモリ回路とを備えたパラレル・シリアル信号変
換回路において、前記パラレルデータの入力回路に挿入
された信号処理回路と、この信号処理回路に制御プログ
ラムを与えるROMとを備え、前記信号処理回路は、前
記ROMの読出出力にしたがって通過するパラレルデー
タに特定パターン信号を付加する手段と、前記クロック
信号発生回路を制御する手段とを含み、前記ROMは複
数のパラレル・シリアル信号変換則についての制御プロ
グラムを保持して設定によりその複数の変換則のうちの
一つに対応する制御プログラムを読出すように構成され
たことを特徴とする。
SUMMARY OF THE INVENTION The present invention provides a parallel serial system having a clock signal generating circuit for generating a clock signal and a memory circuit for receiving parallel data and outputting serial data in synchronization with the clock signal. The signal conversion circuit includes a signal processing circuit inserted in the parallel data input circuit and a ROM for giving a control program to the signal processing circuit. The signal processing circuit passes parallel signals in accordance with the read output of the ROM. The ROM includes a means for adding a specific pattern signal and a means for controlling the clock signal generation circuit, and the ROM holds a control program for a plurality of parallel-serial signal conversion rules and sets the plurality of conversion rules by setting. Is configured to read a control program corresponding to one of the .

【0007】前記特定パターン信号は、フレーム識別信
号(F)およびまたは同期信号(S)であり、前記クロ
ック信号発生回路を制御する手段は、クロック信号周波
数を制御する手段を含むことが望ましい。
The specific pattern signal is a frame identification signal (F) and / or a synchronization signal (S), and the means for controlling the clock signal generating circuit preferably includes means for controlling the clock signal frequency.

【0008】[0008]

【作用】ROMに複数のパラレル・シリアル信号変換則
に対応して複数の制御プログラムが記憶されている。そ
して、この制御プログラムの一つをROMの制御端子の
設定により読出すことができ、その読出出力を信号処理
回路に与える。信号処理回路では、この制御プログラム
にしたがってフレーム識別用あるいは同期用の特定パタ
ーンを発生するとともに、クロック信号発生回路に対し
てその発生クロック信号の状態(クロック信号周波数)
を制御する。
A ROM stores a plurality of control programs corresponding to a plurality of parallel / serial signal conversion rules. One of the control programs can be read by setting the control terminal of the ROM, and the read output is given to the signal processing circuit. The signal processing circuit generates a specific pattern for frame identification or synchronization in accordance with this control program, and the state of the generated clock signal (clock signal frequency) to the clock signal generation circuit.
Control.

【0009】ROMの設定を変更することにより、ある
いはROMを交換することにより、複数の変換則に一つ
の回路で対応することができるから、相手回路に応じて
新たな設計を行うことは不要である。本発明の回路は汎
用品として市販することができる。
By changing the setting of the ROM or by exchanging the ROM, a plurality of conversion rules can be dealt with by one circuit, so that it is not necessary to make a new design according to the other circuit. is there. The circuit of the present invention can be marketed as a general-purpose product.

【0010】[0010]

【実施例】次に、本発明実施例を図面に基づいて説明す
る。図1は本発明実施例の構成を示すブロック図であ
る。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0011】本発明実施例は、クロック信号を発生する
クロック信号発生回路4と、パラレルデータを入力しそ
のクロック信号に同期してシリアルデータを出力するメ
モリ回路3とを備え、さらに、本発明の特徴として、前
記パラレルデータの入力回路に挿入された信号処理回路
1と、この信号処理回路1に制御プログラムを与えるR
OM2とを備え、信号処理回路1は、ROM2の読出出
力にしたがって通過するパラレルデータに特定パターン
信号を付加する手段と、クロック信号発生回路4を制御
する手段とを含み、ROM2は複数のパラレル・シリア
ル信号変換則についての制御プログラムを保持して設定
によりその複数の変換則のうちの一つに対応する制御プ
ログラムを読出すように構成される。
The embodiment of the present invention comprises a clock signal generating circuit 4 for generating a clock signal, and a memory circuit 3 for inputting parallel data and outputting serial data in synchronization with the clock signal. Characteristically, the signal processing circuit 1 inserted in the parallel data input circuit, and R for giving a control program to the signal processing circuit 1
OM2, the signal processing circuit 1 includes means for adding a specific pattern signal to the parallel data passing according to the read output of the ROM 2, and means for controlling the clock signal generating circuit 4, and the ROM 2 includes a plurality of parallel signals. It is configured to hold a control program for the serial signal conversion rule and read the control program corresponding to one of the plurality of conversion rules by setting.

【0012】また、前記特定パターン信号は、フレーム
識別信号(F)およびまたは同期信号(S)であり、ク
ロック信号発生回路4を制御する手段は、クロック信号
周波数を制御する手段を含む。
The specific pattern signal is a frame identification signal (F) and / or a synchronization signal (S), and the means for controlling the clock signal generating circuit 4 includes means for controlling the clock signal frequency.

【0013】図2(a)および(b)は本発明実施例に
係わるシリアルデータ型式の例を示す図である。同図
(a)に示すシリアルデータ型式(A)の場合は、Fは
フレーム同期信号であり、Aはデータである。また、同
図(b)に示すシリアルデータ型式(B)の場合はFは
フレーム識別信号であり、S1 、S2 は同期信号であ
り、Dはデータである。
FIGS. 2A and 2B are views showing examples of serial data types according to the embodiment of the present invention. In the case of the serial data type (A) shown in FIG. 9A, F is a frame synchronization signal and A is data. In the case of the serial data type (B) shown in FIG. 2B, F is a frame identification signal, S 1 and S 2 are synchronization signals, and D is data.

【0014】入力パラレルデータは32ビット単位のデ
ータであっても、出力シリアルデータは前述のように変
換則の違いにより型式が異なる。
Even if the input parallel data is data in 32-bit units, the output serial data has a different type due to the difference in conversion rule as described above.

【0015】本発明は、出力シリアルデータの型式が違
っても、複数の変換則に対し一つの回路で対応すること
を特徴とするもので、次のような動作が行われる。
The present invention is characterized in that one circuit can handle a plurality of conversion rules even if the type of output serial data is different, and the following operation is performed.

【0016】信号処理回路1は外部からのクロック信号
とパラレルデータを入力し、ROM2のデータにより設
定される同期パターンを入力されたパラレルデータの任
意の位置に挿入する。また、信号処理回路1は外部から
のクロック信号と付加する同期パターンのビット数とに
よりシリアル・パラレル変換を行って、シリアルデータ
として信号を出力するメモリ回路3の変換用クロックを
発生するとともに、クロック信号発生回路4のクロック
周波数の設定を行う。メモリ回路3は、同期パターンの
付加されたパラレルデータをクロック信号発生回路4の
クロック信号によりシリアルデータに変換し出力する。
The signal processing circuit 1 inputs a clock signal and parallel data from the outside, and inserts a synchronization pattern set by the data of the ROM 2 into an arbitrary position of the input parallel data. Further, the signal processing circuit 1 performs serial-parallel conversion by the clock signal from the outside and the number of bits of the synchronization pattern to be added, and generates a conversion clock for the memory circuit 3 that outputs a signal as serial data. The clock frequency of the signal generating circuit 4 is set. The memory circuit 3 converts the parallel data to which the synchronization pattern is added into serial data by the clock signal of the clock signal generation circuit 4 and outputs the serial data.

【0017】このように本発明はROMに記憶された同
期パターンおよび同期パターン挿入位置を読み出すこと
により、任意のパターンを任意の位置に挿入することが
可能となり従ってROMに必要なパターンおよび挿入位
置情報を何種類か記憶させておき、記憶させたアドレス
情報を設定し、それを信号処理回路が解読することによ
り同期パターンの位置およびパターン内容が異なっても
付加することが可能となる。
As described above, according to the present invention, it is possible to insert an arbitrary pattern at an arbitrary position by reading the synchronous pattern and the synchronous pattern insertion position stored in the ROM. It is possible to add several kinds of data stored in memory, set the stored address information, and decode it by the signal processing circuit to add even if the position and pattern content of the synchronization pattern are different.

【0018】[0018]

【発明の効果】以上説明したように本発明によれば、パ
ラレルデータをシリアルデータに変換して伝送する際に
付加する同期パターンの位置およびパターン内容が異な
っても、回路構成を変更することなく付加することがで
きる効果がある。
As described above, according to the present invention, the circuit configuration is not changed even if the position and the pattern content of the synchronization pattern added when converting the parallel data into the serial data and transmitting the data are different. There is an effect that can be added.

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

【図1】本発明実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】(a)および(b)は本発明実施例に係わるシ
リアルデータ型式例を示す図。
2A and 2B are diagrams showing an example of serial data type according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 信号処理回路 2 ROM 3 メモリ回路 4 クロック信号発生回路 1 signal processing circuit 2 ROM 3 memory circuit 4 clock signal generation circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 クロック信号を発生するクロック信号発
生回路と、パラレルデータを入力しそのクロック信号に
同期してシリアルデータを出力するメモリ回路とを備え
たパラレル・シリアル信号変換回路において、 前記パラレルデータの入力回路に挿入された信号処理回
路と、この信号処理回路に制御プログラムを与えるRO
Mとを備え、 前記信号処理回路は、前記ROMの読出出力にしたがっ
て通過するパラレルデータに特定パターン信号を付加す
る手段と、前記クロック信号発生回路を制御する手段と
を含み、 前記ROMは複数のパラレル・シリアル信号変換則につ
いての制御プログラムを保持して設定によりその複数の
変換則のうちの一つに対応する制御プログラムを読出す
ように構成されたことを特徴とするパラレル・シリアル
信号変換回路。
1. A parallel-serial signal conversion circuit comprising: a clock signal generation circuit for generating a clock signal; and a memory circuit for receiving parallel data and outputting serial data in synchronization with the clock signal. Of the signal processing circuit inserted in the input circuit of RO and a control program for giving a control program to this signal processing circuit
M, the signal processing circuit includes means for adding a specific pattern signal to parallel data passing according to the read output of the ROM, and means for controlling the clock signal generation circuit, and the ROM includes a plurality of ROMs. A parallel-serial signal conversion circuit, characterized in that the control program for the parallel-serial signal conversion rule is held and the control program corresponding to one of the plurality of conversion rules is read by setting. .
【請求項2】 前記特定パターン信号は、フレーム識別
信号(F)およびまたは同期信号(S)である請求項1
記載のパラレル・シリアル信号変換回路。
2. The specific pattern signal is a frame identification signal (F) and / or a synchronization signal (S).
The parallel / serial signal conversion circuit described.
【請求項3】 前記クロック信号発生回路を制御する手
段は、クロック信号周波数を制御する手段を含む請求項
1記載のパラレル・シリアル信号変換回路。
3. The parallel-serial signal conversion circuit according to claim 1, wherein the means for controlling the clock signal generating circuit includes means for controlling a clock signal frequency.
JP5161890A 1993-06-30 1993-06-30 Parallel / serial signal conversion circuit Expired - Lifetime JP2513415B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5161890A JP2513415B2 (en) 1993-06-30 1993-06-30 Parallel / serial signal conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5161890A JP2513415B2 (en) 1993-06-30 1993-06-30 Parallel / serial signal conversion circuit

Publications (2)

Publication Number Publication Date
JPH0723038A JPH0723038A (en) 1995-01-24
JP2513415B2 true JP2513415B2 (en) 1996-07-03

Family

ID=15743951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5161890A Expired - Lifetime JP2513415B2 (en) 1993-06-30 1993-06-30 Parallel / serial signal conversion circuit

Country Status (1)

Country Link
JP (1) JP2513415B2 (en)

Also Published As

Publication number Publication date
JPH0723038A (en) 1995-01-24

Similar Documents

Publication Publication Date Title
US5710755A (en) Communication system for control applications
TW212866B (en) Peripheral communications network
JP2513415B2 (en) Parallel / serial signal conversion circuit
CA2220644A1 (en) Method and system for encoding and decoding typographic characters
US5163049A (en) Method for assuring data-string-consistency independent of software
JPS6059459A (en) Information processor
KR100230375B1 (en) Serial data communication system
JP2833915B2 (en) Information transmission system
JP2861533B2 (en) In-device transmission system for digital data
US6584105B1 (en) Scheduling apparatus, scheduling method and communication control apparatus
US6134288A (en) Apparatus and method for generating a decoding clock signal in response to a period of write and read clock signals
JP2869673B2 (en) Data communication system
JPS60240275A (en) Picture reader
JP2008040582A (en) Method for outputting serial output encoder signal
US5086436A (en) Coded transmission system with initializing code
JPH0272744A (en) Interface device
JPH03120934A (en) Code conversion system for data communication
JPH11289590A (en) Audio data processor
JPH07240983A (en) Inter-substrate data phase control circuit
JPH01307329A (en) Reception circuit
JPH0736571B2 (en) Transmitter / receiver of serial data
KR20000014399U (en) Address bus sharing device
JPH1117772A (en) Data processing method for magnetic card reader
JPS58100549A (en) Multi-direction synchronizing circuit for time division multi-direction multiplex transmitter
JPH0750874B2 (en) Format conversion device