JPS634969B2 - - Google Patents

Info

Publication number
JPS634969B2
JPS634969B2 JP57183476A JP18347682A JPS634969B2 JP S634969 B2 JPS634969 B2 JP S634969B2 JP 57183476 A JP57183476 A JP 57183476A JP 18347682 A JP18347682 A JP 18347682A JP S634969 B2 JPS634969 B2 JP S634969B2
Authority
JP
Japan
Prior art keywords
input
output
serial
parallel
circuit
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
Application number
JP57183476A
Other languages
Japanese (ja)
Other versions
JPS5972227A (en
Inventor
Takao Yano
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP18347682A priority Critical patent/JPS5972227A/en
Publication of JPS5972227A publication Critical patent/JPS5972227A/en
Publication of JPS634969B2 publication Critical patent/JPS634969B2/ja
Granted 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 [Field of the Invention] The present invention relates to a circuit that converts serial input data into parallel output data or parallel input data into serial output data at high speed.

〔従来技術〕[Prior art]

第1図に従来の直並列変換回路の構成例を示
す。第1図は4ビツト単位の直列信号を並列信号
に、あるいは並列信号を直列信号に変換する回路
で、4〜7は直列(並列)信号入力端子、8〜1
1は並列(直列)信号出力端子、1―1〜1―4
はDタイプフリツプフロツプで構成されるシフト
レジスタ、2―1〜2―4は同じくDタイプフリ
ツプで構成されるレジスタ、3―1〜3―4は4
入力1出力のセレクタ、15はメインクロツク、
16と17はセレクタの制御信号を示している。
第2図は該直並列変換回路の動作を説明するため
のタイミングチヤートである。
FIG. 1 shows an example of the configuration of a conventional serial-to-parallel conversion circuit. Figure 1 shows a circuit that converts a 4-bit serial signal into a parallel signal, or a parallel signal into a serial signal. 4-7 are serial (parallel) signal input terminals, 8-1
1 is a parallel (serial) signal output terminal, 1-1 to 1-4
is a shift register composed of D-type flip-flops, 2-1 to 2-4 are registers also composed of D-type flip-flops, and 3-1 to 3-4 are shift registers composed of D-type flip-flops.
Input 1 output selector, 15 is the main clock,
16 and 17 indicate selector control signals.
FIG. 2 is a timing chart for explaining the operation of the serial-to-parallel conversion circuit.

入力端子4にはメインクロツク15に同期して
D00、D10、D20、D30、…と順番に4ビツト単位
の信号が入つて来る。同様に、入力端子5には
D01、D11、D21、D31、…、入力端子6にはD02
D12、D22、D32、…、入力端子7にはD03、D13
D23、D33、…と順番に4ビツト単位の信号が入
つて来る。メインクロツク15により4ビツト分
の信号がそれぞれシフトレジスタ1―1〜1―4
に転送されると、各4ビツトの信号はそれぞれ4
ビツト構成のレジスタ2―1〜2―4に同時に格
納される。4入力1出力のセレクタ3―1〜3―
4はレジスタ2―1〜2―4の定まつた箇所より
データを収集し、制御信号16と17に従い、か
つ、メインクロツク15に同期して、それぞれ1
ビツトずつ出力端子8〜11に出力していく。例
えば制御信号16と17が共に“0”のときは、
4入力のうち2―1からの信号を出力し、制御信
号16が“1”で17が“0”のときは2―2か
らの信号を出力する。
Input terminal 4 is synchronized with main clock 15.
Signals in units of 4 bits are input in order: D 00 , D 10 , D 20 , D 30 , . . . Similarly, input terminal 5 has
D 01 , D 11 , D 21 , D 31 ,..., D 02 at input terminal 6,
D 12 , D 22 , D 32 , ..., input terminal 7 has D 03 , D 13 ,
D 23 , D 33 , . . . signals in units of 4 bits are input in order. Main clock 15 sends 4-bit signals to shift registers 1-1 to 1-4, respectively.
each 4-bit signal is transferred to
They are simultaneously stored in bit-configured registers 2-1 to 2-4. 4-input 1-output selector 3-1 to 3-
4 collects data from predetermined locations in registers 2-1 to 2-4, and outputs data to each register according to control signals 16 and 17 and in synchronization with main clock 15.
Bit by bit is output to output terminals 8-11. For example, when control signals 16 and 17 are both "0",
Among the four inputs, the signal from 2-1 is output, and when the control signal 16 is "1" and the control signal 17 is "0", the signal from 2-2 is output.

このようにして、入力端子4の直列入力D00
D10、D20、D30は回路で決まる時間遅れの後、並
列データD00、D10、D20、D30に変換されて出力
される。入力端子5,6,7の直列入力D01
D11、D21、D31、D02、D12、D22、D32、D03
D13、D23、D33についても同様である。また、入
力端子4〜7のデータを並列入力D00、D01
D02、D03とみなしたときには、直列出力D00
D01、D02、D03が出力端子8より得られる。並列
入力D10、D11、D12、D13、D20、D21、D22、D23
D30、D31、D32、D33についても同様である。
In this way, the series input D 00 of input terminal 4,
After a time delay determined by the circuit, D 10 , D 20 , and D 30 are converted into parallel data D 00 , D 10 , D 20 , and D 30 and output. Series input D 01 of input terminals 5, 6, 7,
D11 , D21 , D31 , D02 , D12 , D22 , D32 , D03 ,
The same applies to D 13 , D 23 , and D 33 . In addition, the data of input terminals 4 to 7 are input in parallel D 00 , D 01 ,
When considered as D 02 and D 03 , the series output D 00 ,
D 01 , D 02 and D 03 are obtained from the output terminal 8. Parallel input D10 , D11 , D12 , D13 , D20 , D21 , D22 , D23 ,
The same applies to D 30 , D 31 , D 32 and D 33 .

ところで、第1図で示される従来の直並列変換
回路は、シフトレジスタとそのシフトレジスタに
転送された情報を同時に記憶するレジスタ及び情
報分配の役目を司どるセレクタから構成されてい
る。従つて、レジスタを構成するDタイプフリツ
プフロツプの数が多く、かつセレクタへの信号線
が複雑であり、回路規規模ならびに信号伝搬遅延
が大きいという欠点がある。第1図は4ビツトの
直並列変換回路の例であるが、8ビツトあるいは
それ以上のビツト数を扱う直並列変換回路におい
ても同様の欠点がある。
By the way, the conventional serial-to-parallel conversion circuit shown in FIG. 1 is composed of a shift register, a register that simultaneously stores information transferred to the shift register, and a selector that controls information distribution. Therefore, there are disadvantages in that the number of D-type flip-flops constituting the register is large, the signal lines to the selector are complex, and the circuit size and signal propagation delay are large. Although FIG. 1 shows an example of a 4-bit serial-to-parallel conversion circuit, a serial-to-parallel conversion circuit that handles 8 bits or more has similar drawbacks.

〔発明の目的・概要〕[Purpose/Summary of the invention]

本発明は上記従来の欠点を解決すべく、n×n
のレジスタの単位回路ごとに1個のセレクタと1
個のフリツプフロツプを設け、かつ、信号の流れ
を水平方向(行方向)、垂直方向(列方向)と交
互に制御することにより、直列入力データを並列
出力データに、あるいは並列入力データを直列入
力データに高速に変換する回路を提供することに
ある。
In order to solve the above-mentioned conventional drawbacks, the present invention aims to solve n×n
One selector and one for each register unit circuit.
By providing multiple flip-flops and controlling the signal flow alternately in the horizontal direction (row direction) and vertical direction (column direction), serial input data can be converted into parallel output data, or parallel input data can be converted into serial input data. The objective is to provide a circuit that converts at high speed.

〔発明の実施例〕[Embodiments of the invention]

第3図は本発明の一実施例の構成図であつて、
第1図と同様に4ビツトの直並列変換回路を示し
たものである。第3図において、4〜7は直列
(並列)信号入力端子、8〜11は並列(直列)
信号出力端子、12は導通・非導通に切替わるス
イツチ、13は2入力1出力のセレクタである。
また1と2はDタイプフリツプフロツプ、14は
3値出力バツフア、15はメインクロツク、18
はデータの流れを制御する信号である。単位回路
は1個のセレクタ13と1個のDタイプフリツプ
フロツプ1で構成される。
FIG. 3 is a configuration diagram of an embodiment of the present invention,
Similar to FIG. 1, this figure shows a 4-bit serial-to-parallel conversion circuit. In Figure 3, 4 to 7 are serial (parallel) signal input terminals, 8 to 11 are parallel (series)
A signal output terminal, 12 is a switch for switching between conduction and non-conduction, and 13 is a selector with 2 inputs and 1 output.
Also, 1 and 2 are D type flip-flops, 14 is a ternary output buffer, 15 is a main clock, and 18
is a signal that controls the flow of data. The unit circuit is composed of one selector 13 and one D type flip-flop 1.

入力端子4〜7の信号はスイツチ12を介し、
左側あるいは下側からセレクタ13経由でフリツ
プフロツプ1に入力される。該フリツプフロツプ
に格納されたデータは、右方向及び上方向のどち
らにも転送可能な結線となつている。従つて、出
力信号は3値出力バツフア14を介して右側ある
いは上側から出力端子8〜11へ取り出される。
The signals of input terminals 4 to 7 are passed through the switch 12,
The signal is input to the flip-flop 1 via the selector 13 from the left side or the bottom side. The data stored in the flip-flop is connected so that it can be transferred both to the right and upward. Therefore, the output signal is taken out from the right side or upper side via the ternary output buffer 14 to the output terminals 8 to 11.

第4図は第3図の直並列変換回路の動作原理を
説明する図である。第4図の4×4の格子は、第
3図の中心部のDタイプフリツプフロツプ1で構
成される4×4のレジスタに対応している。第4
図1は初め左側からデータD00、D01、D02、D03
が入力されることを示している。それぞれ4ビツ
ト分のデータの入力終了後、4×4のレジスタに
は第4図2に示すデータが保持される。第4図3
は次のビツト分のデータが入るときに、レジスタ
の下側より入るように制御することを示してい
る。この時、4×4のレジスタに格納されていた
データのうち、上側4ビツト分のデータD00
D10、D20、D30が最新入力データE00、E01、E02
E03に押し出され、並列出力として出力端子8〜
11に現われる。第4図4は下側からそれぞれ4
ビツト分のデータが入力された時の4×4のレジ
スタの内容を示している。次に新たなデータが入
力される時、第4図5に示すように経路を切換
え、左から右へと水平方向にデータ転送すること
で、並列出力が同様に得られる。
FIG. 4 is a diagram illustrating the operating principle of the serial-to-parallel conversion circuit of FIG. 3. The 4.times.4 grid in FIG. 4 corresponds to the 4.times.4 register comprised of the D-type flip-flop 1 in the center of FIG. Fourth
Figure 1 starts with data D 00 , D 01 , D 02 , D 03 from the left side.
is input. After inputting 4 bits of data respectively, the data shown in FIG. 4 is held in the 4×4 register. Figure 4 3
indicates that when the next bit of data is input, it is controlled so that it is input from the bottom of the register. At this time, among the data stored in the 4×4 register, the upper 4 bits of data D 00 ,
D 10 , D 20 , D 30 are the latest input data E 00 , E 01 , E 02 ,
Pushed out to E 03 , output terminal 8 ~ as parallel output
Appears on the 11th. Figure 4 4 is each 4 from the bottom
It shows the contents of a 4×4 register when bits of data are input. Next, when new data is input, parallel output can be similarly obtained by switching the path and transferring the data horizontally from left to right as shown in FIG. 4.

第3図において、左側及び下側に設けられてい
るスイツチ12、2入力1出力セレクタ13、3
値出力バツフア14、制御信号18は入力から出
力までの信号転送経路の方向を制御する働きをし
ている。すなわち、水平方向に信号が転送される
場合は、制御信号18により、左側の4つのスイ
ツチ12がON、下側の4つのスイツチ12は
OFF、2入力1出力セレクタ13は左に位置す
るDタイプフリツプフロツプからの信号を選択
し、右側の4つの3値出力バツフア14は
enable、上側の4つの3値出力バツフア14は
disableとなつてハイインピーダンス状態を保つ
ように設定される。また、垂直方向に信号が転送
される場合は、上記の逆の状態となる。このよう
に、スイツチ12、2入力1出力セレクタ13、
3値出力バツフア14を制御信号18を用いて交
互に切換えることにより、第2図で示した直並列
変換機能を実現できる。
In FIG. 3, the switches 12, 2-input, 1-output selectors 13, and 3 provided on the left and lower sides
The value output buffer 14 and control signal 18 function to control the direction of the signal transfer path from input to output. That is, when a signal is transferred in the horizontal direction, the control signal 18 turns on the four switches 12 on the left and turns the four switches 12 on the bottom.
OFF, the 2-input 1-output selector 13 selects the signal from the D-type flip-flop located on the left, and the four ternary output buffers 14 on the right
enable, the upper four ternary output buffers 14 are
It is set to be disabled and maintain a high impedance state. Furthermore, when a signal is transferred in the vertical direction, the above situation is reversed. In this way, the switch 12, the 2-input 1-output selector 13,
By alternately switching the three-value output buffer 14 using the control signal 18, the serial-to-parallel conversion function shown in FIG. 2 can be realized.

以上述べた様に、第3図の直並列変換回路は、
第1図の3―1〜3―4のセレクタを分散配置
し、転送時に直並列変換を行つてしまうと共に、
第1図の2―1〜2―4のレジスタに相当する回
路をDタイプフリツプフロツプ8個で済ませるこ
とにより、回路規模の削減、配線の複雑さの解消
を図つている。
As mentioned above, the serial-to-parallel converter circuit in Figure 3 is
Selectors 3-1 to 3-4 in Figure 1 are distributed and serial/parallel conversion is performed during transfer.
By replacing the circuits corresponding to the registers 2-1 to 2-4 in FIG. 1 with eight D-type flip-flops, it is possible to reduce the circuit scale and eliminate the complexity of wiring.

次に、直並列変換回路のLSI化を考慮して、本
発明の回路の特長を述べる。ここで、論理LSIに
採用するデバイスとしてCMOSトランジスタを
考え、総トランジスタ数で従来回路との比較を行
うと、4ビツトの直並列変換回路の場合、従来回
路で1160個に対し、本発明の回路では1056個、8
ビツトの場合、従来回路で3872個に対し、本発明
の回路では1728個が必要となる。直並列変換回路
が取扱うビツト数が増加するほど両者の差は拡大
し、16ビツトの場合、従来回路で15296個に対し、
本発明の回路は5504個で済み、本発明の回路は回
路規模が少なくて同じ機能を達成できることがわ
かる。回路規模が少ないことに加えて、第1図と
第3図を比較すればわかるように、従来回路で存
在するセレクタへの複雑な配線が本発明の回路で
は存在せず、本発明の回路がLSI化し易い構成で
あると言える。
Next, the features of the circuit of the present invention will be described in consideration of LSI implementation of the serial-to-parallel conversion circuit. Here, considering a CMOS transistor as a device used in a logic LSI, and comparing the total number of transistors with a conventional circuit, in the case of a 4-bit serial-to-parallel conversion circuit, the conventional circuit has 1160 transistors, whereas the circuit of the present invention has 1160 transistors. So 1056 pieces, 8
In the case of bits, the conventional circuit requires 3872 bits, whereas the circuit of the present invention requires 1728 bits. The difference between the two increases as the number of bits handled by the serial-to-parallel conversion circuit increases, and in the case of 16 bits, compared to 15296 in the conventional circuit,
It can be seen that the circuit of the present invention requires only 5504 circuits, and the circuit of the present invention can achieve the same function with a smaller circuit scale. In addition to having a small circuit scale, as can be seen by comparing Figures 1 and 3, the circuit of the present invention does not have the complicated wiring to the selector that exists in conventional circuits. It can be said that the configuration is easy to convert into LSI.

一方、制御信号に関しては、従来回路ではセレ
クタの制御信号に4ビツトの場合には2本必要と
なり、本発明の回路では方向切換え用の1本で済
むことから本発明の回路が有利といえる。また、
制御信号発生回路は従来回路でも、本発明の回路
でも同じである。
On the other hand, regarding the control signal, in the conventional circuit, if the control signal for the selector is 4 bits, two signals are required, but the circuit of the present invention can be said to be advantageous because it only requires one signal for direction switching. Also,
The control signal generation circuit is the same in both the conventional circuit and the circuit of the present invention.

以上、CMOSでLSIを作成する場合について述
べたが、本発明の回路の有する特長は、nE/
DMOS等の他のデバイスを用いた場合でも、ま
た、SSI、MSIを用いてボードレベルで回路を作
る場合でも、何ら変ることはない。
The above has described the case of creating an LSI using CMOS, but the features of the circuit of the present invention are nE/
There is no difference even if you use other devices such as DMOS, or if you create a circuit at the board level using SSI or MSI.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明の直並列変換回路
は回路規模が少なく、配線も容易であることか
ら、低消費電力で歩留りの良いLSIを作成するの
に適しており、直並列変換回路の高性能化、経済
化に大いに貢献できる。
As explained above, the serial-to-parallel conversion circuit of the present invention has a small circuit scale and is easy to wire, so it is suitable for creating LSIs with low power consumption and high yield. It can greatly contribute to performance and economy.

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

第1図は従来の直並列変換回路の構成図、第2
図は第1図の動作を説明するためのタイミング
図、第3図は本発明の一実施例の構成図、第4図
は第3図の動作原理図である。 1,2……Dタイプフリツプフロツプ、4〜7
……信号入力端子、8〜11……信号出力端子、
12……スイツチ、13……セレクタ、14……
3値出力バツフア。
Figure 1 is a configuration diagram of a conventional serial-to-parallel conversion circuit;
1 is a timing diagram for explaining the operation of FIG. 1, FIG. 3 is a block diagram of an embodiment of the present invention, and FIG. 4 is a diagram of the principle of operation of FIG. 3. 1, 2...D type flip-flop, 4-7
...Signal input terminal, 8-11...Signal output terminal,
12...Switch, 13...Selector, 14...
Three-value output buffer.

Claims (1)

【特許請求の範囲】 1 n個の入力端子とn個の出力端子とを有し、
前記n個の入力端子にそれぞれ直列に入力する信
号を並列信号に変換して前記n個の出力端子から
出力するか、あるいは前記n個の入力端子に並列
に入力する信号を直列信号に変換して前記n個の
出力端子からそれぞれ出力する直並列変換回路に
おいて、 行および列の両方向にデータ転送可能なn行n
列からなるレジスタ群を設け、該レジスタ群の一
つの単位回路は、前段の行および列方向の一方の
データを選択する2入力1出力の1個のセレクタ
と該セレクタからのデータをラツチして後段の行
および列方向へ転送する1個のフリツプフロツプ
で構成し、 入力信号を前記レジスタ群でもつてn回行方向
に転送した後、n回列方向に出力する動作と、入
力信号をn回列方向に転送した後、n回行方向に
出力する動作を交互に繰り返すことにより、直列
入力信号を並列出力信号に、あるいは並列入力信
号を直列出力信号に変換する、 ことを特徴とする直並列変換回路。
[Claims] 1. Has n input terminals and n output terminals,
Either the signals input in series to the n input terminals are converted into parallel signals and output from the n output terminals, or the signals input in parallel to the n input terminals are converted into serial signals. In the serial-to-parallel conversion circuit that outputs data from the n output terminals respectively, n rows and n
A register group consisting of columns is provided, and one unit circuit of the register group has one selector with two inputs and one output that selects data in one of the row and column directions in the previous stage, and latches the data from the selector. It consists of one flip-flop that transfers the input signal to the row and column directions of the subsequent stage, and after transferring the input signal n times in the row direction through the register group, it outputs it n times in the column direction, and the input signal is transferred n times in the column direction. Serial-to-parallel conversion characterized by converting a serial input signal into a parallel output signal, or a parallel input signal into a serial output signal, by alternately repeating the operation of transferring in the direction and then outputting in the row direction n times. circuit.
JP18347682A 1982-10-18 1982-10-18 Series and parallel converting circuit Granted JPS5972227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18347682A JPS5972227A (en) 1982-10-18 1982-10-18 Series and parallel converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18347682A JPS5972227A (en) 1982-10-18 1982-10-18 Series and parallel converting circuit

Publications (2)

Publication Number Publication Date
JPS5972227A JPS5972227A (en) 1984-04-24
JPS634969B2 true JPS634969B2 (en) 1988-02-01

Family

ID=16136461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18347682A Granted JPS5972227A (en) 1982-10-18 1982-10-18 Series and parallel converting circuit

Country Status (1)

Country Link
JP (1) JPS5972227A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0119689A3 (en) * 1983-02-22 1986-11-20 Northern Telecom Limited Serial and parallel interface device
JPS6180918A (en) * 1984-09-28 1986-04-24 Nec Corp Serial parallel converting circuit
JPS6238075A (en) * 1985-08-13 1987-02-19 Fuji Xerox Co Ltd Device for processing transposition of matrix data
JPH0432824Y2 (en) * 1986-04-23 1992-08-06
EP2444973B1 (en) * 2010-10-22 2015-12-23 Nxp B.V. Shift register, electronic device, control method and software program product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4995547A (en) * 1972-10-20 1974-09-10
JPS5168741A (en) * 1974-12-12 1976-06-14 Matsushita Electric Ind Co Ltd SHINGOTENSOSOCHI

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4995547A (en) * 1972-10-20 1974-09-10
JPS5168741A (en) * 1974-12-12 1976-06-14 Matsushita Electric Ind Co Ltd SHINGOTENSOSOCHI

Also Published As

Publication number Publication date
JPS5972227A (en) 1984-04-24

Similar Documents

Publication Publication Date Title
JP2994390B2 (en) Transposition memory for data processing circuits
JPS6347014B2 (en)
CN113114220B (en) Chip system with remapping function and chip remapping configuration system
JPS634969B2 (en)
JPS6250870B2 (en)
US4685128A (en) Method and network for transmitting addressed signal samples from any network input to an addressed network output
JPH0351340B2 (en)
JP2643576B2 (en) Address generation circuit for fast Fourier transform
CN110855916B (en) Analog signal reading circuit array with variable output channel number and reading method
JPS6120434A (en) D/a converter
JPH01106255A (en) Logical device
JPS59158190A (en) Time switch circuit
CN115001480A (en) Special sequential data selector, implementation method, electronic equipment and medium
JP3107947B2 (en) Semiconductor integrated circuit device
JPH01158891A (en) Space division switch
JP2723546B2 (en) Delay circuit
JPH046913A (en) Programmable logic element
JPH042238A (en) Self-routing network by input buffer system
JPH0777457B2 (en) Time switch
JPS63128818A (en) Multiple conversion circuit
JPS62189897A (en) Time-division channel system
JPS62110323A (en) Frequency-digital conversion circuit
JPH05183424A (en) Field programmable gate array
JPH0460374B2 (en)
JPH04217121A (en) Parallel/serial conversion circuit