JPH08166901A - Memory control circuit and facsimile equipment provided with the circuit - Google Patents

Memory control circuit and facsimile equipment provided with the circuit

Info

Publication number
JPH08166901A
JPH08166901A JP6312013A JP31201394A JPH08166901A JP H08166901 A JPH08166901 A JP H08166901A JP 6312013 A JP6312013 A JP 6312013A JP 31201394 A JP31201394 A JP 31201394A JP H08166901 A JPH08166901 A JP H08166901A
Authority
JP
Japan
Prior art keywords
memory
dma
image
image data
data
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
JP6312013A
Other languages
Japanese (ja)
Inventor
Toshiyuki Soshi
敏行 惣司
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP6312013A priority Critical patent/JPH08166901A/en
Publication of JPH08166901A publication Critical patent/JPH08166901A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To easily and securely supply control signals corresponding to operated DMA controllers to a memory even if the plural DMA controllers different in operation speed and operation timing are used. CONSTITUTION: At the time of transferring picture data, CPU 1 gives an operation instruction to the respective DMA controllers 2 and 14 at prescribed timing. Then, the respective DMA controllers 2 and 14 DMA-transfer picture data between the picture memory 6 or a MODEM buffer 6 and a prescribed input/ output means designated from CPU 1 based on the instruction. When the operation instruction is executed, CPU 1 outputs data to which DMA controller 2 or 14 the operation instruction is executed to a memory control circuit 15 as a state display signal. Then, the memory control circuit 15 supplies the control signals for inputting/outputting data, which correspond to the operated DMA controllers 2 and 14, to the picture memory 6 and the like based on the state display signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】 本発明は、動作速度や動作タイ
ミングの異なる複数の各DMAコントローラの制御によ
り、メモリと複数の各入出力手段との間でデータのDM
A転送が行われる場合に、データ入出力のための制御信
号をメモリに対して供給するメモリ制御回路及びそれを
備えたファクシミリ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention controls DM of data between a memory and a plurality of input / output means by controlling a plurality of DMA controllers having different operation speeds and operation timings.
The present invention relates to a memory control circuit that supplies a control signal for data input / output to a memory when A transfer is performed, and a facsimile apparatus including the memory control circuit.

【0002】[0002]

【従来の技術】 例えば、ファクシミリ装置において、
画像メモリと各種入出力装置との間で画データを短時間
で効率良く転送するために、その転送をCPU等の主制
御部のプログラム制御によることなく、DMA(ダイレ
クトメモリアクセス)制御により行うようにしたものが
ある。このDMA制御においては、DMAコントローラ
により、画像メモリと所定の入出力装置との間に主制御
部とは独立したデータ転送路(チャネル)が形成され、
画データが画像メモリと所定の入出力装置との間で直接
転送される。通常、DMAコントローラは、複数チャネ
ル分の転送を行うことができるように構成され、1つの
チャネルで画像メモリに対して1つの入出力装置をアク
セスすることができる。
2. Description of the Related Art For example, in a facsimile machine,
In order to transfer image data efficiently between the image memory and various input / output devices in a short time, the transfer should be performed by DMA (Direct Memory Access) control instead of program control of the main control unit such as CPU. There is something I did. In this DMA control, the DMA controller forms a data transfer path (channel) independent of the main controller between the image memory and a predetermined input / output device.
The image data is directly transferred between the image memory and a predetermined input / output device. Usually, the DMA controller is configured to be able to perform transfer for a plurality of channels, and one channel can access one input / output device to the image memory.

【0003】ところで、ファクシミリ装置においては、
画像メモリにアクセスされる入出力装置として、画像読
取のための読取装置、画データの印字のための記録装置
及び画データの符号・復号化を行うためのCODECを
始めとして、パソコン等の外部機器との間でデータ転送
を行うためのインターフェイス等、それ以外にも多数の
入出力装置を備えたものがある。そして、このようなフ
ァクシミリ装置では、多数の入出力装置に対応して、D
MA転送のためのチャネルを多数設ける必要がある。し
かし、1つのDMAコントローラで制御できるチャネル
数には限度があるため、必要なチャネル数を1つのDM
Aコントローラでカバーできないような場合には、複数
のDMAコントローラを設ける必要がある。
By the way, in a facsimile machine,
An external device such as a personal computer, including a reading device for reading an image, a recording device for printing image data, and a CODEC for encoding / decoding image data as an input / output device for accessing the image memory. There are also many other input / output devices, such as an interface for transferring data between and. In such a facsimile device, D
It is necessary to provide many channels for MA transfer. However, since the number of channels that can be controlled by one DMA controller is limited, the required number of channels can be controlled by one DM.
If the A controller cannot cover the area, it is necessary to provide a plurality of DMA controllers.

【0004】[0004]

【発明が解決しようとする課題】 この場合、複数のD
MAコントローラとして、それらの動作速度や動作タイ
ミングが同一のものを使用する必要はない。即ち、入出
力装置の中には、画データの転送を高速で行う必要があ
るものと、比較的低速で行ってもよいものとがある。そ
のため、これら全ての入出力装置に対して動作速度の速
いDMAコントローラのチャネルを割り当てる必要はな
く、装置の製作コスト等を考慮すれば、画データの転送
を高速で行う必要があるものについては動作速度の速い
DMAコントローラのチャネルを、画データの転送を比
較的低速で行ってもよいものについては動作速度の遅い
DMAコントローラのチャネルを割り当てることが望ま
しい。
[Problems to be Solved by the Invention]
As the MA controller, it is not necessary to use those having the same operation speed and operation timing. That is, some input / output devices require transfer of image data at high speed, and some may transfer image data at relatively low speed. Therefore, it is not necessary to allocate a channel of a DMA controller having a high operation speed to all of these input / output devices, and in consideration of the manufacturing cost of the device, it is possible to transfer the image data at a high speed. It is desirable to allocate a high-speed DMA controller channel to a low-speed DMA controller channel when image data may be transferred at a relatively low speed.

【0005】ところが、このように、複数のDMAコン
トローラとして、それらの動作速度等の異なるものが使
用された場合には、画像メモリに対して供給する画デー
タ入出力のための制御信号も、作動されるDMAコント
ローラに応じて変える必要がある。このため、画像メモ
リの画データの入出力制御を正確に行うことが困難にな
るという問題が生じる。
However, when a plurality of DMA controllers having different operating speeds are used as described above, the control signals for image data input / output supplied to the image memory are also activated. It must be changed according to the DMA controller used. Therefore, there arises a problem that it is difficult to accurately control the input / output of the image data of the image memory.

【0006】本発明は上記問題点を解消するためになさ
れたものであって、その目的は、動作速度や動作タイミ
ングの異なる複数のDMAコントローラを使用した場合
でも、作動されるDMAコントローラに応じた制御信号
をメモリに対して容易かつ確実に供給することができる
メモリ制御回路及びそれを備えたファクシミリ装置を提
供することにある。
The present invention has been made to solve the above problems, and an object thereof is to respond to a DMA controller to be operated even when a plurality of DMA controllers having different operation speeds and operation timings are used. It is an object of the present invention to provide a memory control circuit that can easily and surely supply a control signal to a memory and a facsimile apparatus including the memory control circuit.

【0007】[0007]

【課題を解決するための手段】 上記の目的を達成する
ために、請求項1の発明では、主制御部からの指令に基
づき、動作速度や動作タイミングの異なる複数の各DM
Aコントローラにより、メモリと複数の各入出力手段と
の間でデータのDMA転送を行わせるに際して、主制御
部からの状態表示信号に基づき、作動されるDMAコン
トローラに応じたデータ入出力のための制御信号をメモ
リに対して供給するように構成したものである。
In order to achieve the above object, in the invention of claim 1, a plurality of DMs having different operation speeds and operation timings based on a command from a main control unit.
When data is DMA-transferred between the memory and each of the plurality of input / output means by the A controller, a data input / output corresponding to the operated DMA controller is performed based on the status display signal from the main control unit. The control signal is supplied to the memory.

【0008】請求項2の発明では、メモリは画データを
記憶するための画像メモリであって、複数のDMAコン
トローラは画像メモリと複数の各入出力手段との間で画
データのDMA転送を行わせるものである。
According to the second aspect of the present invention, the memory is an image memory for storing image data, and the plurality of DMA controllers perform the DMA transfer of the image data between the image memory and the plurality of input / output means. It is something that can be made.

【0009】請求項3の発明では、入出力手段として少
なくとも、原稿上の画像を読み取る読取手段と、画像メ
モリ内の画データに基づき記録紙上に印字を行う記録手
段とを備え、読取手段から画像メモリへの読取画データ
の転送及び画像メモリから記録手段への画データの転送
を、動作速度の最も速いDMAコントローラで行わせる
ように構成したものである。
According to the third aspect of the present invention, at least the reading means for reading the image on the original and the recording means for printing on the recording paper based on the image data in the image memory are provided as the input / output means. The read image data is transferred to the memory and the image data is transferred from the image memory to the recording means by the DMA controller having the highest operation speed.

【0010】[0010]

【作用】 従って、請求項1の発明によれば、主制御部
からの指令に基づき、所定のDMAコントローラが作動
されて、メモリと所定の入出力手段との間でデータのD
MA転送が行われる。このとき、主制御部からの状態表
示信号に基づき、作動されるDMAコントローラに応じ
た制御信号がメモリに対して供給される。このため、複
数のDMAコントローラとして、動作速度や動作タイミ
ングの異なるものが使用された場合でも、メモリに対し
て供給される制御信号が、作動されるDMAコントロー
ラに応じて変えられ、メモリのデータの入出力制御が正
確に行われる。
Therefore, according to the first aspect of the present invention, the predetermined DMA controller is operated based on the command from the main control unit, and the data D is transferred between the memory and the predetermined input / output means.
MA transfer is performed. At this time, a control signal corresponding to the DMA controller to be operated is supplied to the memory based on the status display signal from the main control unit. Therefore, even when a plurality of DMA controllers having different operation speeds or operation timings are used, the control signal supplied to the memory is changed according to the operated DMA controller, and the data of the memory is changed. I / O control is performed accurately.

【0011】請求項2の発明によれば、多数の入出力手
段を備えているファクシミリ装置においても、複数のD
MAコントローラにより、画像メモリとの間での画デー
タの転送を短時間で効率良く行うことができる。
According to the second aspect of the present invention, even in the facsimile apparatus having a large number of input / output means, a plurality of D
The MA controller can efficiently transfer image data to and from the image memory in a short time.

【0012】請求項3の発明によれば、特に高速処理を
要求される原稿上の画像の読取動作と画データの記録紙
上への記録動作とについて、高速で行うことが可能とな
る。
According to the third aspect of the present invention, it is possible to perform the reading operation of the image on the original and the recording operation of the image data on the recording paper which require particularly high-speed processing at high speed.

【0013】[0013]

【実施例】 以下、本発明をファクシミリ装置に具体化
した一実施例を図面に基づいて説明する。図1に、この
ファクシミリ装置の回路構成を示す。主制御部としての
CPU(中央処理装置)1は、装置全体の動作を制御す
るためのプログラム等を記憶したROM(リードオンリ
メモリ)、及び各種情報を一時的に記憶するためのRA
M(ランダムアクセスメモリ)を備えてなるものであ
る。又、CPU1はDMAコントーラ2を内蔵してお
り、このDMAコントローラ2により、複数チャネル
(本実施例では最大4チャネル)分のデータ転送が可能
となっている。NCU(ネットワークコントロールユニ
ット)3は電話回線との接続を制御する。入出力手段と
してのモデム4は送受信データの変調、復調を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is embodied in a facsimile machine will be described below with reference to the drawings. FIG. 1 shows the circuit configuration of this facsimile apparatus. A CPU (Central Processing Unit) 1 as a main control unit includes a ROM (Read Only Memory) storing a program for controlling the operation of the entire apparatus, and an RA for temporarily storing various information.
It is provided with M (random access memory). Further, the CPU 1 has a built-in DMA controller 2, and this DMA controller 2 enables data transfer for a plurality of channels (up to 4 channels in this embodiment). NCU (Network Control Unit) 3 controls connection with a telephone line. The modem 4 as an input / output means modulates and demodulates transmitted / received data.

【0014】SRAM(スタティクRAM)よりなるメ
モリとしてのモデムバッファ5は、送受信画データを一
時的に記憶するためのものであり、送信に際して画デー
タをモデム4に転送したり、受信に際してモデム4から
転送されてくる画データを一時的に記憶したりする。D
RAM(ダイナミックRAM)よりなる画像メモリ6
は、画データを符号化状態で記憶する。スキャナ7は、
原稿上の画像を読み取る。読取側CODEC8は、スキ
ャナ7で読み取られた画データを符号化して、その符号
化データをバスbsを介して画像メモリ6に出力する。
本実施例では、スキャナ7及び読取側CODEC8によ
り、入出力手段としての読取手段が構成されている。記
録側CODEC9は、画像メモリ6からバスbsを介し
て転送されてくる画データを復号化して、その復号化デ
ータをプリンタ10に出力する。記録手段としてのプリ
ンタ10は、記録側CODEC9から送られてくる復号
化された画データに基づき、記録紙上に印字を行う。本
実施例では、プリンタ10及び記録側CODEC9によ
り、入出力手段としての記録手段が構成されている。
A modem buffer 5 as a memory composed of SRAM (Static RAM) is for temporarily storing transmission / reception image data, and transfers image data to the modem 4 during transmission or from the modem 4 during reception. Temporarily stores the transferred image data. D
Image memory 6 composed of RAM (dynamic RAM)
Stores the image data in the encoded state. The scanner 7
Scan the image on the original. The reading side CODEC 8 encodes the image data read by the scanner 7 and outputs the encoded data to the image memory 6 via the bus bs.
In this embodiment, the scanner 7 and the reading side CODEC 8 constitute a reading unit as an input / output unit. The recording CODEC 9 decodes the image data transferred from the image memory 6 via the bus bs, and outputs the decoded data to the printer 10. The printer 10 as a recording unit prints on recording paper based on the decoded image data sent from the recording CODEC 9. In this embodiment, the printer 10 and the recording side CODEC 9 constitute a recording unit as an input / output unit.

【0015】入出力手段としての通信用CODEC11
は、送信に際して画像メモリ6から転送されてくる画デ
ータを復号化した後に再符号化してモデムバッファ5に
転送するとともに、受信に際してモデムバッファ5から
転送されてくる受信画データを復号化した後に再符号化
して画像メモリ6に転送したりする。即ち、自機の画像
メモリ6に記憶される画データの符号化形式と、相手側
装置が受信可能な画データの符号化形式或いは相手側装
置から送信されてくる画データの符号化形式とは必ずし
も一致しない。従って、通信用CODEC11により、
送信に際して画像メモリ6内の画データを相手側装置が
受信可能な符号化形式に再度変更するとともに、受信に
際して相手側装置からの画データを画像メモリ6に記憶
可能な符号化形式に再度変更するようにしている。
Communication CODEC 11 as input / output means
Decodes the image data transferred from the image memory 6 at the time of transmission, re-encodes it and transfers it to the modem buffer 5, and decodes the received image data transferred from the modem buffer 5 at the time of reception and then re-encodes it. It is encoded and transferred to the image memory 6. That is, the encoding format of the image data stored in the image memory 6 of the own machine and the encoding format of the image data receivable by the partner device or the encoding format of the image data transmitted from the partner device Not necessarily the same. Therefore, with the CODEC 11 for communication,
At the time of transmission, the image data in the image memory 6 is changed again to a coding format that can be received by the partner device, and at the time of reception, the image data from the partner device is changed again to a coding format that can be stored in the image memory 6. I am trying.

【0016】入出力手段としてのRS232C等のシリ
アルインターフェイス12は、パソコン等の図示しない
外部機器との間で画データをシリアルデータとしてやり
取りするために設けられている。コネクタ13は、図示
しないケーブルを介して外部機器を接続するためのもの
である。そして、このコネクタ13に外部機器が接続さ
れた状態で、画像メモリ6内のデータがシリアルインタ
ーフェイス12を介して外部機器に転送されるととも
に、外部機器から転送されてくるデータがシリアルイン
ターフェイス12を介して画像メモリ6内に取り込まれ
る。
A serial interface 12 such as RS232C as an input / output means is provided for exchanging image data as serial data with an external device (not shown) such as a personal computer. The connector 13 is for connecting an external device via a cable (not shown). Then, with the external device connected to the connector 13, the data in the image memory 6 is transferred to the external device via the serial interface 12, and the data transferred from the external device is transferred via the serial interface 12. Are stored in the image memory 6.

【0017】外付けのDMAコントローラ14は、前記
CPU1に内蔵されたDMAコントローラ2とは別に独
立して設けられ、複数チャネル(本実施例では最大4チ
ャネル)分のデータ転送が可能となっている。メモリ制
御回路15は、CPU1及び各DMAコントローラ1,
14からの指令に基づき、画像メモリ6及びモデムバッ
ファ5に対する画データの書込み及び読出しを制御す
る。
The external DMA controller 14 is provided independently of the DMA controller 2 built in the CPU 1 and can transfer data for a plurality of channels (up to 4 channels in this embodiment). . The memory control circuit 15 includes a CPU 1 and each DMA controller 1,
Based on the command from 14, the writing and reading of the image data to and from the image memory 6 and the modem buffer 5 are controlled.

【0018】尚、本実施例において、CPU1には動作
クロックとして32MHzのクロック信号が与えられて
いる。そして、CPU1に内蔵されたDMAコントーラ
2には、動作クロックとしてCPU1より16MHzの
クロック信号が与えられ、DMAコントーラ2は、この
16MHzのクロック信号に基づく動作速度で作動され
る。又、外付けのDMAコントローラ14には、動作ク
ロックとしてCPU1より8MHzのクロック信号が与
えられ、DMAコントーラ14は、この8MHzのクロ
ック信号に基づく動作速度で作動される。つまり、本実
施例では、CPU1に内蔵されたDMAコントーラ2の
方が、外付けのDMAコントローラ14よりその動作速
度が速くなっている。
In this embodiment, the CPU 1 is supplied with a 32 MHz clock signal as an operation clock. A 16 MHz clock signal is applied from the CPU 1 to the DMA controller 2 built in the CPU 1 as an operation clock, and the DMA controller 2 is operated at an operating speed based on the 16 MHz clock signal. Further, the external DMA controller 14 is supplied with a clock signal of 8 MHz from the CPU 1 as an operating clock, and the DMA controller 14 is operated at an operating speed based on the clock signal of 8 MHz. That is, in this embodiment, the DMA controller 2 built in the CPU 1 has a higher operation speed than the external DMA controller 14.

【0019】又、本実施例において、CPU1に内蔵さ
れたDMAコントーラ2は、読取側CODEC8から画
像メモリ6への画データの転送、画像メモリ6から記録
側CODEC9への画データの転送、及び送受信時にお
ける画像メモリ6と通信用CODEC11との間の画デ
ータの転送という3チャネル分のデータ転送をDMA制
御する。尚、このDMAコントーラ2の残りの1チャネ
ル分は、外付けのDMAコントローラ14に対して、画
像メモリ6及びモデムバッファ5のアドレス指定等を行
うためのデータを転送する等、外付けのDMAコントロ
ーラ14の制御のために割り当てられている。
Further, in the present embodiment, the DMA controller 2 incorporated in the CPU 1 transfers image data from the reading side CODEC 8 to the image memory 6, transfers image data from the image memory 6 to the recording side CODEC 9, and sends and receives. DMA control of data transfer for three channels, that is, transfer of image data between the image memory 6 and the communication CODEC 11 is performed. The remaining one channel of the DMA controller 2 is an external DMA controller for transferring data for addressing the image memory 6 and the modem buffer 5 to the external DMA controller 14. Allocated for control of 14.

【0020】一方、外付けのDMAコントローラ14
は、送受信時におけるモデムバッファ5と通信用COD
EC11との間の画データの転送、モデムバッファ5と
モデム4との間の画データの転送、及び画像メモリ6と
シリアルインターフェイス12との間の画データの転送
という3チャネル分のデータ転送をDMA制御する。
尚、画像メモリ6と通信用CODEC11との間の画デ
ータの転送を外付けのDMAコントローラ14で、モデ
ムバッファ5と通信用CODEC11との間の画データ
の転送をCPU1内蔵のDMAコントーラ2でDMA制
御するように変更してもよい。
On the other hand, the external DMA controller 14
Is a modem buffer 5 and a COD for communication during transmission and reception.
DMA data transfer for three channels, that is, transfer of image data to and from the EC 11, transfer of image data between the modem buffer 5 and the modem 4, and transfer of image data between the image memory 6 and the serial interface 12. Control.
The external DMA controller 14 transfers the image data between the image memory 6 and the communication CODEC 11, and the DMA controller 2 built in the CPU 1 transfers the image data between the modem buffer 5 and the communication CODEC 11 using the DMA controller 2. It may be changed to control.

【0021】そして、CPU1は、例えばファクシミリ
通信動作の開始に伴い画データの送受信が行われると
き、各DMAコントローラ2,14に対して所定のタイ
ミングで作動指令を行う。すると、その指令に基づき、
各DMAコントローラ2,14は、画像メモリ6或いは
モデムバッファ5とCPU1から指定された所定の入出
力手段との間で画データのDMA転送を行わせる。
Then, the CPU 1 issues an operation command to each of the DMA controllers 2 and 14 at a predetermined timing when image data is transmitted and received with the start of a facsimile communication operation, for example. Then, based on that directive,
Each of the DMA controllers 2 and 14 causes a DMA transfer of image data between the image memory 6 or the modem buffer 5 and a predetermined input / output unit designated by the CPU 1.

【0022】又、CPU1は、各DMAコントローラ
2,14に対して作動指令を行ったとき、何れのDMA
コントローラ2,14に対して作動指令を行ったかを状
態表示信号としてメモリ制御回路15に出力する。する
と、メモリ制御回路15は、その状態表示信号に基づ
き、作動されるDMAコントローラ2,14に応じたデ
ータ入出力のための制御信号を、画像メモリ6或いはモ
デムバッファ5に対して供給する。
Further, when the CPU 1 issues an operation command to each of the DMA controllers 2 and 14, it does not know which DMA
It outputs to the memory control circuit 15 as a status display signal whether or not an operation command has been issued to the controllers 2 and 14. Then, the memory control circuit 15 supplies the image memory 6 or the modem buffer 5 with a control signal for data input / output according to the operated DMA controllers 2 and 14 based on the state display signal.

【0023】即ち、例えば、外付けのDMAコントロー
ラ14により画像メモリ6との間のデータ転送がDMA
制御される場合には、画像メモリ6に対する画データの
読出し/書込みが図2のタイムチャートに示すような速
度及びタイミングで行われる。同図に示すように、この
読出し/書込み動作は、8MHzのクロック信号の4周
期S1〜S4を1サイクルとして行われる。
That is, for example, data transfer between the image memory 6 and the external DMA controller 14 is performed by the DMA.
When controlled, image data is read / written to / from the image memory 6 at the speed and timing shown in the time chart of FIG. As shown in the figure, this read / write operation is performed with four cycles S1 to S4 of the 8 MHz clock signal as one cycle.

【0024】外付けのDMAコントローラ14は、CP
U1から与えられた8MHzのクロック信号をメモリ制
御回路15に出力するとともに、所定の読出し/書込み
信号R/Dをメモリ制御経路15及び画像メモリ6に出
力する。尚、DMAコントローラ14は、8MHzのク
ロック信号の1サイクルにおける第2周期S2の立ち下
がりから若干遅れたタイミングで読出し/書込み信号R
/Dを立ち下げるとともに、第4周期S4の立ち下がり
から若干遅れたタイミングで、読出し/書込み信号R/
Dを立ち上げる。又、CPU1は、前記状態表示信号及
び16MHzのクロック信号をメモリ制御回路15に出
力する。
The external DMA controller 14 is a CP
The 8 MHz clock signal supplied from U1 is output to the memory control circuit 15, and a predetermined read / write signal R / D is output to the memory control path 15 and the image memory 6. The DMA controller 14 reads the read / write signal R at a timing slightly delayed from the fall of the second cycle S2 in one cycle of the 8 MHz clock signal.
/ D, and read / write signal R / at a timing slightly delayed from the fall of the fourth cycle S4.
Start up D. The CPU 1 also outputs the status display signal and the 16 MHz clock signal to the memory control circuit 15.

【0025】このとき、メモリ制御回路15は、状態表
示信号の入力に基づき、図2に示すような行(Row) アド
レス選択信号RAS、列(Column)アドレス選択信号CA
S、及びアドレス信号ADDを、制御信号として画像メ
モリ6に出力する。同図に示すように、メモリ制御回路
15は、16MHzのクロック信号の立ち下がりから若
干遅れたタイミングで、入力される読出し/書込み信号
R/DのL/Hの状態を、行アドレス選択信号RASと
して出力する。又、メモリ制御回路15は、その行アド
レス選択信号RASの立ち上がり及び立ち下がりを所定
時間遅延させた信号を、列アドレス選択信号CASとし
て出力する。更に、メモリ制御回路15は、8MHzの
クロック信号の1サイクルにおける第1周期S1の立ち
下がりに基づき、DMAコントローラ14から入力され
るアドレス信号ADDを行アドレスに切り替えるととも
に、第3周期S3の立ち下がりに基づき、アドレス信号
ADDを列アドレスに切り替えて出力する。
At this time, the memory control circuit 15 receives the state display signal and inputs the row address selection signal RAS and the column address selection signal CA as shown in FIG.
The S and address signal ADD are output to the image memory 6 as control signals. As shown in the figure, the memory control circuit 15 changes the L / H state of the input read / write signal R / D to the row address selection signal RAS at a timing slightly delayed from the fall of the 16 MHz clock signal. Output as. Further, the memory control circuit 15 outputs a signal obtained by delaying the rise and fall of the row address selection signal RAS for a predetermined time as a column address selection signal CAS. Further, the memory control circuit 15 switches the address signal ADD input from the DMA controller 14 to the row address based on the fall of the first cycle S1 in one cycle of the 8 MHz clock signal, and the fall of the third cycle S3. Based on the above, the address signal ADD is switched to the column address and output.

【0026】その結果、画像メモリ6は、行及び列アド
レス選択信号RAS,CASの立ち下がりに基づき、そ
れぞれアドレス信号ADDの行アドレス及び列アドレス
を取り込む。そして、画像メモリ6は、前記読出し/書
込み信号R/Dに基づき、その取り込んだアドレスにお
いて画データの読出し/書込みを行う。
As a result, the image memory 6 fetches the row address and the column address of the address signal ADD based on the fall of the row and column address selection signals RAS and CAS, respectively. Then, the image memory 6 reads / writes the image data at the fetched address based on the read / write signal R / D.

【0027】尚、特に図示しないが、外付けのDMAコ
ントローラ14によりモデムバッファ5との間のデータ
転送がDMA制御される場合には、モデムバッファ5に
対する画データの読出し/書込みが前記とは異なるタイ
ミングとなるが、この場合も前記とほぼ同様な方法によ
り、そのタイミングが所定タイミングに設定される。
Although not shown in the drawing, when data transfer to and from the modem buffer 5 is DMA controlled by the external DMA controller 14, reading / writing of image data to / from the modem buffer 5 is different from the above. Although it is a timing, in this case also, the timing is set to a predetermined timing by a method substantially similar to the above.

【0028】又、CPU1内蔵のDMAコントローラ2
により画像メモリ6との間のデータ転送がDMA制御さ
れる場合には、画像メモリ6に対する画データの読出し
/書込みが図3のタイムチャートに示すような速度及び
タイミングで行われる。同図に示すように、この読出し
/書込み動作は、16MHzのクロック信号の4周期T
1〜T4を1サイクルとして行われる。
A DMA controller 2 with a built-in CPU 1
When the data transfer to and from the image memory 6 is DMA controlled by, the read / write of the image data to the image memory 6 is performed at the speed and timing shown in the time chart of FIG. As shown in the figure, this read / write operation is performed in four cycles T of the 16 MHz clock signal.
1 to T4 are performed as one cycle.

【0029】DMAコントローラ2は、CPU1から与
えられた16MHzのクロック信号をメモリ制御回路1
5に出力する。又、CPU1は、前記状態表示信号及び
同図に示すようなバスサイクルスタート信号BCYST
をメモリ制御回路15に出力する。
The DMA controller 2 receives the clock signal of 16 MHz given from the CPU 1 from the memory control circuit 1.
5 is output. Further, the CPU 1 controls the status display signal and the bus cycle start signal BCYST as shown in FIG.
Is output to the memory control circuit 15.

【0030】このとき、メモリ制御回路15は、状態表
示信号の入力に基づき、図3に示すような行アドレス選
択信号RAS、列アドレス選択信号CAS、及びアドレ
ス信号ADDを、制御信号として画像メモリ6に出力す
る。同図に示すように、メモリ制御回路15は、16M
Hzのクロック信号の1サイクルにおける第2周期T2
の立ち下がりから若干遅れたタイミングで、入力された
バスサイクルスタート信号BCYSTのLレベルの状態
を、行アドレス選択信号RASとして出力するととも
に、同信号RASをクロック信号の2周期分後に立ち上
げる。又、メモリ制御回路15は、その行アドレス選択
信号RASの立ち上がり及び立ち下がりを所定時間遅延
させた信号を、列アドレス選択信号CASとして出力す
る。更に、メモリ制御回路15は、16MHzのクロッ
ク信号の1サイクルにおける第1周期T1の立ち下がり
に基づき、DMAコントローラ2から入力されるアドレ
ス信号ADDを行アドレスに切り替えるとともに、第3
周期T3の立ち下がりに基づき、アドレス信号ADDを
列アドレスに切り替えて出力する。
At this time, the memory control circuit 15 uses the row address selection signal RAS, the column address selection signal CAS, and the address signal ADD as shown in FIG. Output to. As shown in the figure, the memory control circuit 15 has a 16M
Second cycle T2 in one cycle of the Hz clock signal
At a timing slightly delayed from the falling edge of, the L level state of the input bus cycle start signal BCYST is output as the row address selection signal RAS, and the signal RAS is raised after two cycles of the clock signal. Further, the memory control circuit 15 outputs a signal obtained by delaying the rise and fall of the row address selection signal RAS for a predetermined time as a column address selection signal CAS. Further, the memory control circuit 15 switches the address signal ADD input from the DMA controller 2 to the row address based on the trailing edge of the first period T1 in one cycle of the 16 MHz clock signal, and the third
Based on the falling edge of the cycle T3, the address signal ADD is switched to the column address and output.

【0031】その結果、画像メモリ6は、前記と同様
に、行及び列アドレス選択信号RAS,CASの立ち下
がりに基づき、それぞれアドレス信号ADDの行アドレ
ス及び列アドレスを取り込み、その取り込んだアドレス
において画データの読出し/書込みを行う。
As a result, the image memory 6 fetches the row address and the column address of the address signal ADD based on the fall of the row and column address selection signals RAS and CAS, and the image is fetched at the fetched address, as described above. Read / write data.

【0032】次に、前記のように構成されたファクシミ
リ装置の作用を説明する。さて、例えばファクシミリ送
信動作が開始された場合には、先ずスキャナ7により原
稿上の画像が読み取られるとともに、その読取画データ
が読取側CODEC8にて符号化される。そして、その
符号化データは、CPU1内蔵のDMAコントローラ2
により、バスbsを介して画像メモリ6にDMA転送さ
れて、同メモリ6に一旦記憶される。その後、画像メモ
リ6内の画データは、同じくCPU1内蔵のDMAコン
トローラ2により、通信用CODEC11にDMA転送
されて、復号化及び再符号化処理をなされる。続いて、
画データは、外付けのDMAコントローラ14により、
通信用CODEC11からモデムバッファ5にDMA転
送されるとともに、同バッファ5からモデム4にDMA
転送され、モデム4にて変調された後、NCU3及び電
話回線を介して相手側装置に送信される。
Next, the operation of the facsimile apparatus configured as described above will be described. Now, for example, when the facsimile transmission operation is started, the image on the document is first read by the scanner 7, and the read image data is encoded by the reading side CODEC 8. Then, the encoded data is the DMA controller 2 with the built-in CPU 1.
Thus, the data is DMA-transferred to the image memory 6 via the bus bs and temporarily stored in the memory 6. After that, the image data in the image memory 6 is DMA-transferred to the communication CODEC 11 by the DMA controller 2 also incorporated in the CPU 1 to be decoded and re-encoded. continue,
The image data is transmitted by the external DMA controller 14
DMA transfer from the communication CODEC 11 to the modem buffer 5 and DMA transfer from the buffer 5 to the modem 4
After being transferred and modulated by the modem 4, it is transmitted to the partner device via the NCU 3 and the telephone line.

【0033】一方、ファクシミリ受信動作が開始された
場合には、相手側装置から送信されてきた画データがN
CU3及びモデム4を介して受信され、モデム4にて復
調される。そして、画データは、外付けのDMAコント
ローラ14により、モデム4からモデムバッファ5にD
MA転送されるとともに、同バッファ5から通信用CO
DEC11にDMA転送されて、復号化及び再符号化処
理をなされる。続いて、符号化された画データは、CP
U1内蔵のDMAコントローラ2により画像メモリ6に
DMA転送されて、同メモリ6に一旦記憶される。その
後、画像メモリ6内の画データは、同じくCPU1内蔵
のDMAコントローラ2により記録側CODEC9にD
MA転送されて、同CODEC9にて復号化される。そ
して、その復号化データに基づき、プリンタ10により
記録紙上に印字が行われる。
On the other hand, when the facsimile receiving operation is started, the image data transmitted from the partner device is N
It is received via the CU 3 and the modem 4, and demodulated by the modem 4. Then, the image data is transferred from the modem 4 to the modem buffer 5 by the external DMA controller 14.
MA is transferred and the communication CO is also sent from the buffer 5.
It is DMA-transferred to the DEC 11 and subjected to decoding and re-encoding processing. Then, the encoded image data is CP
It is DMA-transferred to the image memory 6 by the DMA controller 2 incorporated in the U1 and temporarily stored in the memory 6. After that, the image data in the image memory 6 is transferred to the recording side CODEC 9 by the DMA controller 2 also incorporated in the CPU 1.
The data is transferred to the MA and decrypted by the CODEC 9. Then, based on the decrypted data, the printer 10 prints on the recording paper.

【0034】又、コネクタ13に接続された外部機器と
の間でデータの通信が行われる場合には、外付けのDM
Aコントローラ14により、画像メモリ6内のデータが
シリアルインターフェイス12にDMA転送されてから
外部機器に送られるとともに、外部機器から送られてき
たデータがシリアルインターフェイス12から画像メモ
リ6にDMA転送されて、同メモリ6に記憶される。
When data communication is performed with an external device connected to the connector 13, an external DM is used.
By the A controller 14, the data in the image memory 6 is DMA-transferred to the serial interface 12 and then sent to the external device, and the data sent from the external device is DMA-transferred from the serial interface 12 to the image memory 6, It is stored in the memory 6.

【0035】尚、上記のように、画像メモリ6やモデム
バッファ5と所定の入出力手段との間で画データのDM
A転送が開始されるときには、CPU1より各DMAコ
ントローラ2,14に対して所定のタイミングで作動指
令がなされる。又、このとき、何れのDMAコントロー
ラ2,14に対して作動指令がなされたかが、状態表示
信号としてCPU1よりメモリ制御回路15に出力され
る。すると、その状態表示信号に基づき、メモリ制御回
路15にて、何れのDMAコントローラ2,14が作動
されるかが認識され、その作動されるDMAコントロー
ラ2,14に応じて、図2及び図3に示すような制御信
号が画像メモリ6或いはモデムバッファ5に対して供給
される。
As described above, DM of image data is exchanged between the image memory 6 or the modem buffer 5 and a predetermined input / output means.
When the A transfer is started, the CPU 1 issues an operation command to each of the DMA controllers 2 and 14 at a predetermined timing. Further, at this time, which of the DMA controllers 2 and 14 the operation command is issued to is output from the CPU 1 to the memory control circuit 15 as a status display signal. Then, based on the status display signal, the memory control circuit 15 recognizes which of the DMA controllers 2 and 14 is to be operated. A control signal as shown in (1) is supplied to the image memory 6 or the modem buffer 5.

【0036】このように、本実施例では、CPU1から
の状態表示信号に基づき、作動されるDMAコントロー
ラ2,14を正確に認識して、その作動されるDMAコ
ントローラ2,14応じた制御信号を画像メモリ6やモ
デムバッファ5に対して容易かつ確実に供給することが
できる。このため、動作速度や動作タイミングの異なる
複数のDMAコントローラ2,14を使用した場合で
も、画像メモリ6やモデムバッファ5の画データの入出
力制御を正確に行うことができる。
As described above, in this embodiment, the operated DMA controllers 2 and 14 are accurately recognized based on the status display signal from the CPU 1, and the control signals corresponding to the operated DMA controllers 2 and 14 are generated. It can be easily and surely supplied to the image memory 6 and the modem buffer 5. Therefore, even when a plurality of DMA controllers 2 and 14 having different operation speeds and operation timings are used, the input / output control of the image data of the image memory 6 and the modem buffer 5 can be accurately performed.

【0037】又、本実施例のように、多数の入出力手段
を備えているファクシミリ装置であっても、複数のDM
Aコントローラ2,14により、それら入出力手段と画
像メモリ6やモデムバッファ5との間でDMA転送を行
わせることにより、画データの転送を短時間で効率良く
行うことができる。このため、高速処理が可能なファク
シミリ装置を実現することができる。
Further, even if the facsimile apparatus is provided with a large number of input / output means as in this embodiment, a plurality of DMs are used.
By causing the A controllers 2 and 14 to perform the DMA transfer between the input / output means and the image memory 6 and the modem buffer 5, the image data can be transferred efficiently in a short time. Therefore, it is possible to realize a facsimile machine capable of high-speed processing.

【0038】しかも、本実施例では、読取側CODEC
8から画像メモリ6への画データの転送、及び画像メモ
リ6から記録側CODEC9への画データの転送を、外
付けのDMAコントーラ14ではなく、それより動作速
度の速いCPU1内蔵のDMAコントーラ2で行わせる
ようにしている。このため、特に高速処理を要求される
原稿上の画像の読取動作と画データの記録紙上への記録
動作とについて、高速で行うことが可能となる。
Moreover, in the present embodiment, the reading side CODEC
8 from the image memory 6 to the image memory 6 and from the image memory 6 to the recording side CODEC 9 by the DMA controller 2 with a faster operating speed than the external DMA controller 14 I'm trying to get it done. Therefore, it is possible to perform the reading operation of the image on the original and the recording operation of the image data on the recording paper, which require particularly high-speed processing, at high speed.

【0039】尚、本発明は前記実施例に限定されるもの
ではなく、例えば以下のように変更して具体化してもよ
い。 (1)DMAコントーラを3つ以上設けること。
The present invention is not limited to the above embodiment, but may be embodied with the following modifications. (1) Provide three or more DMA controllers.

【0040】(2)何れのDMAコントローラ2,14
で何のDMA制御を行うかを、前記実施例の態様以外に
適宜変更すること。
(2) Which DMA controller 2, 14
What kind of DMA control is to be carried out in any other way than the mode of the above embodiment.

【0041】[0041]

【発明の効果】 以上詳述したように、請求項1の発明
によれば、動作速度や動作タイミングの異なる複数のD
MAコントローラを使用した場合でも、作動されるDM
Aコントローラに応じた制御信号をメモリに対して容易
かつ確実に供給することができ、メモリのデータの入出
力制御を正確に行うことができるという優れた効果を発
揮する。
As described in detail above, according to the first aspect of the invention, a plurality of Ds having different operation speeds and operation timings are used.
DM operated even when using MA controller
The control signal according to the A controller can be easily and surely supplied to the memory, and the excellent effect that the input / output control of the data of the memory can be accurately performed is exhibited.

【0042】請求項2の発明によれば、多数の入出力手
段を備えているファクシミリ装置であっても、複数のD
MAコントローラにより、画像メモリとの間での画デー
タの転送を短時間で効率良く行うことができる。
According to the second aspect of the invention, even if the facsimile apparatus is provided with a large number of input / output means, a plurality of D
The MA controller can efficiently transfer image data to and from the image memory in a short time.

【0043】請求項3の発明によれば、特に高速処理を
要求される原稿上の画像の読取動作と画データの記録紙
上への記録動作とについて、高速で行うことが可能とな
る。
According to the third aspect of the present invention, it is possible to perform the reading operation of the image on the original and the recording operation of the image data on the recording paper which require particularly high-speed processing at high speed.

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

【図1】 本発明を具体化した一実施例を示す回路構成
図。
FIG. 1 is a circuit configuration diagram showing an embodiment of the present invention.

【図2】 外付けDMAコントローラのDMA制御時に
おける画データの読み出し/書き込動作を示すタイムチ
ャート。
FIG. 2 is a time chart showing a read / write operation of image data during DMA control of an external DMA controller.

【図3】 CPU内蔵のDMAコントローラのDMA制
御時における画データの読み出し/書き込み動作を示す
タイムチャート。
FIG. 3 is a time chart showing a read / write operation of image data during DMA control of a DMA controller with a built-in CPU.

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

1…主制御部としてのCPU、2…DMAコントロー
ラ、4…入出力手段としてのモデム、5…メモリとして
のモデムバッファ、6…画像メモリ、7…入出力手段と
しての読取手段を構成するスキャナ、8…入出力手段と
しての読取手段を構成する読取側CODEC、9…入出
力手段としての記録手段を構成する記録側CODEC、
10…入出力手段としての記録手段を構成するプリン
タ、11…入出力手段としての通信用CODEC、12
…入出力手段としてのシリアルインターフェイス、14
…DMAコントローラ、15…メモリ制御回路。
DESCRIPTION OF SYMBOLS 1 ... CPU as main controller, 2 ... DMA controller, 4 ... Modem as input / output means, 5 ... Modem buffer as memory, 6 ... Image memory, 7 ... Scanner that constitutes reading means as input / output means, 8 ... a reading side CODEC constituting a reading means as an input / output means, 9 ... a recording side CODEC constituting a recording means as an input / output means,
DESCRIPTION OF SYMBOLS 10 ... Printer constituting recording means as input / output means, 11 ... Communication CODEC as input / output means, 12
... Serial interface as input / output means, 14
... DMA controller, 15 ... Memory control circuit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 主制御部からの指令に基づき、動作速度
や動作タイミングの異なる複数の各DMAコントローラ
により、メモリと複数の各入出力手段との間でデータの
DMA転送を行わせるに際して、主制御部からの状態表
示信号に基づき、作動されるDMAコントローラに応じ
たデータ入出力のための制御信号をメモリに対して供給
するように構成したメモリ制御回路。
1. When a DMA transfer of data is performed between a memory and a plurality of input / output means by a plurality of DMA controllers having different operation speeds and operation timings based on a command from a main controller, A memory control circuit configured to supply a control signal for data input / output according to a DMA controller to be operated to a memory based on a status display signal from a control unit.
【請求項2】 メモリは画データを記憶するための画像
メモリであって、複数のDMAコントローラは画像メモ
リと複数の各入出力手段との間で画データのDMA転送
を行わせるものである請求項1に記載のメモリ制御回路
を備えたファクシミリ装置。
2. The memory is an image memory for storing image data, and the plurality of DMA controllers cause the image data to be DMA-transferred between the image memory and each of the plurality of input / output means. A facsimile apparatus including the memory control circuit according to item 1.
【請求項3】 入出力手段として少なくとも、原稿上の
画像を読み取る読取手段と、画像メモリ内の画データに
基づき記録紙上に印字を行う記録手段とを備え、読取手
段から画像メモリへの読取画データの転送及び画像メモ
リから記録手段への画データの転送を、動作速度の最も
速いDMAコントローラで行わせるように構成した請求
項2に記載のファクシミリ装置。
3. An input / output unit comprising at least a reading unit for reading an image on a document and a recording unit for printing on a recording paper based on image data in the image memory, and the reading image from the reading unit to the image memory. The facsimile apparatus according to claim 2, wherein the data transfer and the image data transfer from the image memory to the recording means are performed by a DMA controller having the highest operation speed.
JP6312013A 1994-12-15 1994-12-15 Memory control circuit and facsimile equipment provided with the circuit Pending JPH08166901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6312013A JPH08166901A (en) 1994-12-15 1994-12-15 Memory control circuit and facsimile equipment provided with the circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6312013A JPH08166901A (en) 1994-12-15 1994-12-15 Memory control circuit and facsimile equipment provided with the circuit

Publications (1)

Publication Number Publication Date
JPH08166901A true JPH08166901A (en) 1996-06-25

Family

ID=18024169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6312013A Pending JPH08166901A (en) 1994-12-15 1994-12-15 Memory control circuit and facsimile equipment provided with the circuit

Country Status (1)

Country Link
JP (1) JPH08166901A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010079730A (en) * 2008-09-26 2010-04-08 Canon Inc Information processor, and control method of the same
JP2019159437A (en) * 2018-03-08 2019-09-19 富士通株式会社 Information processing unit, transfer control method, and transfer control program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010079730A (en) * 2008-09-26 2010-04-08 Canon Inc Information processor, and control method of the same
US8392630B2 (en) 2008-09-26 2013-03-05 Canon Kabushiki Kaisha Information processing apparatus having first DMA controller and second DMA controller wherein selection circuit determines which DMA will perform data transfer based on higher data transfer performance
JP2019159437A (en) * 2018-03-08 2019-09-19 富士通株式会社 Information processing unit, transfer control method, and transfer control program

Similar Documents

Publication Publication Date Title
JP3059520B2 (en) Data processing device and facsimile device
JPH08317120A (en) Image reader and image data transfer system
CA1247732A (en) Image processing system
US5257117A (en) Computer-facsimile system having separately a sending device and a receiving device
JPH08166901A (en) Memory control circuit and facsimile equipment provided with the circuit
JPH10107855A (en) Data transmitter
JP3221430B2 (en) Image processing device
JPH03153161A (en) Picture transmitter
JPS62160878A (en) Dual port memory
JP3271592B2 (en) Facsimile machine
JP3016314B2 (en) Page printer
JP2005099928A (en) Wait signal generation method for computer system, computer system, and electronic circuit for the same
JPS59127462A (en) Facsimile equipment
JP3018864B2 (en) Facsimile machine
JPS6120167A (en) Data storage device
JP3309560B2 (en) Image processing device
JP2005078599A (en) Computer system and its electronic circuit
JPH1056544A (en) Communication terminal device
JPS62267822A (en) Printing device
JP2019213124A (en) Image processing apparatus, control method therefor, and program
JPH09298625A (en) Facsimile communication system and transmission method therefor
KR20000047198A (en) Method for controlling facsimile data transmission
JPS62268662A (en) Printer
JPH08305665A (en) Memory controller
JP2002190895A (en) Facsimile terminal, its control method, and computer- readable storage medium storing its control program