JPH01130650A - Data transfer speed converter - Google Patents

Data transfer speed converter

Info

Publication number
JPH01130650A
JPH01130650A JP29034687A JP29034687A JPH01130650A JP H01130650 A JPH01130650 A JP H01130650A JP 29034687 A JP29034687 A JP 29034687A JP 29034687 A JP29034687 A JP 29034687A JP H01130650 A JPH01130650 A JP H01130650A
Authority
JP
Japan
Prior art keywords
parallel
data
serial
signal
cpu
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.)
Granted
Application number
JP29034687A
Other languages
Japanese (ja)
Other versions
JP2567428B2 (en
Inventor
Katsuhiro Okuzawa
奥沢 勝広
Hiroshi Kouchi
古内 博
Kunio Sato
国雄 佐藤
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
Hitachi Nuclear Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Nuclear Engineering 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 Hitachi Ltd, Hitachi Nuclear Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP62290346A priority Critical patent/JP2567428B2/en
Publication of JPH01130650A publication Critical patent/JPH01130650A/en
Application granted granted Critical
Publication of JP2567428B2 publication Critical patent/JP2567428B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To obtain a rational transmission speed of a signal corresponding to an external device with a small-capacity buffer memory by providing a transmission speed converter varying the number of parallel signals between a buffer memory and a parallel/serial converter. CONSTITUTION:Data sent at a data transmission speed 106 by a program from a CPU 301 is stored in a buffer memory 103. After data outputted based on a read address outputted from a conversion control circuit 102 synchronously with an external clock 110 is latched by a latch 103, the result is sent to a parallel signal output circuit 104. After it is confirmed that data sent to the parallel signal output circuit 104 reaches a value NB or over set by an NB setting signal 113 from the CPU 301, an output of the parallel signal output circuit 104 is set. Thus, the data transfer with an external device is attained by the program control at the CPU side and the data is transferred by less buffer memory capacity.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は伝送速度の異なる直列信号処理装置と並列信号
処理装置間のデータ転送に係り、高能率でしかも信頼性
の高いデータ転送を行うための速度変換装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to data transfer between a serial signal processing device and a parallel signal processing device having different transmission speeds, and is directed to highly efficient and reliable data transfer. The present invention relates to a speed conversion device.

〔従来の技術〕[Conventional technology]

従来の複合プリンタシステムでは、特開昭60−540
42号公報に記載のように、イメージスキャナ(以下I
S)で読み取った画像データや光プリンタに印刷するビ
デオデータなどの直列信号は、信号の転送が開始される
と途中で止めることはできない。またこのような直列信
号に対し、データを処理する中央処理装置(以下CPU
)は8ビツト、または16ビツト単位でデータを扱うた
め、データの直列・並列変換が必要である。その中でも
並列/直列変換(以下P/S)に関しては。
In the conventional multifunction printer system,
As described in Publication No. 42, an image scanner (hereinafter referred to as I
Serial signals such as image data read in S) or video data printed on an optical printer cannot be stopped midway once signal transfer is started. In addition, a central processing unit (hereinafter referred to as CPU) is used to process data for such serial signals.
) handles data in 8-bit or 16-bit units, so serial/parallel conversion of data is required. Among them, regarding parallel/serial conversion (hereinafter referred to as P/S).

Dp:CPUが送る1ワード当りの並列信号の転送速度
(ワード7秒) NB:並列ビット数(ビット/ワード)Ds:外部へ送
る直列信号の転送速度(ビット/秒) Tps:P/Sに要する時間(秒/ワード)とするとC
PUから外部へ直接、何も介さずにデータを送る場合は
、 NB   TPS が成り立つ必要がある。しかし複合プリンタシステムで
は両者の伝送速度が大きく異なるため(1)式は成立し
ない。そのため、従来は第2図に示すようにCPUと外
部機器との間にバッファメモリ(以下BM)101を設
け、そこに−時的にデータを蓄積することにより、両者
の伝送速度の違いを解消する方法をとっている。このB
Mには先入れ先出しく以下FIF○)メモリや交代バッ
ファメモリを利用している。
Dp: Transfer rate of parallel signals per word sent by the CPU (7 seconds per word) NB: Number of parallel bits (bits/word) Ds: Transfer rate of serial signals sent to the outside (bits/second) Tps: To P/S The time required (seconds/word) is C
When data is sent directly from the PU to the outside without any intervention, NB TPS must hold true. However, in a multifunction printer system, the transmission speeds of the two systems are significantly different, so equation (1) does not hold true. Therefore, conventionally, as shown in Figure 2, a buffer memory (hereinafter referred to as BM) 101 is provided between the CPU and the external device, and data is stored there temporally, thereby eliminating the difference in transmission speed between the two. I am taking a method to do so. This B
For M, a first-in, first-out (hereinafter referred to as FIF○) memory or alternate buffer memory is used.

このBMを用いた場合、 Dw:BMに書き込む速度(クー1フ秒)DR:BMか
ら読み出す速度(クー1フ秒)とすると−船釣に NB  Tps が成り立つ必要がある。Dw=DRの場合は、BMが不
要であるが上述したように、複合プリンタシステムでは
一般的に成立しない。しかし、Dw>DRのとき外部、
介連続した直列信号を送ることが可能になる。このとき
、BMのメモリ容量M(ワード)は、DwとDRの最小
公倍数とプログラムによるデータ編集時間T p (秒
)を考慮して決定する。
When this BM is used, Dw: Speed of writing to BM (1f seconds) DR: Speed of reading from BM (1f seconds) - NB Tps must hold true for boat fishing. When Dw=DR, BM is not required, but as described above, this is generally not true in multifunction printer systems. However, when Dw>DR, the external
It becomes possible to send continuous serial signals. At this time, the memory capacity M (words) of the BM is determined in consideration of the least common multiple of Dw and DR and the data editing time T p (seconds) by the program.

即ち。That is.

M= a−Dw= b−DR−(3) (aとbは互いに素で、単位は時間に相当する。)およ
び ILDw からMを求める。
M=a-Dw=b-DR-(3) (a and b are relatively prime, and the unit corresponds to time) and ILDw to find M.

このような、BMへのデータ入力は、プログラムによる
データ転送か、または、ダイレクトメモリアクセス(以
下DMA)制御で行われる。
Such data input to the BM is performed by data transfer by a program or by direct memory access (hereinafter referred to as DMA) control.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ソフトウェア制御によるデータ転送は、CPUのマシン
サイクルで決まるため、Dwには制限がある。したがっ
て、外部へ高速にしかも連続的に直列信号を送る場合、
BMとしては仕事単位のメモリ容量すなわち、所定の仕
事を行うための最小メモリ容量が必要になお。これは1
式(3)において、DRを大きくすると、DwとDRの
最小公倍数から求めたMの値も大きくなることに対応し
ている。メモリ容量が大きくなることは、システムの小
型化要求に対応できない。また、DMA転送を用いた場
合、Dwはハード的に決まるため自由に制御できないと
いう問題がある。
Since data transfer under software control is determined by the CPU machine cycle, there is a limit to Dw. Therefore, when sending serial signals to the outside at high speed and continuously,
The BM requires a memory capacity per job, that is, a minimum memory capacity to perform a given job. This is 1
In equation (3), increasing DR corresponds to increasing the value of M calculated from the least common multiple of Dw and DR. An increase in memory capacity cannot meet the demand for system miniaturization. Furthermore, when DMA transfer is used, there is a problem that Dw cannot be freely controlled because it is determined by hardware.

本発明の目的は、複合プリンタシステムにおいて、CP
U側はプログラムによるデータ転送速度であっても、外
部に対しては合理的で高信頼性の直列信号転送が可能で
、しかも容量が小さくて済むデータ転送速度変換装置を
用いたバッファメモリ(BM)を提供することにある。
An object of the present invention is to provide a CP printer in a multifunction printer system.
On the U side, even if the data transfer rate is determined by the program, a buffer memory (BM) is used that uses a data transfer rate conversion device that enables rational and highly reliable serial signal transfer to the outside and requires a small capacity. ).

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点は、複合プリンタシステムのインターフェー
スにしてバッファメモリと並列・直列変換器からなるデ
ータ転送速度変換装置において、前記バッファメモリと
前記並列・直列変換器の間に並列信号の数を変えて信号
の伝送速度を変える伝送速度変換器を設けることによっ
て解決される。
The above problem can be solved by changing the number of parallel signals between the buffer memory and the parallel/serial converter in a data transfer rate converter that is used as an interface for a multifunction printer system and consists of a buffer memory and a parallel/serial converter. This is solved by providing a transmission speed converter that changes the transmission speed of the transmission speed.

〔作用〕[Effect]

複合プリンタシステムのバッファメモリと並列・直列変
換器の間に並列信号の数を変える伝送速度変換器を設け
、前記並列・直列変換器への信号の伝送速度を変える。
A transmission speed converter for changing the number of parallel signals is provided between the buffer memory and the parallel/serial converter of the composite printer system, and the transmission speed of the signal to the parallel/serial converter is changed.

〔実施例〕〔Example〕

以下1本発明による実施例を第1図、第3図〜第8図を
用いて説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 3 to 8.

実施例1 第1図はデータ転送速度変換の1実施例である。Example 1 FIG. 1 shows one embodiment of data rate conversion.

CPU301からプログラムによるデータ転送速度(D
w)106で送られてくるデータは一時、FIF○のバ
ッファメモリ(BM)101に格納される。その後、外
部クロック110に同期して、変換制御回路102から
出力される読み出しアドレスに基づいて出力されたデー
タは一時、ラッチ103にラッチされた後、 NB  TPS を満足するようにあらかじめ決められた並列ビツト数(
N B)以上になる濠でバイト単位で並列信号出力回路
104に送られる。このNBの値はあらかじめCPU3
01からNB設定信号113により変換制御回路102
に設定されている。
The data transfer rate (D
w) The data sent in 106 is temporarily stored in the buffer memory (BM) 101 of FIF○. Thereafter, in synchronization with the external clock 110, the data output based on the read address output from the conversion control circuit 102 is temporarily latched in the latch 103, and then parallelized in a predetermined manner to satisfy NB TPS. Number of bits (
N B) or more, the signals are sent to the parallel signal output circuit 104 in byte units. The value of this NB is set in advance by CPU3.
01 to the conversion control circuit 102 by the NB setting signal 113.
is set to .

変換制御回路102は並列信号出力回路104に送られ
たデータがN8以上になったことを確認した後並列信号
出力回路104の出力を蒔109に設定する。そして、
並列信号出力回路104は癩109の信号を並列・直列
変換器(P/5)105に送る。その後並列信号出力回
路104はNa1.09  を超えた残りの信号を上位
ビットにシフトする。また、怒109を超えた残りの信
号の数は変換制御回路102に送られ、ビット数制御の
初期値となる。
After confirming that the data sent to the parallel signal output circuit 104 is equal to or greater than N8, the conversion control circuit 102 sets the output of the parallel signal output circuit 104 to the pin 109. and,
The parallel signal output circuit 104 sends the signal of the leprosy 109 to the parallel/serial converter (P/5) 105. Thereafter, the parallel signal output circuit 104 shifts the remaining signals exceeding Na1.09 to the upper bits. Further, the remaining number of signals exceeding 109 is sent to the conversion control circuit 102 and becomes the initial value for bit number control.

一方、P/S 105は並列信号を直列信号に変換し、
伝送速度(Ds) 111で外部に送信する。
On the other hand, P/S 105 converts parallel signals to serial signals,
It is transmitted externally at a transmission rate (Ds) of 111.

このようにBMIOIとP/5105を直列信号番こ”
変換するときの転送速度変換効率を制御することができ
る。
In this way, connect BMIOI and P/5105 to the serial signal number.
Transfer rate conversion efficiency when converting can be controlled.

次に、第1図を用いてデータ転送速度変換の条件につい
て記述、する。
Next, conditions for data transfer rate conversion will be described using FIG.

並列ビット数変換器112における並列データの転送速
度を(DL)108(ワード7秒)、また、BMIOI
から読み出されるデータの転送速度をα5i)107(
ワード7秒)とすると、DIl、 DR。
The transfer speed of parallel data in the parallel bit number converter 112 is (DL) 108 (word 7 seconds), and BMIOI
α5i) 107(
word 7 seconds) then DIl, DR.

Dしの間には。Between D.

の式が成り立つ。また、従来と比べると、本方式ではN
 B ) N nとなるように並列に送る信号の数を禽
(ビット/ワード)を増加したことにより、式(2)か
らDR>DRとなるから、DwとD1の最小公倍数から
求めたメモリ容量′gL(ワード)はM>富     
          ・・・(7)となる。
The formula holds true. Also, compared to the conventional method, this method has N
B) By increasing the number of signals sent in parallel (bits/word) so that N 'gL (word) is M>wealth
...(7).

このように、式(6)における並列ビット数りが並列信
号や直列信号のデータ転送速度を制御している。その結
果、式(7)に示すように、BMlolのメモリ容量が
少なくて済むようになる。
In this way, the number of parallel bits in equation (6) controls the data transfer rate of parallel signals and serial signals. As a result, as shown in equation (7), the memory capacity of BMlol can be reduced.

これはまた、複合プリンタシステムの小型化にっながる
This also leads to miniaturization of the multifunction printer system.

以上の関係はCPU側から外部へデータ転送する場合で
あるが、外部からCPU側へデータ転送する場合にも成
り立つ。また単位で示したワードは仕事単位で決まる並
列で送る時の信号の数(ビット数)を意味している。
The above relationship applies when data is transferred from the CPU side to the outside, but it also holds true when data is transferred from the outside to the CPU side. Also, the word shown in units means the number of signals (number of bits) when sent in parallel, which is determined by the work unit.

実施例2 第3図は光プリンタ309とCPU301の間に、第1
図に示す構成からなる速度変換バッファ308を設け、
システム側にある情報をプリンタ側に転送する例である
Embodiment 2 FIG. 3 shows a first
A speed conversion buffer 308 having the configuration shown in the figure is provided,
This is an example of transferring information on the system side to the printer side.

CPU301は光プリンタ309ヘプリント要求信号を
出し、印刷準備可ならば光プリンタ309は、CPU3
01に印刷可信号を返送する。 CPu301はこの信
号を受信した後、データバス303を通して速度変換バ
ッファ308へデータを送り始める。
The CPU 301 issues a print request signal to the optical printer 309, and if printing is ready, the optical printer 309 sends a print request signal to the optical printer 309.
A print ready signal is sent back to 01. After receiving this signal, CPU 301 starts sending data to speed conversion buffer 308 through data bus 303.

速度変換バッファ308への並列データの書き込みは、
デコード信号304が有効になるとCPu301のシス
テムクロック305と同期して行なわれる。一方1.読
み出しは書き込みタイミング307とは無関係に光プリ
ンタ309のクロックと同期して実行される。
Writing parallel data to the speed conversion buffer 308 is as follows:
When the decode signal 304 becomes valid, it is performed in synchronization with the system clock 305 of the CPU 301. On the other hand 1. Reading is executed in synchronization with the clock of the optical printer 309, regardless of the write timing 307.

以上のタイミングを第4図に示す。垂直同期、信号31
が有効になった時点で、リセット信号32により、FI
FOメモリの書き込み、読み出しポインタを初期化する
。書き込みは水平同期信号35をもとに作成した書き込
みイネーブル信号34に基づき、1ブロック分のデータ
Byを並列のビデオデータ33のように書き込む。一方
、読み出しは信号35と光プリンタ309のクロック信
号36に同期して行ない、並列/直列変換の後、直列の
ビデオデータ37として出力する。
The above timing is shown in FIG. Vertical sync, signal 31
When FI becomes valid, reset signal 32 causes FI
Initialize the FO memory write and read pointers. Writing is performed by writing one block of data By like parallel video data 33 based on a write enable signal 34 created based on a horizontal synchronization signal 35. On the other hand, reading is performed in synchronization with the signal 35 and the clock signal 36 of the optical printer 309, and after parallel/serial conversion, the data is output as serial video data 37.

このように、CPU301から光プリンタ309へのデ
ータ転送は信号31と信号35を基準信号としているが
、書・き込み、読み出しのタイミングは独立した転送速
度で行っている。
In this way, the data transfer from the CPU 301 to the optical printer 309 uses the signals 31 and 35 as reference signals, but the writing/writing and reading timings are performed at independent transfer speeds.

実施例3 第5図にイメージスキャナ(Is)501とCPU30
1との間のデーテ転送に適用した例を示す。
Embodiment 3 FIG. 5 shows an image scanner (Is) 501 and a CPU 30.
An example applied to data transfer between 1 and 1 is shown below.

基本動作は第3図とほぼ同じで、CPU301からl5
501へ送信要求信号を出し、それに対しl5501は
CPU301へ送信開始信号とイメージデータの直列信
号を送信する。速度変換バッファ308への書き込みは
、l5501のクロック信号に基づき直列/並列変換さ
れた後実行される。
The basic operation is almost the same as in Figure 3, from CPU301 to l5.
In response, the l5501 sends a transmission start signal and a serial signal of image data to the CPU 301. Writing to the speed conversion buffer 308 is executed after serial/parallel conversion is performed based on the clock signal of the l5501.

一方読み出しは書き込みタイミングとは無関係に、シス
テムクロック305に同期してデータバス303へ出力
される。
On the other hand, read data is output to the data bus 303 in synchronization with the system clock 305, regardless of the write timing.

以上のタイミングを第6図に示す。CPU301から送
信要求を゛受けたl5501は、準備完了信号51を有
効にし、ライン同期信号52に同期して、直列信号でイ
メージデータ53を送信する。
The above timing is shown in FIG. Upon receiving the transmission request from the CPU 301, the l5501 enables the ready signal 51 and transmits the image data 53 in a serial signal in synchronization with the line synchronization signal 52.

イメージデータはFIFOメモリの容量、直列信号およ
び並列信号の転送速度の関係から、信号52の16ライ
ンを1ブロツクとして処理する方法をとっている。l5
501から連続的に送られてくる直列信号53は本方式
により並列信号に変換され、イメニにデータ信号55の
ようにFIFOメモリに書き込まれる。その後、CPU
301の処理シーケンスに基づき、イメージデータ信号
57のような形で、CPU301のメインメモリに転送
される。FIFOメモリの書き込みポインタは1ブロツ
ク毎にリセット信号54で、また、読み出しポインタは
リセット信号56でそれぞれ初期化される。
Due to the relationship between the capacity of the FIFO memory and the transfer speed of serial signals and parallel signals, the image data is processed in such a way that 16 lines of the signal 52 are treated as one block. l5
A serial signal 53 that is continuously sent from 501 is converted into a parallel signal by this method, and is then written into the FIFO memory like a data signal 55. After that, the CPU
Based on the processing sequence 301, the image data signal 57 is transferred to the main memory of the CPU 301. The write pointer of the FIFO memory is initialized for each block by a reset signal 54, and the read pointer is initialized by a reset signal 56, respectively.

従来、第3図と第5図に示すようなデータ転送を行う場
合、式(3)と(4)から求めた容量をもつメモリを一
対用意し、一方のBMにソフトウェア制御でデータを書
き込んでいる時他方のBMからはハードウェア制御で読
み出す、いわゆる交代バッファ方式を用いるのが一般的
であった。
Conventionally, when performing data transfer as shown in Figures 3 and 5, a pair of memories with capacities determined from equations (3) and (4) was prepared, and data was written to one BM under software control. It has been common practice to use a so-called alternating buffer system in which data is read from the other BM under hardware control.

これに比べ、本方式は1式(3)と(4)から求めた容
量をもつFIFOメモリ1個と組み合わせて用いること
により、上述したように、交代バッファと同等のデータ
転送を実現できる。つまり、交代バッファ方式に比べ本
方式ではBMIOlのメモリ容量が半分以下で済むこと
になる。これは式(7)からも明らかである。また、速
度変換バッファ308のアドレス制御が簡単になること
から、バッファ装置の小型化が図れる。
In contrast, by using this method in combination with one FIFO memory having the capacity determined from equations (3) and (4), it is possible to achieve data transfer equivalent to the alternating buffer as described above. In other words, compared to the alternating buffer method, this method requires less than half the memory capacity of the BMIO1. This is also clear from equation (7). Furthermore, since the address control of the speed conversion buffer 308 is simplified, the size of the buffer device can be reduced.

実施例4 第7図はl5501と光プリンタ309およびCPU3
01を一体化した例である。速度変換バッファ308は
次の5つから構成されている。
Embodiment 4 Figure 7 shows l5501, optical printer 309, and CPU3.
This is an example in which 01 is integrated. The speed conversion buffer 308 is composed of the following five parts.

■FIFOメモリ703゜■並列/直列変換を行って並
列に送る信号の数を変え、データの転送速度制御を行う
並列ビット変換部704゜■データを並列/直列または
直列/並列変換する並列・直列変換部705゜■FIF
Oメモリ703へのハードおよびソフト的な書き込みお
よび読み出し動作の制御を司どる信号制御部702゜■
CPU301からの信号を選択するデコーダ701゜こ
の装置を用いたデータの処理例を以下に示す。
■FIFO memory 703° ■Parallel bit converter 704° that performs parallel/serial conversion to change the number of signals sent in parallel and control data transfer speed ■Parallel/serial converter that performs parallel/serial or serial/parallel conversion of data Conversion section 705゜■FIF
A signal control unit 702 that controls hardware and software write and read operations to the O memory 703
Decoder 701 for selecting a signal from CPU 301 An example of data processing using this device is shown below.

(1)イメージスキャナ(IS)501から画像信号を
受信する場合 l5501から送られてくる直列信号の信号速度とCP
U301の処理速度、およびPIFOメモリ703容世
を考慮して、式(3) 、(4) 、(6)より並列変
換を行う信号の本数(式(6)のビット敵心に対応する
)を決め、並列ビット変換部704にその本数を設定す
る。さらに、並列・直列変換部705を直列/並列変換
に設定する。その後、第5.6図で説明した方法でプロ
グラムに基づきl5501の画像データを速度変換バッ
ファ308を通して、主メモリに転送する。
(1) When receiving an image signal from the image scanner (IS) 501 The signal speed and CP of the serial signal sent from the 15501
Considering the processing speed of U301 and the size of PIFO memory 703, the number of signals to be parallelized (corresponding to the bit hostility in equation (6)) is calculated from equations (3), (4), and (6). and set the number in the parallel bit conversion unit 704. Furthermore, the parallel/serial converter 705 is set to serial/parallel conversion. Thereafter, the image data of 15501 is transferred to the main memory through the speed conversion buffer 308 based on the program using the method described in FIG. 5.6.

(2)複合プリンタシステムで作成された文書を光プリ
ンタ309で印刷する場合 (1)の場合と同様にして並列/直列変換を行う信号の
本数を決め、並列ビット変換部704にその本数を設定
する。さらに、並列・直列変換部705を並列/直列変
換に設定する。その後、第3,4図で説明した方法でプ
ログラムに基づき主メモリにある文章データを速度変換
バッファ308を通して光プリンタ309に転送する。
(2) When printing a document created with a multifunction printer system using the optical printer 309 Determine the number of signals to be subjected to parallel/serial conversion in the same way as in case (1), and set that number in the parallel bit conversion unit 704 do. Furthermore, the parallel/serial converter 705 is set to perform parallel/serial conversion. Thereafter, the text data in the main memory is transferred to the optical printer 309 through the speed conversion buffer 308 based on the program using the method described in FIGS.

以上のように本装置を用いることにより、CPUと外部
デバイス(光プリンタやIS)との間で直列データの送
受信が任意にできるようになり、光プリンタ用バッファ
やZS用バッファを別々に設定する必要がなくなる。し
たがって、装置も小型になる。
By using this device as described above, serial data can be sent and received arbitrarily between the CPU and external devices (optical printers and IS), and the optical printer buffer and ZS buffer can be set separately. There will be no need. Therefore, the device also becomes smaller.

第8図は第7図の速度変換バッファ308の詳細例であ
る。第7図の信号制御部702、並列ビット変換部70
4がそれぞれ第8図のR/W許可信号発生回路801.
ビット制御回路803である。CPU301はFIFO
メモリ703のリセット、R/W許可、並列・直列変換
回路805への並列データロード、直列/並列あるいは
並列/直列変換の設定などの制御を行う。さらに式(6
)に示すビット数(C) 109で速度変換を実現する
ため、ビット制御回路803へ階109 を設定する。
FIG. 8 is a detailed example of the speed conversion buffer 308 of FIG. 7. Signal control unit 702 and parallel bit conversion unit 70 in FIG.
4 are the R/W permission signal generation circuits 801.
This is a bit control circuit 803. CPU301 is FIFO
It controls the reset of the memory 703, R/W permission, parallel data loading to the parallel/serial conversion circuit 805, setting of serial/parallel or parallel/serial conversion, etc. Furthermore, the formula (6
) In order to realize speed conversion using the bit number (C) 109 shown in ), a floor 109 is set in the bit control circuit 803.

このビット制御回路803は第1図の速度変換バッファ
の原理図のところで説明したように、FIFOメモリ7
03から1バイト(8ビツト)単位で読み出したデータ
を、任意のビット数Naに設定し出力する。分周回路8
02は、 cpu301の指令にしたがい外部デバイス
コントロールバス806の送受信クロックをもとに、P
IFOメモリ703からの読み出しや書き込み、さらに
並列・直列変換回路805へ並列データをロードするタ
イミング信号804を作る。このように、並列に送る信
号の数(式(6)のNo)を操作することにより、第7
図のところで説明したような効果が得られる。
This bit control circuit 803 is connected to the FIFO memory 7 as explained in the principle diagram of the speed conversion buffer in FIG.
The data read out in units of 1 byte (8 bits) from 03 is set to an arbitrary number of bits Na and output. Frequency divider circuit 8
02 is based on the transmission/reception clock of the external device control bus 806 according to instructions from the CPU 301.
A timing signal 804 is generated for reading and writing from the IFO memory 703 and for loading parallel data into the parallel/serial conversion circuit 805. In this way, by manipulating the number of signals sent in parallel (No in equation (6)), the seventh
The effects described in the figure can be obtained.

このように実施例1〜実施例4で詳述したように本発明
によれば、ソフトウェア制御からハードウェア制御、ま
たはその逆のデータ転送において。
As described in detail in the first to fourth embodiments, according to the present invention, data transfer from software control to hardware control or vice versa.

直列・並列変換する際、並列に送る信号の数を可変にす
ることにより、転送速度の差を解消することができるの
で、CPU側のプログラム制御で外部とのデータ転送が
可能になり、従来よりも少ないバッファメモリ容量でデ
ータを転送できる効果がある。さらに、プログラム制御
でデータ転送全体を管理できるため、システムが小型化
され、転送されたデータの信頼性が高くなる効果がある
When performing serial/parallel conversion, it is possible to eliminate the difference in transfer speed by varying the number of signals sent in parallel, making it possible to transfer data to and from the outside through program control on the CPU side, which is faster than before. It also has the effect of being able to transfer data with a small buffer memory capacity. Furthermore, since the entire data transfer can be managed under program control, the system can be made smaller and the reliability of the transferred data can be increased.

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

複合プリンタシステムのバッファメモリと並列・直列変
換器の間に並列信号の数を変える伝送速度変換器を設け
ること1巳よって、従来よりも小容量のバッファメモリ
でその並列・直列変換器に接続される外部機器に対応し
た合理的な信号の伝送速度を得ることができるという優
れた効果がある。
By providing a transmission speed converter that changes the number of parallel signals between the buffer memory and the parallel/serial converter of a multifunction printer system, it is possible to connect the parallel/serial converter with a smaller capacity buffer memory than before. This has the excellent effect of being able to obtain a reasonable signal transmission speed that is compatible with external equipment.

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

第1図は本発明による第1の実施例を示す速度変換バッ
ファのブロック図、第2図は従来のバッファ方式を示す
ブロック図、第3図は第2の実施例を示す光プリンタと
CPUとの間の速度変換実施例のブロック図、第4図は
第3図の制御シーケンス、第5図は第3図の実施例を示
すイメージスキャナとCPUとの間の速度変換実施例の
ブロック図、第6図は第5図の制御シーケンス、第7図
は第4図の実施例を示すイメージスキャナと光プリンタ
およびCPUとの間の速度変換実施例のブロック図、第
8図は第7図の速度変換バッファ部のブロック図である
。 101・・・バッファメモリ(BM)、102・・・変
換制御回路、103・・・ラッチ、104・・・並列信
号出力回路、105・・・並列/直列変換(P/S)、
106・・・書き込、み速度(Dw)、107・・・読
み出し速度(DR)、108・・・並列データ転送速度
(DL)、109・・・並列ビット(Na) 、 11
0・・・外部クロック、111・・・直列信号伝送速度
(Ds) 、 l’l 2・・・並列ビット数変換器、
113・・・外部機器。
FIG. 1 is a block diagram of a speed conversion buffer showing a first embodiment of the present invention, FIG. 2 is a block diagram showing a conventional buffer system, and FIG. 3 is a block diagram of an optical printer and a CPU showing a second embodiment. 4 is a block diagram of an embodiment of speed conversion between the image scanner and the CPU, FIG. 4 is a block diagram of the control sequence of FIG. 3, and FIG. 5 is a block diagram of an embodiment of speed conversion between the image scanner and the CPU, 6 is a control sequence of FIG. 5, FIG. 7 is a block diagram of an embodiment of speed conversion between an image scanner, an optical printer, and a CPU showing the embodiment of FIG. 4, and FIG. 8 is a block diagram of a speed conversion embodiment of the embodiment of FIG. FIG. 3 is a block diagram of a speed conversion buffer section. 101... Buffer memory (BM), 102... Conversion control circuit, 103... Latch, 104... Parallel signal output circuit, 105... Parallel/serial conversion (P/S),
106... Write speed (Dw), 107... Read speed (DR), 108... Parallel data transfer rate (DL), 109... Parallel bit (Na), 11
0...External clock, 111...Serial signal transmission speed (Ds), l'l 2...Parallel bit number converter,
113...External device.

Claims (1)

【特許請求の範囲】 1、複合プリンタシステムのインターフェースにしてバ
ッファメモリと並列・直列変換器からなるデータ転送速
度変換装置において、前記バッファメモリと前記並列・
直列変換器の間に並列信号の数を変えて信号の伝送速度
を変える伝送速度変換器を設けたことを特徴とするデー
タ転送速度変換装置。 2、前記バッファメモリが先入れ先出しメモリであるこ
とを特徴とする特許請求の範囲第1項記載のデータ転送
速度変換装置。
[Scope of Claims] 1. In a data transfer rate conversion device serving as an interface for a multifunction printer system and comprising a buffer memory and a parallel/serial converter, the buffer memory and the parallel/serial converter
1. A data transfer rate conversion device comprising a transmission rate converter that changes the number of parallel signals between serial converters to change the signal transmission rate. 2. The data transfer rate conversion device according to claim 1, wherein the buffer memory is a first-in, first-out memory.
JP62290346A 1987-11-17 1987-11-17 Data transfer rate converter Expired - Lifetime JP2567428B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62290346A JP2567428B2 (en) 1987-11-17 1987-11-17 Data transfer rate converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62290346A JP2567428B2 (en) 1987-11-17 1987-11-17 Data transfer rate converter

Publications (2)

Publication Number Publication Date
JPH01130650A true JPH01130650A (en) 1989-05-23
JP2567428B2 JP2567428B2 (en) 1996-12-25

Family

ID=17754861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62290346A Expired - Lifetime JP2567428B2 (en) 1987-11-17 1987-11-17 Data transfer rate converter

Country Status (1)

Country Link
JP (1) JP2567428B2 (en)

Also Published As

Publication number Publication date
JP2567428B2 (en) 1996-12-25

Similar Documents

Publication Publication Date Title
US6218969B1 (en) Universal serial bus to parallel bus signal converter and method of conversion
JPH04107070A (en) Encoding and decoding device
JP3059520B2 (en) Data processing device and facsimile device
US6070208A (en) Apparatus and method for implementing a versatile USB endpoint pipe
US6753903B1 (en) Adaptor for direct connection between USB digital still camera and use color printer
GB2235995A (en) Apparatus for read handshake in high-speed asynchronous bus interface
JPS62230164A (en) Degital signal coding/decoding circuit
US4700234A (en) Image processing system
JPH01130650A (en) Data transfer speed converter
US5842044A (en) Input buffer device for a printer using an FIFO and data input method
US5717874A (en) Apparatus for data transfer between image memory and external I/O device wherein inner registers set the image valid area, direction and moder of transfer
JPH0535442A (en) Image data converting circuit
JPH10145433A (en) Data transfer rate converter and communication network system
JPH01226024A (en) Data transfer speed converter
JP3947330B2 (en) Synchronous serial communication controller
JP2866855B2 (en) Facsimile communication connection device
JPS6051065A (en) Picture signal processing system
US6775731B2 (en) Computer system with extension unit connected to peripheral equipment
JP3153257B2 (en) Facsimile machine
JP2625396B2 (en) Receive data processing device
JPH02155025A (en) Data transfer speed converting device
JP2767846B2 (en) Image data transfer circuit
JPH02307151A (en) Processor system
JPH0787241A (en) Composite image processor
JPH0683759A (en) Information processor