JP3134449B2 - Serial / parallel conversion circuit - Google Patents

Serial / parallel conversion circuit

Info

Publication number
JP3134449B2
JP3134449B2 JP04026984A JP2698492A JP3134449B2 JP 3134449 B2 JP3134449 B2 JP 3134449B2 JP 04026984 A JP04026984 A JP 04026984A JP 2698492 A JP2698492 A JP 2698492A JP 3134449 B2 JP3134449 B2 JP 3134449B2
Authority
JP
Japan
Prior art keywords
register
output
serial
data
nand gate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04026984A
Other languages
Japanese (ja)
Other versions
JPH05227040A (en
Inventor
光俊 菅原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP04026984A priority Critical patent/JP3134449B2/en
Priority to US08/014,780 priority patent/US5337050A/en
Publication of JPH05227040A publication Critical patent/JPH05227040A/en
Application granted granted Critical
Publication of JP3134449B2 publication Critical patent/JP3134449B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、シリアル・パラレル変
換回路に関し、特に外部よりシリアルにデータを入力し
て、入力した全データをパラレルに出力するシリアル・
パラレル変換回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial / parallel conversion circuit, and more particularly, to a serial / parallel conversion circuit for inputting data serially from the outside and outputting all input data in parallel.
The present invention relates to a parallel conversion circuit.

【0002】[0002]

【従来の技術】従来のシリアル・パラレル変換回路とし
ては、デジタル信号におけるシリアル信号を入力しパラ
レル信号に変換して出力する回路として、図3に示すよ
うなシフトレジスタが知られている。図3に示すように
従来のシリアル・パラレル変換回路は、nビットのシフ
トレジスタであり、n個のマスタスレーブ型Dフリップ
フロップであるフリップフロップF1〜Fnの縦続接続
回路からなり、それらフリップフロップF1〜Fnのク
ロック端子Cには共通にシリアルクロック入力端子CK
が接続されている。
2. Description of the Related Art As a conventional serial / parallel conversion circuit, a shift register as shown in FIG. 3 is known as a circuit for inputting a serial signal in a digital signal, converting the signal into a parallel signal, and outputting the parallel signal. As shown in FIG. 3, the conventional serial-parallel conversion circuit is an n-bit shift register, and is composed of a cascade connection of flip-flops F1 to Fn, which are n master-slave D flip-flops. To the Fn clock terminals C are commonly used as serial clock input terminals CK.
Is connected.

【0003】マスタスレーブ型Dフリップフロップは、
クロック端子Cに供給されるクロックが“ハイ”の期間
において入力端子Dよりデータを内部に取り込み、クロ
ック端子Cに供給されるクロックが“ロー”に変化する
と入力端子Dより取り込んだデータをラッチすると共に
このデータを出力端子Qより出力する。そして、複数の
マスタスレーブ型Dフリップフロップを縦続接続した場
合は、前段のフリップフロップにおける出力端子Qより
出力されたデータをクロックが立ち下がったときに後段
のフリップフロップにおける出力端子Qより出力する。
つまり、クロックに同期して前段のフリップフロップの
出力データを後段のフリップフロップの出力にシフトさ
せる。
A master-slave type D flip-flop is
When the clock supplied to the clock terminal C is "high", data is taken in from the input terminal D, and when the clock supplied to the clock terminal C changes to "low", the data taken in from the input terminal D is latched. At the same time, this data is output from the output terminal Q. When a plurality of master-slave D flip-flops are connected in cascade, data output from the output terminal Q of the preceding flip-flop is output from the output terminal Q of the subsequent flip-flop when the clock falls.
That is, the output data of the preceding flip-flop is shifted to the output of the subsequent flip-flop in synchronization with the clock.

【0004】従って、図3に示す従来のシリアル・パラ
レル変換回路は、クロックをn個入力することにより、
端子INに与えられたデータを次々とシフトさせて出力
端子Q1〜Qnにセットすることができるので、出力端
子Q1〜Qn及び反転出力端子Q'1〜Q'nからパラレ
ルの出力信号を出力することができる。
Accordingly, the conventional serial / parallel conversion circuit shown in FIG.
Since the data supplied to the terminal IN can be successively shifted and set at the output terminals Q1 to Qn, parallel output signals are output from the output terminals Q1 to Qn and the inverted output terminals Q'1 to Q'n. be able to.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来のシリアル・パラレル変換回路では、構成に必要
な素子の数が多くなってしまうという問題点がある。こ
れは、マスタスレーブ型Dフリップフロップは、2入力
NANDゲートを1個のゲート回路として6個のゲート
回路で構成されているため、例えば256ビットのシリ
アル・パラレル変換回路を構成しようとすると1536
個のゲート回路が必要となってしまう。
However, the conventional serial / parallel conversion circuit described above has a problem that the number of elements required for the configuration is increased. This is because the master-slave type D flip-flop is composed of six gate circuits using one 2-input NAND gate as one gate circuit.
This requires two gate circuits.

【0006】一方、近年においてマイクロコンピュータ
等を用いて装置内の各ICにシリアルデータを送りそれ
ら各ICの状態を設定するという方式がDDBバスをは
じめ広く用いられている。このようなシリアルデータを
受ける側では、必要分だけシリアルデータを受け取り、
かつ内部回路をパラレルに制御するためにシリアル・パ
ラレル変換回路が必要であり、上述のシフトレジスタが
用いられている。従って、従来のシリアル・パラレル変
換回路を用いた上述のような方式の装置では、構成に必
要な素子の数が多くなってしまい、装置の外形の大型化
及び消費電力の増大を招いてしまうという問題点があ
る。
On the other hand, in recent years, a method of transmitting serial data to each IC in the apparatus using a microcomputer or the like and setting the state of each IC has been widely used, including a DDB bus. On the side receiving such serial data, only the necessary amount of serial data is received,
In addition, a serial / parallel conversion circuit is required to control the internal circuit in parallel, and the above-described shift register is used. Therefore, in the above-described apparatus using the conventional serial-parallel conversion circuit, the number of elements required for the configuration increases, which leads to an increase in the size of the apparatus and an increase in power consumption. There is a problem.

【0007】本発明はかかる問題点に鑑みてなされたも
のであって、構成するのに必要となるゲート回路の数を
少なくすることができるシリアル・パラレル変換回路を
提供することを目的とする。
The present invention has been made in view of the above problems, and has as its object to provide a serial-to-parallel conversion circuit capable of reducing the number of gate circuits required for configuration.

【0008】[0008]

【課題を解決するための手段】本発明に係るシリアル・
パラレル変換回路は、アドレッシングが可能なレジスタ
ブロックと、シリアルクロックに同期して生成されたア
ドレスデータを入力しこのアドレスデータに応じて前記
レジスタブロック中のレジスタを選択すると共に選択さ
れたレジスタにシリアルデータを格納するデコーダとを
有し、前記レジスタブロックはその出力として各レジス
タの出力をパラレルデータとして出力するものであり、
前記レジスタは、セット信号が入力される第1のNAN
Dゲートと、この第1のNANDゲートの出力が入力さ
れる第2のNANDゲートと、この第2のNANDゲー
トの出力と負論理のリセット信号が入力される第3のN
ANDゲートと、を有し、前記第2のNANDゲートの
出力が前記レジスタの出力端子に接続され、前記第3の
NANDゲートの出力が前記レジスタの反転出力端子に
接続されると共に、前記第2のNANDゲートの他方の
入力端子に接続されていることを特徴とする。また、本
発明に係る他のシリアル・パラレル変換回路は、データ
入力端子を備えアドレッシングが可能なレジスタブロッ
クと、シリアルクロックに同期して生成されたアドレス
データを入力しこのアドレスデータに応じて前記レジス
タブロック中のレジスタを選択するデコーダとを有し、
前記レジスタブロックは前記デコーダにより選択された
レジスタのデータ入力端子に印加されているシリアルデ
ータを格納すると共に各レジスタの出力をパラレルデー
タとして出力するものであり、前記レジスタは、セット
信号及びデータ信号が入力される第1のNANDゲート
と、セット信号及び反転されたデータ信号が入力される
第2のNANDゲートと、前記第1のNANDゲートの
出力が入力される第3のNANDゲートと、この第3の
NANDゲートの出力及び前記第2のNANDゲートの
出力が入力される第4のNANDゲートと、を有し、前
記第3のNANDゲートの出力が前記レジスタの出力端
子に接続され、前記第4のNANDゲートの出力が前記
レジスタの反転出力端子に接続されると共に前記第3の
NANDゲートの入力端子に接続されていることを特徴
とする。
According to the present invention, there is provided a serial communication device.
The parallel conversion circuit inputs an addressable register block and address data generated in synchronization with a serial clock, selects a register in the register block according to the address data, and stores serial data in the selected register. And the register block outputs the output of each register as parallel data as its output ,
The register includes a first NAN to which a set signal is input.
D gate and the output of this first NAND gate are input.
A second NAND gate, and a second NAND gate
The third N to which the reset output and the reset signal of negative logic are inputted.
An AND gate; and an AND gate of the second NAND gate.
An output connected to the output terminal of the register,
The output of the NAND gate is connected to the inverted output terminal of the register.
Connected and the other of the second NAND gates
It is characterized by being connected to an input terminal . Another serial-to-parallel conversion circuit according to the present invention includes an addressable register block having a data input terminal, and address data generated in synchronization with a serial clock. A decoder for selecting a register in the block,
The register block stores serial data applied to a data input terminal of a register selected by the decoder , and outputs an output of each register as parallel data.
First NAND gate to which signal and data signal are input
And the set signal and the inverted data signal are input
A second NAND gate and the first NAND gate
A third NAND gate to which an output is input;
The output of the NAND gate and the output of the second NAND gate
And a fourth NAND gate to which an output is input.
The output of the third NAND gate is an output terminal of the register.
And the output of the fourth NAND gate is
Connected to the inverted output terminal of the register and
It is characterized in that it is connected to an input terminal of a NAND gate .

【0009】[0009]

【作用】本発明に係るシリアル・パラレル変換回路にお
いては、複数のレジスタブロックは、2個のゲートで構
成することができるフリップフロップ回路と、1個のゲ
ートで構成することができるフリップフロップ回路選択
用のゲート回路とで夫々構成され、アドレスデコーダ
は、入力したアドレスデータに基づいて、マトリクス状
に接続された複数のレジスタブロックの内から1つのレ
ジスタブロックを選択して、入力したシリアルデータを
その選択したレジスタブロックにセットすることができ
る。これにより、本発明に係るシリアル・パラレル変換
回路は、入力したシリアルデータを複数のレジスタブロ
ックで保持してこの保持したデータを複数のレジスタブ
ロックからパラレルに出力することができて、構成する
のに必要となるゲート回路の数を少なくすることができ
る。
In the serial / parallel conversion circuit according to the present invention, the plurality of register blocks have a flip-flop circuit which can be constituted by two gates and a flip-flop circuit which can be constituted by one gate. The address decoder selects one register block from a plurality of register blocks connected in a matrix on the basis of the input address data, and converts the input serial data to the selected one. It can be set in the selected register block. Thus, the serial-parallel conversion circuit according to the present invention can hold the input serial data in the plurality of register blocks, and output the held data in parallel from the plurality of register blocks. The number of required gate circuits can be reduced.

【0010】[0010]

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

【0011】図1(a)は、本発明の第1の実施例に係
るシリアル・パラレル変換回路に用いるR−Sレジスタ
を示す回路図である。図1(a)に示すようにNAND
ゲートG1の一方の入力端子にはセット信号入力端子S
0が接続され、NANDゲートG1の他方の入力端子に
はセット信号入力端子S1が接続され、NANDゲート
G1の出力端子にはNANDゲートG2の一方の入力端
子が接続されている。NANDゲートG2の他方の入力
端子にはNANDゲートG3の出力端子と共に反転出力
端子Q'が接続され、NANDゲートG2の出力端子に
はNANDゲートG3の一方の入力端子と共に出力端子
Qが接続されている。NANDゲートG3の他方の入力
端子には負論理のリセット端子R'が接続されている。
FIG. 1A is a circuit diagram showing an RS register used in a serial / parallel conversion circuit according to a first embodiment of the present invention. As shown in FIG.
One input terminal of the gate G1 has a set signal input terminal S
0 is connected, the set signal input terminal S1 is connected to the other input terminal of the NAND gate G1, and one input terminal of the NAND gate G2 is connected to the output terminal of the NAND gate G1. The other input terminal of the NAND gate G2 is connected to the inverted output terminal Q ′ together with the output terminal of the NAND gate G3, and the output terminal of the NAND gate G2 is connected to the output terminal Q together with one input terminal of the NAND gate G3. I have. A negative logic reset terminal R 'is connected to the other input terminal of the NAND gate G3.

【0012】ここで、図1(a)に示すR−Sレジスタ
は、NANDゲートG2及びG3が一般的なR−Sフリ
ップフロップを構成しており、このR−Sフリップフロ
ップのセット信号入力側にNANDゲートG1が設けら
れており、セット信号入力端子S0及びS1から入力す
るセット信号によってR−Sフリップフロップをセレク
トする。
In the RS register shown in FIG. 1A, NAND gates G2 and G3 constitute a general RS flip-flop, and the set signal input side of the RS flip-flop is used. Is provided with a NAND gate G1, and selects an RS flip-flop by a set signal input from set signal input terminals S0 and S1.

【0013】図1(b)は、本発明の第1の実施例に係
るシリアル・パラレル変換回路を示す回路図である。図
1(b)に示すシリアル・パラレル変換回路は、16段
のシリアル・パラレル変換回路となっており、レジスタ
ブロックF00〜F33の16個のレジスタブロック
は、図1(a)に示すR−Sレジスタで夫々構成されて
いて、その各レジスタブロックの出力端子Q及び反転出
力端子Q'から本シリアル・パラレル変換回路の各出力
が得られる。また、本第1の実施例に係るシリアル・パ
ラレル変換回路は、シリアルクロック入力端子CKより
シリアルクロックを入力し、データ入力端子Dよりシリ
アルデータを入力し、リセット入力端子R'よりリセッ
ト信号を入力する。更に、本第1の実施例に係るシリア
ル・パラレル変換回路は、シリアルクロック及びリセッ
ト信号を入力しそのシリアルクロックを積算して出力す
るカウンタK1と、デコーダG4及びG5よりなるアド
レスデコーダを有している。
FIG. 1B is a circuit diagram showing a serial / parallel conversion circuit according to a first embodiment of the present invention. The serial-to-parallel conversion circuit shown in FIG. 1B is a 16-stage serial-to-parallel conversion circuit, and the 16 register blocks F00 to F33 are the RS registers shown in FIG. Each output of the serial / parallel conversion circuit is obtained from an output terminal Q and an inverted output terminal Q ′ of each register block. The serial / parallel conversion circuit according to the first embodiment receives a serial clock from a serial clock input terminal CK, serial data from a data input terminal D, and a reset signal from a reset input terminal R '. I do. Further, the serial / parallel conversion circuit according to the first embodiment has a counter K1 which receives a serial clock and a reset signal, accumulates and outputs the serial clock, and an address decoder including decoders G4 and G5. I have.

【0014】次に、上述の如く構成された本第1の実施
例に係るシリアル・パラレル変換回路の動作について説
明する。先ず、初期設定として、“ロー”レベルのリセ
ット信号をリセット入力端子R'に与えてレジスタブロ
ックF00〜F33及びカウンタK1をリセットし、次
にリセット入力端子R'を“ハイ”レベルにしてリセッ
トを解除しておく。そして、シリアルクロックがシリア
ルクロック入力端子CKより入力されると、これに応じ
てカウンタK1は、そのシリアルクロックを積算して2
進数の換算値としこの2進数の換算値における上位2ビ
ットをデコーダG4に、下位2ビットをデコーダG5に
夫々出力する。デコーダG4及びG5は、カウンタK1
より出力された2進数の換算値に基づいてレジスタブロ
ックF00〜F33の内から1個のレジスタブロックを
選択してデータをセットする。
Next, the operation of the serial / parallel conversion circuit according to the first embodiment configured as described above will be described. First, as an initial setting, a reset signal of a "low" level is applied to the reset input terminal R 'to reset the register blocks F00 to F33 and the counter K1, and then the reset is performed by setting the reset input terminal R' to a "high" level. Cancel it. Then, when the serial clock is input from the serial clock input terminal CK, the counter K1 accumulates the serial clock and outputs 2
As the converted value of the binary number, the upper two bits in the converted value of the binary number are output to the decoder G4, and the lower two bits are output to the decoder G5. The decoders G4 and G5 are provided with a counter K1.
Then, one register block is selected from the register blocks F00 to F33 based on the binary conversion value output from the register block, and data is set.

【0015】例えば、シリアルクロックが5パルス入力
されると、カウンタK1の積算値は“6”となり、その
カウンタK1の出力端子A及びCが“ハイ”になる。こ
れにより、デコーダG4は、“2”が入力されたことに
なるので、デコーダG4の出力端子の内で出力端子Y2
のみが“ハイ”になる。一方、デコーダG5は、“1”
が入力されたことになるので、データ入力端子Dが“ハ
イ”であるならデコーダG5の出力端子の内で出力端子
Y1のみが“ハイ”になる。こうして、デコーダG4及
びG5の出力により、レジスタブロックF00〜F33
の内でレジスタブロックF12のデータ入力端子S0及
びS1のみが共に“ハイ”になるため、レジスタブロッ
クF12のみがデータをセットされる。ここで、データ
入力端子Dが“ロー”である場合は、デコーダG5の出
力はレジスタブロックF00〜F33の内でどのレジス
タブロックも選択しないので、レジスタブロックF12
もデータがセットされることはない。
For example, when five pulses of the serial clock are input, the integrated value of the counter K1 becomes "6", and the output terminals A and C of the counter K1 become "high". As a result, the decoder G4 receives "2", and therefore, among the output terminals of the decoder G4, the output terminal Y2
Only goes high. On the other hand, the decoder G5 outputs “1”
Therefore, if the data input terminal D is "high", only the output terminal Y1 among the output terminals of the decoder G5 becomes "high". Thus, the output of the decoders G4 and G5 allows the register blocks F00 to F33 to be output.
, Only the data input terminals S0 and S1 of the register block F12 become "high", so that only the register block F12 is set with data. Here, when the data input terminal D is "low", the output of the decoder G5 does not select any of the register blocks F00 to F33, so that the register block F12
No data is set.

【0016】このように、本第1の実施例に係るシリア
ル・パラレル変換回路は、入力したシリアルクロックの
順にかつデータの値に応じてレジスタブロックF00〜
F33をセットするか又はリセットのままにしておき、
そのレジスタブロックF00〜F33の出力端子Q及び
Q'よりデータを一括してパラレルに出力することがで
きる。従って、本第1の実施例に係るシリアル・パラレ
ル変換回路は、各レジスタブロックが3個のNANDゲ
ートのみで構成することができるため、従来のシリアル
・パラレル変換回路より構成するのに必要となるゲート
回路の数を少なくすることができる。
As described above, the serial-to-parallel conversion circuit according to the first embodiment has the register blocks F00 to F00 in the order of the input serial clock and according to the data value.
Set F33 or leave it reset,
Data can be output collectively and in parallel from the output terminals Q and Q 'of the register blocks F00 to F33. Therefore, the serial-to-parallel conversion circuit according to the first embodiment is required to be formed from a conventional serial-to-parallel conversion circuit because each register block can be formed by only three NAND gates. The number of gate circuits can be reduced.

【0017】次に、本発明の第2の実施例について添付
の図面を参照して説明する。図2(a)は、本第2の実
施例に係るシリアル・パラレル変換回路に用いるR−S
レジスタを示す回路図であり、図2(b)は、本第2の
実施例に係るシリアル・パラレル変換回路を示す回路図
である。図2(a)及び(b)において、上述の図1
(a)及び(b)で示す第1の実施例と同機能の構成要
素については、同一符号を付して説明を省略する。
Next, a second embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 2A shows the RS used in the serial / parallel conversion circuit according to the second embodiment.
FIG. 2B is a circuit diagram showing a register, and FIG. 2B is a circuit diagram showing a serial / parallel conversion circuit according to the second embodiment. In FIGS. 2A and 2B, FIG.
Constituent elements having the same functions as those of the first embodiment shown in (a) and (b) are denoted by the same reference numerals and description thereof is omitted.

【0018】図2(a)に示すR−Sレジスタにおい
て、図1(a)の示すR−Sレジスタと異なる構成部分
は、リセット入力端子R'がなくなり、かわりにデータ
入力端子Dと3入力NANDゲートG6とインバータG
6とが追加された部分である。これにより、図2(a)
に示すR−Sレジスタは、セット信号入力端子S0及び
S1が共に“ハイ”にされてこのR−Sレジスタが選択
されると、データ入力端子Dに印加するデータによりセ
ットすることもリセットすることも可能となる。
In the RS register shown in FIG. 2A, a component different from the RS register shown in FIG. 1A has no reset input terminal R ', and instead has a data input terminal D and three input terminals. NAND gate G6 and inverter G
6 is the added portion. As a result, FIG.
When the set signal input terminals S0 and S1 are both set to "high" and this RS register is selected, the RS register shown in (1) resets the setting by the data applied to the data input terminal D. Is also possible.

【0019】図2(b)は、図2(a)に示すR−Sレ
ジスタをレジスタブロックF40〜F73の各レジスタ
ブロックとして用いた本第2の実施例に係るシリアル・
パラレル変換回路であり、本シリアル・パラレル変換回
路のデータ入力端子Dは、レジスタブロックF40〜F
73の各データ入力端子Dに接続されおり、カウンタK
1のリセット入力端子R'には本シリアル・パラレル変
換回路のリセット入力端子R'が接続されていて、他の
構成は図1(b)に示す第1の実施例に係るシリアル・
パラレル変換回路と同様である。
FIG. 2B is a block diagram showing the serial register according to the second embodiment using the RS register shown in FIG. 2A as each of the register blocks F40 to F73.
The serial / parallel converter has a data input terminal D connected to register blocks F40 to F40.
73 is connected to each data input terminal D, and the counter K
1 is connected to the reset input terminal R 'of the serial / parallel conversion circuit, and the other configuration is the same as that of the serial input / output circuit according to the first embodiment shown in FIG.
This is the same as the parallel conversion circuit.

【0020】本第2の実施例に係るシリアル・パラレル
変換回路の動作は、第1の実施例の動作と同様な動作を
するが、各レジスタブロックのリセット入力端子R'が
データ入力端子Dに接続されているので、任意のレジス
タブロックのみをセット及びリセットすることができ
る。また、カウンタK1をプリセッタブルなタイプにす
ること等により、必要なデータのみを必要なレジスタブ
ロックのみに取り込んだり、必要なデータをオーバレイ
してあたかもソフトウェアレジスタのように用いること
ができる。第1の実施例に係るシリアル・パラレル変換
回路では、各レジスタブロックF00〜F33のリセッ
ト入力端子R'には共通にシリアル・パラレル変換回路
のリセット入力端子Rが接続されているので、レジスタ
ブロックF00〜F33は一斉にリセットをかけること
はでるが個々のレジスタブロックのみをリセットするこ
とはできない。
The operation of the serial / parallel conversion circuit according to the second embodiment is similar to that of the first embodiment except that the reset input terminal R 'of each register block is connected to the data input terminal D. Since they are connected, only an arbitrary register block can be set and reset. Further, by setting the counter K1 to a presettable type or the like, only necessary data can be fetched into only necessary register blocks, or necessary data can be overlaid and used as if it were a software register. In the serial-parallel converter according to the first embodiment, the reset input terminal R 'of the serial-parallel converter is commonly connected to the reset input terminal R' of each of the register blocks F00 to F33. F33 can reset all at once, but cannot reset only individual register blocks.

【0021】従って、本第2の実施例に係るシリアル・
パラレル変換回路は、構成するのに必要となるゲート回
路の数を少なくすることができて、かつ、任意のレジス
タブロックのみをセット及びリセットすることができ
る。
Therefore, the serial communication according to the second embodiment
The parallel conversion circuit can reduce the number of gate circuits required for its configuration and can set and reset only an arbitrary register block.

【0022】なお、上述の第1及び第2の実施例では、
シリアル・パラレル変換回路を構成するレジスタブロッ
クとしてR−Sレジスタを用いているが、Tフリッピフ
ロップ,Dラッチ及びJKフリッピフロップ等をレジス
タブロックとして用いることができ、また、各レジスタ
ブロックのアドレスデコーダとしてNANDゲート及び
NORゲート等を用いることもできる。また、上述の第
1及び第2の実施例では、4×4=16個のレジスタブ
ロックを有しているが、同様の方法で8×8=64個,
8×16=128個及び16×16=256個のレジス
タブロック等を用いて設計してもよい。
In the first and second embodiments described above,
Although the RS register is used as a register block constituting the serial / parallel conversion circuit, a T flip-flop, a D latch, a JK flip-flop, or the like can be used as a register block, and an address decoder of each register block can be used. A NAND gate, a NOR gate, or the like can also be used. In the above-described first and second embodiments, 4 × 4 = 16 register blocks are provided. However, 8 × 8 = 64 register blocks are provided in the same manner.
The design may be made using 8 × 16 = 128 and 16 × 16 = 256 register blocks.

【0023】[0023]

【発明の効果】以上説明したように本発明に係るシリア
ル・パラレル変換回路によれば、1つのデータを保持し
出力するレジスタブロックを3個のゲートで構成できる
ので、ゲート回路の数が少ないシリアル・パラレル変換
回路とすることができて、ペレットサイズ及び消費電力
の削減ができる。例えば、本発明に係るシリアル・パラ
レル変換回路は、カウンタを24個のゲート,デコーダ
を12個のゲート,レジスタブロックを3×16=48
個のゲートで構成すると、合計で84個のゲートが必要
となるが、従来のシリアル・パラレル変換回路では、レ
ジスタブロックだけで6×16=96個のゲートが必要
となる。
As described above, according to the serial / parallel conversion circuit according to the present invention, the register block for holding and outputting one data can be constituted by three gates. -A parallel conversion circuit can be used to reduce the pellet size and power consumption. For example, in the serial / parallel conversion circuit according to the present invention, the counter has 24 gates, the decoder has 12 gates, and the register block has 3 × 16 = 48.
In the case of a configuration using the number of gates, a total of 84 gates are required. In the conventional serial / parallel conversion circuit, 6 × 16 = 96 gates are required only in the register block.

【0024】特に、自らがシリアルクロックを発生する
機能を有するICにおいては、本発明に係るシリアル・
パラレル変換回路のカウンタ部はそのシリアルクロック
を発生する部分と兼用することができるので、この分が
実質的に更に削減できる。
In particular, in an IC having a function of generating a serial clock by itself, the serial clock according to the present invention is used.
Since the counter section of the parallel conversion circuit can also be used as the section for generating the serial clock, the amount can be substantially reduced.

【0025】本発明に係るシリアル・パラレル変換回路
は、構成要素のR−Sフリップフロップを実際に必要な
分、例えば50個のみを配置することもでき、このよう
にすると更にゲートの数を削減することができる。これ
は、特にレジスタブロックの数が多くなるほど効果が大
きくなり、例えば、レジスタブロックが256段の場合
は、従来は上述のとうり256×6=1536個のゲー
トが必要であるが、本発明に係るシリアル・パラレル変
換回路によれば、R−Sフリップフロップ分の768ゲ
ートとカウンタ及びデコーダ分の124ゲートとの合計
892個のゲートで構成することができて、従来のシリ
アル・パラレル変換回路の58%のゲート数で構成する
ことができる。
In the serial / parallel conversion circuit according to the present invention, it is possible to arrange only 50 required RS flip-flops as components, for example, so that the number of gates can be further reduced. can do. This is particularly effective as the number of register blocks increases. For example, when the number of register blocks is 256, 256 × 6 = 1536 gates are conventionally required as described above. According to this serial-parallel conversion circuit, it can be composed of a total of 892 gates of 768 gates for the RS flip-flop and 124 gates for the counter and decoder. It can be configured with 58% of gates.

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

【図1】(a)は、本発明の第1の実施例に係るシリア
ル・パラレル変換回路に用いるR−Sレジスタを示す回
路図、(b)は、本発明の第1の実施例に係るシリアル
・パラレル変換回路を示す回路図である。
FIG. 1A is a circuit diagram showing an RS register used in a serial / parallel conversion circuit according to a first embodiment of the present invention, and FIG. 1B is a circuit diagram showing an RS register according to the first embodiment of the present invention; FIG. 3 is a circuit diagram illustrating a serial / parallel conversion circuit.

【図2】(a)は、本発明の第2の実施例に係るシリア
ル・パラレル変換回路に用いるR−Sレジスタを示す回
路図、(b)は、本発明の第2の実施例に係るシリアル
・パラレル変換回路を示す回路図である。
FIG. 2A is a circuit diagram showing an RS register used in a serial / parallel conversion circuit according to a second embodiment of the present invention, and FIG. 2B is a circuit diagram showing an RS register according to the second embodiment of the present invention; FIG. 3 is a circuit diagram illustrating a serial / parallel conversion circuit.

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

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

F00,F01,F02,F03,F10,F11,F
12,F13,F20,F21,F22,F23,F3
0,F31,F32,F33;レジスタブロック G1,G2,G3 ;NANDゲート G4,G5 ;デコーダ K1 ;カウンタ
F00, F01, F02, F03, F10, F11, F
12, F13, F20, F21, F22, F23, F3
0, F31, F32, F33; register blocks G1, G2, G3; NAND gates G4, G5; decoder K1;

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アドレッシングが可能なレジスタブロッ
クと、シリアルクロックに同期して生成されたアドレス
データを入力しこのアドレスデータに応じて前記レジス
タブロック中のレジスタを選択すると共に選択されたレ
ジスタにシリアルデータを格納するデコーダとを有し、
前記レジスタブロックはその出力として各レジスタの出
力をパラレルデータとして出力するものであり、前記レ
ジスタは、セット信号が入力される第1のNANDゲー
トと、この第1のNANDゲートの出力が入力される第
2のNANDゲートと、この第2のNANDゲートの出
力と負論理のリセット信号が入力される第3のNAND
ゲートと、を有し、前記第2のNANDゲートの出力が
前記レジスタの出力端子に接続され、前記第3のNAN
Dゲートの出力が前記レジスタの反転出力端子に接続さ
れると共に、前記第2のNANDゲートの他方の入力端
子に接続されていることを特徴とするシリアル・パラレ
ル変換回路。
1. An addressable register block, and address data generated in synchronization with a serial clock are input, a register in the register block is selected according to the address data, and serial data is stored in the selected register. And a decoder for storing
The register block is to output the output of each register as an output as parallel data, said Le
The register is connected to the first NAND gate to which the set signal is input.
And the first NAND gate to which the output of the first NAND gate is input.
2 NAND gates and the output of this second NAND gate.
Third NAND to which reset signal of force and negative logic is input
And the output of the second NAND gate is
The third NAN connected to the output terminal of the register;
The output of the D gate is connected to the inverted output terminal of the register.
And the other input terminal of the second NAND gate
A serial / parallel conversion circuit, which is connected to a slave .
【請求項2】 データ入力端子を備えアドレッシングが
可能なレジスタブロックと、シリアルクロックに同期し
て生成されたアドレスデータを入力しこのアドレスデー
タに応じて前記レジスタブロック中のレジスタを選択す
るデコーダとを有し、前記レジスタブロックは前記デコ
ーダにより選択されたレジスタのデータ入力端子に印加
されているシリアルデータを格納すると共に各レジスタ
の出力をパラレルデータとして出力するものであり、前
記レジスタは、セット信号及びデータ信号が入力される
第1のNANDゲートと、セット信号及び反転されたデ
ータ信号が入力される第2のNANDゲートと、前記第
1のNANDゲートの出力が入力される第3のNAND
ゲートと、この第3のNANDゲートの出力及び前記第
2のNANDゲートの出力が入力される第4のNAND
ゲートと、を有し、前記第3のNANDゲートの出力が
前記レジスタの出力端子に接続され、前記第4のNAN
Dゲートの出力が前記レジスタの反転出力端子に接続さ
れると共に前記第3のNANDゲートの入力端子に接続
されていることを特徴とするシリアル・パラレル変換回
路。
2. A register block having a data input terminal and capable of addressing, and a decoder for inputting address data generated in synchronization with a serial clock and selecting a register in the register block according to the address data. The register block stores serial data applied to a data input terminal of a register selected by the decoder , and outputs an output of each register as parallel data.
The register receives a set signal and a data signal.
A first NAND gate, a set signal and an inverted data
A second NAND gate to which a data signal is input;
Third NAND to which the output of one NAND gate is input
A gate, an output of the third NAND gate, and the
Fourth NAND to which the output of the second NAND gate is input
And the output of the third NAND gate is
The fourth NAN connected to the output terminal of the register;
The output of the D gate is connected to the inverted output terminal of the register.
Connected to the input terminal of the third NAND gate
A serial-to-parallel conversion circuit characterized by being performed .
JP04026984A 1992-02-13 1992-02-13 Serial / parallel conversion circuit Expired - Fee Related JP3134449B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP04026984A JP3134449B2 (en) 1992-02-13 1992-02-13 Serial / parallel conversion circuit
US08/014,780 US5337050A (en) 1992-02-13 1993-02-08 Serial-to-parallel converter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04026984A JP3134449B2 (en) 1992-02-13 1992-02-13 Serial / parallel conversion circuit

Publications (2)

Publication Number Publication Date
JPH05227040A JPH05227040A (en) 1993-09-03
JP3134449B2 true JP3134449B2 (en) 2001-02-13

Family

ID=12208433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04026984A Expired - Fee Related JP3134449B2 (en) 1992-02-13 1992-02-13 Serial / parallel conversion circuit

Country Status (2)

Country Link
US (1) US5337050A (en)
JP (1) JP3134449B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4428545A1 (en) * 1994-08-12 1996-02-15 Philips Patentverwaltung Circuit arrangement for converting a serial data signal into a parallel data signal
US5926120A (en) * 1996-03-28 1999-07-20 National Semiconductor Corporation Multi-channel parallel to serial and serial to parallel conversion using a RAM array
JP4612139B2 (en) * 2000-02-08 2011-01-12 富士通セミコンダクター株式会社 Input circuit and semiconductor device using the input circuit
CN1870442B (en) * 2005-05-26 2010-06-09 普诚科技股份有限公司 Integral serial data decoder
US20090039897A1 (en) * 2007-08-10 2009-02-12 Via Technologies, Inc. Systems and Methods for Scan Chain Testing Using Analog Signals
CN110912549A (en) * 2019-12-05 2020-03-24 京东方科技集团股份有限公司 Serial-parallel conversion circuit, driving method thereof and display panel

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3823397A (en) * 1970-05-07 1974-07-09 Centronics Data Computer Serial to parallel converter for binary signals of two different pulse widths
US4686691A (en) * 1984-12-04 1987-08-11 Burroughs Corporation Multi-purpose register for data and control paths having different path widths
JPS61144128A (en) * 1984-12-18 1986-07-01 Oki Electric Ind Co Ltd Serial data decoding circuit
US5146577A (en) * 1989-04-10 1992-09-08 Motorola, Inc. Serial data circuit with randomly-accessed registers of different bit length
JP2900451B2 (en) * 1989-11-30 1999-06-02 ソニー株式会社 Memory device

Also Published As

Publication number Publication date
US5337050A (en) 1994-08-09
JPH05227040A (en) 1993-09-03

Similar Documents

Publication Publication Date Title
US5175819A (en) Cascadable parallel to serial converter using tap shift registers and data shift registers while receiving input data from FIFO buffer
JP2916045B2 (en) FIFO module
JP3134449B2 (en) Serial / parallel conversion circuit
JPH06216762A (en) Asynchronous counter
US5654707A (en) Parallel-to-serial data conversion circuit
JPH0661871A (en) Parallel serial data conversion circuit
JP3236235B2 (en) Toggle flip-flop
JPH04212521A (en) Ring counter
JPH077438A (en) Serial-parallel conversion circuit
JP2558802B2 (en) Register file
JPH06120842A (en) Serial/parallel conversion circuit
JPH0715344A (en) Data converter
JPS6339938B2 (en)
JPH0777557A (en) Semiconductor integrated circuit device
JPH0798685A (en) Integrated circuit
JPH0779247B2 (en) Decode circuit
JPH07113660B2 (en) Mode setting circuit
JP2570562Y2 (en) Synchronous counter
JPH09147594A (en) Shift register circuit
JPH0756651A (en) Clock generating circuit
JPH05215820A (en) Scan path circuit
JPS63176021A (en) Serial/parallel conversion circuit
JPS6093559A (en) Scanning system
JPH0628151A (en) Parallel latch circuit for serial data
JPH0548429A (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071201

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees