JP2003099391A - Dma-forwarding method - Google Patents

Dma-forwarding method

Info

Publication number
JP2003099391A
JP2003099391A JP2001290425A JP2001290425A JP2003099391A JP 2003099391 A JP2003099391 A JP 2003099391A JP 2001290425 A JP2001290425 A JP 2001290425A JP 2001290425 A JP2001290425 A JP 2001290425A JP 2003099391 A JP2003099391 A JP 2003099391A
Authority
JP
Japan
Prior art keywords
data
internal information
dmac
response data
response
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
JP2001290425A
Other languages
Japanese (ja)
Other versions
JP4136347B2 (en
Inventor
Tomonori Tanaka
智憲 田中
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001290425A priority Critical patent/JP4136347B2/en
Publication of JP2003099391A publication Critical patent/JP2003099391A/en
Application granted granted Critical
Publication of JP4136347B2 publication Critical patent/JP4136347B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Bus Control (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a DMA-forwarding method, preventing forwarding errors in a response data for DMA demand consisting of a plurality of channels, in a composited image forming process apparatus. SOLUTION: In the DMA-forwarding method constituted from DMAC which is the source of demand for plurality of data, an arbiter 1084 adjusting the data demands of DMAC and a data control part carry out data access demand to a data providing source such as an outside memory according to the adjusted result and administrating the exchange of forwarding data in between the DMAC and the data supplying source, the DMAC is provided with an outputting means, which outputs specified inside information with the demand signal when an access demand is made. In this case, the data control part is provided with a storage means 1083 temporarily saving the access demand by the DMAC, which is permitted by the adjustment and the inside information paired with it. Furthermore, a checking means 1086 is provided for checking the inside information saved to the storing means 1083 with the present inside information, which is outputted from the output means at the time of reception of the response data for the access demand, and when they do not match, the response data is deemed as being ineffective.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、DMA転送方式に
係わり、特に、デジタル複写機、スキャナ、プリンタ、
FAX等の画像処理装置における複数チャネルからなる
DMA要求を適正に管理することを可能にしたDMA転
送方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA transfer system, and more particularly to a digital copying machine, a scanner, a printer,
The present invention relates to a DMA transfer method capable of appropriately managing a DMA request including a plurality of channels in an image processing apparatus such as a FAX.

【0002】[0002]

【従来の技術】近年、デジタル複写機の普及と共に、複
写機上で画像メモリを応用した加工、編集が盛んに行わ
れるようになってきている。デジタル複写機における加
工、編集機能には、例えば、画像メモリからの読み出し
時のアドレス操作による画像回転、画像メモリ上に同一
パターンのデータを複数形成することによるイメージリ
ピート、画像メモリへの書き込み時のアドレス操作によ
る複数枚の原稿を1枚の転写紙への集約コピー等があ
る。このような機能を実現するために、デジタル複写機
は、通常、最低原稿1枚分の画像データを展開すること
が可能な画像メモリを備えている。
2. Description of the Related Art In recent years, with the spread of digital copying machines, processing and editing using image memories have been actively performed on the copying machines. The processing and editing functions of the digital copying machine include, for example, image rotation by address operation when reading from the image memory, image repeat by forming a plurality of data of the same pattern on the image memory, and writing at the image memory. There is an aggregate copy of a plurality of originals on one transfer sheet by an address operation. In order to realize such a function, a digital copying machine is usually provided with an image memory capable of developing image data for at least one original.

【0003】ところで、特開平8−149241に記載
されているような複合型画像形成装置では、スキャナ、
プリンタ、画像を記憶させる画像メモリを持つコントロ
ーラ等の各機能機器を汎用バスで接続することにより、
インターフェースを共通化して別々の機器の接続のため
の無駄な回路や制御ソフトの増加を抑制し、また拡張性
の高いシステムとすることを目的としたシステムが提案
されている。
By the way, in the composite type image forming apparatus as described in JP-A-8-149241, a scanner,
By connecting each functional device such as a printer and a controller with an image memory for storing images with a general-purpose bus,
There has been proposed a system aiming at making a system with a high degree of expandability by making an interface common and suppressing unnecessary circuits and control software for connecting different devices.

【0004】[0004]

【発明が解決しようとする課題】しかし、一般に、汎用
バス、バスブリッジ経由等で接続された外部メモリをリ
ードアクセスする場合には、そのレスポンス時間が、直
に接続されているRAM等へのメモリアクセスの場合に
比べて大きくなる。例えば、メモリアクセスする要求源
がDMAC(ダイレクトメモリアクセスコントローラ)
であり、レスポンスデータを受け取る前に、要求してい
たDMAが何らかの理由で強制終了された場合は、それ
に対するレスポンスデータは無効データとなってしま
う。この場合は問題とならないが、レスポンス時間が十
分に大きく、無効なデータが到着する前に、次のDMA
を起動した場合には、前に起動した時のDMAデータを
誤って受け取ってしまうという事態が発生してしまう。
However, in general, when a read access is made to an external memory connected via a general-purpose bus, a bus bridge, etc., the response time is the memory to the directly connected RAM or the like. It will be larger than in the case of access. For example, the request source for memory access is DMAC (Direct Memory Access Controller)
Therefore, if the requested DMA is forcibly terminated for some reason before the response data is received, the response data corresponding thereto becomes invalid data. This is not a problem in this case, but the response time is large enough that the next DMA before the invalid data arrives.
When activating, the situation occurs in which the DMA data from the previous activation is erroneously received.

【0005】本発明は、上記の従来技術の問題点に鑑
み、以下の事項を解決することを目的とする。第1の目
的は、メモリ要求時のDMACの内部状態を一時保存さ
せ、レスポンスデータ受信時に現在のDMACの内部状
態と比較照合することにより、前のDMA起動時の無効
なデータを誤って転送しないようにした信頼性の高いD
MA転送方式を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems of the prior art and has as its object to solve the following matters. The first purpose is to temporarily store the internal state of the DMAC at the time of memory request, and compare and collate with the internal state of the current DMAC at the time of receiving response data, so that invalid data at the previous DMA start is not accidentally transferred. Reliable D
It is to provide an MA transfer method.

【0006】第2の目的は、複数のDMACが持つデー
タ加工のための回路を、1箇所で行うようにして、簡単
な構成により低コスト化を図ったDMA転送方式を提供
することにある。
A second object of the present invention is to provide a DMA transfer system in which a circuit for data processing of a plurality of DMACs is carried out at one place so that the cost can be reduced by a simple structure.

【0007】第3の目的は、第1の目的および第2の目
的を共に達成することのできるDMA転送方式を提供す
ることにある。
A third object is to provide a DMA transfer system which can achieve both the first object and the second object.

【0008】[0008]

【課題を解決するための手段】本発明は、上記の課題を
解決するために、次のような手段を採用した。
The present invention employs the following means in order to solve the above problems.

【0009】第1の手段は、複数のデータ要求源である
DMACと、該DMACのデータ要求を調停するアービ
タと、前記調停結果から外部メモリ等のデータ供給源に
対しデータアクセス要求を行い、かつ、転送データのや
りとりをDMACとデータ供給源との間で管理するデー
タ制御部とで構成されるDMA転送方式において、前記
DMACは、アクセス要求の際、要求信号と共に所定の
内部情報を出力する内部情報出力手段を有し、前記デー
タ制御部は、前記調停によって許可されたDMACのア
クセス要求と対の内部情報を一時保存する内部情報一時
記憶手段を有し、アクセス要求に対するレスポンスデー
タの受信時、前記保存された内部情報に基づいて前記レ
スポンスデータに対して所定の処理を施すことを特徴と
する。
A first means is a plurality of data request sources, a DMAC, an arbiter that arbitrates data requests of the DMAC, a data access request to a data supply source such as an external memory from the arbitration result, and In the DMA transfer method, which comprises a DMAC and a data control unit that manages the transfer of transfer data between a DMAC and a data supply source, the DMAC internally outputs predetermined internal information together with a request signal when an access request is made. The data control unit has an information output unit, the data control unit has an internal information temporary storage unit that temporarily stores internal information paired with the access request of the DMAC permitted by the arbitration, and when receiving response data to the access request, A predetermined process is performed on the response data based on the stored internal information.

【0010】第2の手段は、第1の手段において、前記
内部情報は、前記DMACがページ単位で一連のデータ
転送の起動毎にカウントされるnビットの起動順情報で
構成され、前記データ制御部は、前記レスポンスデータ
受信時、前記内部情報一時記憶手段に保存されている内
部情報と、前記内部情報出力手段から出力される現在の
内部情報とを照合し、一致しない場合は、レスポンスデ
ータを無効とするデータ照合手段を有することを特徴と
する。
According to a second means, in the first means, the internal information is composed of n-bit activation order information counted every activation of a series of data transfer by the DMAC, and the data control is performed. When receiving the response data, the section collates the internal information stored in the internal information temporary storage means with the current internal information output from the internal information output means. It is characterized by having invalid data collating means.

【0011】第3の手段は、第1の手段において、前記
内部情報は、前記DMACが前記レスポンスデータに施
すべきデータ加工情報で構成され、前記データ制御部
は、前記レスポンスデータの受信時に、前記内部情報一
時記憶手段に保存されている内部情報に基づいて前記レ
スポンスデータを加工するデータ加工手段を有すること
を特徴とする。
A third means is the first means, wherein the internal information is data processing information to be applied to the response data by the DMAC, and the data control unit receives the response data when the response data is received. It is characterized by further comprising data processing means for processing the response data based on the internal information stored in the internal information temporary storage means.

【0012】第4の手段は、第1の手段において、前記
内部情報は、前記DMACがページ単位で一連のデータ
転送の起動毎にカウントされるnビットの起動順情報
と、前記DMACが前記レスポンスデータに施すべきデ
ータ加工情報で構成され、前記データ制御部は、前記レ
スポンスデータ受信時、前記内部情報一時記憶手段に保
存されている内部情報と前記内部情報出力手段から出力
される現在の内部情報とを照合し、一致しない場合は、
レスポンスデータを無効とするデータ照合手段と、前記
内部情報一時記憶手段に保存されている内部情報に基づ
いて前記レスポンスデータを加工するデータ加工手段と
を有することを特徴とする。
[0012] According to a fourth means, in the first means, the internal information is n-bit activation sequence information counted each time the DMAC activates a series of data transfer in page units, and the DMAC responds to the response. The data control unit is composed of data processing information to be applied to data, and when the response data is received, the data control unit stores internal information stored in the internal information temporary storage unit and current internal information output from the internal information output unit. If you don't match
It is characterized by further comprising data collating means for invalidating the response data and data processing means for processing the response data based on the internal information stored in the internal information temporary storage means.

【0013】[0013]

【発明の実施の形態】以下に、本発明の一実施形態を図
面を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings.

【0014】図1は、各種の画像処理機器からなる複合
画像形成装置の電気的構成の概要を示す図である。
FIG. 1 is a diagram showing an outline of an electrical configuration of a composite image forming apparatus including various image processing devices.

【0015】同図において、10は画像形成装置全体を
制御するシステムコントローラであり、このシステムコ
ントローラ10には、オペレータに対する表示およびオ
ペレータからの機能設定入力制御、コピー指示を行う操
作/表示ボードOPBが接続される。
In the figure, reference numeral 10 denotes a system controller for controlling the entire image forming apparatus. The system controller 10 has an operation / display board OPB for displaying to the operator, controlling the function setting input from the operator, and issuing a copy instruction. Connected.

【0016】また、システムコントローラ10には、通
常のコピー処理に係る制御の他に、パソコン等の外部か
らの画像およびプリントを指示するコマンドを解析し、
画像データとして、印刷できる状態にビットマップ展開
し、プリンタ400を駆動して画像データをプリントア
ウトする印刷制御も行う。さらに、システムコントロー
ラ10は、画像およびコマンドをLANやパラレルI/
Fを通じて受信し動作するためのLANコントロールや
パラレルI/Fを備える。
Further, the system controller 10 analyzes a command for instructing an image and print from the outside such as a personal computer in addition to control related to normal copy processing,
As image data, a bitmap control is performed in a printable state and the printer 400 is driven to perform print control for printing out the image data. Further, the system controller 10 sends images and commands to a LAN or parallel I / O.
LAN control and parallel I / F for receiving and operating through F are provided.

【0017】ファクシミリボードFXBは、フアクシミ
リ送信指示がある時には、コントローラ10を介してス
キャナ200を駆動して原稿の画像を読んで、画像デー
タを、通信コントロールおよびファクシミリボードFX
Bを介して、ファクシミリ通信回線に送出する。通信回
線からファクシミリの呼びを受け画像データを受信した
時は、システムコントローラ10を介して、プリンタ4
00を駆動し画像データをプリンタ400にてプリント
アウトする。
When there is a facsimile transmission instruction, the facsimile board FXB drives the scanner 200 via the controller 10 to read the image of the original, and the image data is transferred to the communication control and facsimile board FX.
It is sent to the facsimile communication line via B. When a facsimile call is received from the communication line and image data is received, the printer 4 is sent via the system controller 10.
00 to print out the image data by the printer 400.

【0018】スキャナ200とプリンタ400とは、汎
用バスであるPCI(Peripheral Comp
onent Interconnect)バス12を介
して相互に通信を行うことが可能である。スキャナ20
0によって読み取られた画像デ−タは、その内部の画像
処理(IPU)によって、読み取られた画像デ−タの光
学系およびディジタル信号への量子化に伴う信号劣化
(スキャナ系の信号劣化、スキャナ特性による読取り画
像デ−タの歪)を補正し、補正された画像デ−タを、プ
リンタ400に送出したり、またはシステムコントロー
ラ10に接続された画像メモリ11に書込むことが可能
である。
The scanner 200 and the printer 400 have a PCI (Peripheral Comp) which is a general-purpose bus.
It is possible to communicate with each other via the present interconnect bus 12. Scanner 20
The image data read by 0 is signal deterioration due to the image processing (IPU) in the image data due to quantization of the read image data into an optical system and a digital signal (signal deterioration of the scanner system, scanner It is possible to correct the distortion of read image data due to the characteristics, and send the corrected image data to the printer 400 or write it in the image memory 11 connected to the system controller 10.

【0019】スキャナ200には、読取り画像デ−タを
画像メモリ11に蓄積して再利用するジョブと、画像メ
モリ11に蓄積しないで、プリンタ400に出力するジ
ョブとがある。メモリ11に蓄積する例としては、1枚
の原稿を複数枚複写する場合に、スキャナ200を1回
だけ動作させ、読取り画像デ−タをメモリ11に蓄積
し、蓄積データを複数回読み出す使い方がある。また、
画像メモリ11を使わない例としては、1枚の原稿を1
枚だけ複写する場合で、読取り画像デ−タをそのままプ
リンタ400に出力すれば良く、画像メモリ11への書
込みを行う必要がない。なお、読取り画像デ−タを比較
的長期間保存する場合は、既設または増設された、図示
しない画像メモリ,フロッピデイスク,コンパクトディ
スク,ハードディスクまたはDVDに書込む。またホス
トコンピュータPCaから与えられる印刷データ(テキ
ストデータである文章データ、またはイメージデータで
あるピクセルデータ)も同様に取り扱われる。
The scanner 200 includes a job for storing the read image data in the image memory 11 for reuse and a job for outputting the read image data to the printer 400 without storing it in the image memory 11. As an example of storing the original in the memory 11, when copying one sheet of a plurality of sheets, the scanner 200 is operated only once, the read image data is stored in the memory 11, and the stored data is read out a plurality of times. is there. Also,
As an example of not using the image memory 11, one original is
In the case of copying only one sheet, the read image data may be output to the printer 400 as it is, and it is not necessary to write it in the image memory 11. If the read image data is to be stored for a relatively long period of time, the read image data is written in an image memory, floppy disk, compact disk, hard disk or DVD (not shown) which is already installed or added. In addition, print data (text data, which is text data, or pixel data, which is image data) provided from the host computer PCa is handled in the same manner.

【0020】さらに、画像メモリ11を使わない場合に
ついて説明すると、スキャナ200は、その内部のIP
Uで、CCDによる輝度データを面積階調に変換するた
めの画質処理を行う。画質処理され面積階調に変化され
た信号はプリンタ400に送出され、プリンタ400内
においてその内部の画像メモリを介して書込み制御に与
えられる。プリンタ400内の書込み制御は、ドット配
置に関する後処理およびドットを再現するためのパルス
制御をプリンタ400内の作像ユニットに対して行い、
転写紙上に再生画像を形成する。
Further, the case where the image memory 11 is not used will be described.
At U, image quality processing for converting the luminance data by the CCD into area gradation is performed. The signal subjected to the image quality processing and changed into the area gradation is sent to the printer 400, and given to the writing control in the printer 400 via the image memory therein. The writing control in the printer 400 performs post-processing regarding dot arrangement and pulse control for reproducing dots to the image forming unit in the printer 400,
A reproduced image is formed on the transfer paper.

【0021】また、画像メモリ11を使う場合について
は、画像メモリ11に蓄積され、それから読み出され
て、付加的な処理、例えば、画像方向の回転や画像の合
成等を行う場合は、システムコントローラ10内で、画
像データと画像メモリ11のアクセス制御、ホストコン
ピュータPCaのプリント用データの展開(文字コ−ド
/キャラクタビット変換)、メモリ有効活用のための画
像データの圧縮/伸張を行う。画像メモリ11へ送られ
たデータは、画像メモリ11内でデータ圧縮後メモリへ
蓄積し、蓄積データは必要に応じて読み出される。読み
出されたデータは画像メモリ11内で伸長し、本来の画
像データに戻し、PCIバス12を介してプリンタ40
0に出力する。
When the image memory 11 is used, the system controller is used in the case where the image memory 11 is stored in the image memory 11 and read from the image memory 11 for additional processing, for example, rotation of the image direction and image composition. Within 10, the access control of the image data and the image memory 11, the expansion of the print data of the host computer PCa (character code / character bit conversion), and the compression / expansion of the image data for effective memory utilization are performed. The data sent to the image memory 11 is stored in the memory after data compression in the image memory 11, and the stored data is read as needed. The read data is expanded in the image memory 11, restored to the original image data, and transferred to the printer 40 via the PCI bus 12.
Output to 0.

【0022】画像データの流れにおいて、コントローラ
10にあるバス制御によるPCIバス12上のデータ転
送により、デジタル複写機の複合機能を実現する。複合
機能の1つであるFAX送信機能は、スキャナ200の
読取り画像データをPCIバス12を経由してファクシ
ミリボードFXBへ転送する。
In the flow of image data, the composite function of the digital copying machine is realized by data transfer on the PCI bus 12 under the bus control of the controller 10. The FAX transmission function, which is one of the composite functions, transfers the image data read by the scanner 200 to the facsimile board FXB via the PCI bus 12.

【0023】各ジョブ、例えば、コピー機能、ファクシ
ミリ送受信機能、およびプリンタ出力機能において、ス
キャナ200、プリンタ400、画像メモリ11および
ファクシミリボードFXBへの汎用バス、即ち、PCI
バス12の使用権の割り振りを、システムコントローラ
10が、そのバス制御機能を介して制御している。
In each job, for example, the copy function, the facsimile transmission / reception function, and the printer output function, a general-purpose bus to the scanner 200, printer 400, image memory 11 and facsimile board FXB, that is, PCI.
The system controller 10 controls the allocation of the usage right of the bus 12 via its bus control function.

【0024】図2は、図1に示すシステムコントローラ
10の内部構成を示す図である。
FIG. 2 is a diagram showing an internal configuration of the system controller 10 shown in FIG.

【0025】なお、下記の説明で内部ローカルバス10
7上のバスマスタの画像メモリ11へのアクセスは全て
バス制御部108、汎用高速バス109、バスブリッジ
111経由で行われる。
The internal local bus 10 will be described below.
All access to the image memory 11 of the bus master on 7 is performed via the bus control unit 108, the general-purpose high-speed bus 109, and the bus bridge 111.

【0026】次に、システムコントローラ10の各部の
構成について説明する。
Next, the configuration of each part of the system controller 10 will be described.

【0027】PCI I/F部103は、PCIバス1
2と内部ローカルバス107とのI/F部であり、スキ
ャナ200やプリンタ400等のPCIバスマスタから
指定されたアドレス、データを受けて、画像メモリ11
への入出力を行う。
The PCI I / F unit 103 is a PCI bus 1
2 and an internal local bus 107, which receives an address and data designated by a PCI bus master such as the scanner 200 or the printer 400 to receive the image memory 11
I / O to.

【0028】画像転送用DMAC(ダイレクトメモリア
クセスコントローラ)105は、CPU110により起
動され、圧縮時にはあらかじめ指定された領域の画像メ
モリ11から画像データを読み出して圧縮/伸長部10
1にデータ出力し、また、伸長時には圧縮/伸長部10
1から受けた画像データをあらかじめ指定された領域の
画像メモリ11への書き込みを行う。
A DMAC (Direct Memory Access Controller) 105 for image transfer is activated by the CPU 110, and at the time of compression, it reads out image data from the image memory 11 in a predetermined area and compresses / expands the data.
The data is output to 1 and the compression / expansion unit 10 is used for expansion.
The image data received from 1 is written to the image memory 11 in a predesignated area.

【0029】符号転送用DMAC(ダイレクトメモリア
クセスコントローラ)104は、CPU110により起
動され、圧縮時には圧縮/伸長部101より出力される
圧縮処理された符号データを受け、あらかじめ指定され
た領域の画像メモリ11への書き込みを行う。また、伸
長時にはあらかじめ指定された領域の画像メモリ11か
ら符号データを読み出して、圧縮/伸長部101に出力
する。圧縮時には、圧縮/伸長部101から受ける符号
データのデータ量をカウントしており、圧縮終了時に
は、CPU110は内部レジスタ経由でそのカウント値
を知ることができる。
The code transfer DMAC (Direct Memory Access Controller) 104 is activated by the CPU 110, receives the compressed code data output from the compression / expansion unit 101 during compression, and receives the image memory 11 in a predetermined area. Write to. Further, at the time of decompression, the code data is read from the image memory 11 in the area designated in advance and output to the compression / decompression unit 101. At the time of compression, the amount of code data received from the compression / expansion unit 101 is counted, and at the end of compression, the CPU 110 can know the count value via an internal register.

【0030】圧縮/伸長部101は、圧縮時において、
画像転送用DMAC105から受けた画像データを圧縮
して符号転送用DMAC104に符号データとして出力
し、伸長時には、符号転送用DMAC104から受けた
符号データを伸長して画像転送用DMAC105に画像
データとして出力する。なお、圧縮時には、圧縮終了信
号も出力し、符号転送用DMACに通知する。本実施形
態ではMH符号化方式としている。
The compression / expansion unit 101
The image data received from the image transfer DMAC 105 is compressed and output to the code transfer DMAC 104 as code data, and when decompressed, the code data received from the code transfer DMAC 104 is decompressed and output to the image transfer DMAC 105 as image data. . At the time of compression, a compression end signal is also output to notify the code transfer DMAC. In this embodiment, the MH encoding method is used.

【0031】HDD転送用DMAC(ダイレクトメモリ
アクセスコントローラ)106は、HDD転送用のDM
ACであり、画像メモリ11とHDD102との間でデ
ータ転送を行う。
A DMAC (Direct Memory Access Controller) 106 for HDD transfer is a DM for HDD transfer.
AC is used to transfer data between the image memory 11 and the HDD 102.

【0032】CPU110は、システム関係の全ての設
定、DMACの起動、ホストコンピュータからプリンタ
データ受信時には、プリンタ言語に基づいて画像メモリ
11に描画を行う。描画時は、通常、1ページの画像が
複数バンドに分割されて描画される。
The CPU 110 draws in the image memory 11 based on the printer language when all system-related settings are made, the DMAC is activated, and printer data is received from the host computer. At the time of drawing, an image of one page is usually divided into a plurality of bands and drawn.

【0033】バスブリッジ111は、CPU110がマ
スタとなり画像メモリ11、内部PCIバス112、汎
用高速バス109をアクセスし、また、内部ローカルバ
ス107側がマスタとなり、汎用高速バス109経由で
画像メモリ11をアクセスするパスのブリッジ的な役目
を果たす。内部にはアドレスデコーダやメモリ制御回路
等を備える。
In the bus bridge 111, the CPU 110 serves as a master to access the image memory 11, the internal PCI bus 112 and the general purpose high speed bus 109, and the internal local bus 107 side serves as a master to access the image memory 11 via the general purpose high speed bus 109. It acts as a bridge of the path to do. An address decoder and a memory control circuit are provided inside.

【0034】通信系I/F部114は、図1に示すPC
PCa、操作ボードOPB、ファクシミリボードFX
BとのI/F部であり、送受信されたデータは、内部レ
ジスタ経由で内部PCIバス112を介して、CPU1
10と交信される。
The communication system I / F unit 114 is a PC shown in FIG.
PCa, operation board OPB, facsimile board FX
Data transmitted / received to / from the CPU 1 via the internal PCI bus 112 via an internal register.
Communicated with 10.

【0035】ROM113は、主にCPU110のプロ
グラムが格納されている不揮発性のメモリである。
The ROM 113 is a non-volatile memory that mainly stores the programs of the CPU 110.

【0036】バス制御部108は、内部ローカルバス1
07と、汎用高速バス109のインターフェース回路で
あり、詳細な内部構成については以下に説明する。
The bus control unit 108 uses the internal local bus 1
07 and the interface circuit of the general-purpose high-speed bus 109. The detailed internal configuration will be described below.

【0037】図3は、図2に示すバス制御部108の内
部構成を示す図である。
FIG. 3 is a diagram showing an internal configuration of the bus control unit 108 shown in FIG.

【0038】バス制御部108は、クロック同期のロジ
ック回路で構成され、大きくは汎用高速バスのマスタ制
御に関する回路と、ターゲット制御に関する回路に分け
られるが、本発明の趣旨であるマスタ制御に関する回路
に関しては詳細に説明し、ターゲット制御に関する回路
に関しては簡略して説明する。
The bus control unit 108 is composed of a clock-synchronized logic circuit, and is roughly divided into a circuit related to master control of a general-purpose high-speed bus and a circuit related to target control. Will be described in detail, and circuits related to target control will be briefly described.

【0039】内部情報一時記憶部1083は、内部情報
セレクタ(1)1081によって選択出力される内部情
報1089を、アービタ1084からのアクセス要求発
生のタイミングで記憶保存する記憶部である。汎用高速
バス109が、要求コマンド転送とデータ転送が1対1
ではなく独立して行われる場合は、複数の内部情報を順
番に記憶できるキュー構造として調停情報も対で記憶す
るように構成されている。
The internal information temporary storage unit 1083 is a storage unit for storing and saving the internal information 1089 selected and output by the internal information selector (1) 1081 at the timing of the access request from the arbiter 1084. The general-purpose high-speed bus 109 has a one-to-one correspondence between request command transfer and data transfer.
When performed independently, the arbitration information is also stored in pairs as a queue structure capable of sequentially storing a plurality of internal information.

【0040】内部情報セレクタ(1)1081は、要求
源からの内部情報をアービタ1084からの調停情報1
091に従って選択するセレクタであり、本実施形態で
は、内部情報セレクタ(2)1082も、内部情報セレ
クタ(1)1081と同様に構成されるが、内部情報一
時記憶部1083がキュー構造の場合は、内部情報一時
記憶部1083に記憶した調停情報にて選択する。
The internal information selector (1) 1081 transfers the internal information from the request source to the arbitration information 1 from the arbiter 1084.
The internal information selector (2) 1082 is configured in the same manner as the internal information selector (1) 1081 in the present embodiment. However, when the internal information temporary storage unit 1083 has a queue structure, It is selected by the arbitration information stored in the internal information temporary storage unit 1083.

【0041】アービタ1084は、図2に示した内部ロ
ーカルバス107の左側に図示されたバスにつながる4
つのブロック103〜106がマスタになり、要求信号
1090がアービタ1084に対して出力されると、ア
ービタ1084はマスタ制御部1085の状態に応じて
要求信号1090の1つを許可し、アクセス要求信号1
095をマスタ制御部1085に出力する。このとき図
示しないが、許可された要求源に許可信号が出力され
る。許可された要求源を示すための調停情報1091が
出力される。
The arbiter 1084 is connected to the bus shown on the left side of the internal local bus 107 shown in FIG.
When one of the blocks 103 to 106 becomes the master and the request signal 1090 is output to the arbiter 1084, the arbiter 1084 permits one of the request signals 1090 according to the state of the master control unit 1085, and the access request signal 1
095 is output to the master control unit 1085. At this time, although not shown, a permission signal is output to the authorized request source. Arbitration information 1091 for indicating the permitted request source is output.

【0042】マスタ制御部1085は、アービタ108
4からのアクセス要求1095により汎用高速バス10
9にバスマスタ動作を行い、また、図示しないが、マス
タ制御部1085には調停情報1091に従って選択さ
れたコマンド情報、要求アドレス、ライトならばライト
データが入力され、その内容が汎用高速バス109に反
映される。汎用高速バス109に対しリードアクセスし
た場合はリードデータが用意できると、リードデータの
存在を示す有効元信号1096と共にリードデータ10
97を出力する。
The master control unit 1085 has the arbiter 108.
General-purpose high-speed bus 10 in response to access request 1095 from
9, the master controller 1085 receives the command information selected according to the arbitration information 1091, the request address, and the write data if it is a write, which is reflected in the general-purpose high-speed bus 109 (not shown). To be done. When read access is made to the general-purpose high-speed bus 109, if the read data can be prepared, the read data 10 is sent together with the valid source signal 1096 indicating the presence of the read data.
97 is output.

【0043】ターゲット制御部1088は、汎用高速バ
ス109のバスマスタがCPU110となった場合のタ
ーゲット動作を行い、ターゲット動作でアクセスされる
アドレス情報からデコードし、DMAC等の内部レジス
タをアクセスするための内部レジスタアクセスバス10
94に接続される。
The target control unit 1088 performs a target operation when the bus master of the general-purpose high-speed bus 109 is the CPU 110, decodes from address information accessed by the target operation, and accesses an internal register such as a DMAC. Register access bus 10
Connected to 94.

【0044】データ照合部1086は、マスタ制御部1
085からの要求源信号を元に、調停情報から4つの有
効信号に分割して出力する機能を有し、通常は、内部情
報一時記憶部1083に記憶保存したアクセス要求発生
時の要求源の内部情報と、現在の内部情報とを比較し、
一致すれば出力する有効信号1092の1つをアクティ
ブとする。内部情報には3ビットのDMA起動情報が含
まれており、DMAC側でページ単位でDMA起動がな
される毎にカウントされた内容である。データ照合にお
いて一致しない場合、有効信号がどれもアクティブとさ
れず、これによって、前のDMA起動時の無効なリード
データを誤って転送することを回避することができる。
The data collating unit 1086 is the master control unit 1
Based on the request source signal from 085, it has a function of dividing the arbitration information into four valid signals and outputting them. Normally, the inside of the request source at the time of the access request stored and stored in the internal information temporary storage unit 1083 is used. Compare the information with the current inside information,
If they match, one of the valid signals 1092 to be output is made active. The internal information includes 3-bit DMA activation information, which is the content counted every time DMA activation is performed in page units on the DMAC side. If they do not match in the data collation, none of the valid signals are activated, which makes it possible to avoid the erroneous transfer of invalid read data at the previous DMA activation.

【0045】データ加工部1087は、マスタ制御部1
085からのリードデータ1097を内部情報1089
のDMA起動情報と共に含まれるデータ加工情報にした
がって加工し、内部ローカルバス107側のリードデー
タバス1093に出力する。具体的な加工内容は、画像
データの白黒反転、ビット並びの配列変換等である。こ
れによって、複数のDMACが持つデータ加工のための
回路を1箇所で行うことが可能となる。
The data processing unit 1087 is the master control unit 1
Read data 1097 from 085 is converted to internal information 1089.
Processing is performed according to the data processing information included together with the DMA activation information of No. 1, and is output to the read data bus 1093 on the internal local bus 107 side. Specific processing contents are black-and-white inversion of image data, array conversion of bit arrangement, and the like. As a result, it becomes possible to perform a circuit for data processing of a plurality of DMACs at one place.

【0046】[0046]

【発明の効果】請求項1に記載の発明により、アクセス
要求時のDMACの内部状態を一時保存し、レスポンス
データ受信時に、先に保存された内部情報に基づいてレ
スポンスデータに対して所定の処理を施すようにしたの
で、アクセス要求に対して適正な転送処理を施すことの
できるDMA転送方式を提供ことが可能となる。
According to the invention described in claim 1, the internal state of the DMAC at the time of the access request is temporarily stored, and when the response data is received, a predetermined process is performed on the response data based on the previously stored internal information. Therefore, it is possible to provide a DMA transfer method capable of performing appropriate transfer processing for an access request.

【0047】請求項2に記載の発明により、メモリ要求
時のDMACの内部状態を一時保存し、レスポンスデー
タ受信時に現在のDMACの内部状態と比較照合するこ
とにより、前のDMA起動時のDMA要求に対する無効
なデータを誤って転送することを回避した、信頼性の高
いDMA転送方式を提供することが可能となる。
According to the second aspect of the present invention, the internal state of the DMAC at the time of memory request is temporarily stored, and by comparing and collating with the current internal state of the DMAC at the time of receiving response data, the DMA request at the time of the previous DMA activation. It is possible to provide a highly reliable DMA transfer method that avoids erroneous transfer of invalid data for.

【0048】請求項3に記載の発明により、複数のDM
ACが持つデータ加工のための回路を、1箇所で行うこ
とができるので、簡単な構成で低コスト化されたDMA
転送方式を提供することが可能となる。
According to the invention described in claim 3, a plurality of DMs
Since the circuit for data processing of AC can be performed at one place, DMA with a simple structure and low cost
It becomes possible to provide a transfer method.

【0049】請求項4に記載の発明により、上記請求項
2および請求項3に記載の発明の効果を共に奏すること
のできるDMA転送方式を提供することが可能となる。
According to the invention described in claim 4, it is possible to provide a DMA transfer system which can exert the effects of the inventions described in claims 2 and 3 together.

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

【図1】各種の画像処理機器からなる複合画像形成装置
の電気的構成の概要を示すシステム構成図である。
FIG. 1 is a system configuration diagram illustrating an outline of an electrical configuration of a composite image forming apparatus including various image processing apparatuses.

【図2】図1に示すシステムコントローラ10の内部構
成を示す図である。
FIG. 2 is a diagram showing an internal configuration of a system controller 10 shown in FIG.

【図3】図1に示すバス制御部108の内部構成を示す
図である。
3 is a diagram showing an internal configuration of a bus control unit shown in FIG.

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

10 システムコントローラ 101 圧縮/伸長部 102 HDD 103 PCI I/F部 104 符号転送用DMAC 105 画像転送用DMAC 106 HDD転送用DMAC 107 内部ローカルバス 108 バス制御部 1081 内部情報セレクタ(1) 1082 内部情報セレクタ(2) 1083 内部情報一時記憶部 1084 アービタ 1085 マスタ制御部 1086 データ照合部 1087 データ加工部 1088 ターゲット制御部 1089 内部情報 1090 要求信号 1091 調停情報 1092 有効信号 1093 リードデータバス 1094 内部レジスタアクセスバス 1095 アクセス要求 1096 有効元信号 1097 リードデータ 109 汎用高速バス 110 CPU 111 バスブリッジ 112 内部PCIバス 113 ROM 114 通信系I/F部 11 画像メモリ 12 PCIバス 200 スキャナ 400 プリンタ PCa ホストコンピュータ FXB ファクシミリボード OPB 操作ボード 10 system controller 101 compression / decompression section 102 HDD 103 PCI I / F section 104 DMAC for code transfer 105 Image transfer DMAC 106 HDD transfer DMAC 107 Internal local bus 108 Bus control unit 1081 Internal Information Selector (1) 1082 Internal information selector (2) 1083 Internal information temporary storage unit 1084 Arbiter 1085 Master control unit 1086 Data collation unit 1087 Data processing unit 1088 Target control unit 1089 Inside information 1090 request signal 1091 Mediation information 1092 Valid signal 1093 read data bus 1094 Internal register access bus 1095 Access request 1096 Effective source signal 1097 Read data 109 General-purpose high-speed bus 110 CPU 111 Bus Bridge 112 Internal PCI bus 113 ROM 114 Communication system I / F 11 Image memory 12 PCI bus 200 scanner 400 printer PCa Host computer FXB facsimile board OPB operation board

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のデータ要求源であるDMACと、
該DMACのデータ要求を調停するアービタと、前記調
停結果から外部メモリ等のデータ供給源に対しデータア
クセス要求を行い、かつ、転送データのやりとりをDM
ACとデータ供給源との間で管理するデータ制御部とで
構成されるDMA転送方式において、 前記DMACは、アクセス要求の際、要求信号と共に所
定の内部情報を出力する内部情報出力手段を有し、前記
データ制御部は、前記調停によって許可されたDMAC
のアクセス要求と対の内部情報を一時保存する内部情報
一時記憶手段を有し、アクセス要求に対するレスポンス
データの受信時、前記保存された内部情報に基づいて前
記レスポンスデータに対して所定の処理を施すことを特
徴とするDMA転送方式。
1. A DMAC, which is a plurality of data request sources,
An arbiter that arbitrates the data request of the DMAC and a data access request to a data supply source such as an external memory from the arbitration result, and a transfer data exchange DM
In a DMA transfer system composed of an AC and a data control unit that manages between a data supply source, the DMAC has internal information output means for outputting predetermined internal information together with a request signal when an access request is made. , The data control unit is the DMAC permitted by the arbitration.
Of the access request, the internal information temporary storage means for temporarily storing internal information paired with the access request is provided, and when the response data to the access request is received, predetermined processing is performed on the response data based on the stored internal information. A DMA transfer method characterized in that
【請求項2】 前記内部情報は、前記DMACがページ
単位で一連のデータ転送の起動毎にカウントされるnビ
ットの起動順情報で構成され、前記データ制御部は、前
記レスポンスデータ受信時、前記内部情報一時記憶手段
に保存されている内部情報と、前記内部情報出力手段か
ら出力される現在の内部情報とを照合し、一致しない場
合は、レスポンスデータを無効とするデータ照合手段を
有することを特徴とする請求項1に記載のDMA転送方
式。
2. The internal information is composed of n-bit activation order information that is counted every activation of a series of data transfers by the DMAC in page units, and the data control unit receives the response data when the response data is received. It has a data collating means for collating the internal information stored in the internal information temporary storage means with the current internal information output from the internal information output means, and if they do not match, invalidate the response data. The DMA transfer system according to claim 1, characterized in that.
【請求項3】 前記内部情報は、前記DMACが前記レ
スポンスデータに施すべきデータ加工情報で構成され、
前記データ制御部は、前記レスポンスデータの受信時
に、前記内部情報一時記憶手段に保存されている内部情
報に基づいて前記レスポンスデータを加工するデータ加
工手段を有することを特徴とする請求項1に記載のDM
A転送方式。
3. The internal information is composed of data processing information to be applied to the response data by the DMAC,
The data control unit includes a data processing unit that processes the response data based on internal information stored in the internal information temporary storage unit when the response data is received. DM
A transfer method.
【請求項4】 前記内部情報は、前記DMACがページ
単位で一連のデータ転送の起動毎にカウントされるnビ
ットの起動順情報と、前記DMACが前記レスポンスデ
ータに施すべきデータ加工情報で構成され、前記データ
制御部は、前記レスポンスデータ受信時、前記内部情報
一時記憶手段に保存されている内部情報と前記内部情報
出力手段から出力される現在の内部情報とを照合し、一
致しない場合は、レスポンスデータを無効とするデータ
照合手段と、前記内部情報一時記憶手段に保存されてい
る内部情報に基づいて前記レスポンスデータを加工する
データ加工手段とを有することを特徴とする請求項1に
記載のDMA転送方式。
4. The internal information is composed of n-bit activation order information counted every time the DMAC starts a series of data transfers in page units, and data processing information to be applied to the response data by the DMAC. When the response data is received, the data control unit compares the internal information stored in the internal information temporary storage unit with the current internal information output from the internal information output unit, and if they do not match, The data collating means for invalidating the response data, and the data processing means for processing the response data based on the internal information stored in the internal information temporary storage means. DMA transfer method.
JP2001290425A 2001-09-25 2001-09-25 System controller, image forming apparatus having system controller, and DMA transfer method Expired - Fee Related JP4136347B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001290425A JP4136347B2 (en) 2001-09-25 2001-09-25 System controller, image forming apparatus having system controller, and DMA transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001290425A JP4136347B2 (en) 2001-09-25 2001-09-25 System controller, image forming apparatus having system controller, and DMA transfer method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006290716A Division JP4455566B2 (en) 2006-10-26 2006-10-26 DMA transfer method

Publications (2)

Publication Number Publication Date
JP2003099391A true JP2003099391A (en) 2003-04-04
JP4136347B2 JP4136347B2 (en) 2008-08-20

Family

ID=19112730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001290425A Expired - Fee Related JP4136347B2 (en) 2001-09-25 2001-09-25 System controller, image forming apparatus having system controller, and DMA transfer method

Country Status (1)

Country Link
JP (1) JP4136347B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094400A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Image processor and image processing method
JP2010033602A (en) * 2003-11-10 2010-02-12 Ricoh Co Ltd Image formation system
US8463956B2 (en) 2010-03-04 2013-06-11 Ricoh Company, Ltd. Data transfer control apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5146284B2 (en) 2008-11-27 2013-02-20 株式会社リコー Data transfer apparatus and data transfer method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010033602A (en) * 2003-11-10 2010-02-12 Ricoh Co Ltd Image formation system
JP2006094400A (en) * 2004-09-27 2006-04-06 Fuji Xerox Co Ltd Image processor and image processing method
US8463956B2 (en) 2010-03-04 2013-06-11 Ricoh Company, Ltd. Data transfer control apparatus

Also Published As

Publication number Publication date
JP4136347B2 (en) 2008-08-20

Similar Documents

Publication Publication Date Title
JP3660182B2 (en) Image processing device
US7095755B2 (en) Data transfer apparatus and its control method
US6483604B1 (en) Disk-based image storage system and method with prioritized loading and retrieval operations
JP3161031B2 (en) Image processing device
JP2001213015A (en) Image recorder
JP2003099391A (en) Dma-forwarding method
JP4455566B2 (en) DMA transfer method
JP2001186328A (en) Picture processor, its control method and picture processing system
JP3714840B2 (en) Data transfer method and data transfer control device
US10560600B2 (en) Encoding apparatus, encoding method, and recording medium
GB2340643A (en) Disk-based image storage system
JP4034323B2 (en) Image data processing method, image data processing apparatus, and image forming apparatus
JP2002254729A (en) Dma controller for image data
JP2018118477A (en) Image processing device, control method and program of the same
JP6833491B2 (en) Information processing device
JP4983251B2 (en) Printing device
JPH06284282A (en) Image forming device
JP3912372B2 (en) Color image processing device
US7492479B2 (en) Image forming apparatus and image forming method
JP2644212B2 (en) Color image processing equipment
JP2010141488A (en) Image processing controller, and printing device
JP2003348338A (en) Information processing apparatus
JP2009064342A (en) Data transfer system
JP2005078598A (en) Computer system and its electronic circuit
JPH08166901A (en) Memory control circuit and facsimile equipment provided with the circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040301

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070831

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080603

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080603

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees