JP2793490B2 - Parallel-serial conversion circuit - Google Patents

Parallel-serial conversion circuit

Info

Publication number
JP2793490B2
JP2793490B2 JP33241693A JP33241693A JP2793490B2 JP 2793490 B2 JP2793490 B2 JP 2793490B2 JP 33241693 A JP33241693 A JP 33241693A JP 33241693 A JP33241693 A JP 33241693A JP 2793490 B2 JP2793490 B2 JP 2793490B2
Authority
JP
Japan
Prior art keywords
parallel
data
width
byte
serial
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 - Fee Related
Application number
JP33241693A
Other languages
Japanese (ja)
Other versions
JPH07193511A (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.)
NIPPON DENKI TSUSHIN SHISUTEMU KK
NEC Corp
Original Assignee
NIPPON DENKI TSUSHIN SHISUTEMU KK
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 DENKI TSUSHIN SHISUTEMU KK, Nippon Electric Co Ltd filed Critical NIPPON DENKI TSUSHIN SHISUTEMU KK
Priority to JP33241693A priority Critical patent/JP2793490B2/en
Publication of JPH07193511A publication Critical patent/JPH07193511A/en
Application granted granted Critical
Publication of JP2793490B2 publication Critical patent/JP2793490B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はパラレル・シリアル変換
回路に関し、特にATM(非同期転送モード)交換のセ
ルデータのバイト単位のデータ幅縮小変換処理を行う回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel-to-serial conversion circuit, and more particularly to a circuit for performing a data width reduction conversion process on a byte-by-byte basis for ATM (asynchronous transfer mode) exchanged cell data.

【0002】[0002]

【従来の技術】ATM交換のセルデータ処理装置内にお
いては通常、53バイトのATMセルは1バイトのダミ
ーデータを付加されて54バイトとなり、9×6バイト
のブロック状に編成され、さらに必要に応じ54×1バ
イト(ダミーデータ削除時は53×1バイト)のブロッ
クあるいは27×2バイトのブロックに変換及びそれか
ら逆変換されフレームパルスに同期して処理される。基
本となるクロック信号の周期をTとすると、フレームパ
ルスの周期は1バイト単位のときは53T、2バイト単
位のときは27Tである。このようにデータの処理バイ
ト単位を大きな値から小さな値へ縮小変換する場合、パ
ラレル・シリアル変換回路を用いている。
2. Description of the Related Art In an ATM exchange cell data processing apparatus, a 53-byte ATM cell is usually 54 bytes by adding 1-byte dummy data, and is organized into a block of 9 × 6 bytes. Accordingly, the data is converted into a block of 54 × 1 bytes (53 × 1 bytes when dummy data is deleted) or a block of 27 × 2 bytes, and then inversely converted and processed in synchronization with a frame pulse. Assuming that the cycle of the basic clock signal is T, the cycle of the frame pulse is 53T in units of 1 byte and 27T in units of 2 bytes. As described above, a parallel-to-serial conversion circuit is used to reduce the processing byte unit of data from a large value to a small value.

【0003】従来のパラレル・シリアル変換回路は、図
2に示すように、固定のバイト変換比率を有する1段の
パラレル・シリアル変換器70で構成されており、もし
出力データ幅を可変させて出力するならば、その可変幅
ごとに回路を構成する。
As shown in FIG. 2, the conventional parallel-to-serial conversion circuit includes a single-stage parallel-to-serial converter 70 having a fixed byte conversion ratio. If so, a circuit is configured for each variable width.

【0004】[0004]

【発明が解決しようとする課題】この従来のパラレル・
シリアル変換回路では、一定の入力データ幅で入力され
るデータを出力データ幅を可変させて出力するとき、そ
の出力データ幅に応じてデータ幅の縮小比率を可変する
ことができないため、入力データ幅を目的の出力データ
幅に直接変換する回路を出力データ幅ごとに構成する必
要があり、装置が大型化するとともに経費が高くなると
いう問題点がある。
SUMMARY OF THE INVENTION The conventional parallel communication
When the serial conversion circuit outputs data input with a fixed input data width while changing the output data width, the reduction ratio of the data width cannot be changed according to the output data width. It is necessary to configure a circuit for directly converting the output data width into a target output data width for each output data width, and there is a problem that the size of the apparatus is increased and the cost is increased.

【0005】[0005]

【課題を解決するための手段】本発明のパラレル・シリ
アル変換回路は、一定バイト幅の入力データをパラレル
・シリアル変換し可変バイト幅の出力データを得るパラ
レル・シリアル変換回路において、前記出力データの出
力すべきバイト幅に応じて入力されるフレーム信号の周
期を基本クロックで計測し前記出力すべきバイト幅が第
1のバイト幅及びこれより小さな第2のバイト幅のいず
れであるかを識別し識別結果を示す制御信号を出力する
フレーム長カウンタと、前記入力データをパラレル・シ
リアル変換し前記第1のバイト幅のデータとして出力す
る第1のパラレル・シリアル変換器と、前記第1のパラ
レル・シリアル変換器の出力データをパラレル・シリア
ル変換し前記第2のバイト幅のデータとして出力する第
2のパラレル・シリアル変換器と、前記フレーム長カウ
ンタからの前記制御信号に応じて前記第1のパラレル・
シリアル変換器及び前記第2のパラレル・シリアル変換
器のいずれかの出力を選択し前記可変バイト幅の出力デ
ータとして出力するデータセレクタとを備えている。
A parallel-to-serial conversion circuit according to the present invention is a parallel-to-serial conversion circuit for converting input data having a constant byte width into serial data to obtain output data having a variable byte width. The period of the frame signal input according to the byte width to be output is measured by the basic clock, and it is determined whether the byte width to be output is the first byte width or the second byte width smaller than this. A frame length counter that outputs a control signal indicating a result of identification, a first parallel-serial converter that converts the input data from parallel to serial and outputs the data as the first byte-width data, and a first parallel-serial converter. A second parallel converter for converting the output data of the serial converter from parallel to serial and outputting the converted data as the second byte-width data; And Al converter, parallel the first in response to the control signal from the frame length counter
A data selector for selecting an output of one of the serial converter and the second parallel-serial converter and outputting the output as the variable byte-width output data.

【0006】また、前記第1のパラレル・シリアル変換
器の出力データを前記第2のパラレル・シリアル変換器
の入力として同期して出力させるための分周クロックを
前記基本クロックの分周により発生させるクロック分周
器と、前記フレーム長カウンタからの制御信号に応じて
前記基本クロック及び前記分周クロックのいずれかを選
択し前記第1のパラレル・シリアル変換器に供給するク
ロックセレクタとを含むことができる。
Further, a frequency-divided clock for synchronizing and outputting output data of the first parallel-serial converter as an input of the second parallel-serial converter is generated by dividing the basic clock. A clock divider, and a clock selector that selects one of the basic clock and the divided clock according to a control signal from the frame length counter and supplies the selected clock to the first parallel-serial converter. it can.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例のブロック構成図
であり、入力データ幅が6バイト(48ビット)一定で
出力データ幅が1バイト(8ビット)及び2バイト(1
6ビット)の可変の場合を示す。なお、データ出力の周
期は“T”一定である。すなわち、出力データ幅が1バ
イトのときのデータ入力速度は6バイト/6T、出力デ
ータ幅が2バイトのときのデータ入力速度は6バイト/
3Tとなる。
FIG. 1 is a block diagram of an embodiment of the present invention. The input data width is fixed at 6 bytes (48 bits) and the output data width is 1 byte (8 bits) and 2 bytes (1 bit).
6 bits). Note that the cycle of data output is "T" constant. That is, when the output data width is 1 byte, the data input speed is 6 bytes / 6T, and when the output data width is 2 bytes, the data input speed is 6 bytes / T.
3T.

【0009】本実施例のパラレル・シリアル変換回路
は、可変する出力データ幅に応じて入力されるフレーム
信号FSのフレームパルス間隔を周期Tの基本のクロッ
ク信号C1で計測して出力データ幅を判定し判定結果を
示す制御信号CSを出力するフレーム長カウンタ10
と、クロック信号C1を2分周した周期2Tの分周クロ
ック信号C2を生成するクロック分周器20と、入力ク
ロック信号C1及び分周クロック信号C2のいずれかを
制御信号CSに応じて選択するクロックセレクタ30
と、6バイト単位の入力データ信号ID(ID1:周期
6T、ID2:周期3T)をクロックセレクタ30から
のクロック信号に従ってパラレル・シリアル変換し2バ
イト単位のデータ信号MD(MD1:周期2T、MD
2:周期T)として出力する第1のパラレル・シリアル
変換器40と、2バイト単位のデータ信号MD1を入力
クロック信号C1に従ってパラレル・シリアル変換し1
バイト単位のデータ信号ND(周期T)として出力する
第2のパラレル・シリアル変換器50と、データ信号M
D2及びデータ信号NDのいずれかを制御信号CSに応
じて選択し2バイト単位の出力データ信号OD2(周期
T)あるいは1バイト単位の出力データ信号OD1(周
期T)として出力するデータセレクタ60とを備えてい
る。なお、クロック分周器20はパラレル・シリアル変
換器50に含めて構成することができる。
The parallel-to-serial conversion circuit of the present embodiment determines the output data width by measuring the frame pulse interval of the frame signal FS input according to the variable output data width with the basic clock signal C1 having a period T. A frame length counter 10 for outputting a control signal CS indicating the determination result.
And a clock divider 20 for generating a divided clock signal C2 having a period 2T obtained by dividing the clock signal C2 by two, and selecting one of the input clock signal C1 and the divided clock signal C2 according to the control signal CS. Clock selector 30
And the input data signal ID (ID1: period 6T, ID2: period 3T) in units of 6 bytes is converted from parallel to serial according to the clock signal from the clock selector 30, and the data signal MD in units of 2 bytes (MD1: period 2T, MD)
2: a first parallel-to-serial converter 40 which outputs a cycle T), and performs a parallel-to-serial conversion on a 2-byte data signal MD1 according to an input clock signal C1.
A second parallel-serial converter 50 that outputs the data signal ND (period T) in byte units;
A data selector 60 that selects either D2 or the data signal ND according to the control signal CS and outputs it as a 2-byte output data signal OD2 (cycle T) or a 1-byte output data signal OD1 (cycle T). Have. Note that the clock frequency divider 20 can be configured to be included in the parallel / serial converter 50.

【0010】次に動作を説明する。Next, the operation will be described.

【0011】フレーム長カウンタ10は、クロック信号
C1(周期T)に基づいてフレーム信号FSのフレーム
パルス間隔をカウントし、フレームパルス間隔が27T
の場合は出力データ信号のデータ幅が2バイト(OD
2)であると判定し制御信号CSを2バイトを示す値
(例えば“1”)にして出力し、フレームパルス間隔が
53Tの場合は出力データ信号のデータ幅が1バイト
(OD1)であると判定し制御信号CSを1バイトを示
す値(例えば“0”)にして出力する。
The frame length counter 10 counts the frame pulse interval of the frame signal FS based on the clock signal C1 (period T).
In the case of, the data width of the output data signal is 2 bytes (OD
2), and outputs the control signal CS with a value indicating 2 bytes (for example, “1”). When the frame pulse interval is 53T, the data width of the output data signal is 1 byte (OD1). The control signal CS is determined and output as a value indicating one byte (for example, “0”).

【0012】制御信号CSが“1”(出力データ幅2バ
イト)のときは、クロックセレクタ30は入力クロック
信号C1を選択し、パラレル・シリアル変換器40は2
バイト幅のデータ信号MD2を出力し、データセレクタ
60がこのデータ信号MD2を選択して出力データ信号
OD2として出力する。
When the control signal CS is "1" (output data width 2 bytes), the clock selector 30 selects the input clock signal C1, and the parallel / serial converter 40
A data signal MD2 having a byte width is output, and the data selector 60 selects the data signal MD2 and outputs it as an output data signal OD2.

【0013】制御信号CSが“0”(出力データ幅1バ
イト)のときは、クロックセレクタ30は分周クロック
信号C2を選択し、パラレル・シリアル変換器40はデ
ータ信号MD1を出力し、パラレル・シリアル変換器5
0はデータ信号MD1のデータ幅を半分の1バイトに縮
小したデータ信号NDを出力し、データセレクタ60が
このデータ信号NDを選択して出力データ信号OD1と
して出力する。
When the control signal CS is "0" (output data width is 1 byte), the clock selector 30 selects the divided clock signal C2, the parallel / serial converter 40 outputs the data signal MD1, and the parallel / serial signal is output. Serial converter 5
0 outputs a data signal ND in which the data width of the data signal MD1 is reduced by half to 1 byte, and the data selector 60 selects this data signal ND and outputs it as an output data signal OD1.

【0014】すなわち、本パラレル・シリアル変換回路
は、出力すべきATMセルデータ等の出力データ信号の
2種類のデータ幅を識別するための制御信号を外部から
供給せずに、出力データ信号の同期を合わせるために入
力されたフレーム信号を利用して回路内部で自律的に指
定された出力データ幅を認識して、パラレル・シリアル
変換器の直列接続の組み合わせを変更することにより出
力データ幅を可変とすることができる。このことによ
り、従来技術では6バイト(48ビット)から1バイト
(8ビット)、及び6バイトから2バイト(16ビッ
ト)にそれぞれ変換する大容量の変換器を2つ使用する
必要があるが、本発明によれば6バイトから2バイトに
変換する変換器が1つの他に2バイトから1バイトに変
換する小容量の変換器が1つあればよい。
That is, the present parallel-serial conversion circuit does not externally supply a control signal for identifying two types of data widths of an output data signal such as ATM cell data to be output, and synchronizes the output data signal. Recognizes the output data width specified autonomously inside the circuit using the input frame signal to match the output, and changes the output data width by changing the combination of serial connection of the parallel / serial converter It can be. This requires the use of two large-capacity converters that convert from 6 bytes (48 bits) to 1 byte (8 bits) and 6 bytes to 2 bytes (16 bits), respectively, in the prior art. According to the present invention, there is only one converter for converting from 6 bytes to 2 bytes and one converter having a small capacity for converting from 2 bytes to 1 byte.

【0015】[0015]

【発明の効果】本発明のパラレル・シリアル変換回路
は、入力データを出力すべきバイト幅のうち大きな方の
バイト幅の出力データに変換する第1のパラレル・シリ
アル変換器と、第1のパラレル・シリアル変換器により
入力バイト幅より小さなバイト幅となったデータから他
の出力すべきバイト幅の出力データに変換する小容量の
第2のパラレル・シリアル変換器とを備え、同時に入力
されるフレーム信号から出力すべきデータ幅を自律的に
認識し直列接続された第1及び第2のいずれかのパラレ
ル・シリアル変換器の出力を選択することにより可変バ
イト幅の出力データを得るので、回路を小型化でき装置
の大型化及び経費の増大化が防止できる。また、出力す
べきデータ幅を外部から指示するための制御回路を必要
としないので装置構成が簡略化される。
A parallel-serial conversion circuit according to the present invention comprises a first parallel-serial converter for converting input data into output data having a larger byte width among byte widths to be output, and a first parallel-serial converter. A small-capacity second parallel-serial converter for converting data whose byte width is smaller than the input byte width by the serial converter into output data having another byte width to be output, and a frame which is simultaneously input A variable byte width output data is obtained by autonomously recognizing the data width to be output from the signal and selecting the output of one of the first and second parallel / serial converters connected in series. It is possible to reduce the size and prevent an increase in size and cost of the apparatus. Further, since a control circuit for externally designating the data width to be output is not required, the device configuration is simplified.

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

【図1】本発明の一実施例のブロック構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】従来のパラレル・シリアル変換回路を示す図で
ある。
FIG. 2 is a diagram showing a conventional parallel-serial conversion circuit.

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

10 フレーム長カウンタ 20 クロック分周器 30 クロックセレクタ 40,50 パラレル・シリアル変換器 60 データセレクタ 10 Frame Length Counter 20 Clock Divider 30 Clock Selector 40,50 Parallel / Serial Converter 60 Data Selector

フロントページの続き (72)発明者 坂本 正人 東京都港区三田一丁目4番28号 日本電 気通信システム株式会社内 (56)参考文献 特開 平5−90976(JP,A) 特開 平5−252052(JP,A) (58)調査した分野(Int.Cl.6,DB名) H03M 9/00Continuation of the front page (72) Inventor Masato Sakamoto 4-28 Mita, Minato-ku, Tokyo Nippon Telecommunications System Corporation (56) References JP-A-5-90976 (JP, A) JP-A-5 -252052 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) H03M 9/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一定バイト幅の入力データをパラレル・
シリアル変換し可変バイト幅の出力データを得るパラレ
ル・シリアル変換回路において、 前記出力データの出力すべきバイト幅に応じて入力され
るフレーム信号の周期を基本クロックで計測し前記出力
すべきバイト幅が第1のバイト幅及びこれより小さな第
2のバイト幅のいずれであるかを識別し識別結果を示す
制御信号を出力するフレーム長カウンタと、 前記入力データをパラレル・シリアル変換し前記第1の
バイト幅のデータとして出力する第1のパラレル・シリ
アル変換器と、 前記第1のパラレル・シリアル変換器の出力データをパ
ラレル・シリアル変換し前記第2のバイト幅のデータと
して出力する第2のパラレル・シリアル変換器と、 前記フレーム長カウンタからの前記制御信号に応じて前
記第1のパラレル・シリアル変換器及び前記第2のパラ
レル・シリアル変換器のいずれかの出力を選択し前記可
変バイト幅の出力データとして出力するデータセレクタ
と、 を備えることを特徴とするパラレル・シリアル変換回
路。
An input data having a fixed byte width is converted into a parallel data.
In a parallel-serial conversion circuit for performing serial conversion and obtaining output data of a variable byte width, a cycle of a frame signal input according to a byte width to be output of the output data is measured by a basic clock, and the byte width to be output is A frame length counter for discriminating between a first byte width and a second byte width smaller than the first byte width and outputting a control signal indicating a discrimination result; parallel-to-serial conversion of the input data; A first parallel-to-serial converter that outputs the data as width data; and a second parallel-to-serial converter that converts the output data of the first parallel-to-serial converter from parallel to serial and outputs the data as the second byte-width data. A first serial-to-serial converter in response to the control signal from the frame length counter; And a data selector for selecting one of the outputs of the second parallel-serial converter and outputting the output as the variable byte-width output data.
【請求項2】 前記第1のパラレル・シリアル変換器の
出力データを前記第2のパラレル・シリアル変換器の入
力として同期して出力させるための分周クロックを前記
基本クロックの分周により発生させるクロック分周器
と、 前記フレーム長カウンタからの制御信号に応じて前記基
本クロック及び前記分周クロックのいずれかを選択し前
記第1のパラレル・シリアル変換器に供給するクロック
セレクタとを含むことを特徴とする請求項1記載のパラ
レル・シリアル変換回路。
2. A frequency-divided clock for synchronizing and outputting output data of the first parallel-serial converter as an input of the second parallel-serial converter is generated by dividing the basic clock. A clock divider; and a clock selector that selects one of the basic clock and the divided clock according to a control signal from the frame length counter and supplies the selected clock to the first parallel-serial converter. The parallel-to-serial conversion circuit according to claim 1, wherein:
JP33241693A 1993-12-27 1993-12-27 Parallel-serial conversion circuit Expired - Fee Related JP2793490B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33241693A JP2793490B2 (en) 1993-12-27 1993-12-27 Parallel-serial conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33241693A JP2793490B2 (en) 1993-12-27 1993-12-27 Parallel-serial conversion circuit

Publications (2)

Publication Number Publication Date
JPH07193511A JPH07193511A (en) 1995-07-28
JP2793490B2 true JP2793490B2 (en) 1998-09-03

Family

ID=18254731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33241693A Expired - Fee Related JP2793490B2 (en) 1993-12-27 1993-12-27 Parallel-serial conversion circuit

Country Status (1)

Country Link
JP (1) JP2793490B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19933130A1 (en) 1999-07-19 2001-01-25 Giesecke & Devrient Gmbh Operand stack and method for operating an operand stack
JP6127807B2 (en) 2013-07-26 2017-05-17 富士通株式会社 Transmission circuit, communication system, and communication method

Also Published As

Publication number Publication date
JPH07193511A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
JP2522870B2 (en) DATA COMPRESSION CONTROL METHOD AND DATA COMPRESSION CONTROL SYSTEM FOR DATA COMMUNICATION NETWORK
JPH01500074A (en) Adaptive speed multiplexer-demultiplexer
JPH1069459A (en) Serial interface controller and control method therefor
US5428613A (en) Method for transmitting either data or voice in an allocated TDM slot
US4512026A (en) Data format for asynchronous data transmission
JP2793490B2 (en) Parallel-serial conversion circuit
JP2793491B2 (en) Serial / parallel conversion circuit
JPH07154447A (en) High-speed data transmission circuit
JP2786170B2 (en) Frame data conversion circuit
JPH09116439A (en) Transmitting device of serial data
JPH11127146A (en) Transmission speed changeover tap device
JP2674211B2 (en) Connection data management method
EP0488050A2 (en) Data sensing system
JPS59123047A (en) Converting system of character code
JP3213389B2 (en) Time division multiplex communication equipment
JP3303687B2 (en) Data compression method
JP2786161B2 (en) Data transfer method
JPS63147250A (en) Synchronizing dependent exchange control device
JPH11186981A (en) Frequency synchronization device
JPS581002Y2 (en) Communication control device
JP3179831B2 (en) Serial transmission method
JPS5871749A (en) Loop type data transmitting system
JPS59219051A (en) Data transmission system
JPH07264015A (en) Method for outputting square wave with arbitrary period and pattern
JPH04157851A (en) Variation system for overhead byte of transmitter

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980526

LAPS Cancellation because of no payment of annual fees