JPH0581186A - Serial data transfer control circuit - Google Patents

Serial data transfer control circuit

Info

Publication number
JPH0581186A
JPH0581186A JP24155591A JP24155591A JPH0581186A JP H0581186 A JPH0581186 A JP H0581186A JP 24155591 A JP24155591 A JP 24155591A JP 24155591 A JP24155591 A JP 24155591A JP H0581186 A JPH0581186 A JP H0581186A
Authority
JP
Japan
Prior art keywords
data
pulse
bit
circuit
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.)
Withdrawn
Application number
JP24155591A
Other languages
Japanese (ja)
Inventor
Hiroya Sakurai
宏哉 櫻井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP24155591A priority Critical patent/JPH0581186A/en
Publication of JPH0581186A publication Critical patent/JPH0581186A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide a transfer control circuit for highway data which eliminates 5 bit delay by reading the data out of serial data so as to process it in parallel with detecting of head coincidence. CONSTITUTION:A detection reading control part 3 which detects coincidence for each bit between a highway data header frame and the header frame externally set in advance is provided. When all the bits coincide with each other, it outputs a coincidence detection signal, and when inconsistency is found, it outputs an inconsistency detection signal. A memory part 4 which outputs a stored data if the coincidence detection signal is given by the detection reading control part 3, a selection part 5 which selects and outputs either the highway data or the data in the memory part 4 based upon the control signal from the detection reading control part 3 and the second delay part which receives the data out of the selection part 5 and delay it by a specified bits are provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ヘッダ情報によってメ
モリに記憶されているデータ情報を、入力されたシリア
ルデータのデータ情報と入れ換えて出力するシリアルデ
ータ乗せ換え制御回路に関するものであります。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial data transfer control circuit for replacing data information stored in a memory with header information with data information of input serial data and outputting the same.

【0002】[0002]

【従来の技術】図7は、従来のシリアルデータの乗せ換
え制御回路の構成図を示す。1、9は、2ビットフリッ
プフロップで、入力されたデータを1ビット遅延させる
ものであり、2は、5ビット遅延回路で、5ビットシフ
トレジスタ2aと5ビットシフトレジスタ2bを内蔵
し、入力されたデータを5ビット遅延するものであり、
3は、ヘッダ検出部で、ハイウエイデータのヘッダと外
部から入力されたヘッダとの一致検出を行うものであ
り、4は、読み出し制御部で、一致パルス(図8のD2
1参照)を受けてROM5に記憶されているデータの読
み出し制御を行うものであり、5は、ROMで、読み出
し用の制御信号を受けて、記憶されていたデータを読み
出し、出力するものであり、7は、P/S変換部で、8
ビットフリップフロップ7aと8ビットシフトレジスタ
7bを内蔵して、パラレルデータをシリアルデータへ変
換するものであり、8は、セレクタで、読み出し制御部
4の制御信号(図8のD35参照)を受けて、5ビット
遅延回路10の出力データかP/S変換部7の出力デー
タかのどちらか一方の出力データを選択するものであ
る。
2. Description of the Related Art FIG. 7 is a block diagram of a conventional serial data transfer control circuit. Reference numerals 1 and 9 are 2-bit flip-flops for delaying input data by 1 bit. Reference numeral 2 is a 5-bit delay circuit which incorporates a 5-bit shift register 2a and a 5-bit shift register 2b. Data is delayed by 5 bits,
Reference numeral 3 is a header detection unit for detecting a match between a highway data header and a header input from the outside, and 4 is a read control unit for a match pulse (D2 in FIG. 8).
1)) to control the reading of the data stored in the ROM 5, and 5 is a ROM that receives the control signal for reading and reads and outputs the stored data. , 7 are P / S converters, and 8
A bit flip-flop 7a and an 8-bit shift register 7b are built in to convert parallel data into serial data. Reference numeral 8 denotes a selector which receives a control signal from the read control unit 4 (see D35 in FIG. 8). Either the output data of the 5-bit delay circuit 10 or the output data of the P / S converter 7 is selected.

【0003】図8は、従来のハイウエイデータの乗せ換
え制御回路のタイムチャートである。図9は、従来のハ
イウエイデータの乗せ換え制御回路のヘッダ検出部の回
路図であり、3a、3cは、4ビットシフトレジスタ回
路で、3bは、比較器で、3dは、AND回路である。
FIG. 8 is a time chart of a conventional highway data transfer control circuit. FIG. 9 is a circuit diagram of a header detection unit of a conventional highway data transfer control circuit. 3a and 3c are 4-bit shift register circuits, 3b is a comparator, and 3d is an AND circuit.

【0004】図10は、従来のハイウエイデータの乗せ
換え回路の読み出し制御部の回路図であり、4aは、J
─Kフリップフロップ回路で、4bは、4ビットカウン
タ回路で、4cは、デコーダ回路で、4dは、5ビット
シフトレジスタ回路で、4e、4fは、Tフリップフロ
ップ回路で、4gは、8ビットカウンタ回路である。
FIG. 10 is a circuit diagram of a read control section of a conventional highway data transfer circuit.
-K flip-flop circuit, 4b is a 4-bit counter circuit, 4c is a decoder circuit, 4d is a 5-bit shift register circuit, 4e, 4f are T flip-flop circuits, 4g is an 8-bit counter. Circuit.

【0005】次に、従来のハイウエイデータの乗せ換え
制御回路について動作を説明する。図7の2ビットフリ
ップフロップ1は、クロックパルス(CLK)の周期に
基づいて、入力されたフレームデータ(FRMPI)と
ハイウエイデータ(HWDTI)のそれぞれを1ビット
ずつ遅延させて(図8のD1、D2参照)、5ビット遅
延回路2とヘッダ検出部3へ出力する。
Next, the operation of the conventional highway data transfer control circuit will be described. The 2-bit flip-flop 1 in FIG. 7 delays each of the input frame data (FRMPI) and highway data (HWDTI) by one bit based on the cycle of the clock pulse (CLK) (D1, FIG. 8). (See D2), and outputs to the 5-bit delay circuit 2 and the header detection unit 3.

【0006】ヘッダ検出部3は、外部から入力されたヘ
ッダと2ビットフリップフロップ1からのハイウエイデ
ータ(HWDTI)のうちのヘッダを2ビットフリップ
フロップ1からのフレームデータに基づいて1ビット毎
に比較して、一致すれば読み出し制御部4へ一致パルス
(図8のD21)を出力する。読み出し制御部4は、ヘ
ッダ検出部3からの一致パルス(図8のD21)を受け
て、クロックパルス(CLK)の周期に基づいてフレー
ムパルス(図8のD25)及び読み出し用の制御信号
(図8のD29)をROM5へ出力し、フレームパルス
(図8のD25,D27)をそれぞれ8ビットフリップ
フロップ7a、8ビットシフトレジスタ7bへ出力し、
選択制御信号(図8のD35)をセレクタ8へ出力す
る。
The header detector 3 compares the header input from the outside with the header of the highway data (HWDTI) from the 2-bit flip-flop 1 on a bit-by-bit basis based on the frame data from the 2-bit flip-flop 1. Then, if they match, a matching pulse (D21 in FIG. 8) is output to the read control unit 4. The read control unit 4 receives the coincidence pulse (D21 in FIG. 8) from the header detection unit 3, and based on the cycle of the clock pulse (CLK), a frame pulse (D25 in FIG. 8) and a read control signal (see FIG. 8). 8 D29) to the ROM 5, and frame pulses (D25 and D27 in FIG. 8) to the 8-bit flip-flop 7a and 8-bit shift register 7b, respectively.
The selection control signal (D35 in FIG. 8) is output to the selector 8.

【0007】ROM5は、その制御信号を受けて、記憶
されていたデータをP/S変換部7の8ビットフリップ
フロップ7aへ出力する。8ビットフリップフロップ7
aは、ROM5から受けたデータを読み出し制御部4か
らのフレームパルス(図8のD25)を基にクロックと
して使用して、入力した8ビットのパラレルデータの1
ビットそれぞれを8ビット分遅延させると8ビット間隔
を持つパラレルデータ16ビット分が得られ、8ビット
シフトレジスタ7bへ出力される。
The ROM 5 receives the control signal and outputs the stored data to the 8-bit flip-flop 7a of the P / S converter 7. 8-bit flip-flop 7
The data a received from the ROM 5 is used as a clock based on the frame pulse (D25 in FIG. 8) from the read control unit 4 to input 1 of the input 8-bit parallel data.
When each bit is delayed by 8 bits, 16 bits of parallel data having an 8-bit interval are obtained and output to the 8-bit shift register 7b.

【0008】8ビットシフトレジスタ7bは、8ビット
間隔を持つ8つのパラレルデータを順次読み出し制御部
からのフレームパルス(図8のD27)及びクロックパ
ルス(CLK)の入力に基づいて順次8ビットの連続し
たシリアルデータ16ビット分をセレクタ8へ出力す
る。5ビット遅延回路2は、2ビットフリップフロップ
1からのフレームパルス(図8のD1)とハイウエイデ
ータ(HWDTI)(図8のD2)との入力を受けて、
5ビット遅延回路2の5ビットシフトレジスタ2aにハ
イウエイデータ(HWDTI)(図8のD2)と5ビッ
トシフトレジスタ2bにフレームパルス(図8のD2)
を入力し、それぞれの5ビットシフトレジスタへクロッ
クパルス(CLK)が入力される。5ビットシフトレジ
スタ2aは、ハイウエイデータ(HWDTLI)をクロ
ックパルス(CLK)の入力に基づいて5ビット遅延さ
せて(図8のD34参照)、セレクタ8の0端子に出力
する。5ビットシフトレジスタ2bは、フレームパルス
(図8のD2)をクロックパルス(CLK)の入力に基
づいて5ビット遅延させて(図8のD33参照)、2ビ
ットフリップフロップ回路9へ出力する。セレクタ8
は、読み出し制御部4からの選択制御信号(図8のD3
5参照)に基づき、端子1に入力されたデータか端子0
に入力されたデータかを選択して、2ビットフリップフ
ロップ回路9へ出力する。2ビットフリップフロップ回
路9は、入力された5ビット遅延回路2からのフレーム
パルス(図8のD33参照)とセレクタ8で選択された
ハイウエイデータをそれぞれクロックパルス(CLK)
に基づいて1ビットずつ遅延させて出力する。
The 8-bit shift register 7b successively reads out eight parallel data having 8-bit intervals and successively outputs 8-bit data based on the input of the frame pulse (D27 in FIG. 8) and the clock pulse (CLK) from the control unit. 16 bits of the serial data are output to the selector 8. The 5-bit delay circuit 2 receives the frame pulse (D1 in FIG. 8) and the highway data (HWDTI) (D2 in FIG. 8) from the 2-bit flip-flop 1, and
Highway data (HWDTI) (D2 in FIG. 8) in the 5-bit shift register 2a and frame pulse (D2 in FIG. 8) in the 5-bit shift register 2b of the 5-bit delay circuit 2.
And a clock pulse (CLK) is input to each 5-bit shift register. The 5-bit shift register 2a delays the highway data (HWDTLI) by 5 bits based on the input of the clock pulse (CLK) (see D34 in FIG. 8) and outputs it to the 0 terminal of the selector 8. The 5-bit shift register 2b delays the frame pulse (D2 in FIG. 8) by 5 bits based on the input of the clock pulse (CLK) (see D33 in FIG. 8) and outputs it to the 2-bit flip-flop circuit 9. Selector 8
Is a selection control signal (D3 in FIG. 8) from the read control unit 4.
5)), the data input to terminal 1 or terminal 0
The selected data is output to the 2-bit flip-flop circuit 9. The 2-bit flip-flop circuit 9 respectively receives the frame pulse (see D33 in FIG. 8) from the 5-bit delay circuit 2 and the highway data selected by the selector 8 as a clock pulse (CLK).
Based on the above, it is delayed by one bit and output.

【0009】次に、シリアル図9のヘッダ検出部の回路
図に示すように、外部からのパラレルデータであるヘッ
ダを比較器3bへ入力され、4ビットシフトレジスタ3
aでは、ハイウエイデータ(HWDT)D2をクロック
パルスに基づいてシリアルデータからパラレルデータへ
変換して、比較器3bへ出力する。比較器3bでは、外
部からのヘッダと4ビットシフトレジスタ3aからのパ
ラレルデータであるヘッダを1ビットずつ比較して、全
ビット一致していれば、パルスをAND回路3dの一方
の端子へ出力する。
Next, as shown in the circuit diagram of the header detecting section of serial FIG. 9, a header which is parallel data from the outside is input to the comparator 3b, and the 4-bit shift register 3 is supplied.
At a, highway data (HWDT) D2 is converted from serial data to parallel data based on the clock pulse, and is output to the comparator 3b. The comparator 3b compares the header from the outside with the header which is parallel data from the 4-bit shift register 3a bit by bit, and outputs a pulse to one terminal of the AND circuit 3d if all bits match. ..

【0010】4ビットシフトレジスタ3cは、フレーム
パルス(FRMP)をクロックパルスに基づいて、4ビ
ット遅延させて、AND回路3dの他方の端子に出力す
る。AND回路3dは、比較器3bの出力パルスと4ビ
ットシフトレジスタ3cの出力パルスとが入力されれ
ば、読み出し制御部4へ一致パルス(図8のD21参
照)を出力する。
The 4-bit shift register 3c delays the frame pulse (FRMP) by 4 bits based on the clock pulse and outputs it to the other terminal of the AND circuit 3d. When the output pulse of the comparator 3b and the output pulse of the 4-bit shift register 3c are input, the AND circuit 3d outputs a coincidence pulse (see D21 in FIG. 8) to the read control unit 4.

【0011】図10の読み出し制御部4では、一致パル
ス(図8のD21参照)とクロックパルスとデコーダ4
cのF端子の出力パルスとがJ−Kフリップフロップ回
路4aに入力されて、4ビットカウンタ回路4bのEN
端子へJ−Kフリップフロップ回路4aの出力パルス
(図8のD22参照)を出力する。4ビットカウンタ回
路4bのLD端子には、一致パルス(図8のD21参
照)を、CK端子には、クロックパルスをそれぞれ出力
する。
In the read control unit 4 in FIG. 10, the coincidence pulse (see D21 in FIG. 8), the clock pulse, and the decoder 4 are used.
The output pulse from the F terminal of c is input to the JK flip-flop circuit 4a and the EN of the 4-bit counter circuit 4b is input.
The output pulse of the JK flip-flop circuit 4a (see D22 in FIG. 8) is output to the terminal. A match pulse (see D21 in FIG. 8) is output to the LD terminal of the 4-bit counter circuit 4b, and a clock pulse is output to the CK terminal.

【0012】4ビットカウンタ回路4bは、D22のパ
ルスとクロックパルス(CLK)とを受けて、カウント
を示す4ビットのコード化されたパルス(図8のD23
参照)をデコーダ4cに出力する。また、4ビットパル
スカウンタ回路4bは、D21のパルスがLD端子に入
力されると、接地されたD端子から4ビットの初期化パ
ルス(例えば、“0000”)がデコーダ4cへ出力さ
れる。
The 4-bit counter circuit 4b receives the pulse of D22 and the clock pulse (CLK), and encodes a 4-bit coded pulse (D23 of FIG. 8) indicating the count.
Reference) to the decoder 4c. Further, in the 4-bit pulse counter circuit 4b, when the pulse of D21 is input to the LD terminal, a 4-bit initialization pulse (for example, "0000") is output to the decoder 4c from the grounded D terminal.

【0013】5ビットシフトレジスタ回路4dは、D2
2のパルスをクロックパルスに基づいて、5ビット遅延
させ(図8のD35参照)、セレクタ8の制御信号を出
力する。
The 5-bit shift register circuit 4d has a D2
The second pulse is delayed by 5 bits based on the clock pulse (see D35 in FIG. 8), and the control signal of the selector 8 is output.

【0014】デコーダ回路4cは、4ビットのカウンタ
回路4bのデータ(図8のD23参照)を受けて、その
データのうち16進数のカウント数1と9のビットパル
スを入力とするOR回路4kに、どちらか一方のパルス
が入力されれば、Tフリップフロップ回路4eへ出力さ
れる(図8のD24参照)。
The decoder circuit 4c receives the data of the 4-bit counter circuit 4b (see D23 of FIG. 8), and inputs it to the OR circuit 4k which receives the bit pulses of the hexadecimal count numbers 1 and 9 of the data. If either one of the pulses is input, it is output to the T flip-flop circuit 4e (see D24 in FIG. 8).

【0015】また、デコーダ回路4cは、4ビットのカ
ウンタ回路4bのデータ(図8のD23参照)を受け
て、そのデータのうち16進数のカウント数3とBのビ
ットパルスを入力とするOR回路4kに、どちらか一方
のパルスが入力されれば、Tフリップフロップ回路4f
へ出力され(図8のD26参照)、カウント数7とFの
ビットパルスを入力とするOR回路4mに、どちらか一
方のパルスが入力されれば、8ビットカウンタ回路4g
に出力する(図8のD28参照)。
Further, the decoder circuit 4c receives the data of the 4-bit counter circuit 4b (see D23 of FIG. 8), and receives the hexadecimal count number 3 and the bit pulse of B of the data from the OR circuit. If either pulse is input to 4k, the T flip-flop circuit 4f
To the OR circuit 4m which receives the bit pulse of the count number 7 and F as an input (see D26 of FIG. 8), and inputs either pulse, the 8-bit counter circuit 4g
(See D28 in FIG. 8).

【0016】Tフリップフロップ回路4eは、入力され
たパルスD24をパルスの立ち下がりで反転して(図8
のD25参照)、P/S変換部7の8ビットフリップフ
ロップ7aのCK端子とROM5のXOER端子へ入力
する。Tフリップフロップ回路4fは、入力されたパル
スD26をパルスの立ち下がりで反転して(図8のD2
7参照)、P/S変換部7の8ビットシフトレジスタ7
bへ出力される。8ビットカウンタ回路4gは、デコー
ダ回路4cからのパルスをOR回路4mを介して受け
て、クロックパルスに基づいてROM5のADDR端子
へ(図8のD29参照)出力する。
The T flip-flop circuit 4e inverts the input pulse D24 at the trailing edge of the pulse (see FIG. 8).
D25) of the P / S converter 7 and the CK terminal of the 8-bit flip-flop 7a of the P / S converter 7 and the XOER terminal of the ROM 5. The T flip-flop circuit 4f inverts the input pulse D26 at the trailing edge of the pulse (D2 in FIG. 8).
7), the 8-bit shift register 7 of the P / S converter 7
output to b. The 8-bit counter circuit 4g receives the pulse from the decoder circuit 4c via the OR circuit 4m and outputs it to the ADDR terminal of the ROM 5 (see D29 in FIG. 8) based on the clock pulse.

【0017】ROM5は、入力されたD25のパルスと
D29のパルスを受けて、記憶されていたデータ(図8
のD30参照)をP/S変換部7へ出力する。P/S変
換部7の8ビットシフトレジスタ回路7aは、D30の
パルスとD25のパルスとを受けて、D30のパルスを
D25のパルスのクロックパルスに基づいて、各ビット
のパルス毎に遅延させて8ビットのパルス幅を持つパル
ス(図8のD31)を、8ビットシフトレジスタ回路7
bへ出力する。
The ROM 5 receives the inputted D25 pulse and D29 pulse and stores the stored data (FIG. 8).
Output D30) to the P / S conversion unit 7. The 8-bit shift register circuit 7a of the P / S conversion unit 7 receives the pulse of D30 and the pulse of D25 and delays the pulse of D30 for each pulse of each bit based on the clock pulse of the pulse of D25. A pulse having a pulse width of 8 bits (D31 in FIG. 8) is transferred to the 8-bit shift register circuit 7
Output to b.

【0018】8ビットシフトレジスタ回路7bは、D3
1のパラレルデータとD27のパルスとをクロックパル
スに基づいて、D31のパラレルデータをシリアルデー
タに変換して(図8のD32参照)、セレクタ8へ出力
する。セレクタ8は、読み出し制御部4の制御信号D3
5を受けて、0の入力データから1の入力データに端子
を切り替えて、D32のパルスを2ビットフリップフロ
ップ9へ出力する。通常は、セレクタ8は、0の入力デ
ータ(D34パルス)を2ビットフリップフロップ9へ
出力する。2ビットフリップフロップ9は、クロックパ
ルスに基づいて、5ビット遅延回路2の出力のうちのデ
ータをセレクタ8の出力データと乗せ換えて出力する。
The 8-bit shift register circuit 7b has a D3
Based on the clock pulse, the parallel data of 1 and the pulse of D27 are converted into parallel data of D31 (see D32 of FIG. 8) and output to the selector 8. The selector 8 controls the read control unit 4 by the control signal D3.
Upon receiving 5, the terminal is switched from 0 input data to 1 input data, and the pulse of D32 is output to the 2-bit flip-flop 9. Normally, the selector 8 outputs 0 input data (D34 pulse) to the 2-bit flip-flop 9. The 2-bit flip-flop 9 superimposes the data of the output of the 5-bit delay circuit 2 on the output data of the selector 8 based on the clock pulse, and outputs it.

【0019】[0019]

【発明が解決しようとする課題】従来のハイウエイデー
タの乗せ換え制御回路では、入力されるシリアルデータ
のヘッダを読み出して、外部からのヘッダと比較して、
一致していればROMに記憶されているデータを読み出
す。そこで、記憶されていたデータと入力されたシリア
ルデータのデータのみを乗せ換えるのに、位相が一致す
る必要が有る。その為に、シリアルデータがメモリのデ
ータと乗せ換えが完了するまでの入力から出力されるま
でに、7ビットの遅延が生じていた。
In the conventional highway data transfer control circuit, the header of the input serial data is read out and compared with the header from the outside.
If they match, the data stored in the ROM is read. Therefore, in order to transfer only the stored data and the input serial data, it is necessary to match the phases. Therefore, a delay of 7 bits occurs from the input to the output of the serial data until the transfer with the data in the memory is completed.

【0020】そこで、本発明では、入力されるハイウエ
イデータのヘッダと外部のヘッダとの一致検出を行う前
に、メモリに格納されているデータを順次読みだすよう
にすることでシリアルデータのヘッダから読みだしてい
きデータフレームを読みだすのではなく、メモリに格納
されているデータを順次読みだすようにして並行してヘ
ッダの一致検出を行い、一致していなければ、メモリか
ら読み出していたデータを破棄する。
Therefore, according to the present invention, the data stored in the memory is sequentially read out before the matching detection between the header of the input highway data and the external header is detected. Rather than reading out the data frame sequentially, the data stored in the memory is sequentially read out to detect the header match in parallel. If they do not match, the data read from the memory is read. Discard.

【0021】よって、シリアルデータが、入力から出力
されるまで、データの乗せ換えを行う為に、外部からの
ヘッダの位相と合わせるのに、5ビット遅延分をヘッダ
から先に読み出して、一致検出するではなく、シリアル
データのデータの読み出して処理をヘッダの一致検出と
並行して行うことで5ビットの遅延を無くすことができ
るハイウエイデータの乗せ換え制御回路を提供すること
を目的としている。
Therefore, in order to transfer the data from the input to the output of the serial data, in order to match the phase of the header from the outside, a 5-bit delay is read out from the header first, and the match is detected. Instead, it is an object of the present invention to provide a highway data transfer control circuit capable of eliminating a 5-bit delay by reading serial data and performing processing in parallel with header matching detection.

【0022】[0022]

【発明が解決するための手段】図1に本発明の原理説明
図を示す。フレームパルスとヘッダとデータを含むパル
スデータ(PDATA)を入力して、所望のヘッダが検
出された際に、予めメモリ部4に設定されていたデータ
と該パルスデータのデータとを選択部5で乗せ換えて出
力するシリアルデータ乗せ換え制御回路において、前記
フレームパルスを検出し、前記パルスデータのデータと
前記メモリ部4に設定されていたデータとが前記選択部
5に同じタイミングで入力するように前記フレームパル
ス検出後、所定ビットだけを遅延させた制御パルスを出
力する先読み部2と、前記制御パルスを入力すると前記
メモリ部4に設定されているデータを読み出すための読
み出しパルスを前記メモリ部4に出力するとともに、入
力する前記パルスデータのヘッダが前記所望のヘッダで
あるか否かを検出して、検出した結果前記所望のヘッダ
であれば前記メモリ部4から読み出されたデータを選択
し、前記所望のヘッダでなければ前記パルスデータのデ
ータを選択するように指示する制御信号を前記選択部5
に出力する検出読出し制御部3とを有することを構成と
する。
FIG. 1 shows an explanatory diagram of the principle of the present invention. The pulse data (PDATA) including the frame pulse, the header and the data is input, and when the desired header is detected, the data preset in the memory unit 4 and the data of the pulse data are selected by the selection unit 5. In the serial data transfer control circuit which transfers and outputs the data, the frame pulse is detected, and the data of the pulse data and the data set in the memory unit 4 are input to the selection unit 5 at the same timing. After the frame pulse is detected, the pre-reading unit 2 outputs a control pulse delayed by a predetermined bit, and the memory unit 4 outputs a read pulse for reading the data set in the memory unit 4 when the control pulse is input. The output of the pulse data is detected by detecting whether or not the header of the input pulse data is the desired header. Results The selected data read from the memory unit 4, if desired header, said desired the selection unit 5 a control signal for instructing to select the data of the pulse data without header
And a detection / readout control unit 3 for outputting to.

【0023】[0023]

【作用】所望のヘッダであるかを検出してからメモリか
らデータを読みだすようにおこなっていたのを本発明で
は、先読み部3を設けることで、メモリに格納されてい
るデータを読みだしているのと並行に所望のヘッダであ
るかの検出を行っている。
In the present invention, the data is stored in the memory by reading the data from the memory after detecting whether the header is the desired one. At the same time, the detection of whether the header is the desired header is performed.

【0024】所望のヘッダであるかの検出が終了する前
に、先読み出し部のフレームパルスによって読出し制御
部がメモリから格納されているデータを順次読みだして
いるので、所望のヘッダであるかの検出と並行して処理
できる。さらに、ハイウエイデータのデータフレームを
メモリに記憶されているデータフレームと乗せ換える上
で位相を一致させるのに必要なデータの遅延を行わせず
にデータの乗せ換えが可能となる。
Before the detection of the desired header is completed, the read control unit sequentially reads the data stored in the memory by the frame pulse of the pre-reading unit. It can be processed in parallel with detection. Furthermore, when the data frame of the highway data is transferred to the data frame stored in the memory, it is possible to transfer the data without delaying the data necessary for matching the phases.

【0025】[0025]

【実施例】図2には、本発明の一実施例であるシリアル
データの乗せ換え制御回路の構成図を示す。
2 is a block diagram of a serial data transfer control circuit according to an embodiment of the present invention.

【0026】図7の従来のシリアルデータの乗せ換え制
御回路の構成図と同じ対象物については、同じ番号を付
け、説明については省略する。10は、先読みパルス生
成部である。
The same objects as those in the configuration diagram of the conventional serial data transfer control circuit of FIG. 7 are designated by the same reference numerals, and the description thereof will be omitted. Reference numeral 10 is a look-ahead pulse generator.

【0027】図1の本発明の原理図との対応関係を示す
と、図1の先読み部2は、図2の先読みパルス生成部1
0に対応し、図1の検出読み出し制御部3は、図2のヘ
ッダ検出部3と読み出し制御部4に対応し、図1のメモ
リ部4は、図2のROM5に対応し、図1の選択部5
は、図2のP/S変換部7とセレクタ8に対応する。
The correspondence between the pre-reading unit 2 of FIG. 1 and the pre-reading pulse generator 1 of FIG. 2 is shown.
1 corresponds to the header detection unit 3 and the read control unit 4 of FIG. 2, and the memory unit 4 of FIG. 1 corresponds to the ROM 5 of FIG. Selector 5
Corresponds to the P / S converter 7 and the selector 8 in FIG.

【0028】図3は、本発明のシリアルデータの乗せ換
え制御回路のタイムチャートを示す。図4は、本発明の
シリアルデータの乗せ換え制御回路の先読みパルス生成
部10の回路図を示し、10aは、5ビットカウンタ回
路であり、10bは、デコーダ回路であり、10cは、
Tフリップフロップ回路である。
FIG. 3 shows a time chart of the serial data transfer control circuit of the present invention. FIG. 4 is a circuit diagram of the prefetch pulse generation unit 10 of the serial data transfer control circuit of the present invention. 10a is a 5-bit counter circuit, 10b is a decoder circuit, and 10c is
It is a T flip-flop circuit.

【0029】図5は、本発明のシリアルデータの乗せ換
え制御回路のヘッダ検出部の回路図であり、従来のヘッ
ダ検出部の回路図と同じ対象物には、同じ番号を付け、
説明については省略する。3eは、AND回路である。
FIG. 5 is a circuit diagram of the header detecting section of the serial data transfer control circuit of the present invention. The same objects as those in the conventional header detecting section are designated by the same reference numerals.
The description is omitted. 3e is an AND circuit.

【0030】図6は、本発明のシリアルデータの乗せ換
え制御回路の読み出し制御部4の回路図を示し、図10
の従来のシリアルデータの乗せ換え制御回路の読み出し
制御部4の回路図と同じ対象物には、同じ番号を付け、
説明については省略する。4hは、J−Kフリップフロ
ップ回路である。
FIG. 6 is a circuit diagram of the read control unit 4 of the serial data transfer control circuit of the present invention, and FIG.
The same number is given to the same object as the circuit diagram of the read control unit 4 of the conventional serial data transfer control circuit of
The description is omitted. 4h is a JK flip-flop circuit.

【0031】図2の一実施例であるシリアルデータの乗
せ換え制御回路の動作を図3、図4、図5及び図6を使
用して、次に説明する。図2の2ビットフリップフロッ
プ1は、クロックパルス(CLK)の周期に基づいて、
入力されたフレームデータ(FRMPI)とハイウエイ
データ(HWDTI)のそれぞれを1ビットずつ遅延さ
せて(図3のD1、D2参照)、1ビット遅延させたフ
レームデータであるデータD1を2ビットフリップフロ
ップ9、先読みパルス生成部10及びヘッダ検出部3へ
出力し、1ビット遅延させたハイウエイデータ(HWD
TI)であるデータD2をセレクタ8及びヘッダ検出部
3へ出力する。
The operation of the serial data transfer control circuit according to the embodiment of FIG. 2 will be described below with reference to FIGS. 3, 4, 5 and 6. The 2-bit flip-flop 1 of FIG. 2 is based on the cycle of the clock pulse (CLK).
The input frame data (FRMPI) and highway data (HWDTI) are each delayed by 1 bit (see D1 and D2 in FIG. 3), and the data D1 which is the frame data delayed by 1 bit is flip-flop 9 , High-way data (HWD) output to the prefetch pulse generation unit 10 and the header detection unit 3 and delayed by 1 bit.
The data D2 which is TI) is output to the selector 8 and the header detection unit 3.

【0032】先読みパルス生成部10は、2ビットフリ
ップフロップ1からのフレームパルス(図3のD1参
照)をクロックパルスに基づきカウントして、ROM5
からのデータの読みだしと,パラレルデータからシリア
ルデータへ変換とにかかる処理時間を考慮した上で18
ビット遅延させたパルス(図3のD5)を作成して、読
出し制御部4へ出力する。その図3のD5のパルスは、
連続した周期単位で見れば図3のD1のパルスより2ビ
ット前にきている。読出し制御部4は、先読みパルス生
成部10からのパルス(図3のD5参照)を受けて、R
OM5に記憶されているデータを読みだす為に、ROM
5のADDR端子へデータを入力して、格納されている
データをXOER端子へのパルス(図3のD9参照)が
HレベルからLレベルに変わった時に順次読み出してい
き、読みだされたデータ(図3のD14参照)をP/S
変換部7の8ビットフリップフロップ7aへ出力する。
さらに、読出し制御部4は、8ビットシフトレジスタ7
bへパルス(図3のD11)を出力する。P/S変換部
7は、ROM5から読み出されたデータ(図3のD1
4)を8ビットフリップフロップ7aでデータをクロッ
クパルス(図3のD9参照)に基づきラッチして、8ビ
ットシフトレジスタ7bで遅延させた後に、セレクタ8
の端子1へ出力される。ヘッダ検出部3は、2ビットフ
リップフロップ1のフレームパルス(図3のD1参照)
とハイウエイデータ(図3のD2参照)からハイウエイ
データのヘッダを抽出して、外部からの入力されたヘッ
ダと1ビットずつクロックパルスに基づいて比較して、
一致していれば読出し制御部4へ一致パルスを出力し、
不一致であれば不一致パルスを出力する。読出し制御部
4は、ヘッダ検出部3より一致パルス(図3のD3参
照)を受ければ、セレクタ8の選択制御信号としてHレ
ベルパルスを出力し、セレクタの1の端子の選択するよ
うにして1の端子に入力されたデータを2ビットフリッ
プフロップ9へ出力する。さらに、ヘッダ検出部3は、
不一致パルス(図3のD4参照)を読出し制御部4へ出
力する。読出し制御部4は、ヘッダ検出部3からの不一
致パルス(図3のD4参照)を受けて、8ビットシフト
レジスタ7bのLD端子にHレベルパルスが入力される
とパラレルデータからシリアルデータへの変換を停止す
る。読出し制御部4は、不一致パルス(図3のD4参
照)を受けて、セレクタ8の選択制御信号としてLレベ
ルパルスを送出することでセレクタの0端子に入力され
たデータを選択して2びっトフリップフロップ9へ出力
する。2ビットフロップフロップ9は、フレームパルス
(図3のD1参照)とセレクタ8から出力されたデータ
とをクロックパルスに基づいて1ビットずつ遅延させて
出力する。
The pre-read pulse generator 10 counts the frame pulse (see D1 in FIG. 3) from the 2-bit flip-flop 1 based on the clock pulse, and the ROM 5
18 after considering the processing time for reading the data from and converting the parallel data to serial data.
A bit-delayed pulse (D5 in FIG. 3) is created and output to the read control unit 4. The pulse of D5 in FIG. 3 is
Seen in units of continuous cycles, it comes two bits before the pulse D1 in FIG. The read control unit 4 receives the pulse (see D5 in FIG. 3) from the prefetch pulse generation unit 10 and receives R
ROM to read the data stored in OM5
Data is input to the ADDR terminal of No. 5 and the stored data is sequentially read when the pulse (see D9 in FIG. 3) to the XOER terminal changes from the H level to the L level, and the read data ( (See D14 in FIG. 3) P / S
The data is output to the 8-bit flip-flop 7a of the conversion unit 7.
Further, the read control unit 4 uses the 8-bit shift register 7
The pulse (D11 in FIG. 3) is output to b. The P / S conversion unit 7 reads the data read from the ROM 5 (D1 in FIG. 3).
4) is latched by the 8-bit flip-flop 7a based on the clock pulse (see D9 in FIG. 3), delayed by the 8-bit shift register 7b, and then the selector 8
Is output to the terminal 1. The header detection unit 3 uses the frame pulse of the 2-bit flip-flop 1 (see D1 in FIG. 3).
And the highway data header from the highway data (see D2 in FIG. 3) is extracted and compared with the header input from the outside on a bit-by-bit basis,
If they match, a matching pulse is output to the read control unit 4,
If they do not match, a mismatch pulse is output. When the read control unit 4 receives the coincidence pulse (see D3 in FIG. 3) from the header detection unit 3, the read control unit 4 outputs an H level pulse as a selection control signal for the selector 8 so that the terminal 1 of the selector 1 is selected. The data input to the terminal is output to the 2-bit flip-flop 9. Further, the header detection unit 3 is
The mismatch pulse (see D4 in FIG. 3) is output to the read control unit 4. When the read control unit 4 receives the mismatch pulse (see D4 in FIG. 3) from the header detection unit 3 and the H level pulse is input to the LD terminal of the 8-bit shift register 7b, the read data is converted from parallel data to serial data. To stop. The read control unit 4 receives the mismatch pulse (see D4 in FIG. 3) and sends the L level pulse as the selection control signal of the selector 8 to select the data input to the 0 terminal of the selector to select the 2-bit Output to the flip-flop 9. The 2-bit flop-flop 9 delays the frame pulse (see D1 in FIG. 3) and the data output from the selector 8 by 1 bit based on the clock pulse and outputs the delayed signal.

【0033】次に、図4の先読みパルス生成部の回路図
に示すように、5ビットカウンタ回路10aは、LD端
子にフレームデータ(FRMPI)が入力され、クロッ
クパルスの入力に基づいて、5ビットずつカウントを行
って、デコーダ回路10bへ出力する。デコーダ回路1
0bは、5ビットずつのカウントを受けて、17ビット
目のカウントのときにパルスをTフリップフロップ回路
10cへ出力して、該Tフリップフロップ回路10cで
1ビット遅延させて(図3のD5参照)、読み出し制御
部4へ出力する。
Next, as shown in the circuit diagram of the prefetch pulse generator of FIG. 4, the 5-bit counter circuit 10a receives the frame data (FRMPI) at the LD terminal and receives 5 bits based on the input of the clock pulse. Each of them is counted and output to the decoder circuit 10b. Decoder circuit 1
0b receives a count of 5 bits each, outputs a pulse to the T flip-flop circuit 10c at the time of counting the 17th bit, and delays by 1 bit in the T flip-flop circuit 10c (see D5 in FIG. 3). ), And output to the read control unit 4.

【0034】図5のヘッダ検出部の回路図に示すよう
に、外部からのヘッダを比較器3bへ入力し、4ビット
シフトレジスタ3aでデータD2をクロックパルスに基
づいてシリアルデータからパラレルデータへ変換して、
データD2のうちヘッダのみを比較器3bへ出力する。
比較器3bでは、外部からのヘッダと4ビットシフトレ
ジスタ3aからのパラレルのヘッダを1ビットずつ比較
して、全ビット一致していれば、パルスをAND回路3
d、3eの一方の端子へ出力する。
As shown in the circuit diagram of the header detector of FIG. 5, an external header is input to the comparator 3b, and the 4-bit shift register 3a converts the data D2 from serial data to parallel data based on clock pulses. do it,
Only the header of the data D2 is output to the comparator 3b.
The comparator 3b compares the header from the outside with the parallel header from the 4-bit shift register 3a bit by bit, and if all the bits match, the pulse is ANDed by the AND circuit 3
Output to one terminal of d and 3e.

【0035】4ビットシフトレジスタ3cは、フレーム
パルスD1をクロックパルスに基づいて、4ビット遅延
させて、AND回路3d、3eの他方の端子に出力す
る。AND回路3dは、比較器3bの出力パルスと4ビ
ットシフトレジスタ3cの出力パルスとが入力されれ
ば、読み出し制御部4へ一致パルス(図3のD3参照)
を出力し、AND回路3eは、比較器3bの出力パルス
と4ビットシフトレジスタ3cの出力パルスを反転させ
たパルスとが入力されれば、読み出し制御部4へ不一致
パルス(図3のD4参照)を出力する。
The 4-bit shift register 3c delays the frame pulse D1 by 4 bits based on the clock pulse and outputs the delayed signal to the other terminals of the AND circuits 3d and 3e. When the output pulse of the comparator 3b and the output pulse of the 4-bit shift register 3c are input, the AND circuit 3d outputs a coincidence pulse to the read control unit 4 (see D3 in FIG. 3).
When the output pulse of the comparator 3b and the pulse obtained by inverting the output pulse of the 4-bit shift register 3c are input, the AND circuit 3e outputs a mismatch pulse to the read control unit 4 (see D4 in FIG. 3). Is output.

【0036】図6の読み出し制御部では、OR回路4i
は、ヘッダ検出部3の不一致パルスD4とデコーダ回路
4cの端子Fの出力を受けて、どちらか一方に出力が有
れば、J−Kフリップフロップ回路4aに入力される。
NOR回路4jは、先読みパルス生成部10の出力パル
ス(図3のD5参照)とヘッダ検出部3の不一致パルス
D4を受けて、両パルスが出力されない時に、4ビット
カウンタ回路4bにパルスを出力する。
In the read control section of FIG. 6, the OR circuit 4i
Receives the non-matching pulse D4 of the header detection unit 3 and the output of the terminal F of the decoder circuit 4c, and if there is an output in either one, it is input to the JK flip-flop circuit 4a.
The NOR circuit 4j receives the output pulse (see D5 of FIG. 3) of the prefetch pulse generator 10 and the mismatch pulse D4 of the header detector 3 and outputs a pulse to the 4-bit counter circuit 4b when both pulses are not output. ..

【0037】J−Kフリップフロップ回路4aは、先読
みパルス生成部10の出力パルスD5とOR回路4iの
出力パルスをクロックパルスに基づいて、J−Kフリッ
プフロップ回路4aの出力パルス(図3のD6参照)を
4ビットカウンタ回路4bへ入力する。
The JK flip-flop circuit 4a outputs the output pulse D5 of the prefetch pulse generator 10 and the output pulse of the OR circuit 4i based on the clock pulse, and outputs the output pulse of the JK flip-flop circuit 4a (D6 of FIG. 3). Reference) to the 4-bit counter circuit 4b.

【0038】4ビットカウンタ回路4bは、出力パルス
D6とクロックパルス(CLK)を受けて、カウントを
示す4ビットのコード化されたパルス(図3のD7)を
デコーダ4cへパラレルに出力する。また、4ビットカ
ウンタ回路4bは、NOR回路4jの出力パルスがLD
端子に入力されると、接地されたD端子から4ビットの
初期化パルス(例えば、“0000”)がデコーダ4c
へ出力される。
The 4-bit counter circuit 4b receives the output pulse D6 and the clock pulse (CLK), and outputs a 4-bit coded pulse (D7 in FIG. 3) indicating the count to the decoder 4c in parallel. The 4-bit counter circuit 4b outputs the output pulse of the NOR circuit 4j to the LD
When input to the terminal, a 4-bit initialization pulse (for example, "0000") is input from the grounded D terminal to the decoder 4c.
Is output to.

【0039】5ビットシフトレジスタ回路4dは、デコ
ーダ回路4cの端子Fの出力パルスを受けて、クロック
パルスに基づいて5ビット遅延させて、J−Kフリップ
フロップ回路4hへ出力される。J−Kフリップフロッ
プ回路4hは、ヘッダ検出部3の一致パルスD3をクロ
ックパルスに基づいて、セレクタ8へ制御信号としてパ
ルス(図3のD17参照)を出力する。
The 5-bit shift register circuit 4d receives the output pulse from the terminal F of the decoder circuit 4c, delays it by 5 bits based on the clock pulse, and outputs it to the JK flip-flop circuit 4h. The JK flip-flop circuit 4h outputs a pulse (see D17 in FIG. 3) as a control signal to the selector 8 based on the coincidence pulse D3 of the header detection unit 3 based on the clock pulse.

【0040】デコーダ回路4cは、4ビットカウンタ回
路4bのフレームパルス(図3のD7参照)を受けて、
フレームの16進数で示された1番目と9番目に当たる
パルスをOR回路4kに出力し、3番目とB(10進数
では10)番目に当たるパルスをOR回路4lに出力
し、7番目とF(10進数では16)番目に当たるパル
スをOR回路4mに出力する。
The decoder circuit 4c receives the frame pulse of the 4-bit counter circuit 4b (see D7 in FIG. 3),
The first and ninth pulses corresponding to the hexadecimal number of the frame are output to the OR circuit 4k, the third and B (10 in decimal number) pulses are output to the OR circuit 4l, and the seventh and F (10 The 16th pulse in the base number is output to the OR circuit 4m.

【0041】OR回路4kは、両方の入力のうちどちら
か一方にパルスが入力されれば、Tフリップフロップ4
eへパルス(図3のD8参照)を出力する。OR回路4
lは、両方の入力のうちどちらか一方にパルスが入力さ
れれば、Tフリップフロップ4fへパルス(図3のD1
0参照)を出力する。OR回路4mは、両方の入力のう
ちどちらか一方にパルスが入力されれば、8ビットカウ
ンタ回路4gへパルス(図3のD12参照)を出力す
る。
The OR circuit 4k receives the T flip-flop 4k when a pulse is input to one of the two inputs.
A pulse (see D8 in FIG. 3) is output to e. OR circuit 4
If a pulse is input to either one of the two inputs, l will be pulsed to the T flip-flop 4f (D1 in FIG. 3).
0 (see 0) is output. The OR circuit 4m outputs a pulse (see D12 in FIG. 3) to the 8-bit counter circuit 4g when a pulse is input to either one of both inputs.

【0042】Tフリップフロップ4eは、OR回路4k
の出力パルスD8をクロックパルスに基づき、パルスの
立ち下がりで反転させたパルス(図3のD9参照)をR
OM5へ出力する。Tフリップフロップ回路4fは、入
力されたパルスD10をパルスの立ち下がりで反転した
パルス(図3のD11参照)をP/S変換部7の8ビッ
トシフトレジスタ7bのLD端子へ出力する。
The T flip-flop 4e is an OR circuit 4k.
Based on the clock pulse, the output pulse D8 of FIG. 3 is inverted at the trailing edge of the pulse (see D9 in FIG. 3)
Output to OM5. The T flip-flop circuit 4f outputs a pulse (see D11 in FIG. 3) obtained by inverting the input pulse D10 at the trailing edge of the pulse to the LD terminal of the 8-bit shift register 7b of the P / S conversion unit 7.

【0043】8ビットカウンタ回路4gは、クロックパ
ルスに基づいて、OR回路4mからのパルス(図3のD
12参照)を8ビットカウントして、ROM5のADD
R端子へパルス(図5のD13参照)を出力する。
The 8-bit counter circuit 4g receives the pulse (D in FIG. 3) from the OR circuit 4m based on the clock pulse.
(See 12), 8 bits are counted, and the ADD of the ROM 5 is
A pulse (see D13 in FIG. 5) is output to the R terminal.

【0044】図2のROM5は、入力されたパルスD9
とD13を受けて、記憶されていたデータ(図3のD1
4参照)をP/S変換部7へ出力する。P/S変換部7
の8ビットシフトレジスタ回路7aは、入力パルスD1
4とD9を受けて、D14のパルスをD9のパルスのク
ロックに基づいて各ビット毎に遅延させて、8ビットの
パルス幅を持つパルス(図3のD15参照)を、8ビッ
トシフトレジスタ回路7bへ出力する。
The ROM 5 shown in FIG. 2 has an input pulse D9.
And the stored data (D1 in FIG. 3).
4) is output to the P / S conversion unit 7. P / S converter 7
The 8-bit shift register circuit 7a of
4 and D9, the pulse of D14 is delayed for each bit based on the clock of the pulse of D9, and a pulse having a pulse width of 8 bits (see D15 in FIG. 3) is supplied to the 8-bit shift register circuit 7b. Output to.

【0045】8ビットシフトレジスタ回路7bは、D1
5のシリアルデータとD11のパルスとをクロックパル
スに基づいて、D15をパラレルデータをシリアルデー
タに変換して(図3のD16参照)、セレクタ8へ出力
する。セレクタ8は、読み出し制御部4の制御信号(図
3のD17参照)を受けて、1の入力端子のデータを選
択して、2ビットフリップフロップ9へ1の入力端子へ
入力されたデータパルスD16を出力する。
The 8-bit shift register circuit 7b has a D1
Based on the clock pulse, the serial data of 5 and the pulse of D11 are converted from the parallel data of D15 into serial data (see D16 of FIG. 3) and output to the selector 8. The selector 8 receives the control signal of the read control unit 4 (see D17 in FIG. 3), selects the data of the 1 input terminal, and the data pulse D16 input to the 1 input terminal of the 2-bit flip-flop 9. Is output.

【0046】通常、ヘッダ検出部3での検出結果が不一
致であれば、読出し制御部4から8ビットシフトレジス
タ7bのLD端子へHレベルのパルスが入力されてパラ
レルデータからシリアルデータへの変換が停止され、セ
レクタ8は、0の入力端子のデータパルスD2、つまり
ハイウエイデータD2そのものを2ビットフリップフロ
ップ9へ出力する。
Normally, if the detection results of the header detection unit 3 do not match, an H level pulse is input from the read control unit 4 to the LD terminal of the 8-bit shift register 7b to convert parallel data to serial data. When stopped, the selector 8 outputs the data pulse D2 of the input terminal of 0, that is, the highway data D2 itself to the 2-bit flip-flop 9.

【0047】また、ヘッダ検出部3の検出結果が一致で
あれば、8ビットシフトレジスタ7bのLD端子にLレ
ベルパルスが入力されて、パラレルデータからシリアル
データへの変換を継続して、2ビットフリップフロップ
9は、クロックパルスに基づいて、2ビットフリップフ
ロップ回路1からのハイウエイデータパルスD2を読み
出し制御部4の制御信号パルスD17によりセレクタ8
の1の入力端子の入力データD16と乗せ換えて出力す
る。
If the detection results of the header detection unit 3 match, an L level pulse is input to the LD terminal of the 8-bit shift register 7b to continue conversion from parallel data to serial data and 2 bits. The flip-flop 9 selects the highway data pulse D2 from the 2-bit flip-flop circuit 1 based on the clock pulse by the control signal pulse D17 of the read control unit 4 to select the selector 8
The input data D16 of the 1 input terminal is replaced and output.

【0048】[0048]

【発明の効果】本発明では、データの乗せ換えを行う時
に、データのタイミングを取るために、5ビット遅延さ
せていたのを遅延させない為に、データのヘッダから読
み出して一致検出を行う前に、メモリからのデータの読
みだし時間と読みだしたデーをパラレルからシリアルに
変換する時間とを考慮してデータの読みだしを行うこと
で、データが入力から出力されるまでに用する時間のう
ちデータの乗せ換えに用する時間をかなり削減できるの
で、データ処理の高速化に寄与する。
As described above, according to the present invention, when data is transposed, the data is delayed by 5 bits in order to adjust the timing of the data. , By reading the data in consideration of the reading time of the data from the memory and the time to convert the read data from parallel to serial, of the time used from the input to the output of the data The time required for data transfer can be considerably reduced, which contributes to speeding up of data processing.

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

【図1】本発明の原理構成を示す図である。FIG. 1 is a diagram showing a principle configuration of the present invention.

【図2】本発明の一実施例を示すシリアルデータの乗せ
換え制御回路構成を示す図である。
FIG. 2 is a diagram showing a configuration of a serial data transfer control circuit showing an embodiment of the present invention.

【図3】本発明のシリアルデータの乗せ換え制御回路の
タイムチャートを示す図である。
FIG. 3 is a diagram showing a time chart of the serial data transfer control circuit of the present invention.

【図4】本発明のシリアルデータの乗せ換え制御回路の
先読みパルス生成部を示す回路図である。
FIG. 4 is a circuit diagram showing a prefetch pulse generator of the serial data transfer control circuit of the present invention.

【図5】本発明のシリアルデータの乗せ換え制御回路の
ヘッダ検出部を示す回路図である。
FIG. 5 is a circuit diagram showing a header detection unit of the serial data transfer control circuit of the present invention.

【図6】本発明のシリアルデータの乗せ換え制御回路の
読み出し制御部を示す回路図である。
FIG. 6 is a circuit diagram showing a read control unit of the serial data transfer control circuit of the present invention.

【図7】従来のシリアルデータの乗せ換え制御回路構成
を示す図である。
FIG. 7 is a diagram showing a configuration of a conventional serial data transfer control circuit.

【図8】従来のシリアルデータの乗せ換え制御回路のタ
イムチャートを示す図である。
FIG. 8 is a diagram showing a time chart of a conventional serial data transfer control circuit.

【図9】従来のシリアルデータの乗せ換え制御回路のヘ
ッダ検出部を示す回路図である。
FIG. 9 is a circuit diagram showing a header detection unit of a conventional serial data transfer control circuit.

【図10】従来のシリアルデータの乗せ換え制御回路の
読み出し制御部を示す回路図である。
FIG. 10 is a circuit diagram showing a read control unit of a conventional serial data transfer control circuit.

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

1、9、2ビットフリップフロップ回路 2、5ビット遅延回路 3、ヘッダ検出部 4、読み出し制御部 5、ROM 7、P/S変換部 8、セレクタ 1, 9, 2-bit flip-flop circuit 2, 5-bit delay circuit 3, header detection unit 4, read control unit 5, ROM 7, P / S conversion unit 8, selector

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 フレームパルスとヘッダとデータを含む
パルスデータ(PDATA)を入力して、所望のヘッダ
が検出された際に、予めメモリ部(4)に設定されてい
たデータと該パルスデータのデータとを選択部(5)で
乗せ換えて出力するシリアルデータ乗せ換え制御回路に
おいて、 前記フレームパルスを検出し、前記パルスデータのデー
タと前記メモリ部(4)に設定されていたデータとが前
記選択部(5)に同じタイミングで入力するように前記
フレームパルス検出後、所定ビットだけを遅延させた制
御パルスを出力する先読み部(2)と、 前記制御パルスを入力すると前記メモリ部(4)に設定
されているデータを読み出すための読み出しパルスを前
記メモリ部(4)に出力するとともに、入力する前記パ
ルスデータのヘッダが前記所望のヘッダであるか否かを
検出して、検出した結果前記所望のヘッダであれば前記
メモリ部(4)から読み出されたデータを選択し、前記
所望のヘッダでなければ前記パルスデータのデータを選
択するように指示する制御信号を前記選択部(5)に出
力する検出読出し制御部(3)とを有することを特徴と
するシリアルデータ乗せ換え制御回路。
1. When pulse data (PDATA) including a frame pulse, a header and data is input and a desired header is detected, the data previously set in the memory unit (4) and the pulse data In a serial data transfer control circuit for transferring and outputting the data in a selection unit (5), the frame pulse is detected, and the data of the pulse data and the data set in the memory unit (4) are described above. A pre-reading unit (2) that outputs a control pulse delayed by a predetermined bit after the frame pulse is detected so that the selection unit (5) inputs the same timing, and the memory unit (4) when the control pulse is input. A read pulse for reading the data set to is output to the memory unit (4), and the header of the input pulse data is forwarded. If it is the desired header as a result of the detection, the data read from the memory unit (4) is selected, and if it is not the desired header, the pulse data of the pulse data is detected. A serial data transfer control circuit, comprising: a detection / readout control section (3) for outputting a control signal for instructing to select data to the selection section (5).
JP24155591A 1991-09-20 1991-09-20 Serial data transfer control circuit Withdrawn JPH0581186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24155591A JPH0581186A (en) 1991-09-20 1991-09-20 Serial data transfer control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24155591A JPH0581186A (en) 1991-09-20 1991-09-20 Serial data transfer control circuit

Publications (1)

Publication Number Publication Date
JPH0581186A true JPH0581186A (en) 1993-04-02

Family

ID=17076099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24155591A Withdrawn JPH0581186A (en) 1991-09-20 1991-09-20 Serial data transfer control circuit

Country Status (1)

Country Link
JP (1) JPH0581186A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7881290B2 (en) 2007-02-21 2011-02-01 Nec Corporation Serial interface circuit and serial receiver

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7881290B2 (en) 2007-02-21 2011-02-01 Nec Corporation Serial interface circuit and serial receiver

Similar Documents

Publication Publication Date Title
JP3013713B2 (en) Information signal processing method
US4955061A (en) Method and apparatus for processing an image signal
JPH0581186A (en) Serial data transfer control circuit
JP3271513B2 (en) Information signal processing method and information signal processing device
JPS6331371A (en) Picture signal encoder
JP2903996B2 (en) Information signal processing method and information signal processing device
JP2797106B2 (en) Optimal scanning method determination circuit
JPS60253372A (en) Picture signal coding system
EP0499225A2 (en) Variable-length code decoding device
JPS63136772A (en) Encoder for picture signal
JPS63220675A (en) Image processing device
JP3645792B2 (en) Signal waveform shaping circuit and shaping method thereof
JPS59156073A (en) Data decoding device
JP3513399B2 (en) Variable timing device using serial data
JP2595900B2 (en) Change point coordinate detection device for binary image data
JP3337873B2 (en) Anti-collision device
JPS593589A (en) Bar code reader
JPS59156075A (en) Data decoding device
JP3029863B2 (en) Compressed data decoding device
JP2536489B2 (en) Compressed data decoding device
JPH05115012A (en) Picture compressing device
JPH0511474B2 (en)
JPH0622122A (en) Picture processing unit
JPS61224731A (en) Changing point detection system
JPS60117879A (en) Fill bit eliminating circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981203