JPH03244217A - Parallel/serial conversion circuit for data - Google Patents

Parallel/serial conversion circuit for data

Info

Publication number
JPH03244217A
JPH03244217A JP4150690A JP4150690A JPH03244217A JP H03244217 A JPH03244217 A JP H03244217A JP 4150690 A JP4150690 A JP 4150690A JP 4150690 A JP4150690 A JP 4150690A JP H03244217 A JPH03244217 A JP H03244217A
Authority
JP
Japan
Prior art keywords
data
input terminal
flip
flop
parallel
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.)
Pending
Application number
JP4150690A
Other languages
Japanese (ja)
Inventor
Makoto Yomo
誠 四方
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4150690A priority Critical patent/JPH03244217A/en
Publication of JPH03244217A publication Critical patent/JPH03244217A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify circuit configuration and to reduce energy consumption by always supplying a logic level 1 to the second data input terminal of a D-flip-flop(DFF) in the first step and supplying the output of the DFF in the final step to a serial data output terminal. CONSTITUTION:A load signal LDP is normally supplied at '1' and once inverted to '0' concerning four clocks. On the other hand, since the logic level of a second data input terminal D in a first DFF 1 is '0' at all times, the Q outputs of DFF 1-DFF 3 are turned to '0' after the passage of three clocks. Next, when a clock signal CLK is ended while setting the signal LDP to '1', the data applied to inverse phase parallel data input terminals, (-PD1)-(-PD4) are respectively latched to the DFF 1-DFF 4 and successively serially outputted from an output terminal SD. In such a case, since a gate is not provided on a critical path between the respective DFF,, the number of elements can be decreased and the energy consumption can be reduced.

Description

【発明の詳細な説明】 (産業上の利用分野〉 本発明はデータの並列/直列変換回路に関し、特に、ク
ロック信号に同期してnビットのパラレルデータを読み
込み、これを時分割で多重してシリアルで出力する半導
体回路に用いて好適なものである。
[Detailed Description of the Invention] (Industrial Application Field) The present invention relates to a data parallel/serial conversion circuit, and in particular reads n-bit parallel data in synchronization with a clock signal and multiplexes it in a time division manner. This is suitable for use in semiconductor circuits that output serially.

〈従来の技術〉 パラレルで与えられるnビットのデータをシリアルデー
タに変換して出力するようにした半導体回路が知られて
いる。第3図は、4ビツトのパラレルデータをシリアル
データに変換する回路の従来例を示す回路構成図である
。第3図の回路は、D−フリップフロップDFEよびセ
レクタSLか1ビツトにつきそれぞれ1個ずつ設けられ
、これらは全部で4個ずつ設けられている。そして、各
セレクタSLI〜SL4の出力端子がそれぞれD−フリ
ップフロップDFI〜DF4のデータ入力端子に接続さ
れている。また、各段のD−フリップフロップの出力端
子か次段のセレクタの第2入力端子に接続され、最終段
のD−フリップフロップDF4の出力端子かシリアルデ
ータ出力端子SDに接続されている。
<Prior Art> A semiconductor circuit is known that converts n-bit data provided in parallel into serial data and outputs the serial data. FIG. 3 is a circuit diagram showing a conventional example of a circuit for converting 4-bit parallel data into serial data. In the circuit shown in FIG. 3, one D-flip-flop DFE and one selector SL are provided for each bit, and there are four in total. The output terminals of the selectors SLI to SL4 are connected to the data input terminals of the D-flip-flops DFI to DF4, respectively. Further, the output terminal of the D-flip-flop in each stage is connected to the second input terminal of the selector in the next stage, and the output terminal of the D-flip-flop DF4 in the final stage is connected to the serial data output terminal SD.

この並列/直列変換回路は、4つのパラレル信号入力端
子PDI〜PD4.ロード信号入力端子LDおよびクロ
ック信号入力端子CLが設けられ、各パラレル信号入力
端子PDI〜PD4は。
This parallel/serial conversion circuit has four parallel signal input terminals PDI to PD4. A load signal input terminal LD and a clock signal input terminal CL are provided, and each parallel signal input terminal PDI to PD4 is provided.

第1〜第4のセレクタSLI〜SL4の第1のデータ入
力端子に接続されている。また、ロード信号入力端子L
Dは各セレクタSLI〜SL4の制御信号入力端子に接
続されているとともに、クロック信号入力端子CLは第
1〜第4のD−フリップフロップDFI〜DF4のクロ
ック信号入力端子に接続されている。ここで、第1〜第
4のD−フリップフロップDFI〜DF4は、クロック
信号CLKが立下がるときに与えられているデータ信号
の論理レベルを出力するものとし、第1〜第4のセレク
タSLI〜SL4は制御信号の論理レベルか“1″のと
きに、第1のデータ信号入力端子に与えられているデー
タ信号の論理レベルを出力するとともに、制御信号の論
理レベルか“O”のときに、第2のデータ信号入力端子
に与えられているデータ信号の論理レベルを出力するも
のとする。
It is connected to the first data input terminals of the first to fourth selectors SLI to SL4. Also, load signal input terminal L
D is connected to the control signal input terminal of each of the selectors SLI to SL4, and the clock signal input terminal CL is connected to the clock signal input terminal of the first to fourth D-flip-flops DFI to DF4. Here, the first to fourth D-flip-flops DFI to DF4 output the logic level of the applied data signal when the clock signal CLK falls, and the first to fourth selectors SLI to SL4 outputs the logic level of the data signal applied to the first data signal input terminal when the logic level of the control signal is "1", and when the logic level of the control signal is "O", It is assumed that the logic level of the data signal applied to the second data signal input terminal is output.

次に、第4図の動作波形図に従って第3図の並列/直列
変換回路の動作を説明する。なお、第4図の動作波形図
は横軸に時間軸をとり、各時点to〜1.に対応する各
部の論理レベルを示している。
Next, the operation of the parallel/serial conversion circuit shown in FIG. 3 will be explained according to the operating waveform diagram shown in FIG. 4. In addition, in the operation waveform diagram of FIG. 4, the horizontal axis is the time axis, and each time point to-1. The logic level of each part corresponding to is shown.

第4図において、時点t。〜t1の間てロード信号入力
端子LDの論理レベルが“1”になると、第1〜第4の
セレクタSLI〜SL4の各出力端子11〜41の論理
レベルは各パラレル信号入力端子PDI〜PD4の論理
レベルと同じになり、それぞれLl〜L4になる。
In FIG. 4, time t. When the logic level of the load signal input terminal LD becomes "1" during ~t1, the logic level of each output terminal 11 to 41 of the first to fourth selectors SLI to SL4 becomes equal to that of each parallel signal input terminal PDI to PD4. They become the same as the logic levels, and become L1 to L4, respectively.

次に、時点t1でクロック信号CLKが“0”になると
、第1〜第4のD−フリップフロップDFl〜DF4の
出力端子の論理レベルは、第1〜第4のセレクタの各出
力端子11〜41の論理レベルと同゛じになり、それぞ
れLl〜L4となる。したがって、この場合シリアルデ
ータ出力端子SDの論理レベルはL4となる。なお第4
のD−フリップフロップDF4の出力端子の論理レベル
はシリアルデータ出力端子SDと同じなので、第4図で
は省略している。
Next, when the clock signal CLK becomes "0" at time t1, the logic levels of the output terminals of the first to fourth D-flip-flops DFl to DF4 change to the respective output terminals 11 to 11 of the first to fourth selectors. The logic levels are the same as those of 41, and are respectively L1 to L4. Therefore, in this case, the logic level of the serial data output terminal SD becomes L4. Furthermore, the fourth
Since the logic level of the output terminal of the D-flip-flop DF4 is the same as that of the serial data output terminal SD, it is omitted in FIG.

時点t□〜t2の間でロード信号入力端子LDの論理レ
ベルが“0”になると、第2〜第4のセレクタの出力端
子21〜41の論理レベルはそれぞれ論理レベルL1〜
L3と等しくなる。したがって、時点t2において第2
および第3のD−フリップフロップの出力端子22.3
2の論理レベルは、それぞれ論理レベルLl、L2と等
しくなり、シリアルデータ出力端子SDの論理レベルは
論理レベルL3と等しくなる。
When the logic level of the load signal input terminal LD becomes "0" between time points t□ and t2, the logic levels of the output terminals 21 to 41 of the second to fourth selectors become the logic levels L1 to L1, respectively.
It becomes equal to L3. Therefore, at time t2, the second
and the output terminal 22.3 of the third D-flip-flop.
The logic level of the serial data output terminal SD is equal to the logic level L1 and L2, respectively, and the logic level of the serial data output terminal SD is equal to the logic level L3.

時点t3においては、第3のD−フリップフロップの出
力端子32の論理レベルは論理レベルLlと等しくなり
、シリアルデータ出力端子SDの論理レベルは論理レベ
ルL2と等しくなる。また、このときに第4のセレクタ
の出力端子41は論理レベルL1と等しい論理レベルと
なる。そして、時点t4になるとシリアルデータ出力端
子SDが論理レベルLlと等しい論理レベルになる。
At time t3, the logic level at the output terminal 32 of the third D-flip-flop becomes equal to the logic level Ll, and the logic level at the serial data output terminal SD becomes equal to the logic level L2. Further, at this time, the output terminal 41 of the fourth selector becomes at a logic level equal to the logic level L1. Then, at time t4, the serial data output terminal SD reaches a logic level equal to the logic level Ll.

次に、時点t4とt8の間ではロード信号入力端子LD
の論理レベルが“l”になるため、各部の状態は時点t
。〜t1の間と同じ状態に戻り、以後上述した動作を繰
り返し行なう。
Next, between time points t4 and t8, the load signal input terminal LD
Since the logic level of becomes “L”, the state of each part changes to the time t.
. The state returns to the same state as in the period from t1 to t1, and the above-described operations are repeated thereafter.

このように、第3図のデータの並列/直列変換回路はロ
ード信号入力端子LDの論理レベルが“l”のときに、
第1〜第4のパラレルデータ入力端子PDI〜PD4に
与えられているデータを読み込み、これをクロック信号
CLKに同期して順次転送し、シリアルデータ出力端子
SDからシリアルで出力するようにしている。
In this way, when the logic level of the load signal input terminal LD is "L", the data parallel/serial conversion circuit shown in FIG.
The data applied to the first to fourth parallel data input terminals PDI to PD4 are read, sequentially transferred in synchronization with the clock signal CLK, and output in serial from the serial data output terminal SD.

〈発明が解決しようとする課題〉 第3図の回路では、1つのパラレルデータ入力端子につ
いて、セレクタSLおよびD−フリップフロップDFを
それぞれ1個ずつ配設しているので、多重化するパラレ
ルデータの数と同じ数だけこれらのセレクタSLおよび
D−フリップフロップが必要であった。ところで、セレ
クタSLはナントゲートだけで構成すると通常は4ゲー
ト必要なので、第3図の従来の並列/直列変換回路は素
子数が多く必要であった。したがって、それに伴って消
費電力が大きくなるとともに回路構成が大型化してしま
う問題があった。また、この場合、フリップフロップ間
におけるクリティカルパス上のゲート段数が2段となっ
ているので、これが動作速度を向上させる上でネックに
なっていた。
<Problems to be Solved by the Invention> In the circuit shown in FIG. 3, one selector SL and one D-flip-flop DF are provided for one parallel data input terminal, so that the number of parallel data to be multiplexed is reduced. The same number of these selectors SL and D-flip-flops were needed. By the way, if the selector SL is composed of only Nant gates, it usually requires four gates, so the conventional parallel/serial conversion circuit shown in FIG. 3 requires a large number of elements. Therefore, there is a problem in that the power consumption increases and the circuit configuration becomes larger. Furthermore, in this case, the number of gate stages on the critical path between flip-flops is two, which has been a bottleneck in improving the operating speed.

本発明は上述の問題点に鑑み、消費電力が小さく、しか
も高速動作に適した回路を提供することを目的とする。
In view of the above-mentioned problems, it is an object of the present invention to provide a circuit that has low power consumption and is suitable for high-speed operation.

〈課題を解決するための手段〉 本発明のデータの並列/直列変換回路・は、並列/直列
変換するnビットの逆相パラレルデータを入力するため
に設けられたn個の外部デー□り入力端子と、上記逆相
パラレルデータを並列/直列変換する動作の基準となる
クロック信号を入力するためのクロック信号入力端子と
、上記クロック信号のnクロックについて1回の割で論
理レベルが0”に反転するロード信号を入力するための
ロード信号入力端子と、直列に変換されたデータを出力
するためのシリアルデータ出力端子と、上記n個のデー
タ入力端子のそれぞれに対応してn個設けられ、上記各
データ入力端子に入力される逆相パラレルデータが第1
の入力端子に与えられるとともに、上記ロード信号が第
2の入力端子に与えられるノア回路と、上記ノア回路の
それぞれに対応してn個設けられ、上記ノア回路からそ
れぞれ出力されるデータ信号が与えられる第1の入力端
子および前段に設けられているフリップフロップの出力
端子から導出されるデータ信号が与えられる第2の入力
端子を有し、これらの端子に与えられる信号の論理和を
出力するD−フリップフロップとを具備し、初段に設け
られているD−フリップフロップの第2のデータ入力端
子に論理レベルの“0”を常時供給するとともに、最終
段に設けられているD−フリップフロップの出力を上記
シリアルデータ出力端子に供給するようにしている。
<Means for Solving the Problems> The data parallel/serial conversion circuit of the present invention has n external data inputs provided for inputting n-bit anti-phase parallel data to be parallel/serial converted. A terminal, a clock signal input terminal for inputting a clock signal that is a reference for the operation of parallel/serial conversion of the above-mentioned anti-phase parallel data, and a logic level of 0'' every n clocks of the above-mentioned clock signal. n load signal input terminals for inputting an inverted load signal, serial data output terminals for outputting serially converted data, and n pieces corresponding to each of the n data input terminals, The reverse phase parallel data input to each data input terminal above is the first
n NOR circuits are provided corresponding to each of the NOR circuits, and the load signal is provided to the second input terminal of the NOR circuit, and the data signals output from the NOR circuits are respectively provided. D has a first input terminal that is input to the input terminal and a second input terminal that is supplied with a data signal derived from the output terminal of a flip-flop provided in the preceding stage, and outputs the logical sum of the signals supplied to these terminals. - a flip-flop, and always supplies logic level "0" to the second data input terminal of the D-flip-flop provided in the first stage, and also supplies logic level "0" to the second data input terminal of the D-flip-flop provided in the final stage. The output is supplied to the serial data output terminal.

また、本発明の他の特徴とするところは、並列/直列変
換するnビットの逆相パラレルデータな入力するために
設けられたn個の外部データ入力端子と、上記逆相パラ
レルデータな並列/直列変換する動作の基準となるクロ
ック信号を入力するためのクロック信号入力端子と、上
記クロック信号のnクロックについて1回の割で論理レ
ベルか“l”に反転するロード信号を入力するためのロ
ード信号入力端子と、直列に変換されたデータを出力す
るためのシリアルデータ出力端子と、上記n個のデータ
入力端子のそれぞれに対応してn個設けられ、上記各デ
ータ入力端子に入力される逆相パラレルデータが第1の
入力端子に与えられるとともに、上記ロード信号が第2
の入力端子に与えられるナンド回路と、上記ナンド回路
のそれぞれに対応してn個設けられ、上記ナンド回路か
らそれぞれ出力されるデータ信号か与えられる第1の入
力端子および前段に設けられているフリップフロップの
出力端子から導出されるデータ信号か与えられる第2の
入力端子を有し、これらの端子に与えられる信号の論理
積を出力するD−フリップフロップとを具備し、初段に
設けられているD−フリップフロップの第2のデータ入
力端子に論理レベルの“1”を常時供給するとともに、
最終段に設けられているD−フリップフロップの出力を
上記シリアルデータ出力端子に供給するようにしている
Another feature of the present invention is that n external data input terminals are provided for inputting n-bit anti-phase parallel data to be converted into parallel/serial data, and A clock signal input terminal for inputting a clock signal that serves as a reference for serial conversion operation, and a load for inputting a load signal that is inverted to logic level or "L" every n clocks of the above clock signal. A signal input terminal, a serial data output terminal for outputting serially converted data, and n serial data output terminals corresponding to each of the above n data input terminals, and inverse signals input to each of the above data input terminals. Phase parallel data is applied to the first input terminal, and the load signal is applied to the second input terminal.
n NAND circuits provided corresponding to each of the NAND circuits, and a first input terminal to which data signals output from the NAND circuits are respectively provided, and a flip-flop provided at the previous stage. It has a second input terminal to which a data signal derived from the output terminal of the flip-flop is applied, and a D-flip-flop that outputs the AND of the signals applied to these terminals, and is provided at the first stage. While constantly supplying the logic level "1" to the second data input terminal of the D-flip-flop,
The output of the D-flip-flop provided at the final stage is supplied to the serial data output terminal.

〈作用〉 第1および第2のデータ入力端子を有し、これらのデー
タ入力端子に供給される信号レベルの論理和を出力する
D−フリップフロップ、または、上記各信号レベルの論
理積を出力するD−フリップフロップをn個用いてnビ
ットのシフトレジスタを形成し、パラレルて与えられる
データなnクロックに1回の割でそれぞれのD−フリッ
プフロップに読み込むとともに、読み込みを行なわない
期間には上記読み込んたデータをクロックに同期して次
段のD−フリップフロップにシリアルて順次転送し、最
終段のD−フリップフロップからシリアルデータとして
出力する。これにより、各D−フリップフロップにゲー
ト回路を1個付設するたけて、次段のD−フリップフロ
ップに送出するデータの選択が可能になるとともに、各
D−フリップフロップ間のクリティカルバス上にゲート
を介在させることなく変換回路を構成することが可能に
なる。
<Operation> A D-flip-flop that has first and second data input terminals and outputs the logical sum of signal levels supplied to these data input terminals, or outputs the logical product of the respective signal levels mentioned above. An n-bit shift register is formed using n D-flip-flops, and the data given in parallel is read into each D-flip-flop once every n clocks, and during the period when no data is being read, the above The read data is serially transferred to the next stage D-flip-flop in synchronization with the clock, and is output as serial data from the final stage D-flip-flop. As a result, by adding one gate circuit to each D-flip-flop, it is possible to select the data to be sent to the next D-flip-flop, and a gate circuit is added to the critical bus between each D-flip-flop. It becomes possible to configure a conversion circuit without intervening.

〈実施例〉 第1図は、本発明の一実施例を示すデータの並列/直列
変換回路の構成図、第2図は、第1図におけるD−フリ
ップフロップDFFの回路構成を示す構成図である。
<Embodiment> FIG. 1 is a configuration diagram of a data parallel/serial conversion circuit showing an embodiment of the present invention, and FIG. 2 is a configuration diagram showing the circuit configuration of the D-flip-flop DFF in FIG. 1. be.

実施例のデータの並列/直列変換回路は、並列で供給さ
れる4ビツトのデータを多重して直列に変換する回路と
して構成され、クロック信号入力端子CL、ロード信号
入力端子LD、4ビツトの逆相パラレルデータ入力端子
PDI〜PD4.シリアルデータ出力端子SDなどの入
出力端子および4つのD−フリップフロップDFFl〜
DFF4と、4つのノアゲートN0R1〜N0R4とを
有している。
The data parallel/serial conversion circuit of the embodiment is configured as a circuit that multiplexes 4-bit data supplied in parallel and converts it into series, and has a clock signal input terminal CL, a load signal input terminal LD, and a 4-bit inverse Phase parallel data input terminals PDI to PD4. Input/output terminals such as serial data output terminal SD and four D-flip-flops DFFl~
It has DFF4 and four NOR gates N0R1 to N0R4.

クロック信号入力端子CLは各D−フリップフロップD
FF1〜DFF4のクロック端子Cに接続され、ロード
信号入力端子LDは各ノアゲートN0R1〜N0R4の
第2の入力端子に接続されている。また、各パラレルデ
ータ入力端子PDI〜PD4はそれぞれノアゲートN0
R1〜N0R4の第1入力端子に接続され、ノアゲート
N0R1〜N0R4の出力端子はD−フリップフロップ
DFFI−DFF4の第1のデータ入力端子D1に接続
されている。第1〜第3のD−フリップフロップDFF
1〜DFF3の出力端子Qはそれぞれ第2〜第4のD−
フリップフロップDFF2〜DFF4の第2のデータ入
力端子D2に接続され、第4のD−フリップフロップD
FF4の出力端子Qはシリアルデータ出力端子SDに接
続されている。また、第1のD−フリップフロッゾDF
F1の第2のデータ入力端子D2は接地され、論理レベ
ルの0”が常に供給されている。
The clock signal input terminal CL is connected to each D-flip-flop D.
It is connected to the clock terminal C of FF1 to DFF4, and the load signal input terminal LD is connected to the second input terminal of each NOR gate N0R1 to N0R4. In addition, each parallel data input terminal PDI to PD4 is a NOR gate N0.
The output terminals of the NOR gates N0R1 to N0R4 are connected to the first data input terminals D1 of the D-flip-flops DFFI to DFF4. First to third D-flip-flops DFF
The output terminals Q of 1 to DFF3 are respectively connected to the second to fourth D-
The fourth D-flip-flop D is connected to the second data input terminal D2 of the flip-flops DFF2 to DFF4.
The output terminal Q of FF4 is connected to the serial data output terminal SD. Also, the first D-flip frozzo DF
The second data input terminal D2 of F1 is grounded and always supplied with logic level 0''.

また、4D−フリップフロップDFFI〜DFF4は、
6個のノアゲートNl〜N6によって構成され、クロッ
ク端子Cは第2および第3のノアアゲ−)N2.N3の
第2の入力端子に接続されている。そして、第1のデー
タ入力端子DIが第4のノアゲートN4の第2の入力端
子に接続され、第2のデータ入力端子D2が第4のノア
ゲートN4の第3の入力端子に接続されている。
In addition, the 4D flip-flops DFFI to DFF4 are
It is composed of six NOR gates Nl to N6, and the clock terminal C is connected to the second and third NOR gates N2. It is connected to the second input terminal of N3. The first data input terminal DI is connected to the second input terminal of the fourth NOR gate N4, and the second data input terminal D2 is connected to the third input terminal of the fourth NOR gate N4.

また、第1〜第4の各ノアゲートNl〜N4の各出力端
子は次のように接続されている。すなわち第1のノアゲ
ートNlの出力端子は第2のノアゲートN2の第1の入
力端子に接続され、第2のノアゲートN2の出力端子は
第1のノアゲートN1の第2の入力端子、第3および第
5のノアゲートN3.N5の第1の入力端子に接続され
、第3のノアゲートN3の出力端子は第4のノアゲート
N4の第1の入力端子および第6のノアゲートN6の第
2の入力端子にそれぞれ接続されている。
Moreover, each output terminal of each of the first to fourth NOR gates Nl to N4 is connected as follows. That is, the output terminal of the first NOR gate Nl is connected to the first input terminal of the second NOR gate N2, and the output terminal of the second NOR gate N2 is connected to the second input terminal of the first NOR gate N1, the third and 5 Noah Gate N3. The output terminal of the third NOR gate N3 is connected to the first input terminal of the fourth NOR gate N4 and the second input terminal of the sixth NOR gate N6.

また、第4のノアゲートN4の出力端子は第1のノアゲ
ートNlの第1の入力端子および第3のノアゲー)−N
3の第3の入力端子に接続され、第5のノアゲートN5
の出力端子はQ端子および第6のノアゲートの第1の入
力端子に接続され、第6のノアゲー)N6の出力端子は
第5のノアゲー)N5の第2の入力端子に接続されてい
る。
Further, the output terminal of the fourth NOR gate N4 is the first input terminal of the first NOR gate Nl and the third NOR gate)
The fifth NOR gate N5 is connected to the third input terminal of N5.
The output terminal of the sixth NOR gate is connected to the Q terminal and the first input terminal of the sixth NOR gate, and the output terminal of the sixth NOR gate N6 is connected to the second input terminal of the fifth NOR gate N5.

このように構成されることにより、実施例のD−フリッ
プフロップDFF1〜DFF4は、クロック端子Cに与
えられるクロック信号CLKの立下がり時に、第1およ
び第2のデータ入力端子D□、D2の論理レベルのオア
を出力するエツジトリガ型り−フリップフロップとして
働く。
With this configuration, the D-flip-flops DFF1 to DFF4 of the embodiment change the logic of the first and second data input terminals D□ and D2 at the falling edge of the clock signal CLK applied to the clock terminal C. An edge-triggered type that outputs the OR of levels - acts as a flip-flop.

実施例のデータの並列/直列変換回路におけるロード信
号入力端子LDに供給されるロード信号LDPは、常時
は“1”で供給され、4クロツクについて1回“0”に
反転する。一方、第1のD−フリップフロップDFF1
の第2のデータ入力端子D2の論理レベルは常時“0”
であるため、ロード信号LDPが“0″になって3クロ
ツグ経過後は第1〜第3のD−フリップフロップDFF
1〜DFF3のQ出力は“0”となる。そして、次に、
ロード信号LDPか“l”でクロック信号CLKが立下
った時に、第1〜第4のD−フリップフロップDFFI
〜DFF4には、逆相パラレルデータ入力端子PDI〜
PD4に与えられているデータがそれぞれラッチされる
。これらのデータは、クロック信号CLKに同期して転
送され、シリアルデータ出力端子SDからシリアルで順
次出力される。
The load signal LDP supplied to the load signal input terminal LD in the data parallel/serial conversion circuit of the embodiment is normally supplied at "1" and is inverted to "0" once every four clocks. On the other hand, the first D-flip-flop DFF1
The logic level of the second data input terminal D2 is always “0”
Therefore, after the load signal LDP becomes "0" and 3 clocks have passed, the first to third D-flip-flops DFF
The Q outputs of DFF1 to DFF3 become "0". And then,
When the load signal LDP is "L" and the clock signal CLK falls, the first to fourth D-flip-flops DFFI
~DFF4 has a negative phase parallel data input terminal PDI~
The data given to PD4 are each latched. These data are transferred in synchronization with the clock signal CLK and are serially output from the serial data output terminal SD.

実施例の回路の場合にはそれぞれのD−フリップフロッ
プDFF間のクリティカルパス上にゲートが設けられて
いない、したがって、このようにしてデータの並列/直
列変換回路として動作するに際し、第3図に示した従来
回路と比較して転送速度を大幅に向上させることができ
、高速動作が可能になる。また、実施例の回路の場合に
は、lビット当たりについてD−フリップフロップDF
FおよびノアゲートNORをそれぞれ1個ずつ設けるだ
けで構成することがてきるのて、回路構成を簡素化する
ことができる。したがって、素子数を削減できるととも
に、消費電力も減少することができる。
In the case of the circuit of the embodiment, no gate is provided on the critical path between the respective D-flip-flops DFF. Therefore, when operating as a data parallel/serial conversion circuit in this way, the The transfer speed can be significantly improved compared to the conventional circuit shown, and high-speed operation becomes possible. In addition, in the case of the circuit of the embodiment, the D-flip-flop DF per l bit
The circuit configuration can be simplified because it can be constructed by providing only one F and one NOR gate. Therefore, the number of elements can be reduced and power consumption can also be reduced.

なお、第1図におけるノアゲートN0R1〜N0R4を
ナントゲートで構成するとともに、D−フリップフロッ
プDFFにおけるノアゲートN1−N6を全てナントゲ
ートで構成し、第1のD−フリップフロップDFF1の
第2の入力端子D2には常時“1″を供給し、ロード信
号入力端子LDには4クロツクに1回だけl″になるロ
ード信号LDPを供給するように構成しても同様の変換
動作をさせることができる。
It should be noted that the NOR gates N0R1 to N0R4 in FIG. A similar conversion operation can be performed by arranging that D2 is always supplied with "1" and the load signal input terminal LD is supplied with the load signal LDP which becomes "1" only once every four clocks.

〈発明の効果〉 本発明は上述したように、第1および第2のデータ入力
端子を有し、請求項1の発明においてはこれらのデータ
入力端子に供給される信号レベルの論理和を出力するD
−フリップフロップなn個用い、また、請求項2の発明
においては上記各信号レベルの論理積を出力するD−フ
リップフロップをn個用いてそれぞれnビットのシフト
レジスタを形威し、パラレルて与えられるデータなnク
ロックに1回の割でそれぞれのD−フリップフロップに
読み込むとともに、読み込みを行なわない期間には上記
読み込んだデータをクロックに同期して次段のD−フリ
ップフロップにシリアルて順次転送し、最終段のD−フ
リップフロップからシリアルデータとして出力するよう
にしたので、各D−フリップフロップにゲート回路を1
個付設するたけて、次段のD−フリップフロップに送出
するデータの選択が可能になるとともに、各D−フリッ
プフロップ間のクリティカルバス上にゲートを介在させ
ることなく変換回路を構成することが可能になる。
<Effects of the Invention> As described above, the present invention has the first and second data input terminals, and in the invention of claim 1, the logical sum of the signal levels supplied to these data input terminals is output. D
- n flip-flops are used, and in the invention of claim 2, n D-flip-flops that output the AND of the respective signal levels are used, each forming an n-bit shift register, and the signals are provided in parallel. The data to be read is read into each D-flip-flop once every n clocks, and during periods when no reading is performed, the read data is serially transferred to the next-stage D-flip-flop in synchronization with the clock. Since the final stage D-flip-flop is output as serial data, one gate circuit is provided for each D-flip-flop.
By attaching individual D-flip-flops, it is possible to select the data to be sent to the next D-flip-flop, and it is also possible to configure a conversion circuit without intervening gates on the critical bus between each D-flip-flop. become.

したかって、回路構成を簡略化して素子数を削減するこ
とがてきるとともに、消費電力も削減することかてきる
。また、各フリップフロップ間にゲートを介在させるこ
となく回路を構成しているのて、高速動作が可能になる
Therefore, the circuit configuration can be simplified and the number of elements can be reduced, and power consumption can also be reduced. Furthermore, since the circuit is constructed without intervening gates between each flip-flop, high-speed operation is possible.

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

第1図は、本発明の一実施例を示すデータの並列/直列
変換回路の回路構成図、 第2図は、第1図におけるD−フリップフロップの一例
を示す構成図、 第3図は、従来のデータの並列/直列変換回路の一例を
示す回路構成図、 第4図は、第3図の各部の動作波形図である。 PD・・・逆相パラレルデータ入力端子。 D□・・・第1のデータ入力端子。 D2・・・第2のデータ入力端子。 C・・・クロック端子。 CLK・・・クロック信号。 SD・・・シリアルデータ出力端子。 LDP・・・ロード信号。 DFF・−・D−フリップフロップ。 NOR・・・ノアゲート。
FIG. 1 is a circuit configuration diagram of a data parallel/serial conversion circuit showing an embodiment of the present invention, FIG. 2 is a configuration diagram showing an example of the D-flip-flop in FIG. 1, and FIG. A circuit configuration diagram showing an example of a conventional data parallel/serial conversion circuit. FIG. 4 is an operation waveform diagram of each part of FIG. 3. PD...Negative phase parallel data input terminal. D□...First data input terminal. D2...Second data input terminal. C...Clock terminal. CLK...Clock signal. SD...Serial data output terminal. LDP...Load signal. DFF・-・D-Flip-flop. NOR...Noah Gate.

Claims (2)

【特許請求の範囲】[Claims] (1)並列/直列変換するnビットの逆相パラレルデー
タを入力するために設けられたn個の外部データ入力端
子と、 上記逆相パラレルデータを並列/直列変換する動作の基
準となるクロック信号を入力するためのクロック信号入
力端子と、 上記クロック信号のnクロックについて1回の割で論理
レベルが“0”に反転するロード信号を入力するための
ロード信号入力端子と、 直列に変換されたデータを出力するためのシリアルデー
タ出力端子と、 上記n個のデータ入力端子のそれぞれに対応してn個設
けられ、上記各データ入力端子に入力される逆相パラレ
ルデータが第1の入力端子に与えられるとともに、上記
ロード信号が第2の入力端子に与えられるノア回路と、 上記ノア回路のそれぞれに対応してn個設けられ、上記
ノア回路からそれぞれ出力されるデータ信号が与えられ
る第1の入力端子および前段に設けられているフリップ
フロップの出力端子から導出されるデータ信号が与えら
れる第2の入力端子を有し、これらの端子に与えられる
信号の論理和を出力するD−フリップフロップとを具備
し、初段に設けられているD−フリップフロップの第2
のデータ入力端子に論理レベルの“0”を常時供給する
とともに、最終段に設けられているD−フリップフロッ
プの出力を上記シリアルデータ出力端子に供給するよう
にしたことを特徴とするデータの並列/直列変換回路。
(1) n external data input terminals provided for inputting n-bit anti-phase parallel data to be converted into parallel/serial, and a clock signal serving as a reference for the operation of converting the above-mentioned anti-phase parallel data into parallel/serial conversion. A clock signal input terminal for inputting a clock signal, and a load signal input terminal for inputting a load signal whose logic level is inverted to "0" every n clocks of the above clock signal. A serial data output terminal is provided for outputting data, and n terminals are provided corresponding to each of the above n data input terminals. a NOR circuit to which the load signal is applied to a second input terminal; A D-flip-flop which has a second input terminal to which a data signal derived from an input terminal and an output terminal of a flip-flop provided in the previous stage is applied, and outputs a logical sum of the signals applied to these terminals. and the second D-flip-flop provided in the first stage.
A data parallel device characterized in that a logic level "0" is always supplied to the data input terminal of the device, and the output of a D-flip-flop provided at the final stage is supplied to the serial data output terminal. /Serial conversion circuit.
(2)並列/直列変換するnビットの逆相パラレルデー
タを入力するために設けられたn個の外部データ入力端
子と、 上記逆相パラレルデータを並列/直列変換する動作の基
準となるクロック信号を入力するためのクロック信号入
力端子と、 上記クロック信号のnクロックについて1回の割で論理
レベルが“1”に反転するロード信号を入力するための
ロード信号入力端子と、 直列に変換されたデータを出力するためのシリアルデー
タ出力端子と、 上記n個のデータ入力端子のそれぞれに対応してn個設
けられ、上記各データ入力端子に入力される逆相パラレ
ルデータが第1の入力端子に与えられるとともに、上記
ロード信号が第2の入力端子に与えられるナンド回路と
、 上記ナンド回路のそれぞれに対応してn個設けられ、上
記ナンド回路からそれぞれ出力されるデータ信号が与え
られる第1の入力端子および前段に設けられているフリ
ップフロップの出力端子から導出されるデータ信号が与
えられる第2の入力端子を有し、これらの端子に与えら
れる信号の論理積を出力するD−フリップフロップとを
具備し、 初段に設けられているD−フリップフロップの第2のデ
ータ入力端子に論理レベルの“1”を常時供給するとと
もに、最終段に設けられているD−フリップフロップの
出力を上記シリアルデータ出力端子に供給するようにし
たことを特徴とするデータの並列/直列変換回路。
(2) n external data input terminals provided for inputting n-bit anti-phase parallel data to be converted into parallel/serial, and a clock signal serving as a reference for the operation of converting the above-mentioned anti-phase parallel data into parallel/serial conversion. A clock signal input terminal for inputting the clock signal, and a load signal input terminal for inputting a load signal whose logic level is inverted to "1" every n clocks of the above clock signal. A serial data output terminal is provided for outputting data, and n terminals are provided corresponding to each of the above n data input terminals. and a first NAND circuit provided with n NAND circuits corresponding to each of the NAND circuits, each of which receives a data signal output from the NAND circuit. A D-flip-flop which has a second input terminal to which a data signal derived from an input terminal and an output terminal of a flip-flop provided in the preceding stage is applied, and outputs a logical product of the signals applied to these terminals. , the logic level "1" is always supplied to the second data input terminal of the D-flip-flop provided in the first stage, and the output of the D-flip-flop provided in the final stage is connected to the serial A data parallel/serial conversion circuit characterized in that the data is supplied to a data output terminal.
JP4150690A 1990-02-22 1990-02-22 Parallel/serial conversion circuit for data Pending JPH03244217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4150690A JPH03244217A (en) 1990-02-22 1990-02-22 Parallel/serial conversion circuit for data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4150690A JPH03244217A (en) 1990-02-22 1990-02-22 Parallel/serial conversion circuit for data

Publications (1)

Publication Number Publication Date
JPH03244217A true JPH03244217A (en) 1991-10-31

Family

ID=12610252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4150690A Pending JPH03244217A (en) 1990-02-22 1990-02-22 Parallel/serial conversion circuit for data

Country Status (1)

Country Link
JP (1) JPH03244217A (en)

Similar Documents

Publication Publication Date Title
JP4322548B2 (en) Data format conversion circuit
JP2576366B2 (en) Variable delay buffer circuit
JP2508588B2 (en) Serial / parallel conversion circuit
EP0766402B1 (en) Counter circuit
KR100291126B1 (en) Circuit device including a plurality of sub-circuits and clock signal regeneration circuits
KR100471145B1 (en) Counter
JPH03244217A (en) Parallel/serial conversion circuit for data
JP4468564B2 (en) Pulse width modulation circuit
JP2690516B2 (en) Ring counter
JP3236235B2 (en) Toggle flip-flop
KR0176845B1 (en) Extension method and circuit for i/o port of microcomputer
JP3145988B2 (en) Data S / P conversion circuit
JPH09289445A (en) Synchronous counter
JP3107947B2 (en) Semiconductor integrated circuit device
JPH08212794A (en) Shift register
JP2000353939A (en) Clock signal synchronous flip flop circuit
IL118203A (en) Precision time of day counting system
KR100242388B1 (en) Inner clock signal generating circuit
JP3327732B2 (en) Parallel-to-serial conversion circuit
JPH0537400A (en) Serial/parallel conversion circuit
JP2008109563A (en) Counter
JPH046913A (en) Programmable logic element
JPH06140922A (en) Test circuit for counter or the like
JPH0827335B2 (en) Scan path circuit
JPH06112812A (en) Binary counter