JPS61179621A - Serial/parallel converting circuit - Google Patents

Serial/parallel converting circuit

Info

Publication number
JPS61179621A
JPS61179621A JP7845484A JP7845484A JPS61179621A JP S61179621 A JPS61179621 A JP S61179621A JP 7845484 A JP7845484 A JP 7845484A JP 7845484 A JP7845484 A JP 7845484A JP S61179621 A JPS61179621 A JP S61179621A
Authority
JP
Japan
Prior art keywords
data
serial
bit
parallel
input
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
JP7845484A
Other languages
Japanese (ja)
Inventor
Tetsuo Sato
哲雄 佐藤
Yoshimi Iso
佳実 磯
Tsutomu Noda
勉 野田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP7845484A priority Critical patent/JPS61179621A/en
Publication of JPS61179621A publication Critical patent/JPS61179621A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To simplify further the circuit constitution of a serial/parallel converting circuit converting a serial data sent continuously in terms of the hardware by providing a register inputting only a part of a bit data and saving it. CONSTITUTION:A serial data sent one by one bit in the order of a bit data Do of the least significant digit to the high-order digit bit data D1, D2,...D15 is inputted to a serial data input Din. Then a word data Wo is inputted sequentially from the head bit to a shift register 12. On the other hand, the input of the head bit data Do is finished and the succeeding bit data D1- is started to be inputted, the content Do of a 1-bit register 12c is transferred to a buffer register 12d synchronously with the timing signal cp3 at the 2nd bit and stored. Thus, the serial data Din transmitted continuously is converted sequentially into the parallel data Dout and outputted by repeating the operation that the data Do and D1-D15 stored respectively in the two registers 12d, 12 are extracted and latched when the head bit data Do is inputted and read in this way.

Description

【発明の詳細な説明】 〔技術分野〕 この発明は、直列/並列変換技術さらにはハードウェア
的忙構成された直列/並列変換回路に適用して特に有効
な技術に関するもので、たとえば、D/A (デジタル
/アナログ)変換器のデジタル入力側における直列/並
列変換回路に利用し゛て有効な技術に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a serial/parallel conversion technology and a technology that is particularly effective when applied to a serial/parallel conversion circuit with a complicated hardware configuration. This relates to a technology that is effective for use in serial/parallel conversion circuits on the digital input side of A (digital/analog) converters.

〔背景技術〕[Background technology]

一般に、直列データ(シリアルデータ)を並列データ(
パラレルデータ)に変換する手段としては、マイクロ・
コンピュータによるソフトウェア的な手段と、シフトレ
ジスタを用いたハードウェア的な手段とがある。
Generally, serial data (serial data) is converted to parallel data (
As a means of converting to parallel data), micro-
There are software means using a computer and hardware means using a shift register.

前者のソフトウェア的な手段は、例えばボーレイトやプ
ロトコルなど通信仕様の変更に対してプログラムの変更
だけで対応できる柔軟性を有する反面、マイクロ・プロ
セッサ、ROMおよびRAMなどの−通りのマイクロ・
コンピュータ・システムが必要であるため、ハードウェ
ア的な構成がどうしても大がかりになりがちである。ま
た、変換処理のために少なくとも数百の処理ステップな
実行することになるので、高速の変換動作には不向きで
ある。
The former software method has the flexibility to respond to changes in communication specifications, such as baud rate and protocol, by simply changing the program, but on the other hand, it has the flexibility to respond to changes in communication specifications such as baud rate and protocol by simply changing the program.
Since a computer system is required, the hardware configuration tends to be large-scale. Furthermore, since at least several hundred processing steps must be executed for the conversion process, it is not suitable for high-speed conversion operations.

後者のハードウェア的な手段では、例えばボーレイトや
プロトコルなど通信仕様がハードウェア的に固定されて
しまうが、シフトレジスタ、ラッチ回路およびタイミン
グ発生回路などの数種類の回路機能だけで構成すること
ができる。これ釦より、そのハードウェア的構成は、上
述したソフトウェア的手段によるものに比べると、大幅
に簡潔化される。また、その変換処理がハードウェア的
忙実時間で行なわれるため、変換動作を非常に速くする
ことができる、という利点がある。
In the latter hardware means, communication specifications such as baud rate and protocol are fixed in terms of hardware, but it can be configured with only a few types of circuit functions such as a shift register, a latch circuit, and a timing generation circuit. With this button, the hardware configuration is greatly simplified compared to the one using software means described above. Furthermore, since the conversion process is performed in the busy hardware time, there is an advantage that the conversion operation can be made extremely fast.

そこで、通信仕様が固定的に決められているような用途
、例えばデジタル・オーディオ・ディスクがらの読取デ
ータを直列/並列変換するような用途には、後者のハー
ドウェア的な手段が向いている。
Therefore, the latter hardware means is suitable for applications where communication specifications are fixed, such as serial/parallel conversion of data read from a digital audio disc.

例えば、1982年1月18日発刊の日経エレクトロニ
クスNo、282.p186〜216には、直列データ
を並列データに変換してD/A変換器のデジタル入力と
することが示されている。この場合、その直列データが
例えばデジタル・オーディオ・ディスクからの読取デー
タのようなものであれば、その直列データを並列データ
に変換する手段として、上述したハードウェア的な手段
が適している。
For example, Nikkei Electronics No. 282, published on January 18, 1982. Pages 186 to 216 show that serial data is converted to parallel data and used as digital input to the D/A converter. In this case, if the serial data is, for example, data read from a digital audio disc, the above-mentioned hardware means is suitable as means for converting the serial data into parallel data.

そこで、本発明者らは、特に、デジタル−オーディオ・
ディスクからの直列データを並列データに変換するため
の直列/並列変換回路とし工、第1図に示すような回路
を本発明に先立って検討した。
Therefore, the present inventors particularly focused on digital audio.
Prior to the present invention, a circuit as shown in FIG. 1 was studied as a serial/parallel conversion circuit for converting serial data from a disk into parallel data.

第1図に示す直列/並列変換回路1oは、ハードウェア
的に構成されたものであって、同期クロックCKととも
に送られてくる直列データ人力Dinを1ワードごとに
並列データDo−D15に変換して出力するものである
。この直列/並列変換回路10は、第1.第2の2本の
シフトレジスタ12a 、 12b、並列データ切換回
路14、並列データラッチ回路16、同期クロック切換
回路18、およびタイミング発生回路20などによって
構成されている。
The serial/parallel conversion circuit 1o shown in FIG. 1 is configured in terms of hardware, and converts the serial data input Din sent together with the synchronized clock CK into parallel data Do-D 15 word by word. This is what is output. This serial/parallel conversion circuit 10 includes the first. It is comprised of second two shift registers 12a and 12b, a parallel data switching circuit 14, a parallel data latch circuit 16, a synchronous clock switching circuit 18, a timing generation circuit 20, and the like.

ここで、第1.第2の2本のシフトレジスタ12a、1
2bは互いに同じものであって、それぞれ1ワ一ド分の
ピット数すなわちここでは16個の7リンプフロツプF
15〜Foを直列接続したものが使用されている。
Here, the first. Second two shift registers 12a, 1
2b are the same, each having the number of pits for one word, that is, 16 7-limp flops F.
15 to Fo are connected in series.

並列データ切換回路14は、上記2本のシフトレジスタ
12a、12bのいずれか一方の内容を選択して上記並
列ラッチ回路16に導入するためのものであって、1ワ
一ド分のデータが直列入力されるごとに切換えられるよ
うになっている。
The parallel data switching circuit 14 is for selecting the contents of either one of the two shift registers 12a, 12b and introducing it into the parallel latch circuit 16. It is designed to be switched each time it is input.

並列データラッチ回路16は、上記並列データ切換回路
14によって選択されたシフトレジスタ12aまたは1
2bの各シフト段におけるビットデータつまり各7リツ
プフロツプFo=F15のセット出力を並列に取込んで
ラッチする。そして、このラッチ状態が並列データ出力
Doutとして例えばD/A変換器(図示省略)のデジ
タル側に入力される。
The parallel data latch circuit 16 is connected to the shift register 12a or 1 selected by the parallel data switching circuit 14.
The bit data at each shift stage of 2b, that is, the set output of each of the 7 lip-flops Fo=F15 is taken in in parallel and latched. Then, this latched state is input as a parallel data output Dout to the digital side of, for example, a D/A converter (not shown).

同期クロック切換回路18は、直列データ(Din)と
ともに入力される同期クロック信号CKを上記2本のシ
フトレジスタ12a、12bのいずれか一方に切換えて
送る。この同期クロックCKを受ける方のシフトレジス
タ12aまたは12bだけがシフト動作を行なう。
The synchronous clock switching circuit 18 switches and sends the synchronous clock signal CK input together with the serial data (Din) to either one of the two shift registers 12a and 12b. Only the shift register 12a or 12b receiving this synchronization clock CK performs a shift operation.

上記タイミング発生回路2oは、上記同期クロックなど
に基づいて、上記並列データ切換回路14および上記同
期クロック切換回路18の切換制御信号apl、上記ラ
ッチ回路16のラッチタイミング信号(サンプリング信
号)cp2を、1ワ一ド周期ごとに発生する。
The timing generation circuit 2o generates a switching control signal apl for the parallel data switching circuit 14 and the synchronous clock switching circuit 18, and a latch timing signal (sampling signal) cp2 for the latch circuit 16, based on the synchronous clock and the like. Occurs every word period.

第2図は上述した直列/並列回路の動作の一部を示す。FIG. 2 shows part of the operation of the series/parallel circuit described above.

第1図および第2図において、直列データ入力(Din
)には、最下位桁のビットデータ(LSB)Doから上
位桁のビットデータDI、D2.・・・。
1 and 2, the serial data input (Din
) includes bit data (LSB) Do of the least significant digit to bit data DI of the upper digit, D2 . ....

D15の順で1ビットずつ送られてくる直列データが入
力される。これとともに、各ビット区間ごとに立下り部
分を有する同期クロックCKが入力される。
Serial data sent bit by bit in the order of D15 is input. At the same time, a synchronous clock CK having a falling portion for each bit period is input.

ここで例えば、ワードデータw1が直列入力されるとき
に、第2のシフトレジスタ12bの方に上記同期クロッ
クCKが与えられるものとする。
For example, assume that when the word data w1 is input in series, the synchronization clock CK is applied to the second shift register 12b.

すると、その第2のシフトレジスタ12bにワードデー
タW1を編成する16ピツトの瀘列データ(Do〜D1
5)が順次入力されて行く。このとぎ、今一つの第1の
シフトレジスタ12aの方は、rm1期クロックCKが
与えられないために、前回に入力されたワードデータW
oを保持したままでもって、そのシフト動作を停止して
いる。この前回のワードデータWoを保持している第1
のシフトレジスタ12aの各シフト段(Fo−F15)
は、上記並列データ切換回路14によって上記ラッチ回
路16のラッチ入力側に接続される。これとともに、第
2のシフトレジスタ12bにデータが入力されている間
に、上記ラッチタイミング信号cp2が発せられる。こ
れにより、その第1のシフトレジスタ12aが保持して
いる前回のワードデータWOがラッチ回路16に並列に
転送されてラッチされる。そして、このラッチされたワ
ードデーIWoが並列データ出力Dout(Do−D1
5)となる。
Then, the second shift register 12b receives the 16-pit filtered data (Do to D1) that composes the word data W1.
5) are input sequentially. At this point, since the other first shift register 12a is not given the rm1 period clock CK, the word data W that was input last time is
The shift operation is stopped while holding o. The first word data holding this previous word data Wo
Each shift stage (Fo-F15) of the shift register 12a of
is connected to the latch input side of the latch circuit 16 by the parallel data switching circuit 14. At the same time, the latch timing signal cp2 is generated while data is being input to the second shift register 12b. As a result, the previous word data WO held by the first shift register 12a is transferred in parallel to the latch circuit 16 and latched. Then, this latched word data IWo becomes the parallel data output Dout (Do-D1
5).

ワードデータW1が第2のシフトレジスタ12bに入力
され終わると、上記並列データ切換回路14および上記
同期クロクク切換回路18の切換制御信号cplの状態
が切換わり、これにより今度は第1のシフトレジスタ1
2aの方がシフト動作を開始して次のワードデータW2
をシフト入力するようになる。このとぎ、第2のシフト
レジスタ12bの方は、先程入力されたワードデータW
1を保持したままシフト動作を停止する。そして今度は
、第1のシフトレジスタ12aの方にワードデータW2
が直列入力されている間に、第2のシフトレジスタ12
bの方に入力されたワードデータW1が上記ラッチ回路
16に並列転送される。
When the word data W1 has been input to the second shift register 12b, the states of the switching control signal cpl of the parallel data switching circuit 14 and the synchronous clock switching circuit 18 are switched, so that the first shift register 1
2a starts the shift operation and transfers the next word data W2.
Now you can shift input. At this point, the second shift register 12b receives the previously input word data W.
Stop the shift operation while holding the value 1. Then, word data W2 is transferred to the first shift register 12a.
is input in series, the second shift register 12
The word data W1 inputted to b is transferred to the latch circuit 16 in parallel.

これにより、並列データ出力Doutに現われるワード
データがWOからWlに切換わる。
As a result, the word data appearing on the parallel data output Dout is switched from WO to Wl.

以上のようにして、互いに同じ2本のシフトレジスタ1
2a、12bを交互に動作させて、一方に直列データを
入力している間に他方から並列データを取出してラッチ
する、という動作を繰返すことにより、連続して送られ
てくる直列データ(Din)を順次並列データ(Dou
t)に変換して出力することができる。
In the above manner, two identical shift registers 1
2a and 12b are operated alternately, and while inputting serial data to one, parallel data is taken out from the other and latched. By repeating this operation, serial data (Din) that is continuously sent is obtained. is sequentially parallel data (Dou
t) and output.

ところで、上述した直列/並列変換回路10では、直列
データの入力を行ないながら並列データの転送を行なわ
せるために、同じ段数のシフトレジスタ12a、12b
が2本必要であり、これに伴ってその2本のシフトレジ
スタからの若列データを切換えるためのデータ切換回路
14も必要である。このためこれをさらに簡潔化するこ
とが必要であることがわかった。
By the way, in the above-described serial/parallel conversion circuit 10, in order to transfer parallel data while inputting serial data, the shift registers 12a and 12b have the same number of stages.
Two shift registers are required, and accordingly, a data switching circuit 14 is also required for switching the young column data from the two shift registers. Therefore, it was found necessary to further simplify this.

〔発明の目的〕[Purpose of the invention]

この発明の目的は、連続して送られてくる直列データを
ハードウェア的忙変換する直列/並列変換回路の回路構
成をさらに簡潔化する技術を提供するものである。
An object of the present invention is to provide a technique for further simplifying the circuit configuration of a serial/parallel conversion circuit that performs hardware conversion of serial data that is continuously sent.

この発明の前記ならびにそのほかの目的と新規な特徴に
ついては、本明細書の記述および添附図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔発明の概要〕[Summary of the invention]

本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば、下記のとおりである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、一部のビットデータだけを入力して退避させ
るレジスタを設けることにより、連続して送られてくる
直列データをハードウェア的に変換する直列/並列変換
回路の回路構成をさらに簡潔化できるようにする、とい
う目的を達成するものである。
In other words, by providing a register that inputs and saves only part of the bit data, it is possible to further simplify the circuit configuration of the serial/parallel conversion circuit that converts serial data that is continuously sent using hardware. It is intended to achieve the purpose of

〔実施例1〕 以下、この発明の代表的な実施例を図面を参照しながら
説明する。
[Example 1] Hereinafter, a typical example of the present invention will be described with reference to the drawings.

なお、図面において同一符号は同一あるいは相当部分を
示す。
In the drawings, the same reference numerals indicate the same or corresponding parts.

第3図に示す直列/並列変換回路10は、ハードウェア
的に構成されたものであって、同期クロックCKととも
に送られてくる直列データ入力り凰n を1ワードごと
に並列データDo−D15に変換して出力するものであ
る。この直列/並列変換回路10は、各ワードごとの直
列データ人力Din(Do〜D15 )を下位桁データ
Doと上位桁データD1〜D15とに振分けて2つのレ
ジスタ12,12cにそれぞれ入力させるようにする。
The serial/parallel conversion circuit 10 shown in FIG. 3 is configured in terms of hardware, and converts serial data input (n) sent together with a synchronized clock CK into parallel data (Do-D) word by word. It is converted and output. This serial/parallel conversion circuit 10 distributes the serial data input Din (Do to D15) for each word into lower digit data Do and upper digit data D1 to D15 and inputs them into two registers 12 and 12c, respectively. do.

これとともに、その一方のレジスタ12cの内容(Do
)を一時的に退避させるためのバッファレジスタ12d
を設ける。そして、この一方のレジスタ12cJmデー
タDoが入力されているとき忙、他方のレジスタ12の
内容(DI〜D15)と上記バッファレジスタ12cの
内容(Do)をそれぞれ並列にラッチして出力するよう
に構成されている。
Along with this, the contents of one of the registers 12c (Do
) for temporarily saving the buffer register 12d.
will be established. When this one register 12cJm data Do is being input, the contents of the other register 12 (DI to D15) and the contents (Do) of the buffer register 12c are respectively latched and output in parallel. has been done.

ここで、上記一方のレジスタ12cおよび上記バッファ
レジスタ12dはそれぞれ先頭1ビット(LSB)だけ
のデータDoを保持すればよく、従って1段だけの7リ
ツプ70ツブFoおよびFFによってそれぞれ構成され
る。また、他方のレジスタ12は多段シフトレジスタで
あって、直列接続された15個の7リツプ70ツブF1
5〜FIKよって構成される。このシフトレジスタ12
は、先頭ビットデータDoを除いた15ビットのデータ
D1〜D15をシフト入力できるだけの段数を持てばよ
い。
Here, the one register 12c and the buffer register 12d each need to hold only the first bit (LSB) of data Do, and therefore each is constituted by only one stage of 7-lip 70-tube Fo and FF. The other register 12 is a multi-stage shift register, and includes 15 7-lip 70-tube F1s connected in series.
5 to FIK. This shift register 12
need only have a sufficient number of stages to shift and input 15 bits of data D1 to D15 excluding the first bit data Do.

第3図についてさらに詳述すると、同図に示した直列/
並列変換回路10では、上記レジスタ12.12c、1
2d以外には、並列データ2ツチ回路16およびタイミ
ング発生回路20などがあるだけで、前述した並列デー
タ切換回路14などは省略されている。
To explain in more detail about FIG. 3, the series/
In the parallel conversion circuit 10, the registers 12.12c, 1
Other than 2d, there are only a parallel data 2-bit circuit 16, a timing generation circuit 20, etc., and the above-mentioned parallel data switching circuit 14 etc. are omitted.

並列データラッチ回路16は、上記シフトレジスタ12
の各シフト段におけるビットデータつまり各7リツプフ
ロツプF1〜F15のセット出力と、上記バッファレジ
スタ12dK保持された1ビットデータを並列に取込ん
でラッチする。そして、両レジスタ12,12dのラッ
チ状態が並列データ出力Dout(Do=D15)とし
て例えばD/A変換器(図示省略)のデジタル側に並列
に入力される。このとき、上記シフトレジスタ12から
の上位15桁データD1〜D15と、上記バッファレジ
スタ12dからの最下位桁データD。
The parallel data latch circuit 16 is connected to the shift register 12.
The bit data at each shift stage, that is, the set output of each of the seven lip-flops F1 to F15, and the 1-bit data held in the buffer register 12dK are taken in and latched in parallel. The latched states of both registers 12 and 12d are then input in parallel to the digital side of, for example, a D/A converter (not shown) as parallel data output Dout (Do=D15). At this time, the upper 15 digit data D1 to D15 from the shift register 12 and the least significant digit data D from the buffer register 12d.

とが互いに一緒に合わせられ、これが16ピツトの並列
データとして出力される。
are combined together and output as 16-pit parallel data.

上記タイミング発生回路20は、例えばリングカウンタ
などによって構成され、上記同期クロックCKなどに基
づいて、上記ラッチ回路16のラッテタイミング信号(
サンプリング信号)、cp2およびバッファレジスタ1
2dへの退避書込タイミング信号cp3を、1ワ一ド周
期ごとに発生する。
The timing generation circuit 20 is constituted by, for example, a ring counter, and generates the latte timing signal (
sampling signal), cp2 and buffer register 1
A save write timing signal cp3 to 2d is generated every one word cycle.

第4図は上述した直列/並列回路の動作の一部を示す。FIG. 4 shows part of the operation of the series/parallel circuit described above.

第3図および第4図において、直列データ入力(Din
)には、最下位桁のビットデータ(LSB)Doから上
位桁のビットデータDI 、 D2 、・・・。
3 and 4, the serial data input (Din
) includes bit data (LSB) Do of the least significant digit to bit data DI, D2, . . . of the upper digits.

D15の順で1ピツトずつ送られてくる直列データが入
力される。これとともに、各ビット区間ごとに立下り部
分を有する同期クロックCKが入力される。
Serial data sent one pit at a time in the order of D15 is input. At the same time, a synchronous clock CK having a falling portion for each bit period is input.

ここで例えば、ワードデータWoが直列入力されるとき
は、先ず、そのワードデータWoの先頭ビット(LSB
)がタイミング信号cp2に同期して上記1ビットレジ
スタ12cに書込まれる。
For example, when word data Wo is input in series, first the first bit (LSB) of the word data Wo is input.
) is written into the 1-bit register 12c in synchronization with the timing signal cp2.

次に、上記シフトレジスタ12に上記ワードデータWo
が先頭ピットから順に入力される。一方、先頭ビットデ
ータDoの入力が終わってその後続のビットデータD1
〜が入力されはじめると、2ビット目にて上記1ビット
レジスタ12cの内容(DO)がタイミング信号cp3
に同期して上記バッファレジスタ12dに転送され、保
持される。
Next, the word data Wo is stored in the shift register 12.
are input in order from the first pit. On the other hand, after the input of the first bit data Do is completed, the subsequent bit data D1
When ~ starts to be input, the contents (DO) of the 1-bit register 12c are changed to the timing signal cp3 at the 2nd bit.
The data is transferred to the buffer register 12d and held in synchronization with the above.

この後、ワードデータWoを編成する16ピツトのデー
タDo−D15の入力が完了すると、次のワードデータ
W1が先頭ビットデータDoから順に再び入力される。
Thereafter, when the input of the 16-pit data Do-D15 forming the word data Wo is completed, the next word data W1 is input again in order starting from the first bit data Do.

そして、そのワードデータW1の先頭ビットデータDo
が上記1ビットレジスタ12cに入力されているときに
、上記シフトレジスタ12の各シフト段における内容す
なわち各段の7リツプフロツプF1〜F15の保持デー
タD1〜D15が、上記バッファレジスタ12dに退避
させられた先頭ビットデータDoとともに、タイミング
信号cp2に同期して上記ラッチ回路16に並列に転送
されて2ツテされる。つまり、前回に直列入力されたワ
ードデータWoが、次のワードデータW1の先頭ピア)
データDoの読込み時にラッチ回路16に並列転送され
てラッチされる。このラッチされたワードデータWoが
並列データ出力Dout(Do=D15)となる。
Then, the first bit data Do of the word data W1
is being input to the 1-bit register 12c, the contents of each shift stage of the shift register 12, that is, the data D1 to D15 held in the seven lip-flops F1 to F15 of each stage, are saved to the buffer register 12d. Together with the first bit data Do, it is transferred in parallel to the latch circuit 16 in synchronization with the timing signal cp2, and is doubled. In other words, the word data Wo that was serially input last time is the first peer of the next word data W1)
When data Do is read, it is transferred in parallel to the latch circuit 16 and latched. This latched word data Wo becomes the parallel data output Dout (Do=D15).

以上のようにして、先頭ビットデータDoが入力されて
読込まれるときに、2つのレジスタ12d。
As described above, when the first bit data Do is input and read, the two registers 12d.

12にそれぞれ保持されているデータDoおよびD1〜
D15を取出してラッチする、という動作な繰返すこと
により、連続して送られてくる直列データ(Din)を
順次並列データ(Dout)に変換して出力することが
できる。このとき、直列/並列変換のために直接必要な
レジスタ12゜12c、12dを構成するための7リツ
プフロツプFo−F15.FFは、上述した実施例では
、15+1+1=17個あればよい。しかも、ここでは
、前述した並列データ切換回路14(第1図)などが不
要となっている。従って、第1図に示したものに比べる
と、同等の機能を有しつつ、その回路構成は大幅に簡潔
化されている。
12, the data Do and D1~
By repeating the operation of extracting and latching D15, the serial data (Din) that is continuously sent can be sequentially converted into parallel data (Dout) and output. At this time, seven lip-flops Fo-F15 . In the embodiment described above, it is sufficient to have 15+1+1=17 FFs. Moreover, here, the parallel data switching circuit 14 (FIG. 1) and the like described above are unnecessary. Therefore, compared to the one shown in FIG. 1, the circuit configuration is significantly simplified while having the same functions.

〔実施例2〕 前述した本発明の直列/並列変換回路のより具体的回路
を第5図に示す。また、第5図における各信号波形を第
6図に示す。
[Embodiment 2] A more specific circuit of the above-mentioned serial/parallel conversion circuit of the present invention is shown in FIG. Further, each signal waveform in FIG. 5 is shown in FIG. 6.

第5図に示す直列/並列変換回路は半導体集積回路(I
C)化されている。次に回路動作を説明する。データW
oが直列入力される時はデータWoの先頭ビット(LS
B)がタイミング発生回路20より発生するタイミング
信号aplの立下りに同期して、D型フリップフロップ
Foに保持される。次にデータWOのビットデータDi
〜D15がD型フリップフロップ回路F1〜F15より
構成されるシフトレジストタ12に預次入力され、タイ
ミング信号cp2に同期して、次々と転送される。一方
り型フリップフロップFoに保持されたデータWoの先
頭ビットデータDoは、タイミング信号cp3の立下り
に同期してD型フリップ70ツブF16に転送される。
The serial/parallel conversion circuit shown in Fig. 5 is a semiconductor integrated circuit (I
C). Next, the circuit operation will be explained. Data W
When o is input in series, the first bit (LS
B) is held in the D-type flip-flop Fo in synchronization with the fall of the timing signal apl generated by the timing generation circuit 20. Next, bit data Di of data WO
.about.D15 are deposited into the shift register 12 composed of D-type flip-flop circuits F1 to F15, and are transferred one after another in synchronization with the timing signal cp2. On the other hand, the first bit data Do of the data Wo held in the flip-flop Fo is transferred to the D-type flip 70 block F16 in synchronization with the falling edge of the timing signal cp3.

このようにしてD型7リツプフロツプ回路Fo−F16
に16ビットのデータDo−D15が保持された後タイ
ミング信号cp4の立下りに同期して、保持されたデー
タがD/A変換器入力ラッチ回路16忙並列入力される
。入力ラッチ回路より出力されるデータDo−D15は
さらにデジタルコンパレータ17に入力され、このデジ
タルコンパレータの出力によりスイッチSWI OO〜
5W226が制御され重み付けされた電流工0〜126
Ioの和の電流がライン10を介してコンデンサーC1
に蓄えられる。この結果ラインj21には積分されたD
/A変換出力が表われ、サンプルホールド回路19を介
して、出力される。この後タイミング信号cp5により
npn)ランジスタQ1がオンし、コンデンサC1に蓄
えられた電荷が放電されD/A変換器がリセットされる
In this way, the D-type 7 lip-flop circuit Fo-F16
After the 16-bit data Do-D15 is held, the held data is input in parallel to the D/A converter input latch circuit 16 in synchronization with the fall of the timing signal cp4. The data Do-D15 output from the input latch circuit is further input to the digital comparator 17, and the output of this digital comparator causes the switch SWI OO~
5W226 controlled and weighted electrician 0-126
A current of the sum of Io flows through line 10 to capacitor C1
is stored in As a result, the integrated D
/A conversion output appears and is outputted via the sample and hold circuit 19. Thereafter, the npn transistor Q1 is turned on by the timing signal cp5, the charge stored in the capacitor C1 is discharged, and the D/A converter is reset.

この後データW2の先頭ビットデータDoがD型フリッ
プフロップFoに保持されるとともに、D型りリップ7
0ツブF1〜F16に蓄えられた、データW1の各ビッ
トデータが入力ラッチ回路16に並列入力され、以下同
様な動作がくり返される。
After that, the first bit data Do of the data W2 is held in the D-type flip-flop Fo, and the D-type flip-flop 7
Each bit data of the data W1 stored in the zero tubes F1 to F16 is input in parallel to the input latch circuit 16, and the same operation is repeated thereafter.

本発明によればデータWo、Wl、W2の入力間隔Ti
を短縮できる。またフリップフロップ回路も17個です
み、素子数が低減でき、IC化した際のチップ面積も縮
少できる。
According to the present invention, the input interval Ti of data Wo, Wl, W2
can be shortened. In addition, only 17 flip-flop circuits are required, reducing the number of elements and reducing the chip area when integrated into an IC.

〔効 果〕〔effect〕

111 一部のビットデータだけを入力して保持するバ
ッファレジスタを設けるとともに、その一部のビットデ
ータが入力されているときに、他のビットデータが入力
されたレジスタの内容を上記バッファレジスタに退避さ
せられた内容とともに並列に転送させることにより、連
続して送られてくる直列データをハードウェア的に変換
する直列/並列変換回路の回路構成をさらに簡潔化でき
る、という効果が得られる。
111 A buffer register is provided to input and hold only a part of bit data, and when that part of bit data is being input, the contents of the register to which other bit data has been input are saved to the buffer register. By transferring the serial data in parallel along with the transmitted data, it is possible to further simplify the circuit configuration of the serial/parallel conversion circuit that converts serial data that is continuously sent using hardware.

以上本発明者によってなされた発明を実施例にもとづき
具体的に説明したが、この発明は上記実施例に限定され
るものではなく、その要旨を逸脱しない範囲で種々変更
可能であることはいうまでもない。例えば、上記レジス
タ12cおよび上記バッファレジスタ12dをそれぞれ
2ビット以上の直列入力データを保持するように構成し
てもよいO 〔利用分野〕 以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野であるD/A変換器ととも
に使用される直列/並列変換技術に適用した場合につい
て説明したが、それに限定されるものではな(、例えば
、マイクロ・コンピュータ・システムにおける入出力イ
ンターフェイス技術などにも適用できる。少なくとも連
続して送られてくる直列データを並列データに変換する
条件のものには適用できる。
Although the invention made by the present inventor has been specifically explained above based on examples, it goes without saying that this invention is not limited to the above-mentioned examples, and can be modified in various ways without departing from the gist thereof. Nor. For example, the register 12c and the buffer register 12d may each be configured to hold serial input data of 2 bits or more. Although the application has been explained to the serial/parallel conversion technology used with D/A converters, which is a field of application that has become a new field of application, it is not limited to this (for example, input/output interface technology in microcomputer systems) It can be applied to at least conditions where serial data that is sent continuously is converted to parallel data.

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

第1図はこの発明に先立って検討された直列/並列変換
回路を示す図、 第2図は第1図に示した直列/並列変換回路の動作を示
すタイミングチャート、 第3図はこの発明による直列/並列変換回路の一実施例
を示す図、 第4図は第3図に示した直列/並列変換回路の動作を示
すタイミングチャートである。 第5図は本発明の直列/並列変換回路の第2の実施例を
示す回路図であり、 第6図は第5図に示す直列/並列変換回路の動作を示す
タイミングチャートである。 10・・・直列/並列変換回路、12,12a。 12b・・・シフトレジスタ、12C・・・レジスタ、
12d・・・バク7アレジスタ、14・・・データ切換
回路、16・・・ラッチ回路、17・・・デジタルコン
パレータ、18・・・クロック切換回路、19・・・カ
ウンタ、20・・・タイミング発生回路、22・・・水
晶発振器、Din・・・直列データ入力、Dout  
・・・並列データ出力、CK・・・クロック、DO〜D
15・・・データ、CI、C2・・・コンデンサ、Ql
・・・npn )ランジーて     ゝ 4≧         ( )     ン ・      〜       さ        S
−り零    4  ((;も Q   (リ   (9ビ く) 手続補正書(方式) 昭和 6%12..1B□
Fig. 1 is a diagram showing a serial/parallel conversion circuit studied prior to this invention, Fig. 2 is a timing chart showing the operation of the serial/parallel conversion circuit shown in Fig. 1, and Fig. 3 is based on this invention. FIG. 4 is a timing chart showing the operation of the serial/parallel converter shown in FIG. 3. FIG. FIG. 5 is a circuit diagram showing a second embodiment of the serial/parallel conversion circuit of the present invention, and FIG. 6 is a timing chart showing the operation of the serial/parallel conversion circuit shown in FIG. 10...Serial/parallel conversion circuit, 12, 12a. 12b...shift register, 12C...register,
12d... Back 7 register, 14... Data switching circuit, 16... Latch circuit, 17... Digital comparator, 18... Clock switching circuit, 19... Counter, 20... Timing generation Circuit, 22...Crystal oscillator, Din...Series data input, Dout
...Parallel data output, CK...Clock, DO~D
15...Data, CI, C2...Capacitor, Ql
・・・npn) Ranjite ゝ4≧ ( ) N・〜Sa
-ri zero 4 ((;moQ (ri (9 biku) procedural amendment (method) Showa 6%12..1B□

Claims (1)

【特許請求の範囲】 1、直列データを並列データに変換して出力する直列/
並列変換回路であって、各ワードごとの直列データ入力
を下位桁データと上位桁データとに振分けて2つのレジ
スタにそれぞれ入力させるようになすとともに、その一
方のレジスタの内容を一時的に退避させるためのバッフ
ァレジスタを設け、この一方のレジスタにデータが入力
されているときに、他方のレジスタの内容と上記バッフ
ァレジスタの内容をそれぞれ並列にラッチして出力する
ようにしたことを特徴とする直列/並列変換回路。 2、上記一方のレジスタおよび上記バッファレジスタが
それぞれ先頭1ビットのデータを保持する回路であるこ
とを特徴とする特許請求の範囲第1項記載の直列/並列
変換回路。
[Claims] 1. Serial data converter that converts serial data into parallel data and outputs it.
A parallel conversion circuit that divides serial data input for each word into lower digit data and upper digit data and inputs them into two registers, respectively, and temporarily saves the contents of one of the registers. A serial system characterized in that a buffer register is provided for this purpose, and when data is input to one of the registers, the contents of the other register and the contents of the buffer register are respectively latched and output in parallel. /Parallel conversion circuit. 2. The serial/parallel conversion circuit according to claim 1, wherein the one register and the buffer register are circuits that each hold a first bit of data.
JP7845484A 1984-04-20 1984-04-20 Serial/parallel converting circuit Pending JPS61179621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7845484A JPS61179621A (en) 1984-04-20 1984-04-20 Serial/parallel converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7845484A JPS61179621A (en) 1984-04-20 1984-04-20 Serial/parallel converting circuit

Publications (1)

Publication Number Publication Date
JPS61179621A true JPS61179621A (en) 1986-08-12

Family

ID=13662481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7845484A Pending JPS61179621A (en) 1984-04-20 1984-04-20 Serial/parallel converting circuit

Country Status (1)

Country Link
JP (1) JPS61179621A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63183510U (en) * 1987-05-19 1988-11-25
JPH03117947U (en) * 1990-03-17 1991-12-05

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63183510U (en) * 1987-05-19 1988-11-25
JPH03117947U (en) * 1990-03-17 1991-12-05

Similar Documents

Publication Publication Date Title
CA1310711C (en) Two-stage synchronizer
JPS61179621A (en) Serial/parallel converting circuit
JPS63108566A (en) Digital muting circuit
JPH05250316A (en) Inter-device interface system
JP2565144B2 (en) Serial-parallel converter
SU1444962A1 (en) Series-parallel code to parallel code converter
JPH02270420A (en) Input synchronizing circuit for n-multiple oversampling type pcm/pwm converter
JPH01128152A (en) Serial i/o circuit
JPS63313919A (en) Parallel/serial converting device
JPH039661B2 (en)
JPS62110323A (en) Frequency-digital conversion circuit
JPS6235709A (en) Digital circuit
JPH05315971A (en) Serial/parallel conversion circuit
JPH0438017A (en) Serial/parallel conversion circuit
SU741261A1 (en) Ternary 1,0,1 code-to-binary code converter
JPH08265168A (en) Serial-parallel conversion circuit
JPH05252039A (en) Multi-channel d/a converter of 3-line serial data transfer system
JPH03187544A (en) Synchronizing processing lsi interface system
JPS60129871A (en) Serial data transfer circuit
JPH0437211A (en) Digital arithmetic circuit
JPS61267829A (en) Bit division type synchronous accumulator
JPH0391323A (en) Demodulation circuit for split phase signal
JPS63184133A (en) Comparator
JPS5851616A (en) Serial-parallel converting system
JPH02265326A (en) Successive comparison type a/d converter