JPH07193511A - Parallel/serial conversion circuit - Google Patents

Parallel/serial conversion circuit

Info

Publication number
JPH07193511A
JPH07193511A JP33241693A JP33241693A JPH07193511A JP H07193511 A JPH07193511 A JP H07193511A JP 33241693 A JP33241693 A JP 33241693A JP 33241693 A JP33241693 A JP 33241693A JP H07193511 A JPH07193511 A JP H07193511A
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.)
Granted
Application number
JP33241693A
Other languages
Japanese (ja)
Other versions
JP2793490B2 (en
Inventor
Hiroki Yokohama
宏紀 横浜
Koji Nishida
康二 西田
Masato Sakamoto
正人 坂本
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
NEC Communication Systems Ltd
Original Assignee
NEC Corp
NEC Communication Systems 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, NEC Communication Systems Ltd filed Critical NEC Corp
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)

Abstract

PURPOSE:To miniaturize a parallel/serial conversion circuit obtaining output data of variable byte width from input data of prescribed byte width. CONSTITUTION:A frame length counter 10 measures the pulse interval of a frame signal FS, identifies data width to be outputted and outputs a control signal CS corresponding to data width. A parallel/serial converter 40 in a prestage converts the input data signal ID of six byte width into the data signals MD1 and MD2 of first output byte width (two bytes). A parallel/serial converter 50 in a poststage converts the data signal MD1 into the data signal ND of second byte width (one byte). A data selector 60 selects either the data signal MD2 or ND in accordance with the control signal, and outputs it as an output data signal OD2 or OD1.

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 / serial conversion circuit, and more particularly to a circuit for performing a data width reduction conversion process in byte units of cell data for ATM (asynchronous transfer mode) exchange.

【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 a cell data processing apparatus for ATM exchange, a 53-byte ATM cell is usually added with 1-byte dummy data to be 54 bytes, which is organized into a block of 9 × 6 bytes. Accordingly, it 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 the frame pulse. When the period of the basic clock signal is T, the period of the frame pulse is 53T in the unit of 1 byte and 27T in the unit of 2 bytes. A parallel / 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, a conventional parallel-serial conversion circuit is composed of a one-stage parallel-serial converter 70 having a fixed byte conversion ratio. If the output data width is varied, the output is performed. If so, a circuit is constructed for each variable width.

【0004】[0004]

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

【0005】[0005]

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

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

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS 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 6 bytes (48 bits) and the output data width is 1 byte (8 bits) and 2 bytes (1 bit).
6 bit) variable case is shown. The data output cycle is constant at "T". 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 /
It becomes 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-serial conversion circuit of this 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 of the cycle T. The frame length counter 10 that outputs the control signal CS indicating the determination result
And a clock frequency divider 20 for generating a frequency-divided clock signal C2 having a period 2T, which is obtained by frequency-dividing the clock signal C1 by two, and one of the input clock signal C1 and the frequency-divided clock signal C2 is selected according to the control signal CS. Clock selector 30
And a 6-byte unit input data signal ID (ID1: period 6T, ID2: period 3T) is parallel-serial converted according to the clock signal from the clock selector 30, and a 2-byte unit data signal MD (MD1: period 2T, MD
2: a first parallel / serial converter 40 which outputs as a cycle T) and a data signal MD1 in units of 2 bytes are parallel / serial converted according to an input clock signal C1.
A second parallel-serial converter 50 that outputs a byte-based data signal ND (cycle T), and a data signal M
A data selector 60 that selects either D2 or the data signal ND according to the control signal CS and outputs it as the output data signal OD2 in units of 2 bytes (cycle T) or the output data signal OD1 in units of 1 byte (cycle T). I have it. The clock frequency divider 20 can 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 (cycle T), and the frame pulse interval is 27T.
In the case of, the data width of the output data signal is 2 bytes (OD
2), the control signal CS is output with a value indicating 2 bytes (for example, “1”), and when the frame pulse interval is 53T, the data width of the output data signal is 1 byte (OD1). It is determined and the control signal CS is output with a value indicating 1 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 outputs 2.
A byte-width data signal MD2 is output, and the data selector 60 selects this 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 1 byte), the clock selector 30 selects the divided clock signal C2, and the parallel / serial converter 40 outputs the data signal MD1. Serial converter 5
0 outputs the data signal ND which is obtained by reducing the data width of the data signal MD1 to 1 byte, and the data selector 60 selects the data signal ND and outputs it as the 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 synchronizes the output data signals without supplying a control signal from the outside for identifying two kinds of data widths of the output data signals such as ATM cell data to be output. The output data width can be changed by recognizing the output data width specified autonomously inside the circuit using the input frame signal to change the serial connection combination of the parallel / serial converters. Can be Due to this, in the prior art, it is necessary to use two large-capacity converters for converting 6 bytes (48 bits) to 1 byte (8 bits) and 6 bytes to 2 bytes (16 bits), respectively. According to the present invention, one converter for converting from 6 bytes to 2 bytes may be provided, and one converter having a small capacity for converting from 2 bytes to 1 byte may be used.

【0015】[0015]

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

【図面の簡単な説明】[Brief description of 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号 日本電気 通信システム株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Masato Sakamoto Inventor Masato Sakamoto, 4-28 Mita, Minato-ku, Tokyo NEC Communication Systems Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 一定バイト幅の入力データをパラレル・
シリアル変換し可変バイト幅の出力データを得るパラレ
ル・シリアル変換回路において、 前記出力データの出力すべきバイト幅に応じて入力され
るフレーム信号の周期を基本クロックで計測し前記出力
すべきバイト幅が第1のバイト幅及びこれより小さな第
2のバイト幅のいずれであるかを識別し識別結果を示す
制御信号を出力するフレーム長カウンタと、 前記入力データをパラレル・シリアル変換し前記第1の
バイト幅のデータとして出力する第1のパラレル・シリ
アル変換器と、 前記第1のパラレル・シリアル変換器の出力データをパ
ラレル・シリアル変換し前記第2のバイト幅のデータと
して出力する第2のパラレル・シリアル変換器と、 前記フレーム長カウンタからの前記制御信号に応じて前
記第1のパラレル・シリアル変換器及び前記第2のパラ
レル・シリアル変換器のいずれかの出力を選択し前記可
変バイト幅の出力データとして出力するデータセレクタ
と、 を備えることを特徴とするパラレル・シリアル変換回
路。
1. Input data having a constant byte width in parallel
In a parallel-serial conversion circuit that obtains output data of variable byte width by serial conversion, the cycle of the frame signal input according to the byte width of the output data to be output is measured with a basic clock, and the byte width to be output is A frame length counter for identifying whether it is a first byte width or a second byte width smaller than the first byte width and outputting a control signal indicating an identification result; and the first byte for parallel / serial conversion of the input data. A first parallel / serial converter for outputting as width data, and a second parallel / serial converter for performing parallel / serial conversion on output data of the first parallel / serial converter and outputting as second byte width data. A serial converter, and the first parallel-serial converter and the first parallel-serial converter in response to the control signal from the frame length counter. And a data selector that selects one of the outputs of the second parallel-serial converter and outputs it as the output data of the variable byte width, the parallel-serial conversion circuit.
【請求項2】 前記第1のパラレル・シリアル変換器の
出力データを前記第2のパラレル・シリアル変換器の入
力として同期して出力させるための分周クロックを前記
基本クロックの分周により発生させるクロック分周器
と、 前記フレーム長カウンタからの制御信号に応じて前記基
本クロック及び前記分周クロックのいずれかを選択し前
記第1のパラレル・シリアル変換器に供給するクロック
セレクタとを含むことを特徴とする請求項1記載のパラ
レル・シリアル変換回路。
2. A divided clock for synchronously outputting the 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 either the basic clock or 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 / serial conversion circuit according to claim 1.
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 true JPH07193511A (en) 1995-07-28
JP2793490B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001006347A1 (en) * 1999-07-19 2001-01-25 Giesecke & Devrient Gmbh Stack of operands and method for stacking of operands
US9813188B2 (en) 2013-07-26 2017-11-07 Fujitsu Limited Transmitting circuit, communication system, and communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001006347A1 (en) * 1999-07-19 2001-01-25 Giesecke & Devrient Gmbh Stack of operands and method for stacking of operands
US7302550B1 (en) 1999-07-19 2007-11-27 Giesecke & Devrient Gmbh Stack of variable length operands and method for use
US9813188B2 (en) 2013-07-26 2017-11-07 Fujitsu Limited Transmitting circuit, communication system, and communication method

Also Published As

Publication number Publication date
JP2793490B2 (en) 1998-09-03

Similar Documents

Publication Publication Date Title
US6531970B2 (en) Digital sample rate converters having matched group delay
JP2886214B2 (en) Encoding method and encoding device
JPH01500074A (en) Adaptive speed multiplexer-demultiplexer
US5128939A (en) Method of phase-converting frame and apparatus using same
US6404770B1 (en) Data communication interface with adjustable-size buffer
US5428613A (en) Method for transmitting either data or voice in an allocated TDM slot
US5477549A (en) Cell switch and cell switch network using dummy cells for simplified cell switch test in communication network
JP2793490B2 (en) Parallel-serial conversion circuit
JPH07154447A (en) High-speed data transmission circuit
JP2793491B2 (en) Serial / parallel conversion circuit
JP2786170B2 (en) Frame data conversion circuit
US6446146B1 (en) Line terminating device
JPH11127146A (en) Transmission speed changeover tap device
JP3213389B2 (en) Time division multiplex communication equipment
JPS6273826A (en) Frame transmission and reception system
JP2674211B2 (en) Connection data management method
KR940008107B1 (en) Data transmitting apparatus
JP3303687B2 (en) Data compression method
JPH11186981A (en) Frequency synchronization device
JP3179831B2 (en) Serial transmission method
JP2001103093A (en) Method and device for transmitting data
JP2677231B2 (en) Loop bus exchange method
JPH10303842A (en) Frame synchronization circuit, interface device and repeater
JPH0758753A (en) Interface circuit
JPH0637847A (en) Serial data transmitter/receiver

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