JPH04200119A - Parallel-serial parallelization device - Google Patents

Parallel-serial parallelization device

Info

Publication number
JPH04200119A
JPH04200119A JP2334730A JP33473090A JPH04200119A JP H04200119 A JPH04200119 A JP H04200119A JP 2334730 A JP2334730 A JP 2334730A JP 33473090 A JP33473090 A JP 33473090A JP H04200119 A JPH04200119 A JP H04200119A
Authority
JP
Japan
Prior art keywords
parallel
data
sequencer
serial
bits
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
JP2334730A
Other languages
Japanese (ja)
Inventor
Junichi Komeno
潤一 米野
Toshikazu Kamikado
俊和 神門
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2334730A priority Critical patent/JPH04200119A/en
Publication of JPH04200119A publication Critical patent/JPH04200119A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To attain parallel - serial conversion independently of a bit number of a data bus by comparing a setting value calculated by a sequencer with a coefficient of a count means, discriminating the end of parallel - serial conversion and informing the result of discrimination to the sequencer. CONSTITUTION:A comparator 4 compares a setting value set by a sequencer 1 with a count of a counter 5 and when they are coincident, it is discriminated that the parallel - serial conversion of a data in a prescribed bit number is finished as one block and a coincidence signal CD is outputted. The counter 5 counts a bit number of the said data as one block. An AND circuit 6 gives an AND between a shift register selection signal SR from the sequencer 1 and the said coincidence signal CD to shift registers 3a, 3b. A synchronization circuit 7 outputs a conversion end signal TF based on the coincidence signal CD and informs it to the sequencer 1 that the parallel - serial conversion of the data in processing bit number is finished as one block.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はサーボパターン書き込み装置等に用いる並列−
直列変換装置に関するものである。
[Detailed Description of the Invention] Industrial Field of Application The present invention is applicable to parallel
This invention relates to a serial conversion device.

従来の技術 近年、並列−直列変換装置は高速変換が可能で、簡素な
構成のものが主流となってきている。
BACKGROUND OF THE INVENTION In recent years, parallel-to-serial converters that are capable of high-speed conversion and have simple configurations have become mainstream.

従来、この種の並列−直列変換装置は特公昭54−56
38号公報に開示されたような構成が一般的であった。
Conventionally, this type of parallel-to-serial converter was developed in
The configuration disclosed in Publication No. 38 was common.

すなわち第4図のように、n個の入力器31a〜31n
と1個の並列−直列変換器32とにより構成されており
、並列−直列変換器32は、mビットの並列データを直
列データに変換して出力する機能を有すると共に、並列
−直列変換終了時点に変換終了信号aを入力器312〜
31nに出力する機能と、第1ワード(同期ワード)送
出時に選択信号すを入力器31aに出力する機能とを有
している。入力器31aは、並列−直列変換器32から
の選択信号すが入力されると、変換終了信号aのタイミ
ングと同期して、mビットの並列データCをmビットの
データバス33a〜33mに出力する。入力器31bは
、入力器31aからの選択信号dが入力されると、変換
終了信号aのタイミングと同期して、mビットの並列デ
ータeをmビットのデータバス33a〜33mに出力す
る。最終段の入力器31nも同様に、選択信号が入力さ
れると、変換終了信号aのタイミングと同期して、mビ
ットの並列データfをmビットのデータエリア33a〜
33mに出力する。
That is, as shown in FIG. 4, n input devices 31a to 31n
and one parallel-to-serial converter 32, and the parallel-to-serial converter 32 has a function of converting m-bit parallel data to serial data and outputting the same, and also has the function of converting m-bit parallel data to serial data and outputting it, and also The conversion end signal a is input to the input device 312~
31n, and a function of outputting a selection signal to the input device 31a when transmitting the first word (synchronization word). When the input device 31a receives the selection signal S from the parallel-serial converter 32, it outputs m-bit parallel data C to the m-bit data buses 33a to 33m in synchronization with the timing of the conversion end signal a. do. When the input device 31b receives the selection signal d from the input device 31a, it outputs m-bit parallel data e to the m-bit data buses 33a to 33m in synchronization with the timing of the conversion end signal a. Similarly, when the input device 31n at the final stage receives the selection signal, the m-bit parallel data f is transferred to the m-bit data areas 33a to 33a in synchronization with the timing of the conversion end signal a.
Output to 33m.

このようにして、入力器31a〜31nの選択動作が最
終段の入力器31nに達し、この最終段の入力器31n
の次入力器選択信号gは並列−直列変換器32に出力さ
れる。
In this way, the selection operation of the input devices 31a to 31n reaches the final stage input device 31n, and this final stage input device 31n
The next input device selection signal g is output to the parallel-to-serial converter 32.

並列−直列変換器32は、この最終段の入力器31nの
並列データfの並列−直列変換を終了すると、変換終了
信号aに同期してタイミング選択信号りを読み込んで初
期状態となり、以下同様の動作を繰り返して継続する。
When the parallel-to-serial converter 32 completes the parallel-to-serial conversion of the parallel data f from the input device 31n at the final stage, it reads the timing selection signal in synchronization with the conversion end signal a and enters the initial state. Continue repeating the action.

発明が解決しようとする課題 しかしながら、このような従来の並列−直列変換装置で
は、変換される並列データのビット数がデータバス33
a〜33mのビット数の整数倍になるように回路構成さ
れており、1ビツトあるいは2ビツト等、データバス3
33〜33mのビ・7ト数以下の転送ができず、また変
換する並列データのビット数を任意に変化させることが
できないという問題があった。
Problems to be Solved by the Invention However, in such a conventional parallel-to-serial converter, the number of bits of parallel data to be converted is limited to the data bus 33.
The circuit is configured so that the number of bits from a to 33m is an integer multiple, and the data bus 3, such as 1 bit or 2 bits, is
There were problems in that it was not possible to transfer a number of bits less than 33 to 33m bits, and it was not possible to arbitrarily change the number of bits of parallel data to be converted.

このようにデータバス33a〜33mのビット数以下の
転送や、変換する並列データのビット数を任意に変化さ
せることができないということは、例えば次のような場
合に問題となる。すなわちハードディスクドライブ装置
において、サーボ情報を記録する方式に、データ情報と
サーボ情報とを1枚のディスク上に混在させる埋め込み
サーボ方式がある。第5図に、ディスク面を埋め込みサ
ーボ方式でフォーマントした様子を示す。埋め込みサー
ボ方式でフォーマットする際、サーボ情報とデータ情報
とは、各々の情報量に相当するビット数を並列−直列変
換し、サーボ情報をディスク面上のサーボエリア41に
書き込み、データ情報をディスク面上のデータエリア4
2に書き込む。
The fact that it is not possible to transfer a number of bits less than the number of bits of the data buses 33a to 33m or to arbitrarily change the number of bits of parallel data to be converted in this way poses a problem in the following cases, for example. That is, in a hard disk drive device, as a method for recording servo information, there is an embedded servo method in which data information and servo information are mixed on one disk. FIG. 5 shows how the disk surface is formed using the embedded servo method. When formatting with the embedded servo method, servo information and data information are converted into parallel-to-serial bits corresponding to the amount of information, the servo information is written to the servo area 41 on the disk surface, and the data information is written to the disk surface. Upper data area 4
Write in 2.

いま、サーボ情報のピント数を100ビツトとすると、
8ビツトのデータバスでは、 100/8=12・・・余り4ビツト となる。つまりデータバスに12回データを転送すると
4ビツト余る。同様に16ビツトのデータバスでは、 100/16=6・・・余り4ビツト となる。
Now, if the focus number of servo information is 100 bits,
For an 8-bit data bus, 100/8=12...4 bits remain. In other words, if data is transferred to the data bus 12 times, 4 bits remain. Similarly, for a 16-bit data bus, 100/16=6...4 bits remain.

従来の並列−直列変換装置の構成では、この余りビット
を転送するための制御回路が備えられておらず、サーボ
情報量がデータバスのビット数の整数倍でなければ、転
送できないという問題点があった。
Conventional parallel-to-serial converter configurations do not have a control circuit to transfer these extra bits, and the problem is that transfer is not possible unless the amount of servo information is an integral multiple of the number of bits on the data bus. there were.

本発明はかかる事情に鑑みて成されたものであり、デー
タバスのビット数に制限されることなく並列−直列変換
を行うことのできる並列−直列変換装置を提供すること
を目的とする。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a parallel-to-serial conversion device that can perform parallel-to-serial conversion without being limited by the number of bits of a data bus.

課題を解決するための手段 本発明は、並列−直列変換を制御するシーケンサと、こ
のシーケンサから転送された並列データを記憶する記憶
手段と、この記憶手段に記憶された並列データを読み込
んで直列データに変換する並列−直列変換手段と、この
並列−直列変換手段で変換された直列データのビット数
を計数するカウント手段と、前記並列−直列手段で変換
するデータのビット数に対応付けて前記シーケンサによ
り演算された設定値と前記カウント手段の計数値とを比
較して規定のビット数のデータの並列−直列変換が終了
したことを判断する比較手段と、この比較手段の判断結
果を前記シーケンサに伝える同期手段とを備えたことを
特徴としている。
Means for Solving the Problems The present invention includes a sequencer that controls parallel-to-serial conversion, a storage unit that stores parallel data transferred from the sequencer, and a storage unit that reads the parallel data stored in the storage unit and converts it into serial data. a parallel-to-serial conversion means for converting the data into serial data; a counting means for counting the number of bits of the serial data converted by the parallel-to-serial conversion means; a comparison means for comparing the set value calculated by the above with the counted value of the counting means to determine that parallel-to-serial conversion of data of a prescribed number of bits has been completed; and a comparison means for transmitting the determination result of the comparison means to the sequencer It is characterized by having a synchronization means for transmitting the information.

作用 本発明にあっては、記憶手段が、シーケンサから転送さ
れた並列データを記憶する。そして並列−直列変換手段
が、記憶手段に記憶された並列データを読み込んで直列
データに変換する。そしてカウント手段が、並列−直列
変換手段で変換された直列データのビット数を計数する
。そして比較手段が、並列−直列手段で変換するデータ
のビット数に対応付けてシーケンサにより演算された設
定値とカウント手段の計数値とを比較して規定のビ・ノ
ド数のデータの並列−直列変換が終了したことを判断す
る。そして同期手段が、比較手段の判断結果をシーケン
サに伝える。よって、データバスのビット数の整数倍に
相当しないビット数のデータを並列−直列変換できるこ
ととなる。
Operation In the present invention, the storage means stores parallel data transferred from the sequencer. Then, the parallel-to-serial conversion means reads the parallel data stored in the storage means and converts it into serial data. Then, the counting means counts the number of bits of the serial data converted by the parallel-to-serial converting means. Then, the comparing means compares the set value calculated by the sequencer in correspondence with the number of bits of the data to be converted by the parallel-serial means with the count value of the counting means, and converts the data of the specified number of bits into parallel-serial data. Determine when conversion is complete. Then, the synchronization means transmits the determination result of the comparison means to the sequencer. Therefore, data whose number of bits does not correspond to an integral multiple of the number of bits of the data bus can be converted from parallel to serial.

実施例 以下、本発明の一実施例を第1図〜第3図に基づいて説
明する。
EXAMPLE Hereinafter, an example of the present invention will be described based on FIGS. 1 to 3.

第1図は本発明の一実施例における並列−直列変換装置
の回路ブロック図で、この並列−直列変換装置は、シー
ケンサ1と、記憶手段としての4個のレジスタ2a〜2
dと、並列−直列変換手段としての4個のシフトレジス
ター3a〜3dと、比較手段としてのコンパレータ4と
、カウント手段としてのカウンタ5と、論理積回路6と
、同期手段としての同期回路7と、論理和回路8とによ
り構成されている。シーケンサ1は、並列−直列変換を
制御するもので、レジスタ選択信号R3EL1、R3E
L2を出力してレジスタ2a、2b。
FIG. 1 is a circuit block diagram of a parallel-to-serial conversion device according to an embodiment of the present invention. This parallel-to-serial conversion device includes a sequencer 1 and four registers 2a to 2 as storage means.
d, four shift registers 3a to 3d as parallel-to-serial conversion means, a comparator 4 as comparison means, a counter 5 as counting means, an AND circuit 6, and a synchronization circuit 7 as synchronization means. , and an OR circuit 8. Sequencer 1 controls parallel-to-serial conversion, and receives register selection signals R3EL1 and R3E.
L2 is output to registers 2a and 2b.

2c、2dに並列データの転送を行い、またレジスタ選
択信号R3EL3を出力してコンパレータ4に1つのブ
ロックとして並列−直列変換するデータのビット数の設
定を行なう。シフトレジスタ3a、3b、3c、3dは
、互いに直列に接続されており、直列データはシフトレ
ジスタ3aから出力される。レジスタ2aにシフトレジ
スタ3aが、レジスタ2bにシフトレジスタ3bが、レ
ジスタ2Cにシフトレジスタ3Cが、レジスタ2dにシ
フトレジスタ3dが各々接続されており、レジスタ2a
、2b、2c、2dに記憶された並列データをシフトレ
ジスタ3a、3b、3c、3dが直列データに変換する
。コンパレータ4は、シーケンサ1により設定された設
定値とカウンタ5の計数値とを比較して、これらが一致
することにより、1つのブロックとしての所定ビット数
のデータの並列−直列変換が終了したと判断して一致信
号CDを出力する。カウンタ5は、1つのブロックとし
て並列−直列変換したデータのビット数を計数する。論
理積回路6は、シーケンサ1からのシフトレジスタ選択
信号SRとコンパレータ4からの一致信号CDとの論理
積をシフトレジスタ3a、3bに供給する。同期回路7
は、コンパレータ4からの一致信号CDに基づいて変換
終了信号TFを出力し、1つのブロックとしての所定ビ
ット数のデータの並列−直列変換が終了したことをシー
ケンサ1に知らせる。論理和回路8は、シーケンサ1か
らのレジスタ選択信号PSELI。
Parallel data is transferred to 2c and 2d, and a register selection signal R3EL3 is output to set the number of bits of data to be converted from parallel to serial as one block in the comparator 4. Shift registers 3a, 3b, 3c, and 3d are connected to each other in series, and serial data is output from shift register 3a. A shift register 3a is connected to the register 2a, a shift register 3b is connected to the register 2b, a shift register 3C is connected to the register 2C, and a shift register 3d is connected to the register 2d.
, 2b, 2c, and 2d are converted into serial data by shift registers 3a, 3b, 3c, and 3d. The comparator 4 compares the set value set by the sequencer 1 and the count value of the counter 5, and when they match, it is determined that the parallel-to-serial conversion of data of a predetermined number of bits as one block has been completed. It makes a judgment and outputs a coincidence signal CD. The counter 5 counts the number of bits of data converted from parallel to serial as one block. The AND circuit 6 supplies the AND of the shift register selection signal SR from the sequencer 1 and the match signal CD from the comparator 4 to the shift registers 3a and 3b. Synchronous circuit 7
outputs a conversion end signal TF based on the coincidence signal CD from the comparator 4, and notifies the sequencer 1 that parallel-to-serial conversion of data of a predetermined number of bits as one block has been completed. The OR circuit 8 receives the register selection signal PSELI from the sequencer 1.

2およびリセット信号R3の論理和をカウンタ5と同期
回路7とに供給する。
2 and the reset signal R3 is supplied to the counter 5 and the synchronization circuit 7.

次に動作を説明する。データバスのビット数を16ビツ
ト、レジスタ2a〜2d、シフトレジスタ3a〜3d、
コンパレータ4、およびカウンタ5のビット数を各々8
ビツトとする。シーケンサ1からレジスタ選択信号PS
ELIが出力されると、レジスタ2a、  2bにデー
タバスの値がラッチされ、シーケンサ1からレジスタ選
択信号R3EL2が出力されると、レジスタ2c、2d
にデータバスの値がラッチされる。シーケンサ1からレ
ジスタ選択信号R3EL3が出力されると、コンパレー
タ4にデータバスの値が設定値としてラッチされる。ま
た、コンパレータ4から出力される一致信号CDがハイ
レベルで、がつシーケンサ1から出力されるシフトレジ
スタ選択信号SRがハイレベルのときに、クロック信号
CKに同期して、シフトレジスタ3a、3b、3c、3
dにレジスタ2a、2b、2c、2dから並列データが
ロードされ、コンパレータ4から出力される一致信号C
Dがハイレベルで、かつシーケンサlから出力されるシ
フトレジスタ選択信号SRがローレベルのときに、クロ
ック信号CKに同期して、シフトレジスタ3c、3dに
レジスタ2c、2dから並列データがロードされる。
Next, the operation will be explained. The number of bits of the data bus is 16 bits, registers 2a to 2d, shift registers 3a to 3d,
The number of bits of comparator 4 and counter 5 is 8 each.
Bit. Register selection signal PS from sequencer 1
When ELI is output, the data bus values are latched in registers 2a and 2b, and when register selection signal R3EL2 is output from sequencer 1, registers 2c and 2d are latched.
The value of the data bus is latched. When the register selection signal R3EL3 is output from the sequencer 1, the value of the data bus is latched into the comparator 4 as a set value. Furthermore, when the match signal CD output from the comparator 4 is at a high level and the shift register selection signal SR output from the sequencer 1 is at a high level, the shift registers 3a, 3b, 3c, 3
d is loaded with parallel data from registers 2a, 2b, 2c, and 2d, and a match signal C is output from comparator 4.
When D is at high level and shift register selection signal SR output from sequencer l is at low level, parallel data is loaded from registers 2c and 2d into shift registers 3c and 3d in synchronization with clock signal CK. .

1つのブロックとしての所定ビット数のデータの変換が
終了すると、同期回路7は変換終了信号TFをハイレベ
ルにし、カウンタ5はリセントされる。
When the conversion of a predetermined number of bits of data as one block is completed, the synchronization circuit 7 sets the conversion end signal TF to a high level, and the counter 5 is reset.

また、シーケンサ1が、レジスタ2a、  2b、2c
、2dに並列データを設定するか、あるいはリセット信
号R3を出力すると、同期回路7は変換終了信号TFを
ローレベルにする。
In addition, the sequencer 1 registers 2a, 2b, 2c
, 2d, or outputs the reset signal R3, the synchronization circuit 7 sets the conversion end signal TF to a low level.

シフトレジスタ3a〜3dとカウンタ5と同期回路7と
には、共通の並列−直列変換用のクロ。
The shift registers 3a to 3d, the counter 5, and the synchronization circuit 7 have a common clock for parallel-to-serial conversion.

り信号CKが入力されており、並列−直列変換の変換速
度はこのクロック信号CKにより一意的に決定される。
A clock signal CK is input, and the conversion speed of parallel-to-serial conversion is uniquely determined by this clock signal CK.

ここで、通常の並列−直列変換動作について、第2図の
タイミングチャートを参照しながら詳細に説明する。先
ずシーケンサ1からレジスタ選択信号R3EL1.R3
EL2.R3EL3が出力される。このレジスタ選択信
号PSEL 1により、直列データに変換すべき16ビ
ツトの並列データDnO〜15がシーケンサ1からレジ
スタ2a。
Here, the normal parallel-to-serial conversion operation will be explained in detail with reference to the timing chart of FIG. First, the register selection signal R3EL1. R3
EL2. R3EL3 is output. By this register selection signal PSEL1, 16-bit parallel data DnO-15 to be converted into serial data is transferred from the sequencer 1 to the register 2a.

2bに供給されてラッチされ、レジスタ選択信号R3E
L 2により、16ビツトの並列データDn16〜31
がシーケンサ1からレジスタ2c、2dに供給されてラ
ッチされ、レジスタ選択信号R3EL 3により、16
進数でOf”の設定値がシーケンサ1からコンパレータ
4に供給されてランチされる。
2b and is latched, register selection signal R3E
By L2, 16-bit parallel data Dn16-31
is supplied from the sequencer 1 to the registers 2c and 2d and latched, and by the register selection signal R3EL3, 16
A set value of ``Of'' in base numbers is supplied from the sequencer 1 to the comparator 4 and launched.

そしてシーケンサ1がリセット信号R3を出力すると、
カウンタ5が初期値“oo”からクロック信号CKの計
数を開始し、同期回路7は変換終了信号TFをローレベ
ルにする。
Then, when sequencer 1 outputs reset signal R3,
The counter 5 starts counting the clock signal CK from the initial value "oo", and the synchronization circuit 7 sets the conversion end signal TF to a low level.

16番目のクロック信号CK15がカウンタ5に入力さ
れると、カウンタ5の計数値が“of”になり、コンパ
レータ4は一致信号CDを出力する。この一致信号CD
は、シーケンサエからのシフトレジスタ選択信号SRが
ハイレベルのときにシフトレジスタ3a〜3dに入力さ
れ、17番目のクロック信号CK16のタイミングでレ
ジスタ2a〜2dの32ビツトの並列データDnO〜3
Iがシフトレジスタ3a〜3dにロードされる。
When the 16th clock signal CK15 is input to the counter 5, the count value of the counter 5 becomes "off", and the comparator 4 outputs the coincidence signal CD. This coincidence signal CD
is input to the shift registers 3a to 3d when the shift register selection signal SR from the sequencer is at high level, and the 32-bit parallel data DnO to 3 of the registers 2a to 2d are inputted to the shift registers 3a to 3d at the timing of the 17th clock signal CK16.
I is loaded into shift registers 3a-3d.

また、一致信号CDは同期回路7に入力され、これによ
り同期回路7はクロック信号CKのタイミングで変換終
了信号TFをハイレベルにする。また、一致信号CDは
カウンタ5に入力され、これによりカウンタ5はクロッ
ク信号CKのタイミングで初期値″00″にリセットさ
れる。
Further, the coincidence signal CD is input to the synchronization circuit 7, and the synchronization circuit 7 thereby sets the conversion end signal TF to a high level at the timing of the clock signal CK. Further, the coincidence signal CD is input to the counter 5, whereby the counter 5 is reset to the initial value "00" at the timing of the clock signal CK.

変換終了信号TFがハイレベルになった後に所定のタイ
ミングで、シーケンサ1は、レジスタ2c、2dに16
ビソトの並列データDn32〜47を記憶させ、同期回
路7からの変換終了信号TFをローレベルにさせる。こ
の間にシフトレジスタ3a〜3dは、クロック信号CK
のタイミングで32ビツトのデータDnO〜31を順次
シフトさせて直列データに変換する。
At a predetermined timing after the conversion end signal TF becomes high level, the sequencer 1 writes 16 to the registers 2c and 2d.
Bisoto parallel data Dn32 to Dn47 are stored, and the conversion end signal TF from the synchronization circuit 7 is set to low level. During this time, the shift registers 3a to 3d receive the clock signal CK.
The 32-bit data DnO to DnO-31 are sequentially shifted and converted into serial data at the timing of .

再びカウンタ5の計数値が” Of”になると、16ビ
ツトの並列データDnO〜15の直列データへの変換が
終了し、1゛6ビツトの並列データDn16〜31はシ
フトレジスタ3a、3bにシフトしており、同期回路7
からの変換終了信号TFがハイレベルになる。また、シ
ーケンサ1からのシフトレジスタ選択信号SRはローレ
ベルであるので、コンパレータ4から一致信号CDが出
力されることにより、レジスタ2c、2dに記憶された
16ビ・7トの並列データDn32〜47がシフトレジ
スタ3c、3dにロードされる。
When the count value of the counter 5 becomes "Off" again, the conversion of the 16-bit parallel data DnO-15 to serial data is completed, and the 16-bit parallel data Dn16-31 is shifted to the shift registers 3a and 3b. synchronous circuit 7
The conversion end signal TF from 1 to 2 becomes high level. Furthermore, since the shift register selection signal SR from the sequencer 1 is at a low level, the match signal CD is output from the comparator 4, so that the 16-bit/7-bit parallel data Dn32 to 47 stored in the registers 2c and 2d is is loaded into shift registers 3c and 3d.

このように、データバスのピント数に比例した並列デー
タを直列データに変換するときは、上記動作が繰り返さ
れ、16ビツトのデータを1つのブロックとして連続的
に変換される。
In this manner, when converting parallel data proportional to the number of focuses on the data bus into serial data, the above operation is repeated, and 16-bit data is continuously converted as one block.

次にデータバスのビット数以下のビット数の並列データ
を並列−直列変換する動作について、第3図のタイミン
グチャートを参照しながら詳細に説明する。変換する並
列データのビット数が2ビ・ノドの場合、16ビツト+
2ビツトの並列データとして扱い、並列−直列変換を行
なう。
Next, the operation of parallel-to-serial conversion of parallel data whose number of bits is less than or equal to the number of bits of the data bus will be described in detail with reference to the timing chart of FIG. If the number of bits of parallel data to be converted is 2 bits, 16 bits +
It is treated as 2-bit parallel data and parallel-to-serial conversion is performed.

先ず同期回路7からの変換終了信号TFがハイレベルの
ときに、シーケンサ1は、シフトレジスタ選択信号SR
をハイレベルにし、コンパレータ4に設定値“11”を
供給してラッチさせる。その後所定のタイミングでシー
ケンサ1は、レジスタ2a、2bに16ビツトの並列デ
ータDnO〜15を供給してランチさせると共に、同期
回路7からの変換終了信号TFをローレベルにさせる。
First, when the conversion end signal TF from the synchronization circuit 7 is at high level, the sequencer 1 selects the shift register selection signal SR.
is set to a high level, and the set value "11" is supplied to the comparator 4 to latch it. Thereafter, at a predetermined timing, the sequencer 1 supplies 16-bit parallel data DnO-15 to the registers 2a and 2b to launch them, and also causes the conversion end signal TF from the synchronization circuit 7 to go low.

さらにその後シーケンサ1は、レジスタ2cに2ビツト
の並列データDn!6〜17を供給してランチさせる。
After that, the sequencer 1 stores 2-bit parallel data Dn! in the register 2c. 6 to 17 for lunch.

シフトレジスタ3a〜3dが32ビツトのデータの並列
−直列変換を終了すると、コンパレータ4が一致信号C
Dを出力し、18ビツトの並列デ−タDnO〜17がレ
ジスタ2a〜2Cからシフトレジスタ3a〜3Cにロー
ドされると共に、力、ウンタ5が初期値“00”にリセ
ツトされ、さらに同期回路7からの変換終了信号TFが
ハイレベルになる。
When the shift registers 3a to 3d complete parallel-to-serial conversion of 32-bit data, the comparator 4 outputs a match signal C.
D, 18-bit parallel data DnO~17 is loaded from the registers 2a~2C to the shift registers 3a~3C, the power counter 5 is reset to the initial value "00", and the synchronous circuit 7 The conversion end signal TF from 1 to 2 becomes high level.

この後、シーケンサ1が同期回路7からの変換終了信号
TFをローレベルにし、18ビツトの並列データの直列
変換が終了すると、同期回路7からの変換終了信号TF
がハイレベルに変化して、並列−直列変換の終了をシー
ケンサ1に知らせる。
After that, the sequencer 1 sets the conversion end signal TF from the synchronous circuit 7 to low level, and when the serial conversion of the 18-bit parallel data is completed, the conversion end signal TF from the synchronous circuit 7 is set to low level.
changes to high level to notify the sequencer 1 of the completion of parallel-to-serial conversion.

このように、シフトレジスタ3a〜3dが並列−直列変
換を行なっている間、シーケンサ1が、並列データの設
定と、変換するデータのビット数の設定と、同期回路7
の制御とを行うため、データバスのビット数の整数倍に
相当しないビ・、計数のデータでも並列−直列変換が可
能となり、しかも並列−直列変換動作を連続に行うこと
ができる。
In this way, while the shift registers 3a to 3d are performing parallel-to-serial conversion, the sequencer 1 sets the parallel data, the number of bits of data to be converted, and the synchronization circuit 7.
Therefore, parallel-to-serial conversion is possible even for bi-count data that does not correspond to an integral multiple of the number of bits of the data bus, and parallel-to-serial conversion operations can be performed continuously.

発明の詳細 な説明したように本発明によれば、並列−直列変換を制
御するシーケンサと、このシーケンサから転送された並
列データを記憶する記憶手段と、この記憶手段に記憶さ
れた並列データを読み込んで直列データに変換する並列
−直列変換手段と、この並列−直列変換手段で変換され
た直列データのビット数を計数するカウント手段と、前
記並列−直列手段で変換するデータのビット数に対応付
けて前記シーケンサにより演算された設定値と前記カウ
ント手段の計数値とを比較して規定のビット数のデータ
の並列−直列変換が終了したことを判断する比較手段と
、この比較手段の判断結果を前記シーケンサに伝える同
期手段とを備えたので、シフトレジスタが並列−直列変
換を行なっている間、シーケンサが、並列データの設定
と、変換するデータのビット数の設定と、同期回路の制
御とを行うことから、データバスのビット数の整数倍に
相当しないピント数のデータでも並列−直列変換が可能
となり、しかも並列−直列変換動作を連続に行うことが
できるという優れた効果を奏する。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, as described above, there is provided a sequencer for controlling parallel-to-serial conversion, a storage means for storing parallel data transferred from the sequencer, and a storage means for reading the parallel data stored in the storage means. a parallel-to-serial conversion means for converting the data into serial data; a counting means for counting the number of bits of the serial data converted by the parallel-to-serial conversion means; comparing means for comparing the set value calculated by the sequencer with the counted value of the counting means to determine that parallel-to-serial conversion of data of a prescribed number of bits has been completed; Since the sequencer is provided with synchronization means for transmitting information to the sequencer, while the shift register is performing parallel-to-serial conversion, the sequencer can set parallel data, set the number of bits of data to be converted, and control the synchronization circuit. As a result, it is possible to perform parallel-to-serial conversion even on data whose number of focuses does not correspond to an integral multiple of the number of bits of the data bus, and moreover, it has an excellent effect that the parallel-to-serial conversion operation can be performed continuously.

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

第1図は本発明の一実施例における並列−直列変換装置
の回路プロ・7り図、第2図および第3図は各々同並列
−直列変換装置の動作を説明するタイミングチャート、
第4図は従来の並列−直列変換装置の回路ブロック図、
第5図は埋め込みサーボ方式を採用したハードディスク
のフォーマント状態の説明図である。 1− シーケンサ、2 a 〜2 d−レジスタ(記t
a手段)、3a〜3d−シフトレジスタ(並列−直列変
換手段’) 、4−コンパレータ(比較手段)、5−カ
ウンタ(カウント手段)、7−同期回路(同期手段)。 代理人  弁理士  中 島 司 朗 第4図
FIG. 1 is a circuit diagram of a parallel-to-serial converter according to an embodiment of the present invention, and FIGS. 2 and 3 are timing charts illustrating the operation of the same parallel-to-serial converter, respectively.
Figure 4 is a circuit block diagram of a conventional parallel-to-serial converter.
FIG. 5 is an explanatory diagram of the formant state of a hard disk employing the embedded servo system. 1- Sequencer, 2 a to 2 d- registers (note t
a means), 3a to 3d-shift register (parallel-serial conversion means'), 4-comparator (comparison means), 5-counter (counting means), 7-synchronous circuit (synchronization means). Agent Patent Attorney Tsukasa Nakajima Figure 4

Claims (1)

【特許請求の範囲】[Claims] (1)並列−直列変換を制御するシーケンサと、このシ
ーケンサから転送された並列データを記憶する記憶手段
と、この記憶手段に記憶された並列データを読み込んで
直列データに変換する並列−直列変換手段と、この並列
−直列変換手段で変換された直列データのビット数を計
数するカウント手段と、前記並列−直列手段で変換する
データのビット数に対応付けて前記シーケンサにより演
算された設定値と前記カウント手段の計数値とを比較し
て規定のビット数のデータの並列−直列変換が終了した
ことを判断する比較手段と、この比較手段の判断結果を
前記シーケンサに伝える同期手段とを備えたことを特徴
とする並列−直列変換装置。
(1) A sequencer that controls parallel-serial conversion, a storage device that stores parallel data transferred from the sequencer, and a parallel-serial conversion device that reads the parallel data stored in the storage device and converts it into serial data. and counting means for counting the number of bits of the serial data converted by the parallel-to-serial conversion means; a set value calculated by the sequencer in correspondence with the number of bits of the data to be converted by the parallel-to-serial means; Comparing means for comparing the counted value of the counting means to determine that parallel-to-serial conversion of data of a prescribed number of bits has been completed, and synchronizing means for transmitting the determination result of the comparing means to the sequencer. A parallel-to-serial conversion device characterized by:
JP2334730A 1990-11-29 1990-11-29 Parallel-serial parallelization device Pending JPH04200119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2334730A JPH04200119A (en) 1990-11-29 1990-11-29 Parallel-serial parallelization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2334730A JPH04200119A (en) 1990-11-29 1990-11-29 Parallel-serial parallelization device

Publications (1)

Publication Number Publication Date
JPH04200119A true JPH04200119A (en) 1992-07-21

Family

ID=18280578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2334730A Pending JPH04200119A (en) 1990-11-29 1990-11-29 Parallel-serial parallelization device

Country Status (1)

Country Link
JP (1) JPH04200119A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7895387B1 (en) 2007-09-27 2011-02-22 Cypress Semiconductor Corporation Devices and methods for sharing common target device with two different hosts according to common communication protocol

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7895387B1 (en) 2007-09-27 2011-02-22 Cypress Semiconductor Corporation Devices and methods for sharing common target device with two different hosts according to common communication protocol

Similar Documents

Publication Publication Date Title
US6542452B1 (en) Method and system for computing digital sum variation of a stream of channel-bit symbols
US6898722B2 (en) Parallel data transfer method and system of DDR divided data with associated transfer clock signal over three signal lines
US4789852A (en) Method and apparatus for converting data in a binary format
JPH04200119A (en) Parallel-serial parallelization device
US5642113A (en) Methods and devices for converting a sequence of m-bit information words to a modulated signal and including that signal on a record carrier, devices for decoding that signal and reading it from a record carrier, and that signal
US4584619A (en) Programmable servo pattern generator
JPH04200118A (en) Parallel-serial converter
US6853612B2 (en) Digital modulation apparatus used with DVD-RAM and DVD-R/RW for increasing margin of operation of external device and method thereof
JPS63304314A (en) Integrated circuit device
JP2731881B2 (en) Mark ratio setting circuit
SU1495788A1 (en) Random number generator
JPH0215086B2 (en)
JPH0313876A (en) Mode setting circuit
JP2740077B2 (en) Bus arbitration control circuit
JPS6394719A (en) Sequential coding system
JPS618778A (en) Digital encoding device
JPS6020774B2 (en) Serial parallel converter
GB2023895A (en) Error detection circuit
JPH0635442A (en) Data converting device
JPS6318822A (en) Efm modulator
JPS62145932A (en) B8zs coding circuit
JPS5818000B2 (en) data conversion system
JPS59851B2 (en) How to check your home
JP2000358076A (en) Continuous matching sampling circuit and storage medium stored with program
KR19980045147A (en) Sub code format converter