JPH04286423A - Parallel-serial conversion circuit - Google Patents

Parallel-serial conversion circuit

Info

Publication number
JPH04286423A
JPH04286423A JP3051444A JP5144491A JPH04286423A JP H04286423 A JPH04286423 A JP H04286423A JP 3051444 A JP3051444 A JP 3051444A JP 5144491 A JP5144491 A JP 5144491A JP H04286423 A JPH04286423 A JP H04286423A
Authority
JP
Japan
Prior art keywords
signal
circuit
parallel
input
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.)
Pending
Application number
JP3051444A
Other languages
Japanese (ja)
Inventor
Yutaka Sumino
裕 角野
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP3051444A priority Critical patent/JPH04286423A/en
Publication of JPH04286423A publication Critical patent/JPH04286423A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To simplify the circuit constitution of a parallel-serial conversion circuit by generating internally an S/L (SHIFT/LOAD) signal used to match the switching timing for a parallel input operation and a data shift operation and using also an external S/L signal through the selection. CONSTITUTION:Three kinds of signals, an external S/L signal, a starting signal to generate an internal S/L signal and a selection switching signal for a selection switching circuit 50 to decide which of the external S/L signal and the internal S/L signal is to be selected are given to the parallel-serial conversion circuit through one input signal line. Thus, the number of input terminals is decreased and an IC in which the parallel-serial conversion circuit is incorporated is miniaturized.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、Nビットのパラレルデ
ータをシリアルデータに変換するパラレルシリアル変換
回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel-to-serial conversion circuit for converting N-bit parallel data into serial data.

【0002】0002

【従来の技術】従来のパラレルシリアル変換回路では、
N個のデータのパラレル入力とN回のデータシフトによ
るシリアル出力を交互に行っていた。そして、このパラ
レル入力とシリアル出力との切換は、S/L(SHIF
T/LOAD)信号によって行われていた。
[Prior Art] In the conventional parallel-to-serial conversion circuit,
Parallel input of N pieces of data and serial output by shifting the data N times were performed alternately. Switching between parallel input and serial output is performed using S/L (SHIF).
This was done using the T/LOAD) signal.

【0003】このS/L信号は外部から与えてもよいが
、簡単な分周回路を付加することによって内部で発生さ
せることができる。さらに、外部から切換信号を与える
ことによって、同一回路で外部から与える外部S/L信
号と回路内部で発生させる内部S/L信号とを自由に選
択できれば、非常に便利である。
Although this S/L signal may be applied externally, it can be generated internally by adding a simple frequency dividing circuit. Furthermore, it would be very convenient if an external S/L signal applied from the outside and an internal S/L signal generated within the circuit could be freely selected in the same circuit by applying a switching signal from the outside.

【0004】このようにS/L信号の切換ができるパラ
レルシリアル変換回路の従来例を、図4に示す。図4の
回路は、パラレルデータをシリアルデータに変換するシ
フトレジスタ110と、内部S/L信号を発生させる分
周回路120と、内部S/L信号と外部S/L信号のど
ちらか一方を選択する選択回路130とから構成されて
いる。そして、この回路では、シフトレジスタ110に
与えるパラレルデータと、シフトレジスタ110の動作
タイミングを合わせるクロック信号と、分周回路120
の起動タイミングを合わせるスタート信号と、パラレル
入力とシリアル出力との切換を行う外部S/L信号と、
選択回路130に与える選択切換信号とを入力して、シ
リアルデータを出力している。
FIG. 4 shows a conventional example of a parallel-to-serial conversion circuit capable of switching S/L signals in this manner. The circuit in FIG. 4 includes a shift register 110 that converts parallel data to serial data, a frequency divider circuit 120 that generates an internal S/L signal, and selects either the internal S/L signal or the external S/L signal. The selection circuit 130 is comprised of a selection circuit 130. In this circuit, parallel data given to the shift register 110, a clock signal that matches the operation timing of the shift register 110, and a frequency dividing circuit 120 are provided.
A start signal that matches the startup timing of the , an external S/L signal that switches between parallel input and serial output,
It inputs a selection switching signal given to the selection circuit 130 and outputs serial data.

【0005】このような、パラレルシリアル変換回路を
用いたICとして、例えばSONYの“CXB1113
B”などがある。
As an IC using such a parallel-to-serial conversion circuit, for example, SONY's "CXB1113"
B" etc.

【0006】[0006]

【発明が解決しようとする課題】ところで、このパラレ
ルシリアル変換回路では、内部S/L信号だけを使用す
る場合には、上述した入力信号のうち、外部S/L信号
は不要であり、また選択切換信号も「内部」に固定であ
る。逆に、外部S/L信号だけを使用する場合には、内
部S/L信号の生成に使用するスタート信号が不要とな
る。このS/L信号の選択と入力信号の関係を表1に示
す。
[Problems to be Solved by the Invention] By the way, in this parallel-serial conversion circuit, when only the internal S/L signal is used, the external S/L signal is not necessary among the input signals mentioned above, and the selection The switching signal is also fixed "internally". Conversely, when only the external S/L signal is used, the start signal used to generate the internal S/L signal becomes unnecessary. Table 1 shows the relationship between the S/L signal selection and the input signal.

【0007】[0007]

【表1】[Table 1]

【0008】このように、このパラレルシリアル変換回
路では、回路を変更することなく外部S/L信号と内部
S/L信号とのどちらの信号も使用できる長所を持つ代
りに、どちらか一方だけのS/L信号を用いる回路に比
べて、余分な入力信号端子が常に必要となる。この余分
な入力信号端子の存在が、このパラレルシリアル変換回
路を内蔵したICの小型化を妨げていた。
As described above, this parallel-to-serial conversion circuit has the advantage of being able to use both the external S/L signal and the internal S/L signal without changing the circuit. An extra input signal terminal is always required compared to circuits using S/L signals. The existence of this extra input signal terminal has hindered the miniaturization of ICs incorporating this parallel-to-serial conversion circuit.

【0009】本発明は、このような問題を解決すること
を課題とする。
[0009] It is an object of the present invention to solve such problems.

【0010】0010

【課題を解決するための手段】上記課題を解決するため
に、本発明のパラレルシリアル変換回路には、並列入力
直列出力シフトレジスタへのクロック信号を入力して、
このクロック信号のN倍周期の信号で且つデューティ比
1/Nの方形波信号を出力する分周回路と、分周回路の
リセット端子に接続され制御信号を与える制御信号線と
、この制御信号線上の信号がクロック信号のN倍周期の
信号で且つデューティ比1/Nの方形波信号である場合
に、この信号を切換信号として並列入力直列出力シフト
レジスタに与え、制御信号線上の信号が分周回路のセッ
ト状態を維持する単安定信号である場合に、この分周回
路の出力信号を切換信号として並列入力直列出力シフト
レジスタに与える選択回路とが備えられている。
[Means for Solving the Problems] In order to solve the above problems, the parallel-to-serial conversion circuit of the present invention is provided with a clock signal input to a parallel input serial output shift register,
A frequency divider circuit that outputs a square wave signal with a period N times that of this clock signal and a duty ratio of 1/N, a control signal line that is connected to the reset terminal of the frequency divider circuit and provides a control signal, and If the signal is a square wave signal with a period N times that of the clock signal and a duty ratio of 1/N, this signal is applied as a switching signal to the parallel input serial output shift register, and the signal on the control signal line is frequency-divided. A selection circuit is provided for applying the output signal of the frequency dividing circuit as a switching signal to the parallel input serial output shift register when the signal is a monostable signal that maintains the set state of the circuit.

【0011】[0011]

【作用】本発明のパラレルシリアル変換回路によれば、
制御信号線に制御信号としてクロック信号のN倍周期の
信号で、且つ(N−1)クロックの間論理値「0」、1
クロックの間論理値「1」を保持した方形波信号が与え
られると、分周回路ではクロック信号のN倍周期ごとに
リセットされ、論理値「0」の単安定信号が出力される
。したがって、制御信号がそのまま切換信号として並列
入力直列出力シフトレジスタに与えられる。
[Operation] According to the parallel-to-serial conversion circuit of the present invention,
A signal with a period N times that of the clock signal is sent to the control signal line as a control signal, and the logic value is "0" or 1 during (N-1) clocks.
When a square wave signal holding the logic value "1" during the clock is applied, the frequency dividing circuit is reset every N times the period of the clock signal and outputs a monostable signal with the logic value "0". Therefore, the control signal is directly applied as a switching signal to the parallel input serial output shift register.

【0012】また、制御信号線に論理値「0」の単安定
信号が制御信号として与えられると、分周回路では与え
られたクロック信号が(N−1)クロックの間論理値「
0」、1クロックの間論理値「1」を保持した方形波信
号に変換される。この方形波信号が切換信号として並列
入力直列出力シフトレジスタに与えられる。
Furthermore, when a monostable signal with a logical value of "0" is applied to the control signal line as a control signal, the applied clock signal in the frequency dividing circuit has a logical value of "0" for (N-1) clocks.
0'' and is converted into a square wave signal that holds the logic value ``1'' for one clock. This square wave signal is applied as a switching signal to a parallel input serial output shift register.

【0013】さらに、制御信号線に与えられる制御信号
が論理値「1」から「0」に切り替わることによって分
周回路がリセットされ、この切換のタイミングで分周回
路の動作が開始される。
Further, the frequency dividing circuit is reset by switching the control signal applied to the control signal line from the logical value "1" to "0", and the operation of the frequency dividing circuit is started at the timing of this switching.

【0014】[0014]

【実施例】以下、本発明の一実施例について、図1から
図4を用いて説明する。図1は本実施例の回路構成図で
ある。本実施例の回路は、パラレルデータをシリアルデ
ータに変換する並列入力直列出力シフトレジスタ1と、
内部S/L信号を発生させる1/4分周の分周回路40
と、内部S/L信号と外部S/L信号との内どちらか一
方をS/L信号として選択する選択回路50と、選択さ
れたS/L信号を遅延させる遅延回路60とから構成さ
れている。並列入力直列出力シフトレジスタ1には、パ
ラレルデータを一時的に記憶するシフトレジスタ部10
と、シフトレジスタ部10がパラレル入力とシリアル出
力のどちらの動作を行うか決定する切換回路20とが備
えられている。また、シフトレジスタ部10には、直列
に接続された4個のフリップフロップ11〜14と、フ
リップフロップ14の反転した出力端子に接続された反
転回路15とが備えられている。さらに、切換回路20
には、フリップフロップ11〜14の入力端子にそれぞ
れ接続されたNOR回路21〜24と、これらのNOR
回路21〜24の出力端子にそれぞれ接続されたNOR
回路25〜32と、NOR回路26、28、30、32
に接続された反転回路33〜36とが備えられている。 次に、分周回路40には、制御信号線がそれぞれのリセ
ット端子に接続されたフリップフロップ41、42と、
フリップフロップ41の出力端子とフリップフロップ4
2の反転した出力端子とが入力端子に接続されたNOR
回路43と、フリップフロップ41の出力端子とフリッ
プフロップ42の出力端子とが入力端子に接続されたN
OR回路44とが備えられている。また、選択回路50
には、NOR回路43の出力端子と制御信号線とが入力
端子に接続されたNOR回路51と、NOR回路51の
出力端子に接続された反転回路52と、NOR回路44
の出力端子と制御信号線とが入力端子に接続されたNO
R回路53と、NOR回路53の出力端子に接続された
反転回路54とが備えられている。
Embodiment An embodiment of the present invention will be described below with reference to FIGS. 1 to 4. FIG. 1 is a circuit configuration diagram of this embodiment. The circuit of this embodiment includes a parallel input serial output shift register 1 that converts parallel data into serial data,
1/4 frequency dividing circuit 40 that generates an internal S/L signal
, a selection circuit 50 that selects either the internal S/L signal or the external S/L signal as the S/L signal, and a delay circuit 60 that delays the selected S/L signal. There is. The parallel input serial output shift register 1 includes a shift register section 10 that temporarily stores parallel data.
and a switching circuit 20 that determines whether the shift register section 10 performs parallel input or serial output operation. The shift register section 10 also includes four flip-flops 11 to 14 connected in series, and an inverting circuit 15 connected to the inverted output terminal of the flip-flop 14. Furthermore, the switching circuit 20
includes NOR circuits 21-24 connected to the input terminals of flip-flops 11-14, respectively, and these NOR circuits 21-24 connected to the input terminals of flip-flops 11-14, respectively.
NOR connected to the output terminals of circuits 21 to 24, respectively
Circuits 25 to 32 and NOR circuits 26, 28, 30, 32
Inverting circuits 33 to 36 connected to are provided. Next, the frequency dividing circuit 40 includes flip-flops 41 and 42 whose control signal lines are connected to respective reset terminals.
Output terminal of flip-flop 41 and flip-flop 4
NOR with the inverted output terminal of 2 connected to the input terminal
A circuit 43, an N circuit in which the output terminal of the flip-flop 41 and the output terminal of the flip-flop 42 are connected to the input terminal.
An OR circuit 44 is also provided. In addition, the selection circuit 50
includes a NOR circuit 51 whose input terminal is connected to the output terminal of the NOR circuit 43 and a control signal line, an inverting circuit 52 connected to the output terminal of the NOR circuit 51, and a NOR circuit 44.
The output terminal and control signal line of NO are connected to the input terminal.
An R circuit 53 and an inverting circuit 54 connected to the output terminal of the NOR circuit 53 are provided.

【0015】さらに、本実施例の回路には、入力系の信
号端子としてパラレル入力端子70〜73と、シリアル
入力端子74と、クロック端子75と、制御端子76と
が備えられている。パラレル入力端子70〜73はNO
R回路32、30、28、26の入力端子にそれぞれ接
続され、パラレル入力信号が与えられる。また、クロッ
ク端子75はフリップフロップ11〜14のクロック端
子とフリップフロップ41、42のクロック端子に接続
され、クロック信号が与えられる。さらに、制御端子7
6はフリップフロップ41、42のリセット端子とNO
R回路51、52の入力端子に接続され、制御信号が与
えられている。また、出力系の信号端子には、シリアル
出力端子80と、S/L信号を観察するモニタ端子81
、82とが備えられている。
Furthermore, the circuit of this embodiment is provided with parallel input terminals 70 to 73, a serial input terminal 74, a clock terminal 75, and a control terminal 76 as input system signal terminals. Parallel input terminals 70-73 are NO
It is connected to the input terminals of R circuits 32, 30, 28, and 26, respectively, and receives a parallel input signal. Further, the clock terminal 75 is connected to the clock terminals of the flip-flops 11 to 14 and the clock terminals of the flip-flops 41 and 42, and is supplied with a clock signal. Furthermore, control terminal 7
6 is the reset terminal of flip-flops 41 and 42 and NO
It is connected to the input terminals of R circuits 51 and 52, and is given a control signal. The output system signal terminals include a serial output terminal 80 and a monitor terminal 81 for observing the S/L signal.
, 82 are provided.

【0016】次に、本実施例の動作について、図2、図
3の波形図を用いて説明する。図2(a)〜(j)は制
御信号として論理値「0」の単安定信号が与えられた場
合の波形図である。ここで、論理値「0」の信号とはロ
ーレベルの信号を指し、論理値「1」の信号とはハイレ
ベルの信号を示している。
Next, the operation of this embodiment will be explained using the waveform diagrams of FIGS. 2 and 3. FIGS. 2A to 2J are waveform diagrams when a monostable signal with a logic value of "0" is given as a control signal. Here, a signal with a logic value of "0" refers to a low level signal, and a signal with a logic value of "1" indicates a high level signal.

【0017】各波形図について説明すると、図2(a)
は制御端子76に与えられる制御信号の波形図である。 図2(b)はクロック端子75に与えられるクロック信
号の波形図である。図2(c)はシリアル入力端子74
に与えられる入力データの波形図である。図2(d)〜
(g)はパラレル入力端子70〜73にそれぞれ与えら
れるパラレル入力データの波形図である。図2(h)は
シリアル出力端子80に与えられるシリアル出力データ
の波形図である。図2(i)はモニタ出力端子81に与
えられるS/L信号の波形図である。図2(j)は時間
軸である。
To explain each waveform diagram, FIG. 2(a)
2 is a waveform diagram of a control signal applied to the control terminal 76. FIG. FIG. 2(b) is a waveform diagram of the clock signal applied to the clock terminal 75. Figure 2(c) shows the serial input terminal 74.
FIG. 3 is a waveform diagram of input data given to FIG. Figure 2(d)~
(g) is a waveform diagram of parallel input data applied to parallel input terminals 70 to 73, respectively. FIG. 2(h) is a waveform diagram of serial output data applied to the serial output terminal 80. FIG. 2(i) is a waveform diagram of the S/L signal applied to the monitor output terminal 81. FIG. 2(j) is the time axis.

【0018】図2(a)の制御信号はt1で論理値「1
」から論理値「0」に反転している。この反転のタイミ
ングで分周回路40は一定の初期状態から動作を開始す
る。制御信号が論理値「0」になると、分周回路40は
入力されたクロック信号(図2(b))を4倍周期の波
形に分周する。NOR回路43には、フリップフロップ
41の出力とフリップフロップ42の反転出力が与えら
れるので、3クロックの間論理値「0」を、1クロック
の間論理値「1」を保持したデューティ比1/4の内部
S/L信号が出力される。この内部S/L信号と論理値
「0」の制御信号がNOR回路51に与えられ、さらに
反転回路52を通してS/L信号が生成される。このS
/L信号が遅延回路60を通して切換回路20に与えら
れる(図2(i))。
The control signal in FIG. 2(a) has a logic value of "1" at t1.
” to the logical value “0”. At the timing of this inversion, the frequency dividing circuit 40 starts operating from a certain initial state. When the control signal becomes a logical value "0", the frequency divider circuit 40 divides the input clock signal (FIG. 2(b)) into a waveform with a four times period. Since the output of the flip-flop 41 and the inverted output of the flip-flop 42 are given to the NOR circuit 43, the duty ratio is 1/1, which holds the logic value "0" for three clocks and the logic value "1" for one clock. 4 internal S/L signals are output. This internal S/L signal and a control signal with a logic value of "0" are applied to a NOR circuit 51, and further passed through an inversion circuit 52 to generate an S/L signal. This S
/L signal is applied to the switching circuit 20 through the delay circuit 60 (FIG. 2(i)).

【0019】切換回路20は、S/L信号が論理値「0
」のときに、シフトレジスタ部10をシフト動作させる
。そして、S/L信号が論理値「1」のときに、シフト
レジスタ部10に対してパラレルデータが与えられる。 シフトレジスタ部10の動作がこのように切り替わるの
は、切換回路20の回路構成の特徴による。この回路構
成について説明すると、NOR回路27にはフリップフ
ロップ11の出力データとS/L信号が与えられ、NO
R回路28にはパラレル入力データと反転したS/L信
号が与えられる。したがって、S/L信号が論理値「1
」の場合には、NAND回路27からの出力はフリップ
フロップ11の出力データに関係なく、必ず論理値「0
」となる。これに対して、NOR回路28からは反転し
たパラレル入力データが出力される。これらのデータが
NOR回路22に与えられるので、NOR回路22から
はパラレル入力データが出力される。このパラレル入力
データがフリップフロップ12に与えられるのである。 また、S/L信号が論理値「0」の場合は、その逆に、
フリップフロップ11の出力データがフリップフロップ
12に与えられる。つまり、データシフトが行われるの
である。
In the switching circuit 20, the S/L signal has a logic value of "0".
”, the shift register unit 10 is operated to shift. Then, when the S/L signal has a logical value of "1", parallel data is provided to the shift register section 10. The reason why the operation of the shift register unit 10 is switched in this manner is due to the characteristics of the circuit configuration of the switching circuit 20. To explain this circuit configuration, the output data of the flip-flop 11 and the S/L signal are given to the NOR circuit 27, and the NOR circuit 27 receives
The R circuit 28 is supplied with parallel input data and an inverted S/L signal. Therefore, the S/L signal has a logic value of “1”.
”, the output from the NAND circuit 27 is always the logical value “0” regardless of the output data of the flip-flop 11.
”. On the other hand, the NOR circuit 28 outputs inverted parallel input data. Since these data are given to the NOR circuit 22, the NOR circuit 22 outputs parallel input data. This parallel input data is applied to flip-flop 12. In addition, when the S/L signal has a logical value of "0", conversely,
Output data of flip-flop 11 is applied to flip-flop 12. In other words, a data shift is performed.

【0020】次に、本実施例の動作説明として具体的な
データの流れについて言及する。まず、t6〜t8間の
S/L信号は論理値「1」を示すので、t8時点での各
パラレル入力端子70〜73のパラレルデータ(論理値
「1」「0」「1」「0」)がフリップフロップ11〜
14に与えられる(図2(d)〜(g))。そして、t
8〜t14 間のS/L信号は論理値「0」に変わるの
で、フリップフロップ11〜14ではシフト動作が行わ
れ、入力したパラレルデータがシリアル出力端子80よ
り順に出力される。つまり、t8時点では、パラレル入
力端子73から入力されたデータ「0」が出力され、t
10 時点では、パラレル入力端子72から入力された
データ「1」が出力される。さらに、t12 時点では
、パラレル入力端子71から入力されたデータ「0」が
出力され、t14 時点では、パラレル入力端子70か
ら入力されたデータ「1」が出力される(図2(h))
。また、このt14 時点では、S/L信号が論理値「
1」に変わるので、シリアル出力と同時に、パラレル入
力も行われる。
Next, to explain the operation of this embodiment, a specific data flow will be described. First, since the S/L signal between t6 and t8 shows the logical value "1", the parallel data of each parallel input terminal 70 to 73 at the time of t8 (logical value "1", "0", "1", "0") ) is flip-flop 11~
14 (Fig. 2(d) to (g)). And t
Since the S/L signal between 8 and t14 changes to the logical value "0", shift operations are performed in the flip-flops 11 to 14, and the input parallel data is sequentially output from the serial output terminal 80. That is, at time t8, data "0" input from the parallel input terminal 73 is output, and t
At time 10, the data "1" input from the parallel input terminal 72 is output. Further, at time t12, the data "0" input from the parallel input terminal 71 is output, and at time t14, the data "1" input from the parallel input terminal 70 is output (FIG. 2(h)).
. Also, at this time t14, the S/L signal has the logical value "
1", parallel input is also performed at the same time as serial output.

【0021】図3(a)〜(j)は制御信号として外部
S/L信号が与えられた場合の波形図である。この制御
信号は、3クロックの間論理値「0」を保持し、1クロ
ックの間論理値「1」を保持したデューティ比1/4の
方形波信号である(図3(a))。この制御信号が分周
回路40のフリップフロップ41、42のリセット端子
に与えられるので、制御信号が論理値「1」を示すとき
には、フリップフロップ41、42はリセットされる。 NAND回路43には、フリップフロップ41からの出
力「0」とフリップフロップ42からの反転出力「1」
が与えられるので、出力端子からは論理値「0」の信号
が出力される。次のクロックで制御信号が論理値「0」
に変わると、分周回路40は分周動作を始める。つまり
、これから3クロックの間、NAND回路43の出力端
子から論理値「0」の信号を出力し、4クロック目に論
理値「1」の信号を出力するのである。ところが、4ク
ロック目には、制御信号が論理値「1」に反転するので
、フリップフロップ41、42はリセットされてしまう
。したがって、NAND回路43からの出力は論理値 
 「0」の単安定信号となる。この単安定信号と制御信
号である外部S/L信号とがNAND回路51に与えら
れるので、出力端子からは反転した外部S/L信号が出
力される。この信号が反転回路52でさらに反転され、
切換回路20には外部S/L信号がS/L信号として与
えられる(図3(i))。
FIGS. 3A to 3J are waveform diagrams when an external S/L signal is applied as a control signal. This control signal is a square wave signal with a duty ratio of 1/4 that holds the logical value "0" for three clocks and holds the logical value "1" for one clock (FIG. 3(a)). Since this control signal is applied to the reset terminals of the flip-flops 41 and 42 of the frequency dividing circuit 40, the flip-flops 41 and 42 are reset when the control signal indicates the logical value "1". The NAND circuit 43 has an output “0” from the flip-flop 41 and an inverted output “1” from the flip-flop 42.
is given, a signal with a logical value of "0" is output from the output terminal. The control signal becomes logical value “0” at the next clock.
When the frequency changes to , the frequency dividing circuit 40 starts frequency dividing operation. That is, for the next three clocks, a signal with a logic value of "0" is output from the output terminal of the NAND circuit 43, and a signal with a logic value of "1" is output at the fourth clock. However, at the fourth clock, the control signal is inverted to the logical value "1", so the flip-flops 41 and 42 are reset. Therefore, the output from the NAND circuit 43 is a logical value.
It becomes a monostable signal of "0". Since this monostable signal and an external S/L signal which is a control signal are applied to the NAND circuit 51, an inverted external S/L signal is output from the output terminal. This signal is further inverted by an inverting circuit 52,
An external S/L signal is applied to the switching circuit 20 as an S/L signal (FIG. 3(i)).

【0022】このようなS/L信号による本実施例の具
体的なデータの流れを以下に説明する。まず、t5〜t
8間のS/L信号は論理値「1」を示すので、t8時点
での各パラレル入力端子70〜73のパラレルデータ(
論理値「1」「1」「0」「0」)がフリップフロップ
11〜14に与えられる(図3(d)〜(g))。そし
て、t8〜t13 間のS/L信号は論理値「0」に変
わるので、フリップフロップ11〜14ではシフト動作
が行われ、入力したパラレルデータがシリアル出力端子
80から順に出力される。つまり、t8時点では、パラ
レル入力端子73から入力されたデータ「0」が出力さ
れ、t10 時点では、パラレル入力端子72から入力
されたデータ「0」が出力される。さらに、t12 時
点では、パラレル入力端子71から入力されたデータ「
1」が出力され、t14 時点では、パラレル入力端子
70から入力されたデータ「1」が出力される(図3(
h))。また、このt14 時点では、S/L信号が論
理値「1」に変わるので、シリアル出力と同時に、パラ
レル入力も行われる。
A specific data flow in this embodiment using such an S/L signal will be explained below. First, t5~t
Since the S/L signal between 8 and 8 indicates the logical value "1", the parallel data (
Logic values "1", "1", "0", and "0") are applied to flip-flops 11 to 14 (FIGS. 3(d) to 3(g)). Then, since the S/L signal between t8 and t13 changes to the logical value "0", shift operations are performed in the flip-flops 11 to 14, and the input parallel data is sequentially output from the serial output terminal 80. That is, at time t8, the data "0" input from the parallel input terminal 73 is output, and at time t10, the data "0" input from the parallel input terminal 72 is output. Furthermore, at time t12, the data input from the parallel input terminal 71 is
1" is output, and at time t14, the data "1" input from the parallel input terminal 70 is output (see FIG. 3).
h)). Furthermore, at this time point t14, the S/L signal changes to a logical value of "1", so parallel input is performed at the same time as serial output.

【0023】なお、本実施例では、論理値「0」の信号
をローレベルの信号、論理値「1」の信号をハイレベル
の信号として定義しているが、論理値「0」の信号にハ
イレベルの信号、論理値「1」の信号にローレベルの信
号を用いても、同様に実施できる。
In this embodiment, a signal with a logic value of "0" is defined as a low level signal, and a signal with a logic value of "1" is defined as a high level signal. The same implementation can be achieved by using a low level signal as a high level signal or a signal with a logical value of "1".

【0024】また、本実施例では、4ビットのシフトレ
ジスタを用いたパラレルシリアル変換回路について説明
したが、8ビット、16ビット、32ビットなどのシフ
トレジスタを用いた回路についても、本発明は適応可能
である。
Furthermore, in this embodiment, a parallel-to-serial conversion circuit using a 4-bit shift register has been described, but the present invention is also applicable to circuits using 8-bit, 16-bit, 32-bit, etc. shift registers. It is possible.

【0025】[0025]

【発明の効果】本発明のパラレルシリアル変換回路であ
れば、外部S/L信号と、内部S/L信号を生成させる
ためのスタート信号と、外部S/L信号と内部S/L信
号のどちらを選択するか決定する選択切換信号の3種類
の入力信号を1本の入力信号線から回路に与えることが
できる。このため、入力端子数を削減することができ、
パラレルシリアル変換回路を内蔵したICの小型化を図
ることができる。
Effects of the Invention: With the parallel-to-serial conversion circuit of the present invention, it is possible to select between an external S/L signal and a start signal for generating an internal S/L signal, and between an external S/L signal and an internal S/L signal. Three types of input signals, including selection switching signals for determining whether to select or not, can be applied to the circuit from one input signal line. Therefore, the number of input terminals can be reduced,
It is possible to downsize an IC incorporating a parallel-to-serial conversion circuit.

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

【図1】本実施例の回路構成図である。FIG. 1 is a circuit configuration diagram of this embodiment.

【図2】本実施例の動作を示す波形図である。FIG. 2 is a waveform diagram showing the operation of this embodiment.

【図3】本実施例の動作を示す波形図である。FIG. 3 is a waveform diagram showing the operation of this embodiment.

【図4】従来例の回路構成図である。FIG. 4 is a circuit configuration diagram of a conventional example.

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

1…並列入力直列出力シフトレジスタ 10…シフトレジスタ部 20…切換回路 40…分周回路 41…フリップフロップ 42…フリップフロップ 43…NAND回路 44…NAND回路 50…選択回路 51…NAND回路 52…反転回路 53…NAND回路 54…反転回路 60…遅延回路 1...Parallel input serial output shift register 10...Shift register section 20...Switching circuit 40...Frequency dividing circuit 41...Flip-flop 42...Flip-flop 43...NAND circuit 44...NAND circuit 50...Selection circuit 51...NAND circuit 52...Inversion circuit 53...NAND circuit 54...Inversion circuit 60...Delay circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  N個(Nは自然数)の入力データのパ
ラレル入力とデータシフトによるシリアル出力とのどち
らか一方の動作を切換信号によって決定して行う並列入
力直列出力シフトレジスタを備えたパラレルシリアル変
換回路において、前記並列入力直列出力シフトレジスタ
へのクロック信号を入力して、このクロック信号のN倍
周期の信号で且つデューティ比1/Nの方形波信号を出
力する分周回路と、前記分周回路のリセット端子に接続
され制御信号を与える制御信号線と、この制御信号線上
の信号が前記クロック信号のN倍周期の信号で且つデュ
ーティ比1/Nの方形波信号である場合に、この信号を
前記切換信号として前記並列入力直列出力シフトレジス
タに与え、制御信号線上の信号が前記分周回路のセット
状態を維持する単安定信号である場合に、この分周回路
の出力信号を前記切換信号として前記並列入力直列出力
シフトレジスタに与える選択回路とを備えることを特徴
とするパラレルシリアル変換回路。
1. A parallel-serial device comprising a parallel-input serial-output shift register that performs either parallel input of N pieces of input data (N is a natural number) or serial output by data shifting determined by a switching signal. In the conversion circuit, a frequency dividing circuit inputs a clock signal to the parallel input serial output shift register and outputs a square wave signal having a period N times that of the clock signal and a duty ratio of 1/N; When a control signal line is connected to the reset terminal of the circuit and gives a control signal, and the signal on this control signal line is a square wave signal with a period N times that of the clock signal and a duty ratio of 1/N, A signal is applied to the parallel input serial output shift register as the switching signal, and when the signal on the control signal line is a monostable signal that maintains the set state of the frequency divider circuit, the output signal of the frequency divider circuit is applied to the switch register. 1. A parallel-to-serial conversion circuit comprising: a selection circuit that provides a signal to the parallel input serial output shift register.
【請求項2】  前記選択回路には、前記分周回路の出
力信号と前記制御信号線上の信号との否定論理和を取る
論理回路が備えられていることを特徴とする請求項1記
載のパラレルシリアル変換回路。
2. The parallel control circuit according to claim 1, wherein the selection circuit includes a logic circuit that performs a NOR of the output signal of the frequency dividing circuit and the signal on the control signal line. Serial conversion circuit.
JP3051444A 1991-03-15 1991-03-15 Parallel-serial conversion circuit Pending JPH04286423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3051444A JPH04286423A (en) 1991-03-15 1991-03-15 Parallel-serial conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3051444A JPH04286423A (en) 1991-03-15 1991-03-15 Parallel-serial conversion circuit

Publications (1)

Publication Number Publication Date
JPH04286423A true JPH04286423A (en) 1992-10-12

Family

ID=12887102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3051444A Pending JPH04286423A (en) 1991-03-15 1991-03-15 Parallel-serial conversion circuit

Country Status (1)

Country Link
JP (1) JPH04286423A (en)

Similar Documents

Publication Publication Date Title
US6049236A (en) Divide-by-one or divide-by-two qualified clock driver with glitch-free transitions between operating frequencies
US4876704A (en) Logic integrated circuit for scan path system
JPH04286423A (en) Parallel-serial conversion circuit
JPH1117539A (en) Integrated circuit incorporating d/a converter
JPH1198007A (en) Frequency divider
US4759042A (en) Parallel-to-serial converter
JPS5944648B2 (en) Logical waveform generator
JP2659186B2 (en) Digital variable frequency divider
JPH03163908A (en) Clock signal delay circuit
JPH04286422A (en) Serial-parallel conversion circuit
KR100199190B1 (en) Data acquisition logic
JPH08328819A (en) Parallel-serial data converter
JPH09246869A (en) Noise generator
JPH02284520A (en) Semiconductor integrated circuit
JPH0373182B2 (en)
JPS63287109A (en) Timing generating circuit
JPH05315971A (en) Serial/parallel conversion circuit
JPS61285523A (en) Clock switching circuit
JPH03222539A (en) Start bit detection circuit
JPH06177722A (en) Broad range delay generating circuit
KR19980028923U (en) Input signal delay circuit
JPS61172431A (en) Sampling signal generating circuit
JPS59211317A (en) Flip-flop
JP2002300035A (en) Analog/digital interface circuit
JPS60257617A (en) Data generating circuit