JP2019200679A - Image forming apparatus, band monitoring device, and band monitoring method - Google Patents

Image forming apparatus, band monitoring device, and band monitoring method Download PDF

Info

Publication number
JP2019200679A
JP2019200679A JP2018095902A JP2018095902A JP2019200679A JP 2019200679 A JP2019200679 A JP 2019200679A JP 2018095902 A JP2018095902 A JP 2018095902A JP 2018095902 A JP2018095902 A JP 2018095902A JP 2019200679 A JP2019200679 A JP 2019200679A
Authority
JP
Japan
Prior art keywords
bus
band
information
input
bandwidth
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
JP2018095902A
Other languages
Japanese (ja)
Inventor
学 小澤
Manabu Ozawa
学 小澤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018095902A priority Critical patent/JP2019200679A/en
Publication of JP2019200679A publication Critical patent/JP2019200679A/en
Pending legal-status Critical Current

Links

Images

Abstract

To make it possible to sufficiently acquire band information in a desired state, while reducing the capacity of an information storage unit that holds the band information.SOLUTION: An image forming apparatus has a memory that is accessed by a plurality of bus masters, and comprises: band acquisition means that is connected to a bus between a memory controller that controls the memory and the bus masters, and acquires band information on the bus and stores the information in an information storage unit; and control means that receives input of a start instruction signal that is output in association with execution of data transfer in the bus. When the start instruction signal is input, the control means controls the band acquisition means connected to the bus associated with the input start instruction signal to start acquisition of the band information.SELECTED DRAWING: Figure 2

Description

本発明は、画像形成装置、帯域モニター装置、及び帯域モニター方法に関する。   The present invention relates to an image forming apparatus, a band monitoring apparatus, and a band monitoring method.

スキャナ機能、プリンタ機能、コピー機能、ネットワーク通信機能、FAX送受信機能といった様々な機能を兼ね備えるデジタル複合機のような画像形成装置が知られている。デジタル複合機における機能動作は、通常、コントローラと呼ばれる画像入出力制御部により制御されている。コントローラは、コストを低減するために、CPU及び前述の機能を実現する複数の機能処理部を1つのチップ内に集約している。また、各機能を実現する際に画像データの転送等を行うためのメインメモリも集約されてきており、メインメモリへのアクセス量が非常に増大してきている。   There is known an image forming apparatus such as a digital multi-function peripheral having various functions such as a scanner function, a printer function, a copy function, a network communication function, and a FAX transmission / reception function. Functional operations in the digital multifunction peripheral are normally controlled by an image input / output control unit called a controller. In order to reduce costs, the controller integrates a CPU and a plurality of function processing units that realize the above-described functions in one chip. In addition, main memories for transferring image data and the like when realizing each function have also been integrated, and the amount of access to the main memory has increased greatly.

メインメモリへのアクセス量を増大させる要因の1つに、スキャン処理やプリント処理の高速化があげられる。スキャン処理やプリント処理といった処理は、一度動作を開始すると、少なくとも処理中のページの入出力が完了するまでは止まることができないリアルタイム処理が必須な処理となる。コントローラとしては、リアルタイム処理が必須な画像処理に対するメインメモリへのアクセスは常に一定の転送帯域を保証しつつ、非リアルタイム処理もできる限り並行して処理することが望ましい。   One of the factors that increase the amount of access to the main memory is speeding up of scan processing and print processing. Processing such as scan processing and print processing is a process that requires real-time processing that cannot be stopped until input / output of a page being processed is completed at least once the operation is started. As a controller, it is desirable that access to the main memory for image processing that requires real-time processing always process non-real-time processing in parallel as much as possible while guaranteeing a certain transfer bandwidth.

言い方をかえると、リアルタイム処理が必須な画像処理に対するメインメモリへのアクセスの転送帯域が保証できなくなる状況が発生しないようコントローラは作られている。例えば、すべての機能を動作させてもメモリ転送性能が十分保証できる高周波数・多ビット幅のメモリを使用して十分なメモリ転送性能を確保している。しかしながら、動作周波数が高周波数のメモリを使用することは、コスト及び消費電力の増加につながる。また、多ビット幅のメモリを使用することは、チップにおけるピン数の増加によるチップ単価の増加につながる。   In other words, the controller is created so as not to cause a situation in which the transfer bandwidth of access to the main memory for image processing that requires real-time processing cannot be guaranteed. For example, sufficient memory transfer performance is ensured by using a high-frequency, multi-bit width memory that can sufficiently guarantee memory transfer performance even when all functions are operated. However, using a memory with a high operating frequency leads to an increase in cost and power consumption. Also, using a multi-bit memory leads to an increase in the chip unit price due to an increase in the number of pins in the chip.

そこで、メモリの高周波数化及び多ビット化を抑制しつつ、リアルタイム処理でのメインメモリへの転送帯域を確保する手法が提案されている。例えば、特許文献1には、非リアルタイム処理を行う機能部とメインメモリ間の転送帯域をモニター可能な帯域モニターを有し、予め設定した転送帯域を超えた場合に、非リアルタイム処理を行う機能部からのアクセス要求を抑止する技術が提案されている。この技術により、非リアルタイム処理を行う機能部からのアクセスを受け付けないよう制御することで非リアルタイム処理に係る転送帯域を抑制し、リアルタイム処理に係る転送帯域を保証することが可能となる。   In view of this, a method has been proposed for securing a transfer band to the main memory in real-time processing while suppressing the increase in frequency and the number of bits of the memory. For example, Patent Literature 1 includes a functional unit that performs non-real-time processing and a bandwidth monitor that can monitor a transfer bandwidth between main memories, and performs a non-real-time processing when a preset transfer bandwidth is exceeded. A technology for suppressing access requests from the Internet has been proposed. With this technique, it is possible to suppress the transfer band related to the non-real-time process and to guarantee the transfer band related to the real-time process by controlling not to accept the access from the functional unit that performs the non-real-time process.

特開2014−160341号公報JP 2014-160341 A

従来の帯域モニターは、CPUによって帯域情報の取得動作を開始する指示が出され、取得した帯域情報を、例えばSRAM等の情報記憶部に格納する。しかしながら、CPUは、実際に帯域情報を取得したい状況となるタイミングを正確には把握できない。例えば、複合機におけるスキャン処理を例にとると、スキャン処理の開始操作が行われてから、スキャナを起動し、コントローラへ画像が実際に入力されて画像処理が行われ、メモリへ出力されるまでには、タイムラグがある。   In the conventional bandwidth monitor, an instruction to start the bandwidth information acquisition operation is issued by the CPU, and the acquired bandwidth information is stored in an information storage unit such as an SRAM. However, the CPU cannot accurately grasp the timing when the band information is actually acquired. For example, taking scan processing in a multifunction device as an example, after the scan processing start operation is performed, the scanner is started, the image is actually input to the controller, image processing is performed, and output to the memory Has a time lag.

そのため、従来の帯域モニターに対しては、帯域情報を取得したい状況となる前段で帯域情報の取得動作を開始する指示を行う必要があった。この場合、所望のバス転送が行われている状態の下で十分な情報を保持でき、かつCPUによる開始指示から実際にデータ転送が行われるまでのタイムラグの間の帯域情報を取得しても十分に情報を保持可能な容量を有する情報記憶部を実装する必要がある。しかしながら、SRAM等の情報記憶部が有する容量の増大は、チップコストの増大に繋がる。本発明は、帯域情報を保持する情報記憶部の容量を抑えつつ、所望の状態における帯域情報を十分に取得できるようにすることを目的とする。   For this reason, it has been necessary to instruct the conventional bandwidth monitor to start the bandwidth information acquisition operation before the bandwidth information is acquired. In this case, sufficient information can be held under the condition where the desired bus transfer is being performed, and it is sufficient to acquire bandwidth information during the time lag from the start instruction by the CPU until the actual data transfer is performed. It is necessary to mount an information storage unit having a capacity capable of holding information. However, an increase in the capacity of an information storage unit such as an SRAM leads to an increase in chip cost. An object of the present invention is to sufficiently acquire band information in a desired state while suppressing the capacity of an information storage unit that holds band information.

本発明に係る画像形成装置は、複数のバスマスターによりアクセスされるメモリを有する画像形成装置であって、前記メモリを制御するメモリコントローラと前記バスマスターとの間のバスに接続され、前記バスの帯域情報を取得して情報記憶部に保持する帯域取得手段と、前記バスでのデータ転送を行うのに伴って出力される開始指示信号が入力され、前記開始指示信号が入力されると、入力された前記開始指示信号に応じて関連付けられているバスの前記帯域取得手段に対して、前記帯域情報の取得を開始するように制御する制御手段とを有することを特徴とする。   An image forming apparatus according to the present invention is an image forming apparatus having a memory accessed by a plurality of bus masters, and is connected to a bus between a memory controller that controls the memory and the bus master, Band acquisition means for acquiring band information and holding it in the information storage unit, and a start instruction signal output along with data transfer on the bus are input, and when the start instruction signal is input, Control means for controlling the bandwidth acquisition means of the bus associated in response to the start instruction signal to start acquisition of the bandwidth information.

本発明によれば、無駄な帯域情報の取得期間を削減でき、帯域情報を保持する情報記憶部の容量を抑えつつ、所望の状態における帯域情報を十分に取得することが可能となる。   According to the present invention, it is possible to reduce the acquisition period of useless band information, and to sufficiently acquire band information in a desired state while suppressing the capacity of the information storage unit that holds the band information.

本発明の実施形態における画像形成装置の構成例を示す図である。1 is a diagram illustrating a configuration example of an image forming apparatus according to an embodiment of the present invention. 第1の実施形態におけるコントローラ部の構成例を示す図である。It is a figure which shows the structural example of the controller part in 1st Embodiment. 第1の実施形態における帯域モニターの構成例を示す図である。It is a figure which shows the structural example of the zone | band monitor in 1st Embodiment. 第1の実施形態における帯域モニター動作を説明する図である。It is a figure explaining the zone | band monitoring operation | movement in 1st Embodiment. 第1の実施形態における帯域モニターの動作例を示すフローチャートである。It is a flowchart which shows the operation example of the zone | band monitor in 1st Embodiment. 第2の実施形態におけるコントローラ部の構成例を示す図である。It is a figure which shows the structural example of the controller part in 2nd Embodiment. 第2の実施形態における帯域モニターの構成例を示す図である。It is a figure which shows the structural example of the zone | band monitor in 2nd Embodiment. 第2の実施形態における帯域モニター動作を説明するタイミングチャートである。10 is a timing chart for explaining a bandwidth monitoring operation in the second embodiment. 第2の実施形態における帯域モニターの動作例を示すフローチャートである。It is a flowchart which shows the operation example of the zone | band monitor in 2nd Embodiment. 第3の実施形態における帯域モニターの構成例を示す図である。It is a figure which shows the structural example of the zone | band monitor in 3rd Embodiment. 第3の実施形態における帯域モニター動作を説明するタイミングチャートである。It is a timing chart explaining the zone | band monitoring operation | movement in 3rd Embodiment. 第3の実施形態における帯域モニターの動作例を示すフローチャートである。It is a flowchart which shows the operation example of the zone | band monitor in 3rd Embodiment.

以下、本発明の実施形態を図面に基づいて説明する。
(第1の実施形態)
本発明の第1の実施形態について説明する。
<画像形成装置>
図1は、本発明の一実施形態における画像形成装置の構成例を示すブロック図である。本実施形態における画像形成装置100は、スキャナ部110、コントローラ部120、操作部130、及びプリンタ部140を有する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
A first embodiment of the present invention will be described.
<Image forming apparatus>
FIG. 1 is a block diagram illustrating a configuration example of an image forming apparatus according to an embodiment of the present invention. The image forming apparatus 100 according to the present embodiment includes a scanner unit 110, a controller unit 120, an operation unit 130, and a printer unit 140.

スキャナ部110は、原稿画像を光学的に読み取り、画像データに変換する。スキャナ部110は、原稿用紙を搬送するための機能を持つ原稿給紙部111と、原稿画像を読み取るための機能を持つ原稿読取部112とを有する。プリンタ部140は、記録紙を搬送し、その上に画像データを可視画像として印字して装置外に排紙する。プリンタ部140は、画像データを記録紙に転写し定着させる機能を持つ転写定着部141と、複数種類の記録紙を供給する機能を持つ給紙部142と、印字された記録紙をソートやステイプル等して装置外へ出力する機能を持つ排紙部143とを有する。   The scanner unit 110 optically reads a document image and converts it into image data. The scanner unit 110 includes a document feeding unit 111 having a function for conveying a document sheet, and a document reading unit 112 having a function for reading a document image. The printer unit 140 conveys the recording paper, prints the image data thereon as a visible image, and discharges the recording paper out of the apparatus. The printer unit 140 includes a transfer fixing unit 141 having a function of transferring and fixing image data onto a recording sheet, a paper feeding unit 142 having a function of supplying a plurality of types of recording sheets, and sorting and stapling the printed recording sheets. And a paper discharge unit 143 having a function of outputting to the outside of the apparatus.

コントローラ部120は、スキャナ部110及びプリンタ部140と電気的に接続され、さらにネットワーク150と通信可能に接続されている。ネットワーク150は、例えば、LAN(Local Area Network)、ISDN(Integrated Services Digital Network)等の通信回線網、インターネット/イントラネット等である。コントローラ部120は、例えばスキャナ部110やプリンタ部140を制御する。コントローラ部120がスキャナ部110やプリンタ部140を制御することで、画像形成装置100においてコピー機能、スキャナ機能、及びプリンタ機能等が提供される。   The controller unit 120 is electrically connected to the scanner unit 110 and the printer unit 140 and further connected to the network 150 so as to be communicable. The network 150 is, for example, a communication network such as a local area network (LAN) or an integrated services digital network (ISDN), the Internet / intranet, or the like. The controller unit 120 controls the scanner unit 110 and the printer unit 140, for example. When the controller unit 120 controls the scanner unit 110 and the printer unit 140, the image forming apparatus 100 provides a copy function, a scanner function, a printer function, and the like.

例えば、コントローラ部120は、スキャナ部110を制御して原稿の画像データを読み込み、プリンタ部140を制御して画像データを記録紙に出力してコピー機能を提供する。また、例えば、コントローラ部120は、スキャナ部110から読み取った画像データをコードデータに変換し、ネットワーク150を介して図示しないホストコンピュータ等へ送信してスキャナ機能を提供する。また、例えば、コントローラ部120は、図示しないホストコンピュータ等からネットワーク150を介して受信したコードデータを画像データに変換し、プリンタ部140により画像データを記録紙に出力してプリンタ機能を提供する。   For example, the controller unit 120 provides a copy function by controlling the scanner unit 110 to read image data of a document and controlling the printer unit 140 to output the image data to a recording sheet. Further, for example, the controller unit 120 converts image data read from the scanner unit 110 into code data, and transmits the code data to a host computer (not shown) via the network 150 to provide a scanner function. For example, the controller unit 120 converts code data received from a host computer (not shown) via the network 150 into image data, and the printer unit 140 outputs the image data to recording paper to provide a printer function.

また、コントローラ部120による制御によって、例えばISDN等の通信回線網からデータを受信してプリントするFAX受信機能や、ISDN等の通信回線網へスキャンしたデータを送信するFAX送信機能が提供される。これらスキャン処理やプリント処理、FAX送受信処理といった処理をジョブと呼び、画像形成装置100はこれらジョブを指示に従って処理する。操作部130は、コントローラ部120に接続され、例えば液晶タッチパネルで構成され、画像形成装置100を操作するためのユーザインタフェースを提供する。   Also, under the control of the controller unit 120, for example, a FAX reception function for receiving and printing data from a communication line network such as ISDN, and a FAX transmission function for transmitting scanned data to a communication line network such as ISDN are provided. Processing such as scanning processing, printing processing, and FAX transmission / reception processing is called a job, and the image forming apparatus 100 processes these jobs according to instructions. The operation unit 130 is connected to the controller unit 120 and is configured by a liquid crystal touch panel, for example, and provides a user interface for operating the image forming apparatus 100.

<コントローラ部>
図2は、第1の実施形態におけるコントローラ部120の構成例を示すブロック図である。なお、以下に説明するコントローラ部120、及びその内部の各機能部は、ハードウェア回路によって構成されている。CPU(Central Processing Unit)200は、システム全体を制御するプロセッサである。CPU200は、RAM(Random Access Memory)270に展開されたオペレーティングシステム(OS)や制御プログラムに従って、プリント処理やスキャン処理といったジョブに関わる処理を統括的に制御する。
<Controller part>
FIG. 2 is a block diagram illustrating a configuration example of the controller unit 120 according to the first embodiment. Note that the controller unit 120 described below and the respective functional units therein are configured by hardware circuits. A CPU (Central Processing Unit) 200 is a processor that controls the entire system. The CPU 200 comprehensively controls processes related to jobs such as print processing and scan processing in accordance with an operating system (OS) and control program developed in a RAM (Random Access Memory) 270.

ROMコントローラ(ROMC)210は、システムのブートプラグラムを格納しているROM(Read Only Memory)211にアクセスするための制御モジュールである。画像形成装置100の電源がONされた時に、CPU200は、ROMコントローラ210を介してROM211にアクセスし、ブートプラグラムを読み出してブート処理を実行する。   A ROM controller (ROMC) 210 is a control module for accessing a ROM (Read Only Memory) 211 that stores a boot program of the system. When the image forming apparatus 100 is powered on, the CPU 200 accesses the ROM 211 via the ROM controller 210, reads the boot program, and executes the boot process.

ネットワークインターフェース(NW_IF)220は、ネットワーク150に接続し、外部のホストコンピュータ等との間で画像データ等の情報の入出力を行う。インターコネクト(InterConnect)230、231は、CPUや各処理部とメモリコントローラ(MEMC)260とを接続するインターコネクトである。   A network interface (NW_IF) 220 is connected to the network 150 and inputs / outputs information such as image data to / from an external host computer or the like. Interconnects (InterConnect) 230 and 231 are interconnects that connect the CPU and each processing unit to the memory controller (MEMC) 260.

メモリコントローラ260は、システムの制御プログラムや画像データが格納されるRAM270にアクセスするための制御モジュールである。メモリコントローラ260は、バッファ(BUFFER)261、262、263、264及びバス変換部(BUS_CONVERTER)265を有する。また、メモリコントローラ260は、RAM270の設定や制御を行うためのレジスタを有しており、このレジスタは、CPU200からアクセス可能である。   The memory controller 260 is a control module for accessing the RAM 270 in which system control programs and image data are stored. The memory controller 260 includes buffers (BUFFER) 261, 262, 263, 264 and a bus conversion unit (BUS_CONVERTER) 265. The memory controller 260 has a register for setting and controlling the RAM 270, and this register is accessible from the CPU 200.

バッファ261〜264は、対応するDMA(Direct Memory Access)コントローラ(DMAC)及びインターコネクトに対する受信データや送信データを一時的にバッファリングするバッファである。バッファ261〜264は、それぞれ接続されたバス290〜293において一度にバースト転送可能なデータ量に応じたバッファサイズ(記憶容量)を少なくとも有している。なお、バッファ261〜264は、バス290〜293の動作周波数とバス変換部265の動作周波数とが異なる場合には非同期対応バッファにもなる。バス変換部265は、調停機能を有し、例えば各バッファ261〜264のアクセス権をラウンドロビンで調停する。また、バス変換部265は、RAM270へアクセスするためのプロトコル変換を行う。   The buffers 261 to 264 are buffers for temporarily buffering reception data and transmission data for the corresponding DMA (Direct Memory Access) controller (DMAC) and the interconnect. Each of the buffers 261 to 264 has at least a buffer size (storage capacity) corresponding to the amount of data that can be burst transferred at one time on each of the buses 290 to 293 connected thereto. Note that the buffers 261 to 264 also serve as asynchronous buffers when the operating frequency of the buses 290 to 293 and the operating frequency of the bus conversion unit 265 are different. The bus conversion unit 265 has an arbitration function. For example, the bus conversion unit 265 arbitrates the access right of each of the buffers 261 to 264 by round robin. The bus conversion unit 265 performs protocol conversion for accessing the RAM 270.

RAM270は、システムにおけるメインメモリとしてのメモリであり、本例ではSDRAM(Synchronous Dynamic Random Access Memory)で構成されるものとする。RAM270は、CPU200が動作するためのシステムワークメモリでもあり、画像データを記憶するための画像メモリでもある。なお、RAM270は、SDRAMで構成されるものに限定されず、他のメモリで構成されていてもよい。   The RAM 270 is a memory as a main memory in the system, and is assumed to be configured by an SDRAM (Synchronous Dynamic Random Access Memory) in this example. The RAM 270 is a system work memory for the operation of the CPU 200 and an image memory for storing image data. Note that the RAM 270 is not limited to the one configured by SDRAM, and may be configured by another memory.

DMAC240、241、242、243、244、245、246は、メモリコントローラ260を介してRAM270へアクセスするメモリアクセスマスター(バスマスター)となるDMAコントローラである。DMAC240〜246は、対応する各処理部250〜256とRAM270間のデータ転送を行う。DMAC240〜246の各々は、CPU200によって制御され、例えば、どのメモリアドレスに対してデータの読み書きを行うか、及びDMA転送を行うタイミングを制御する機能を有する。   The DMACs 240, 241, 242, 243, 244, 245, and 246 are DMA controllers serving as memory access masters (bus masters) that access the RAM 270 via the memory controller 260. The DMACs 240 to 246 perform data transfer between the corresponding processing units 250 to 256 and the RAM 270. Each of the DMACs 240 to 246 is controlled by the CPU 200 and has, for example, a function to control which memory address data is read from and written to, and the timing at which DMA transfer is performed.

また、それぞれ所定の画像処理を行うスキャン処理部250、回転処理部251、変倍処理部252、RIP処理部253、圧縮処理部254、伸張処理部255、及びプリント処理部256も、CPU200により制御される。以下の各処理部250〜256の説明において、画像データとは圧縮されていない画像データであるものとし、圧縮画像データとは何らかの圧縮手段で圧縮された画像データであるものとする。   The CPU 200 also controls a scan processing unit 250, a rotation processing unit 251, a scaling processing unit 252, a RIP processing unit 253, a compression processing unit 254, an expansion processing unit 255, and a print processing unit 256 that perform predetermined image processing. Is done. In the following description of each of the processing units 250 to 256, it is assumed that image data is uncompressed image data, and compressed image data is image data compressed by some compression means.

スキャン処理部250は、CPU200による設定に従い、スキャナ部110から入力される画像データに対して所定の画像処理を行い、画像処理した画像データをDMAC240に出力する。スキャン処理部250は、例えばシェーディング補正処理、MTF補正処理、入力ガンマ補正、フィルタ処理等の画像処理を行う。回転処理部251は、CPU200による設定に従い、DMAC241から入力される画像データに対し、90度、180度、270度等の回転処理を行い、回転処理した画像データをDMAC241に出力する。   The scan processing unit 250 performs predetermined image processing on the image data input from the scanner unit 110 in accordance with the setting by the CPU 200, and outputs the image processed image data to the DMAC 240. The scan processing unit 250 performs image processing such as shading correction processing, MTF correction processing, input gamma correction, and filter processing. The rotation processing unit 251 performs rotation processing such as 90 degrees, 180 degrees, and 270 degrees on the image data input from the DMAC 241 according to the setting by the CPU 200, and outputs the rotated image data to the DMAC 241.

変倍処理部252は、CPU200による設定に従い、DMAC242から入力される画像データに対し、1/2倍、1/4倍等の任意の倍率に変倍し、変倍処理した画像データをDMAC242に出力する。RIP処理部253は、CPU200による設定に従い、DMAC243から入力されるPDL画像に対してレンダリング処理を行い、レンダリング処理した画像データをDMAC243に出力する。圧縮処理部254は、CPU200による設定に従い、DMAC244から入力される画像データに対し、JPEG、JBIGといった画像圧縮処理を行い、得られる圧縮画像データをDMAC244に出力する。   The scaling processing unit 252 scales the image data input from the DMAC 242 to an arbitrary magnification such as 1/2 times or 1/4 times according to the setting by the CPU 200, and the scaled image data is transferred to the DMAC 242. Output. The RIP processing unit 253 performs rendering processing on the PDL image input from the DMAC 243 according to the setting by the CPU 200, and outputs the rendered image data to the DMAC 243. The compression processing unit 254 performs image compression processing such as JPEG and JBIG on the image data input from the DMAC 244 according to the setting by the CPU 200, and outputs the obtained compressed image data to the DMAC 244.

伸張処理部255は、CPU200による設定に従い、DMAC245から入力されるJPEG、JBIGのような圧縮画像データに対して伸張処理を行い、伸張処理後の画像データをDMAC245に出力する。プリント処理部256は、CPU200による設定に従い、DMAC245から入力される画像データに対して所定の画像処理を行い、画像処理した画像データをプリンタ部140に出力する。プリント処理部256は、例えば色空間変換処理、フィルタ処理、ハーフトーン処理等の画像処理を行う。   The decompression processing unit 255 performs decompression processing on the compressed image data such as JPEG and JBIG input from the DMAC 245 according to the setting by the CPU 200, and outputs the decompressed image data to the DMAC 245. The print processing unit 256 performs predetermined image processing on the image data input from the DMAC 245 according to the setting by the CPU 200, and outputs the image processed image data to the printer unit 140. The print processing unit 256 performs image processing such as color space conversion processing, filter processing, and halftone processing, for example.

ここで、DMAC240、インターコネクト231、DMAC246、及びインターコネクト230と、メモリコントローラ260とは、それぞれバス290、291、292、293により接続されている。また、インターコネクト231とDMAC241〜245とは、それぞれバス294、295、296、297、298により接続されている。バス290〜298は、例えば標準バスであるAXI(Advance eXtensible Interface)バス等が適用される。   Here, the DMAC 240, the interconnect 231, the DMAC 246, the interconnect 230, and the memory controller 260 are connected by buses 290, 291, 292, and 293, respectively. The interconnect 231 and the DMACs 241 to 245 are connected by buses 294, 295, 296, 297, and 298, respectively. For example, an AXI (Advance eXtensible Interface) bus, which is a standard bus, is applied to the buses 290 to 298.

帯域モニター280は、バス290〜293の転送データ量をモニターし、モニタリング対象のバスの帯域情報を取得する。本実施形態における帯域情報には、ある時間間隔で区切ったそれぞれの期間内において、モニタリング対象のバスで行われたデータ転送による転送データ量の情報を含む。帯域モニター280は、バス290〜293の各バスの帯域情報を個別に取得可能である。帯域モニター280が取得する各バスの帯域情報から導ける合計帯域は、RAM270に対する使用メモリ帯域となる。帯域モニター280が取得した帯域情報はSRAM(Static Random Access Memory)281に保持され、CPU200から読み出し可能である。SRAM281は、情報記憶部の一例である。   The bandwidth monitor 280 monitors the amount of data transferred on the buses 290 to 293 and acquires bandwidth information of the monitoring target bus. The bandwidth information in the present embodiment includes information on the amount of data transferred by data transfer performed on the monitoring target bus within each period divided by a certain time interval. The band monitor 280 can individually acquire the band information of each of the buses 290 to 293. The total bandwidth derived from the bandwidth information of each bus acquired by the bandwidth monitor 280 is the used memory bandwidth for the RAM 270. Band information acquired by the band monitor 280 is held in an SRAM (Static Random Access Memory) 281 and can be read from the CPU 200. The SRAM 281 is an example of an information storage unit.

また、帯域モニター280は、帯域情報を取得しSRAM281へ書き込み始めるタイミングを指定可能なように構成されている。帯域情報を取得しSRAM281へ書き込み始めるタイミングの指定方法は、書き込み開始をCPU200によって指示する方法のほかに、帯域情報の取得を開始するタイミングを通知する制御信号を帯域モニターに入力することでも制御可能なように構成される。本実施形態では、帯域情報の取得を開始するタイミングを通知する制御信号として、スキャン処理部250から帯域モニター280に制御信号282が入力され、プリント処理部256から帯域モニター280に制御信号283が入力される。制御信号282、283は、例えばバスでのデータ転送を行うのに伴って出力される信号である。制御信号282は、例えばスキャン処理部250から出力される垂直同期信号(SVSYNC)であり、制御信号283は、例えばプリント処理部256から出力される垂直同期信号(PVSYNC)である。   Further, the bandwidth monitor 280 is configured to be able to specify the timing at which the bandwidth information is acquired and started to be written into the SRAM 281. The method for specifying the timing for acquiring the band information and starting writing to the SRAM 281 can be controlled by inputting a control signal for notifying the timing to start acquiring the band information to the band monitor, in addition to the method of instructing the CPU 200 to start writing. It is configured as follows. In the present embodiment, the control signal 282 is input from the scan processing unit 250 to the band monitor 280 and the control signal 283 is input from the print processing unit 256 to the band monitor 280 as control signals for notifying the timing for starting acquisition of band information. Is done. The control signals 282 and 283 are signals that are output when data transfer is performed on a bus, for example. The control signal 282 is, for example, a vertical synchronization signal (SVSYNC) output from the scan processing unit 250, and the control signal 283 is, for example, a vertical synchronization signal (PVSYNC) output from the print processing unit 256.

また、帯域モニター280は、帯域情報の取得を停止しSRAM281への書き込みを停止するタイミングを指定可能なようにも構成されている。停止するタイミングを指定する制御信号として、DMACの転送終了割り込み等のバスでのデータ転送が終了することを示す信号が帯域モニター280に入力される。本実施形態では、スキャン処理部250に接続されたDMAC240から帯域モニター280に制御信号284が入力され、プリント処理部256に接続されたDMAC246から帯域モニター280に制御信号285が入力される。   The bandwidth monitor 280 is also configured to be able to specify the timing at which the acquisition of bandwidth information is stopped and the writing to the SRAM 281 is stopped. A signal indicating the end of data transfer on the bus, such as a DMAC transfer end interrupt, is input to the bandwidth monitor 280 as a control signal for designating the stop timing. In this embodiment, a control signal 284 is input to the band monitor 280 from the DMAC 240 connected to the scan processing unit 250, and a control signal 285 is input to the band monitor 280 from the DMAC 246 connected to the print processing unit 256.

制御信号284は、例えばDMAC240から出力される転送終了割り込み信号(INT_SPageEnd)であり、制御信号285は、例えばDMAC246から出力される転送終了割り込み信号(INT_PPageEnd)である。転送終了割り込み信号(INT_SPageEnd)は、DMAC240が1ページ分のデータ転送を完了した際にアサートされる割り込み信号である。また、転送終了割り込み信号(INT_PPageEnd)は、DMAC246が1ページ分のデータ転送を完了した際にアサートされる割り込み信号である。   The control signal 284 is, for example, a transfer end interrupt signal (INT_SPageEnd) output from the DMAC 240, and the control signal 285 is, for example, a transfer end interrupt signal (INT_PPageEnd) output from the DMAC 246. The transfer end interrupt signal (INT_SPageEnd) is an interrupt signal that is asserted when the DMAC 240 completes data transfer for one page. The transfer end interrupt signal (INT_PPageEnd) is an interrupt signal that is asserted when the DMAC 246 completes data transfer for one page.

以下では、一例として、制御信号282がスキャン処理に係る垂直同期信号(SVSYNC)であるものとし、制御信号283がプリント処理に係る垂直同期信号(PVSYNC)であるものとして説明する。また、制御信号284がDMAC240の転送終了割り込み信号(INT_SPageEnd)であるものとし、制御信号285がDMAC246の転送終了割り込み信号(INT_PPageEnd)であるものとして説明する。   Hereinafter, as an example, it is assumed that the control signal 282 is a vertical synchronization signal (SVSYNC) related to scan processing, and the control signal 283 is a vertical synchronization signal (PVSYNC) related to print processing. Further, it is assumed that the control signal 284 is the DMAC 240 transfer end interrupt signal (INT_SPageEnd), and the control signal 285 is the DMAC 246 transfer end interrupt signal (INT_PPageEnd).

<帯域モニター>
図3は、第1の実施形態における帯域モニター280の構成例を示すブロック図である。図3において、図2に示した構成要素と同一の構成要素には同一の符号を付している。なお、以下に説明する帯域モニター280、及びその内部の各機能部は、ハードウェア回路によって構成されている。帯域モニター280は、タイミング判定部300、レジスタ部301、帯域取得部302、303、304、305、マルチプレクサ(MUX)306、及びSRAMインターフェース(SRAM I/F)307を有する。
<Bandwidth monitor>
FIG. 3 is a block diagram illustrating a configuration example of the bandwidth monitor 280 according to the first embodiment. In FIG. 3, the same components as those shown in FIG. 2 are denoted by the same reference numerals. Note that the bandwidth monitor 280 described below and the respective functional units therein are configured by hardware circuits. The band monitor 280 includes a timing determination unit 300, a register unit 301, band acquisition units 302, 303, 304, and 305, a multiplexer (MUX) 306, and an SRAM interface (SRAM I / F) 307.

タイミング判定部300は、外部入力信号に基づいて、帯域取得部302〜305による帯域情報の取得開始及び取得停止を制御する。タイミング判定部300は、制御手段の一例である。タイミング判定部300には、垂直同期信号(SVSYNC)282、垂直同期信号(PVSYNC)283が帯域情報の取得開始を指示する開始指示信号として入力されている。タイミング判定部300には、DMAC240の転送終了割り込み信号(INT_SPageEnd)284、DMAC246の転送終了割り込み信号(INT_PPageEnd)285が帯域情報の取得停止を指示する停止指示信号として入力されている。また、レジスタ部301から帯域情報の取得開始及び取得停止を指示する制御信号310がタイミング判定部300に入力されている。   The timing determination unit 300 controls the acquisition start and the acquisition stop of the band information by the band acquisition units 302 to 305 based on the external input signal. The timing determination unit 300 is an example of a control unit. The timing determination unit 300 receives a vertical synchronization signal (SVSYNC) 282 and a vertical synchronization signal (PVSYNC) 283 as start instruction signals for instructing start of band information acquisition. The timing determination unit 300 is supplied with a transfer end interrupt signal (INT_SPageEnd) 284 of the DMAC 240 and a transfer end interrupt signal (INT_PPageEnd) 285 of the DMAC 246 as stop instruction signals for instructing to stop acquiring the band information. In addition, a control signal 310 for instructing start and stop of acquisition of band information is input from the register unit 301 to the timing determination unit 300.

タイミング判定部300は、入力される開始指示信号282、283及び制御信号310の内の何れかの入力を受けると、入力された信号に応じて関連付けられているバスの帯域情報の取得を開始させる。また、タイミング判定部300は、入力される停止指示信号284、285及び制御信号310の内の何れかの入力を受けると、入力された信号に応じて関連付けられているバスの帯域情報の取得を停止させる。   When the timing determination unit 300 receives any of the start instruction signals 282 and 283 and the control signal 310 that are input, the timing determination unit 300 starts acquisition of bandwidth information of the associated bus according to the input signal. . In addition, when the timing determination unit 300 receives any one of the stop instruction signals 284 and 285 and the control signal 310 that are input, the timing determination unit 300 acquires the bandwidth information of the associated bus according to the input signal. Stop.

例えば、タイミング判定部300は、垂直同期信号(SVSYNC)282が入力されると、スキャン処理部250とメモリコントローラ260との間のバス290の帯域情報を取得する帯域取得部302が帯域情報の取得を開始するように制御する。また、タイミング判定部300は、帯域取得部302が取得した帯域情報をSRAM I/F307を通じて、情報記憶部としてのSRAM281へ書き込むように制御する。そして、タイミング判定部300は、DMAC240の転送終了割り込み信号(INT_SPageEnd)284の入力を受けると、帯域取得部302がバス290の帯域情報の取得を停止するように制御する。   For example, when the vertical determination signal (SVSYNC) 282 is input to the timing determination unit 300, the band acquisition unit 302 that acquires the band information of the bus 290 between the scan processing unit 250 and the memory controller 260 acquires the band information. Control to start. In addition, the timing determination unit 300 controls the bandwidth information acquired by the bandwidth acquisition unit 302 to be written to the SRAM 281 as the information storage unit via the SRAM I / F 307. When receiving the transfer end interrupt signal (INT_SPageEnd) 284 of the DMAC 240, the timing determination unit 300 controls the band acquisition unit 302 to stop acquiring the band information of the bus 290.

レジスタ部301は、帯域モニター280の各種設定値を保持する。また、レジスタ部301は、CPU200による帯域情報の取得開始及び取得停止の制御を受け付け、制御信号310を通じてタイミング判定部300へ通知する。   The register unit 301 holds various setting values of the bandwidth monitor 280. In addition, the register unit 301 receives control of band information acquisition start and acquisition stop by the CPU 200 and notifies the timing determination unit 300 through the control signal 310.

帯域取得部302は、接続されたバス290の帯域情報を取得する。帯域取得部302は、タイミング判定部300からの制御信号を受けて、帯域情報の取得の開始及び停止を行うよう制御される。帯域取得部302は、ある時間間隔内にバス290で行われたデータ転送によるデータ転送量を取得し、取得したデータ転送量を取得時間とともに帯域情報としてSRAM281へ出力する。帯域取得部303〜305は、帯域取得部302と同様に構成され、帯域情報を取得するバスが異なる。帯域取得部303はバス291の帯域情報を取得し、帯域取得部304はバス292の帯域情報を取得し、帯域取得部304はバス293の帯域情報を取得する。   The bandwidth acquisition unit 302 acquires bandwidth information of the connected bus 290. The band acquisition unit 302 is controlled to start and stop acquisition of band information in response to a control signal from the timing determination unit 300. The bandwidth acquisition unit 302 acquires a data transfer amount by data transfer performed by the bus 290 within a certain time interval, and outputs the acquired data transfer amount to the SRAM 281 as bandwidth information together with the acquisition time. The band acquisition units 303 to 305 are configured in the same manner as the band acquisition unit 302, and the buses for acquiring band information are different. The band acquisition unit 303 acquires the band information of the bus 291, the band acquisition unit 304 acquires the band information of the bus 292, and the band acquisition unit 304 acquires the band information of the bus 293.

なお、各帯域取得部302〜305において、帯域情報の取得に係る時間間隔(取得時間)は一定でも良いし、CPU200によって可変に設定できるようにしても良い。また、取得する情報は、データ転送量の他にも、マスターID等のデータ転送において付随的に発生する情報も同時に取得してもよい。また、SRAM281へ出力する帯域情報は、取得した帯域情報をそのまま出力しても良いが、帯域値として算出してから出力しても良い。この場合、帯域取得部302〜305は、図示しない帯域計算部を内部に備えることになる。   In each of the band acquisition units 302 to 305, the time interval (acquisition time) related to the acquisition of band information may be constant or may be variably set by the CPU 200. In addition to the amount of data transfer, information that accompanies data transfer such as a master ID may be acquired at the same time. Further, as the band information to be output to the SRAM 281, the acquired band information may be output as it is, or may be output after being calculated as a band value. In this case, the band acquisition units 302 to 305 include a band calculation unit (not shown) inside.

マルチプレクサ306は、CPU200から帯域モニター280へのアクセスが発生した場合に、レジスタ部301へのアクセスであるのか、SRAM281へのアクセスであるのかを判定して、アクセス先を制御する。SRAM I/F307は、帯域モニター280の内部モジュールやCPU200からのSRAM281へのアクセスに対するインターフェースである。   When the access to the bandwidth monitor 280 from the CPU 200 occurs, the multiplexer 306 determines whether the access is to the register unit 301 or the SRAM 281 and controls the access destination. The SRAM I / F 307 is an interface for accessing the internal module of the bandwidth monitor 280 and the SRAM 281 from the CPU 200.

<帯域情報の取得及びSRAMへの書き込み制御>
図4(a)〜図4(c)を参照して、第1の実施形態における帯域モニター動作について説明する。図4(a)は、本実施形態を適用する場合のスキャン処理部250及びDMAC240の構成例を示すブロック図である。スキャン処理部250は、入力された画像データに対して所定の画像処理を行うための種々の機能部を内部に有している。図4(a)には一例として、スキャン処理部250が、シェーディング補正部403、ガンマ補正部404、及びフィルタ処理部405を有する例を示している。
<Acquisition of bandwidth information and control of writing to SRAM>
With reference to FIG. 4A to FIG. 4C, the band monitoring operation in the first embodiment will be described. FIG. 4A is a block diagram illustrating a configuration example of the scan processing unit 250 and the DMAC 240 when the present embodiment is applied. The scan processing unit 250 includes various functional units for performing predetermined image processing on input image data. FIG. 4A illustrates an example in which the scan processing unit 250 includes a shading correction unit 403, a gamma correction unit 404, and a filter processing unit 405.

スキャン処理部250は、スキャナ部110によって読み取った画像の画像データを受信する。読み取られた画像は、一般的に、画像形成に係る垂直同期信号によって1ページの開始と、水平同期信号によって1ラインの開始を制御される。本実施形態では、スキャナ部110から入力される垂直同期信号をSVSYNC_IN信号400とし、水平同期信号をSHSYNC_IN信号401とし、実際の画像データの信号をSDATA_IN信号402とする。   The scan processing unit 250 receives image data of an image read by the scanner unit 110. In the read image, generally, the start of one page is controlled by a vertical synchronization signal related to image formation, and the start of one line is controlled by a horizontal synchronization signal. In this embodiment, the vertical synchronization signal input from the scanner unit 110 is the SVSYNC_IN signal 400, the horizontal synchronization signal is the SHSYNC_IN signal 401, and the actual image data signal is the SDATA_IN signal 402.

スキャン処理部250に入力された画像データは、スキャン処理部250の内部で種々の画像処理を施された後にDMAC240へ出力される。この例では、SVSYNC_C信号とSHSYNC_C信号とSDATA_C信号とによって、画像データをスキャン処理部250からDMAC240へと出力している。DMAC240は、メモリコントローラ260を介してRAM270へ画像データを書き込む。   The image data input to the scan processing unit 250 is subjected to various image processing in the scan processing unit 250 and then output to the DMAC 240. In this example, image data is output from the scan processing unit 250 to the DMAC 240 by the SVSYNC_C signal, the SHSYNC_C signal, and the SDATA_C signal. The DMAC 240 writes image data to the RAM 270 via the memory controller 260.

ここで、垂直同期信号(SVSYNC)282は、スキャン処理部250から出力される垂直同期信号であるSVSYNC_C信号を帯域モニター280に出力するための信号である。垂直同期信号(SVSYNC)282は、帯域モニター280のタイミング判定部300に入力され、バス290の帯域情報を取得する帯域取得部302に対して帯域情報の取得開始のタイミングを制御する制御信号として使われる。   Here, the vertical synchronization signal (SVSYNC) 282 is a signal for outputting the SVSYNC_C signal, which is the vertical synchronization signal output from the scan processing unit 250, to the band monitor 280. The vertical synchronization signal (SVSYNC) 282 is input to the timing determination unit 300 of the band monitor 280 and is used as a control signal for controlling the start timing of band information acquisition to the band acquisition unit 302 that acquires the band information of the bus 290. Is called.

また、転送終了割り込み信号(INT_SPageEnd)284は、DMAC240が1ページ分のデータ出力を完了した際にアサートされる割り込み信号である。転送終了割り込み信号(INT_SPageEnd)284は、帯域モニター280のタイミング判定部300に入力され、バス290の帯域情報を取得する帯域取得部302に対して帯域情報の取得停止のタイミングを制御する制御信号として使われる。   The transfer end interrupt signal (INT_SPageEnd) 284 is an interrupt signal that is asserted when the DMAC 240 completes outputting data for one page. The transfer end interrupt signal (INT_SPageEnd) 284 is input to the timing determination unit 300 of the band monitor 280 and is used as a control signal for controlling the timing of stopping the acquisition of the band information to the band acquisition unit 302 that acquires the band information of the bus 290. used.

次に、図4(a)に示した構成を例に、帯域情報を取得しSRAM281へ書き込むタイミングの制御について説明する。図4(b)は、スキャン処理を実行してDMAC240によりRAM270へデータを書き込む場合に、帯域モニター280での帯域情報の取得開始をCPU200によって指示した例を示すタイミングチャートである。   Next, the control of the timing for acquiring the band information and writing it to the SRAM 281 will be described using the configuration shown in FIG. 4A as an example. FIG. 4B is a timing chart illustrating an example in which the CPU 200 instructs the band monitor 280 to start acquiring band information when the scan process is executed and data is written to the RAM 270 by the DMAC 240.

時刻t41において、CPU200が、スキャンジョブの開始操作を受けて、所望のスキャン条件のもと、スキャナ部110に対して起動指示を行う。また、CPU200が、帯域モニター280に対して帯域情報の取得開始の指示を行う。帯域モニター280は、取得開始の指示を受けて、タイミング判定部300が帯域取得部302に帯域情報の取得を開始するように制御を行う。帯域取得部302は、バス290の帯域情報の取得、及び取得した帯域情報のSRAM281への保存を開始する。   At time t41, the CPU 200 receives a scan job start operation and issues a start instruction to the scanner unit 110 under desired scanning conditions. In addition, the CPU 200 instructs the bandwidth monitor 280 to start obtaining bandwidth information. In response to the acquisition start instruction, the bandwidth monitor 280 controls the timing determination unit 300 so that the bandwidth acquisition unit 302 starts acquiring bandwidth information. The band acquisition unit 302 starts acquiring the band information of the bus 290 and storing the acquired band information in the SRAM 281.

時刻t42において、スキャン処理部250から垂直同期信号(SVSYNC)282が出力される。したがって、時刻t41〜t42の間はスキャナ起動期間となり、時刻t42でCPU200の起動指示を受けたスキャナ部110の起動が完了してスキャンを開始する。つまり、時刻t41〜t42の間はバス290上でのデータ転送が行われず、時刻t42が、スキャン処理部250で画像処理された画像データが、スキャン処理部250からDMAC240へ出力され始めるタイミングである。   At time t <b> 42, the vertical synchronization signal (SVSYNC) 282 is output from the scan processing unit 250. Accordingly, the scanner activation period is between time t41 and t42, and the activation of the scanner unit 110 that has received the activation instruction of the CPU 200 at time t42 is completed and scanning is started. That is, data transfer on the bus 290 is not performed between times t41 and t42, and time t42 is a timing at which the image data processed by the scan processing unit 250 starts to be output from the scan processing unit 250 to the DMAC 240. .

時刻t43において、DMAC240が、すべての画像データをRAM270へ書き込み終わり、書き込みが完了したことを示す転送終了割り込み信号(INT_SPageEnd)284をアサートする。帯域モニター280は、転送終了割り込み信号(INT_SPageEnd)284がアサートされると、タイミング判定部300が帯域取得部302に帯域情報の取得を停止するように制御を行う。帯域取得部302は、バス290の帯域情報の取得、及び帯域情報のSRAM281への保存を停止する。   At time t43, the DMAC 240 finishes writing all the image data to the RAM 270, and asserts a transfer end interrupt signal (INT_SPageEnd) 284 indicating that the writing is completed. When the transfer end interrupt signal (INT_SPageEnd) 284 is asserted, the bandwidth monitor 280 controls the timing determination unit 300 to stop the bandwidth acquisition unit 302 from acquiring bandwidth information. The band acquisition unit 302 stops acquiring the band information of the bus 290 and storing the band information in the SRAM 281.

図4(c)は、スキャン処理を実行してDMAC240によりRAM270へデータを書き込む場合に、帯域モニター280での帯域情報の取得開始を垂直同期信号(SVSYNC)282によって指示した例を示すタイミングチャートである。時刻t41において、CPU200が、スキャンジョブの開始操作を受けて、所望のスキャン条件のもと、スキャナ部110に対して起動指示を行う。この図4(c)に示した例では、図4(b)に示した例とは異なり、CPU200は、帯域モニター280に対して帯域情報の取得開始の指示は行わない。   FIG. 4C is a timing chart showing an example in which the start of band information acquisition in the band monitor 280 is instructed by the vertical synchronization signal (SVSYNC) 282 when scan processing is performed and data is written to the RAM 270 by the DMAC 240. is there. At time t41, the CPU 200 receives a scan job start operation and issues a start instruction to the scanner unit 110 under desired scanning conditions. In the example shown in FIG. 4C, unlike the example shown in FIG. 4B, the CPU 200 does not instruct the bandwidth monitor 280 to start obtaining bandwidth information.

時刻t42において、スキャン処理部250から垂直同期信号(SVSYNC)282が出力される。したがって、時刻t41〜t42の間はスキャナ起動期間となり、時刻t42でCPU200の起動指示を受けたスキャナ部110の起動が完了してスキャンを開始し、スキャン処理部250で画像処理された画像データがDMAC240へ出力され始める。スキャン処理部250から出力された垂直同期信号(SVSYNC)282は帯域モニター280に入力される。帯域モニター280は、垂直同期信号(SVSYNC)282を受けて、タイミング判定部300が帯域取得部302に帯域情報の取得を開始するように制御を行う。帯域取得部302は、バス290の帯域情報の取得、及び取得した帯域情報のSRAM281への保存を開始する。   At time t <b> 42, the vertical synchronization signal (SVSYNC) 282 is output from the scan processing unit 250. Accordingly, the scanner activation period is between time t41 and t42, the activation of the scanner unit 110 that has received the activation instruction of the CPU 200 is completed at time t42, the scan is started, and the image data image-processed by the scan processing unit 250 is Output to the DMAC 240 starts. The vertical synchronization signal (SVSYNC) 282 output from the scan processing unit 250 is input to the band monitor 280. The band monitor 280 receives the vertical synchronization signal (SVSYNC) 282 and controls the timing determination unit 300 so that the band acquisition unit 302 starts acquiring band information. The band acquisition unit 302 starts acquiring the band information of the bus 290 and storing the acquired band information in the SRAM 281.

時刻t43において、DMAC240が、すべての画像データをRAM270へ書き込み終わり、書き込みが完了したことを示す転送終了割り込み信号(INT_SPageEnd)284をアサートする。帯域モニター280は、転送終了割り込み信号(INT_SPageEnd)284がアサートされると、タイミング判定部300が帯域取得部302に帯域情報の取得を停止するように制御を行う。帯域取得部302は、バス290の帯域情報の取得、及び帯域情報のSRAM281への保存を停止する。   At time t43, the DMAC 240 finishes writing all the image data to the RAM 270, and asserts a transfer end interrupt signal (INT_SPageEnd) 284 indicating that the writing is completed. When the transfer end interrupt signal (INT_SPageEnd) 284 is asserted, the bandwidth monitor 280 controls the timing determination unit 300 to stop the bandwidth acquisition unit 302 from acquiring bandwidth information. The band acquisition unit 302 stops acquiring the band information of the bus 290 and storing the band information in the SRAM 281.

ここで、図4(b)及び図4(c)に示した例において、実際にバス290上でのデータ転送が行われるのは、時刻t42〜t43の間のバス転送期間である。しかしながら、図4(b)に示した例では、時刻t41の時点で帯域モニター280は帯域情報の取得を開始している。そのため、このような動作を行うには、バス290上にデータ転送が発生しない時刻t41〜t42の期間に取得した帯域情報を書き込んでも、時刻t43までの期間で帯域情報を取得できるような容量のSRAM281を実装する必要がある。   Here, in the example shown in FIGS. 4B and 4C, the data transfer on the bus 290 is actually performed during the bus transfer period between times t42 and t43. However, in the example shown in FIG. 4B, the bandwidth monitor 280 starts acquiring bandwidth information at time t41. Therefore, in order to perform such an operation, even if the bandwidth information acquired in the period from time t41 to t42 when data transfer does not occur is written on the bus 290, the capacity of the bandwidth can be acquired in the period until time t43. It is necessary to mount the SRAM 281.

それに対して、図4(c)に示した例では、スキャン処理部250から出力される垂直同期信号(SVSYNC)282を、帯域モニター280での帯域情報の取得開始を指示する開始指示信号として入力している。そのため、帯域情報の取得に関して無駄な時刻t41〜t42の期間を削減し、実際にバス290上でのデータ転送が行われる時刻t42〜t43のバス転送期間に絞って帯域情報の取得が可能となる。したがって、スキャナ起動期間における帯域情報の取得が行われなくなるため、CPU200により帯域モニター280の起動制御を行う場合に比べて、少ない容量のSRAMを用いてもバス転送期間における帯域情報を十分に取得することが可能となる。   On the other hand, in the example shown in FIG. 4C, the vertical synchronization signal (SVSYNC) 282 output from the scan processing unit 250 is input as a start instruction signal for instructing start of band information acquisition in the band monitor 280. doing. Therefore, it is possible to reduce the useless period of time t41 to t42 regarding the acquisition of the band information, and to acquire the band information only in the bus transfer period of time t42 to t43 in which data transfer is actually performed on the bus 290. . Accordingly, since the bandwidth information is not acquired during the scanner activation period, the bandwidth information during the bus transfer period can be sufficiently acquired even when a smaller capacity SRAM is used than when the activation control of the bandwidth monitor 280 is performed by the CPU 200. It becomes possible.

<帯域情報の取得及びSRAMへの書き込み制御フロー>
図5は、第1の実施形態における帯域モニター280の動作例を示すフローチャートである。図5には、帯域モニター280が、垂直同期信号(SVSYNC)282によって帯域情報の取得を開始する場合の例を示している。
<Band information acquisition and SRAM write control flow>
FIG. 5 is a flowchart showing an operation example of the bandwidth monitor 280 in the first embodiment. FIG. 5 shows an example in which the band monitor 280 starts acquiring band information by the vertical synchronization signal (SVSYNC) 282.

ステップS501にて、帯域モニター280のタイミング判定部300が、スキャン処理部250からの垂直同期信号(SVSYNC)282が入力されたか否かを判定する。垂直同期信号(SVSYNC)282が入力されていないと判定した場合(ステップS501のNo)、タイミング判定部300は、垂直同期信号(SVSYNC)282が入力されるまで、ステップS501での判定を繰り返す。垂直同期信号(SVSYNC)282が入力されたとタイミング判定部300が判定した場合(ステップS501のYes)にはステップS502へ進む。   In step S501, the timing determination unit 300 of the band monitor 280 determines whether or not the vertical synchronization signal (SVSYNC) 282 from the scan processing unit 250 has been input. When it is determined that the vertical synchronization signal (SVSYNC) 282 is not input (No in step S501), the timing determination unit 300 repeats the determination in step S501 until the vertical synchronization signal (SVSYNC) 282 is input. When the timing determination unit 300 determines that the vertical synchronization signal (SVSYNC) 282 has been input (Yes in step S501), the process proceeds to step S502.

ステップS502にて、タイミング判定部300が、垂直同期信号(SVSYNC)282が入力されたことを受けて、帯域取得部302にバス290の帯域情報の取得を開始するように制御する。そして、帯域取得部302は、バス290の帯域情報の取得、及び取得した帯域情報のSRAM281への保存を開始する。以降、帯域取得部302は、ある時間間隔を単位としてバス290の帯域情報を取得し、取得した帯域情報のSRAM281への書き込みを行う処理を、ステップS505において帯域情報の取得を停止するように制御されるまで繰り返す。   In step S502, in response to the input of the vertical synchronization signal (SVSYNC) 282, the timing determination unit 300 controls the band acquisition unit 302 to start acquiring the band information of the bus 290. Then, the band acquisition unit 302 starts acquiring the band information of the bus 290 and saving the acquired band information in the SRAM 281. Thereafter, the bandwidth acquisition unit 302 acquires the bandwidth information of the bus 290 in units of a certain time interval, and controls the process of writing the acquired bandwidth information to the SRAM 281 so as to stop the acquisition of the bandwidth information in step S505. Repeat until

ステップS503にて、タイミング判定部300が、帯域情報が書き込まれるSRAM281が、これ以上の帯域情報の書き込みが行えないフル状態であるか否かを判定する。SRAM281がフル状態であるとタイミング判定部300が判定した場合(ステップS503のYes)にはステップS505へ進む。一方、SRAM281がフル状態ではないとタイミング判定部300が判定した場合(ステップS503のNo)にはステップS504へ進む。   In step S503, the timing determination unit 300 determines whether or not the SRAM 281 to which band information is written is in a full state in which no more band information can be written. When the timing determination unit 300 determines that the SRAM 281 is full (Yes in step S503), the process proceeds to step S505. On the other hand, when the timing determination unit 300 determines that the SRAM 281 is not full (No in step S503), the process proceeds to step S504.

ステップS504にて、タイミング判定部300が、DMAC240の転送終了割り込み信号(INT_SPageEnd)284が入力されたか否かを判定する。転送終了割り込み信号(INT_SPageEnd)284が入力されていないとタイミング判定部300が判定した場合(ステップS504のNo)、帯域情報を引き続き取得し続ける必要があるので、ステップS503へ進む。一方、転送終了割り込み信号(INT_SPageEnd)284が入力されたとタイミング判定部300が判定した場合(ステップS504のYes)にはステップS505へ進む。   In step S504, the timing determination unit 300 determines whether or not the transfer end interrupt signal (INT_SPageEnd) 284 of the DMAC 240 is input. If the timing determination unit 300 determines that the transfer end interrupt signal (INT_SPageEnd) 284 has not been input (No in step S504), the bandwidth information needs to be continuously acquired, and thus the process proceeds to step S503. On the other hand, when the timing determination unit 300 determines that the transfer end interrupt signal (INT_SPageEnd) 284 is input (Yes in step S504), the process proceeds to step S505.

なお、ステップS503及びS504におけるSRAM281がフル状態であるか否かの判定と、DMAC240の転送終了割り込み信号(INT_SPageEnd)284が入力されたか否かの判定を行う順序は順不同である。DMAC240の転送終了割り込み信号(INT_SPageEnd)284が入力されたか否かの判定を行った後に、SRAM281がフル状態であるか否かの判定を行うようにしてもよい。   Note that the order of determining whether the SRAM 281 is full in steps S503 and S504 and determining whether the transfer end interrupt signal (INT_SPageEnd) 284 of the DMAC 240 is input is in no particular order. After determining whether or not the transfer end interrupt signal (INT_SPageEnd) 284 of the DMAC 240 is input, it may be determined whether or not the SRAM 281 is full.

ステップS505にて、タイミング判定部300が、帯域情報の取得を停止する条件を満たしたことを受けて、帯域取得部302に帯域情報の取得を停止するように制御する。これにより、帯域取得部302は、バス290の帯域情報の取得を停止し、SRAM281への帯域情報の書き込みも停止する。   In step S505, the timing determination unit 300 controls the band acquisition unit 302 to stop acquiring the band information in response to satisfying the condition for stopping the band information acquisition. As a result, the band acquisition unit 302 stops acquiring the band information of the bus 290 and stops writing the band information to the SRAM 281.

以上、スキャン処理を例に、スキャン処理部250からの垂直同期信号(SVSYNC)282により帯域情報の取得を開始し、DMAC240からの転送終了割り込み信号(INT_SPageEnd)284により帯域情報の取得を停止する例を説明した。本実施形態は、スキャン処理に限らず、プリント処理についても同様に適用可能である。プリント処理では、プリント処理部256からの垂直同期信号(PVSYNC)283によりバス292の帯域情報の取得を開始し、DMAC246からの転送終了割り込み信号(INT_PPageEnd)285によりバス292の帯域情報の取得を停止する。   As described above, taking scan processing as an example, acquisition of band information is started by the vertical synchronization signal (SVSYNC) 282 from the scan processing unit 250, and acquisition of band information is stopped by the transfer end interrupt signal (INT_SPageEnd) 284 from the DMAC 240. Explained. The present embodiment is not limited to scan processing, and can be similarly applied to print processing. In the print processing, the acquisition of the band information of the bus 292 is started by the vertical synchronization signal (PVSYNC) 283 from the print processing unit 256, and the acquisition of the band information of the bus 292 is stopped by the transfer end interrupt signal (INT_PPageEnd) 285 from the DMAC 246. To do.

第1の実施形態によれば、帯域情報の取得を開始するタイミングを通知する制御信号によって、帯域モニター280による帯域情報の取得開始を制御する。例えば、スキャン処理においては、スキャン処理部250から出力される垂直同期信号(SVSYNC)282によって帯域モニター280による帯域情報の取得開始を制御する。これにより、CPU200により帯域情報の取得開始の制御を行う場合に比べて、無駄な帯域情報の取得期間を削減でき、実際にバス上でデータ転送が行われるバス転送期間に絞って帯域情報の取得が可能となる。そのため、起動期間における帯域情報の取得が行われなくなるため、CPU200により帯域モニター280の起動制御を行う場合に比べて、少ない容量のSRAMを用いても十分な帯域情報を取得することが可能となる。したがって、帯域情報を保持する情報記憶部の容量を抑えつつ、所望の状態であるバス転送期間における帯域情報を十分に取得することが可能となる。   According to the first embodiment, the start of band information acquisition by the band monitor 280 is controlled by the control signal that notifies the timing to start the band information acquisition. For example, in the scan process, the start of band information acquisition by the band monitor 280 is controlled by the vertical synchronization signal (SVSYNC) 282 output from the scan processing unit 250. As a result, it is possible to reduce the useless bandwidth information acquisition period compared to when the CPU 200 controls the start of bandwidth information acquisition, and the bandwidth information acquisition is limited to the bus transfer period in which data transfer is actually performed on the bus. Is possible. For this reason, since bandwidth information is not acquired during the startup period, it is possible to acquire sufficient bandwidth information even when using a smaller capacity SRAM than when the CPU 200 controls the startup of the bandwidth monitor 280. . Therefore, it is possible to sufficiently acquire the band information in the bus transfer period in a desired state while suppressing the capacity of the information storage unit that holds the band information.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。第1の実施形態では、帯域モニター280の帯域情報の取得開始のタイミングを垂直同期信号によって制御することにより、CPU200により帯域情報の取得開始の制御を行う場合に比べて、バス転送期間に絞って帯域情報の取得が可能となる例を示した。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. In the first embodiment, the band information acquisition start timing of the band monitor 280 is controlled by the vertical synchronization signal, so that it is narrowed down to the bus transfer period compared to the case where the CPU 200 controls the band information acquisition start. An example is shown in which bandwidth information can be acquired.

以下に説明する第2の実施形態では、帯域情報の取得開始のタイミングに、機能モジュールの有効・無効を示す動作ステータス信号を用いる。これにより、垂直同期信号(SVSYNC)282のような同期信号を使用しないバスマスターによるデータ転送であっても、実際にデータ転送が行われるバス転送期間に絞った帯域情報の取得を可能とし、帯域情報を取得する期間を絞ることが可能となる。なお、以下では、第1の実施形態と異なるものについて説明し、第1の実施形態と同様のものについては説明を省略する。   In the second embodiment described below, an operation status signal indicating validity / invalidity of a functional module is used at the start timing of band information acquisition. As a result, even when data transfer is performed by a bus master that does not use a synchronization signal such as the vertical synchronization signal (SVSYNC) 282, it is possible to acquire band information narrowed down to a bus transfer period in which data transfer is actually performed. It is possible to narrow down the period for acquiring information. In the following description, differences from the first embodiment will be described, and description of the same elements as those in the first embodiment will be omitted.

<コントローラ部>
図6は、第2の実施形態におけるコントローラ部120の構成例を示すブロック図である。図6において、図2に示した構成要素と同一の機能を有する構成要素には同一の符号を付し、重複する説明は省略する。なお、以下に説明する第2の実施形態におけるコントローラ部120、及びその内部の各機能部も、ハードウェア回路によって構成されている。
<Controller part>
FIG. 6 is a block diagram illustrating a configuration example of the controller unit 120 according to the second embodiment. In FIG. 6, components having the same functions as those shown in FIG. Note that the controller unit 120 and each function unit in the second embodiment described below are also configured by hardware circuits.

本実施形態で説明する同期信号を使用しないバスマスターとは、図6に示す処理部251〜255のような同期信号が不要な機能モジュールがDMACと接続され、RAM270とデータの送受信を行いながら処理を行うモジュールのことである。動作ステータス信号600は、処理部251〜255に接続されるDMAC241〜245の動作状態を示す信号をまとめたバスである。DMACの動作ステータス信号600は、少なくともDMACがデータ転送を行うのに伴って出力される転送処理可能な状態であることを示すイネーブル信号と転送処理が完了した場合に出力される割り込み信号とをまとめたものである。   A bus master that does not use a synchronization signal described in the present embodiment is a process in which functional modules that do not require a synchronization signal, such as the processing units 251 to 255 shown in FIG. It is a module that performs. The operation status signal 600 is a bus in which signals indicating operation states of the DMACs 241 to 245 connected to the processing units 251 to 255 are collected. The DMAC operation status signal 600 is a summary of at least an enable signal indicating that transfer processing is possible, which is output when the DMAC performs data transfer, and an interrupt signal output when transfer processing is completed. It is a thing.

例えば、図6に示したINT_PageEnd信号601〜605は、DMAC241〜245から出力される転送終了割り込み信号であり、帯域情報の取得を停止するタイミングを指定する制御信号として帯域モニター280に入力される。INT_PageEnd601〜605は、動作ステータス信号600にまとめられて帯域モニター280へと入力されるものとする。
その他は、図2に示した第1の実施形態におけるコントローラ部120と同様であるので説明は省略する。
For example, INT_PageEnd signals 601 to 605 shown in FIG. 6 are transfer end interrupt signals output from the DMACs 241 to 245, and are input to the band monitor 280 as control signals that specify the timing for stopping the acquisition of band information. It is assumed that INT_PageEnds 601 to 605 are collected into the operation status signal 600 and input to the band monitor 280.
Others are the same as the controller unit 120 in the first embodiment shown in FIG.

<帯域モニター部>
図7は、第2実施形態における帯域モニター280の構成例を示すブロック図である。図7において、図3に示した構成要素と同一の機能を有する構成要素には同一の符号を付し、重複する説明は省略する。なお、以下に説明する第2の実施形態における帯域モニター280、及びその内部の各機能部も、ハードウェア回路によって構成されている。
<Bandwidth monitor>
FIG. 7 is a block diagram illustrating a configuration example of the bandwidth monitor 280 according to the second embodiment. In FIG. 7, components having the same functions as those shown in FIG. 3 are given the same reference numerals, and redundant descriptions are omitted. Note that the bandwidth monitor 280 in the second embodiment, which will be described below, and the respective functional units therein are also configured by hardware circuits.

第2の実施形態における帯域モニター280において、タイミング判定部300には、更に動作ステータス信号600が入力される。タイミング判定部300は、動作ステータス信号600に含まれる、イネーブル信号を受信すると、対応するバス291の帯域情報の取得を開始し、取得した帯域情報をSRAM281へ書き込むように帯域取得部303を制御する。そして、タイミング判定部300は、動作ステータス信号600に含まれる、転送終了割り込み信号を受信すると、バス291の帯域情報の取得を停止するように帯域取得部303を制御する。   In the bandwidth monitor 280 according to the second embodiment, the operation status signal 600 is further input to the timing determination unit 300. When receiving the enable signal included in the operation status signal 600, the timing determination unit 300 starts acquiring the band information of the corresponding bus 291 and controls the band acquisition unit 303 to write the acquired band information to the SRAM 281. . When the timing determination unit 300 receives the transfer end interrupt signal included in the operation status signal 600, the timing determination unit 300 controls the band acquisition unit 303 to stop acquiring the band information of the bus 291.

<帯域情報の取得及びSRAMへの書き込み制御>
図8は、第2実施形態における帯域モニター280について、動作ステータス信号によって帯域モニター280での帯域情報の取得開始を指示した例を示すタイミングチャートである。なお、以下では、DMAC241を一例として説明するが、他のDMAC242〜245においても同様である。また、ここではDMACがRAM270からデータを読み出すリード動作を例に説明するが、RAM270へデータを書き込むライト動作についても適用できることは言うまでもない。
<Acquisition of bandwidth information and control of writing to SRAM>
FIG. 8 is a timing chart showing an example in which the band monitor 280 in the second embodiment is instructed to start obtaining band information in the band monitor 280 by an operation status signal. In the following, the DMAC 241 is described as an example, but the same applies to the other DMACs 242 to 245. Further, here, a read operation in which the DMAC reads data from the RAM 270 will be described as an example.

時刻t81において、CPU200が、DMAC241に対して起動指示を行う。起動指示を受けたDMAC241は、起動指示に応じて自身の動作ステータス信号であるイネーブル信号(DMAC_ENB)をハイレベルにアサートするとともに、メモリコントローラ260へデータの要求を行う。メモリコントローラ260は、DMAC241からのデータ転送要求を受けて、データ転送要求に応じたデータをRAM270から読み出してDMAC241への転送を開始する。また、イネーブル信号(DMAC_ENB)は、動作ステータス信号600として帯域モニター280が有するタイミング判定部300に入力される。動作ステータス信号600が入力されると、タイミング判定部300は、バスS291に対応する帯域取得部303に帯域情報の取得を開始するように制御を行う。帯域取得部303は、バス291の帯域情報の取得、及び取得した帯域情報のSRAM281への保存を開始する。   At time t81, the CPU 200 instructs the DMAC 241 to start up. In response to the activation instruction, the DMAC 241 asserts an enable signal (DMAC_ENB), which is its own operation status signal, to a high level and requests the memory controller 260 for data. In response to the data transfer request from the DMAC 241, the memory controller 260 reads data corresponding to the data transfer request from the RAM 270 and starts transfer to the DMAC 241. The enable signal (DMAC_ENB) is input to the timing determination unit 300 included in the band monitor 280 as the operation status signal 600. When the operation status signal 600 is input, the timing determination unit 300 controls the band acquisition unit 303 corresponding to the bus S291 to start acquiring the band information. The band acquisition unit 303 starts acquiring the band information of the bus 291 and saving the acquired band information in the SRAM 281.

時刻t82において、DMAC241が、すべての画像データを受信したことを示す転送終了割り込み信号(INT_PageEnd)をアサートする。アサートされた転送終了割り込み信号(INT_PageEnd)は、動作ステータス信号600を介して帯域モニター280のタイミング判定部300に入力される。タイミング判定部300は、転送終了割り込み信号(INT_PageEnd)が入力されると、バス291に対応する帯域取得部303に帯域情報の取得を停止するように制御を行う。帯域取得部303は、バス291の帯域情報の取得、及び帯域情報のSRAM281への保存を停止する。   At time t82, the DMAC 241 asserts a transfer end interrupt signal (INT_PageEnd) indicating that all image data has been received. The asserted transfer end interrupt signal (INT_PageEnd) is input to the timing determination unit 300 of the band monitor 280 via the operation status signal 600. When the transfer end interrupt signal (INT_PageEnd) is input, the timing determination unit 300 controls the band acquisition unit 303 corresponding to the bus 291 to stop acquiring the band information. The bandwidth acquisition unit 303 stops acquiring the bandwidth information of the bus 291 and saving the bandwidth information in the SRAM 281.

<帯域情報の取得及びSRAMへの書き込み制御フロー>
図9は、第2の実施形態における帯域モニター280の動作例を示すフローチャートである。図9には、帯域モニター280が、動作ステータス信号に含まれるイネーブル信号によって帯域情報の取得を開始し、転送終了割り込み信号によって帯域情報の取得を停止する場合の例を示している。以下では、DMAC241を一例に説明するが、他のDMAC242〜245においても同様である。
<Band information acquisition and SRAM write control flow>
FIG. 9 is a flowchart showing an operation example of the bandwidth monitor 280 in the second embodiment. FIG. 9 shows an example in which the band monitor 280 starts acquiring band information by an enable signal included in the operation status signal and stops acquiring band information by a transfer end interrupt signal. Hereinafter, the DMAC 241 is described as an example, but the same applies to the other DMACs 242 to 245.

ステップS901にて、帯域モニター280が有するタイミング判定部300が、動作ステータス信号に含まれる、DMAC241のイネーブル信号(DMAC_ENB)が入力されたか否かを判定する。イネーブル信号(DMAC_ENB)が入力されていないと判定した場合(ステップS901のNo)、タイミング判定部300は、イネーブル信号(DMAC_ENB)が入力されるまで、ステップS901での判定を繰り返す。イネーブル信号(DMAC_ENB)が入力されたとタイミング判定部300が判定した場合(ステップS901のYes)にはステップS902へ進む。   In step S901, the timing determination unit 300 included in the bandwidth monitor 280 determines whether or not the DMAC 241 enable signal (DMAC_ENB) included in the operation status signal is input. When it is determined that the enable signal (DMAC_ENB) is not input (No in step S901), the timing determination unit 300 repeats the determination in step S901 until the enable signal (DMAC_ENB) is input. If the timing determination unit 300 determines that the enable signal (DMAC_ENB) has been input (Yes in step S901), the process proceeds to step S902.

ステップS902にて、タイミング判定部300が、イネーブル信号(DMAC_ENB)が入力されたことを受けて、帯域取得部303にバス291の帯域情報の取得を開始するように制御する。そして、帯域取得部303は、バス290の帯域情報の取得、及び取得した帯域情報のSRAM281への保存を開始する。以降、帯域取得部303は、ある時間間隔を単位としてバス291の帯域情報を取得し、取得した帯域情報のSRAM281への書き込みを行う処理を、ステップS905において帯域情報の取得を停止するように制御されるまで繰り返す。   In step S902, the timing determination unit 300 controls the band acquisition unit 303 to start acquiring the band information of the bus 291 in response to the input of the enable signal (DMAC_ENB). Then, the bandwidth acquisition unit 303 starts acquiring the bandwidth information of the bus 290 and saving the acquired bandwidth information in the SRAM 281. Thereafter, the bandwidth acquisition unit 303 controls the acquisition of the bandwidth information of the bus 291 in units of a certain time interval, and the process of writing the acquired bandwidth information to the SRAM 281 is stopped in step S905. Repeat until

ステップS903にて、タイミング判定部300が、帯域情報が書き込まれるSRAM281がフル状態であるか否かを判定する。SRAM281がフル状態であるとタイミング判定部300が判定した場合(ステップS903のYes)にはステップS905へ進む。一方、SRAM281がフル状態ではないとタイミング判定部300が判定した場合(ステップS903のNo)にはステップS904へ進む。   In step S903, the timing determination unit 300 determines whether or not the SRAM 281 to which band information is written is in a full state. When the timing determination unit 300 determines that the SRAM 281 is full (Yes in step S903), the process proceeds to step S905. On the other hand, when the timing determination unit 300 determines that the SRAM 281 is not full (No in step S903), the process proceeds to step S904.

ステップS904にて、タイミング判定部300が、DMAC241の転送終了割り込み信号(INT_PageEnd)が入力されたか否かを判定する。転送終了割り込み信号(INT_PageEnd)が入力されていないとタイミング判定部300が判定した場合(ステップS904のNo)、帯域情報を引き続き取得し続ける必要があるので、ステップS903へ進む。一方、転送終了割り込み信号(INT_PageEnd)が入力されたとタイミング判定部300が判定した場合(ステップS904のYes)にはステップS905へ進む。   In step S904, the timing determination unit 300 determines whether the transfer end interrupt signal (INT_PageEnd) of the DMAC 241 has been input. If the timing determination unit 300 determines that the transfer end interrupt signal (INT_PageEnd) has not been input (No in step S904), the bandwidth information needs to be continuously acquired, and thus the process proceeds to step S903. On the other hand, if the timing determination unit 300 determines that the transfer end interrupt signal (INT_PageEnd) has been input (Yes in step S904), the process proceeds to step S905.

なお、ステップS903及びS904におけるSRAM281がフル状態であるか否かの判定と、DMAC241の転送終了割り込み信号(INT_PageEnd)が入力されたか否かの判定を行う順序は順不同である。DMAC241の転送終了割り込み信号(INT_PageEnd)が入力されたか否かの判定を行った後に、SRAM281がフル状態であるか否かの判定を行うようにしてもよい。   Note that the order in which it is determined whether or not the SRAM 281 is full in steps S903 and S904 and whether or not the transfer end interrupt signal (INT_PageEnd) of the DMAC 241 is input is in no particular order. After determining whether or not the DMAC 241 transfer end interrupt signal (INT_PageEnd) is input, it may be determined whether or not the SRAM 281 is full.

ステップS905にて、タイミング判定部300が、帯域情報の取得を停止する条件を満たしたことを受けて、帯域取得部303に帯域情報の取得を停止するように制御する。これにより、帯域取得部303は、バス291の帯域情報の取得を停止し、SRAM281への帯域情報の書き込みも停止する。   In step S905, the timing determination unit 300 controls the band acquisition unit 303 to stop acquiring the band information in response to satisfying the condition for stopping the band information acquisition. As a result, the band acquisition unit 303 stops acquiring the band information of the bus 291 and stops writing the band information to the SRAM 281.

第2の実施形態によれば、動作ステータス信号に含まれるDMACのイネーブル信号によって帯域モニター280による帯域情報の取得を開始し、DMACの転送終了割り込み信号によって帯域情報の取得を停止する。これにより、同期信号を使用しないバスマスターによるデータ転送であっても、実際にバス上でのデータ転送が行われるバス転送期間に絞った帯域情報の取得を可能とし、帯域情報を取得するバス転送期間を絞ることが可能となる。したがって、少ない容量のSRAMを用いても十分な帯域情報を取得することが可能となり、帯域情報を保持する情報記憶部の容量を抑えつつ、所望の状態であるバス転送期間における帯域情報を十分に取得することが可能となる。   According to the second embodiment, acquisition of band information by the band monitor 280 is started by a DMAC enable signal included in the operation status signal, and acquisition of band information is stopped by a DMAC transfer end interrupt signal. As a result, even when data is transferred by a bus master that does not use a synchronization signal, it is possible to acquire bandwidth information only during the bus transfer period during which data is actually transferred on the bus, and bus transfer that acquires bandwidth information. It becomes possible to narrow down the period. Accordingly, sufficient bandwidth information can be acquired even with a small capacity SRAM, and the bandwidth information during the bus transfer period in a desired state can be sufficiently obtained while suppressing the capacity of the information storage unit holding the bandwidth information. It can be acquired.

なお、本実施形態では、DMACの動作ステータス信号を帯域情報の取得を開始させる開始指示信号として用いる場合を例に説明したが、DMAC以外の機能モジュールの動作ステータス信号を開始指示信号として用いても良い。   In this embodiment, the case where the operation status signal of the DMAC is used as a start instruction signal for starting acquisition of band information has been described as an example. However, the operation status signal of a functional module other than the DMAC may be used as the start instruction signal. good.

(第3の実施形態)
次に、本発明の第3の実施形態について説明する。第3の実施形態では、帯域情報の取得条件を複数のバスが競合して動作している場合に設定し、複数の開始指示信号を検知することで、複数のバスマスターの競合状態の時のみ帯域情報を取得するように制御する。なお、以下では、前述した実施形態と異なるものについて説明し、前述した実施形態と同様のものについては説明を省略する。第3の実施形態におけるコントローラ部120は、図6に示した第2の実施形態におけるコントローラ部120と同様である。
(Third embodiment)
Next, a third embodiment of the present invention will be described. In the third embodiment, the bandwidth information acquisition condition is set when a plurality of buses are operating in competition, and by detecting a plurality of start instruction signals, only when a plurality of bus masters are in a competition state Control to obtain bandwidth information. In the following description, differences from the above-described embodiment will be described, and description of the same elements as those in the above-described embodiment will be omitted. The controller unit 120 in the third embodiment is the same as the controller unit 120 in the second embodiment shown in FIG.

<帯域モニター>
図10は、第3の実施形態における帯域モニター280の構成例を示すブロック図である。図10において、図3、7に示した構成要素と同一の機能を有する構成要素には同一の符号を付し、重複する説明は省略する。第3の実施形態における帯域モニター280は、複数のバスマスターの競合状態を複数の開始指示信号から判別し、競合状態であると判別した場合に帯域情報の取得を開始する。なお、図10に示す第3の実施形態における帯域モニター280、及びその内部の各機能部も、ハードウェア回路によって構成されている。
<Bandwidth monitor>
FIG. 10 is a block diagram illustrating a configuration example of the bandwidth monitor 280 in the third embodiment. 10, components having the same functions as those shown in FIGS. 3 and 7 are denoted by the same reference numerals, and redundant description is omitted. The bandwidth monitor 280 according to the third embodiment determines the contention state of a plurality of bus masters from a plurality of start instruction signals, and starts acquiring bandwidth information when it is determined that the state is a contention state. Note that the bandwidth monitor 280 in the third embodiment shown in FIG. 10 and the respective functional units therein are also configured by hardware circuits.

本実施形態において、帯域モニターが競合状態と判別して帯域情報の取得を開始する条件は、CPU200によってレジスタ部301に設定される。競合条件通知信号1000は、そのレジスタ部301に設定された帯域情報の取得を開始する条件を、タイミング判定部300へ通知する制御信号である。レジスタ部301に設定される競合状態の条件とは、帯域観測可能なバス290〜293の内の2つ以上のバスを選択することで設定される。設定されたバスの組み合わせは、競合条件通知信号1000によってタイミング判定部300へ通知される。そして、タイミング判定部300は、通知されたバスの組み合わせに対応する開始指示信号が入力されると、通知されたバスの帯域情報を取得する帯域取得部に対して帯域情報の取得を開始するように制御を行う。また、タイミング判定部300は、通知されたバスに対応する停止指示信号が1つでも入力されると、通知されたバスの帯域情報を取得するすべての帯域取得部に対して帯域情報の取得を停止するように制御を行う。   In the present embodiment, a condition for the bandwidth monitor to determine that it is in a competitive state and start obtaining bandwidth information is set in the register unit 301 by the CPU 200. The competition condition notification signal 1000 is a control signal that notifies the timing determination unit 300 of a condition for starting acquisition of the band information set in the register unit 301. The condition of the competition state set in the register unit 301 is set by selecting two or more of the buses 290 to 293 capable of band observation. The set bus combination is notified to the timing determination unit 300 by the competition condition notification signal 1000. Then, when a start instruction signal corresponding to the notified bus combination is input, the timing determination unit 300 starts to acquire the band information to the band acquisition unit that acquires the notified band information of the bus. To control. In addition, when at least one stop instruction signal corresponding to the notified bus is input, the timing determination unit 300 acquires the band information to all the band acquisition units that acquire the band information of the notified bus. Control to stop.

<帯域情報の取得及びSRAMへの書き込み制御>
図11は、第3の実施形態における帯域モニター280において、バス290とバス292とが競合状態であるときに帯域情報を取得するよう設定した例を示すタイミングチャートである。なお、バス290とバス292とが同時に動作する場合としては、例えばスキャン処理とプリント処理を行うコピージョブがある。
<Acquisition of bandwidth information and control of writing to SRAM>
FIG. 11 is a timing chart illustrating an example in which the bandwidth monitor 280 according to the third embodiment is configured to acquire bandwidth information when the bus 290 and the bus 292 are in a competitive state. Note that a case where the bus 290 and the bus 292 operate simultaneously includes, for example, a copy job that performs scan processing and print processing.

時刻t111において、CPU200が、帯域モニター280のレジスタ部301に競合条件であるバスの組み合わせを設定する。バスの組み合わせは、任意に設定できるようにしても良いし、予め定められた組み合わせの中から選択し設定するようにしても良い。時刻t112において、CPU200が、コピージョブの開始操作を受けて、所望のスキャン条件のもと、スキャナ部110に対して起動指示を行う。また、時刻t113において、CPU200が、コピージョブの開始操作を受けて、所望のプリント条件のもと、プリンタ部140に対して起動指示を行う。   At time t111, the CPU 200 sets a bus combination that is a competitive condition in the register unit 301 of the bandwidth monitor 280. A combination of buses may be arbitrarily set, or may be selected and set from predetermined combinations. At time t112, the CPU 200 receives a copy job start operation and issues a start instruction to the scanner unit 110 under a desired scan condition. At time t113, the CPU 200 receives a copy job start operation and issues a start instruction to the printer unit 140 under desired print conditions.

時刻t114において、スキャン処理部250から垂直同期信号(SVSYNC)282が出力される。ここで、帯域モニター280は、垂直同期信号(SVSYNC)282が入力されたことを保持するが、帯域情報の取得を開始するバスの競合条件を満たしていないので、帯域情報の取得を開始しない。   At time t <b> 114, the vertical synchronization signal (SVSYNC) 282 is output from the scan processing unit 250. Here, the band monitor 280 holds that the vertical synchronization signal (SVSYNC) 282 is input, but does not start the acquisition of the band information because it does not satisfy the bus competition condition for starting the band information acquisition.

その後、時刻t115において、プリント処理部256へ垂直同期信号(PVSYNC)283が入力される。ここで、帯域モニター280は、時刻t111において競合条件として設定されたバスの組み合わせに基づいて競合動作が始まったと判定し、バス290とバス292の帯域情報の取得を開始する。具体的には、タイミング判定部300が、帯域取得部302、304に帯域情報の取得を開始するように制御を行う。そして、帯域取得部302、304は、バス290、292の帯域情報の取得、及び取得した帯域情報のSRAM281への保存を開始する。   Thereafter, a vertical synchronization signal (PVSYNC) 283 is input to the print processing unit 256 at time t115. Here, the bandwidth monitor 280 determines that the contention operation has started based on the bus combination set as the contention condition at time t111, and starts obtaining the bandwidth information of the bus 290 and the bus 292. Specifically, the timing determination unit 300 controls the band acquisition units 302 and 304 to start acquiring band information. Then, the band acquisition units 302 and 304 start acquiring the band information of the buses 290 and 292 and storing the acquired band information in the SRAM 281.

時刻t116において、DMAC240が、すべての画像データをRAM270へ書き込み終わり、書き込みが完了したことを示す転送終了割り込み信号(INT_SPageEnd)284をアサートする。バス290でのデータ転送が終了したことにより、設定されたバスの競合条件が満たされなくなるため、タイミング判定部300は、帯域取得部302、304に対して帯域情報の取得を停止するように制御を行う。帯域取得部302、304は、バス290、292の帯域情報の取得、及び帯域情報のSRAM281への保存を停止する。   At time t116, the DMAC 240 finishes writing all the image data to the RAM 270, and asserts a transfer end interrupt signal (INT_SPageEnd) 284 indicating that the writing is completed. The timing determination unit 300 controls the band acquisition units 302 and 304 to stop acquiring the band information because the set bus contention condition is not satisfied because the data transfer on the bus 290 is completed. I do. The bandwidth acquisition units 302 and 304 stop acquiring the bandwidth information of the buses 290 and 292 and save the bandwidth information in the SRAM 281.

時刻t117において、DMAC246が、すべての画像データを受信したことを示す転送終了割り込み信号(INT_PPageEnd)285をアサートする。本実施形態では、その前の時刻t116において既に帯域情報の取得を停止している。したがって、アサートされた転送終了割り込み信号(INT_PPageEnd)285がタイミング判定部300に入力されるだけで、転送終了割り込み信号(INT_PPageEnd)285に応じた帯域取得部302、304に対する制御は行われない。   At time t117, the DMAC 246 asserts a transfer end interrupt signal (INT_PPageEnd) 285 indicating that all image data has been received. In the present embodiment, the acquisition of the band information has already been stopped at the previous time t116. Therefore, only the asserted transfer end interrupt signal (INT_PPageEnd) 285 is input to the timing determination unit 300, and the bandwidth acquisition units 302 and 304 corresponding to the transfer end interrupt signal (INT_PPageEnd) 285 are not controlled.

以上のように構成することで、複数のバスの競合状態の時に絞って帯域情報を取得することが可能となる。そのため、複数の帯域情報を同時に取得する場合でも、帯域情報を取得する時間を短縮できるため、少ない容量のSRAMで十分な帯域情報を取得することが可能となる。   By configuring as described above, it becomes possible to acquire bandwidth information only when a plurality of buses are competing. Therefore, even when a plurality of band information is acquired simultaneously, the time for acquiring the band information can be shortened, so that sufficient band information can be acquired with a small capacity SRAM.

<帯域情報の取得及びSRAMへの書き込み制御フロー>
図12は、第3の実施形態における帯域モニター280の動作例を示すフローチャートである。図12には、帯域モニター280が、バスの競合状態を判定して帯域情報の取得を開始する場合の例を示している。なお、以下の説明では、スキャン処理とプリント処理との同時動作を競合動作として設定することを例に説明するが、組み合わせとして設定可能なものはこれに限る物ではないことは言うまでも無い。
<Band information acquisition and SRAM write control flow>
FIG. 12 is a flowchart showing an operation example of the bandwidth monitor 280 in the third embodiment. FIG. 12 illustrates an example in which the bandwidth monitor 280 determines the bus contention state and starts acquiring bandwidth information. In the following description, the simultaneous operation of the scan process and the print process will be described as an example of a competing operation. Needless to say, what can be set as a combination is not limited to this.

ステップS1201にて、CPU200が、帯域モニター280のレジスタ部301に競合条件であるバスの組み合わせを設定する。ここでは、バス290とバス292との同時動作が競合条件として設定する。ステップS1202にて、帯域モニター280が有するタイミング判定部300が、垂直同期信号(SVSYNC)282が入力されたか否かを確認する。また、ステップS1203にて、タイミング判定部300が、垂直同期信号(PVSYNC)283信号が入力されたか否かを確認する。   In step S <b> 1201, the CPU 200 sets a bus combination that is a competitive condition in the register unit 301 of the bandwidth monitor 280. Here, the simultaneous operation of the bus 290 and the bus 292 is set as the competition condition. In step S1202, the timing determination unit 300 included in the band monitor 280 confirms whether or not the vertical synchronization signal (SVSYNC) 282 is input. In step S1203, the timing determination unit 300 confirms whether or not the vertical synchronization signal (PVSYNC) 283 signal is input.

ステップS1204にて、タイミング判定部300が、ステップS1202及びS1203において確認した結果に基づいて、帯域情報の取得を開始するバスの競合条件を満たしたか否かを判定する。バスの競合条件を満たしているとタイミング判定部300が判定した場合(ステップS1204のYes)にはステップS1205へ進み、満たしていないとタイミング判定部300が判定した場合(ステップS1204のNo)にはステップS1202へ戻る。   In step S1204, the timing determination unit 300 determines whether or not the bus contention condition for starting the acquisition of the band information is satisfied based on the results confirmed in steps S1202 and S1203. When the timing determination unit 300 determines that the bus competition condition is satisfied (Yes in step S1204), the process proceeds to step S1205, and when the timing determination unit 300 determines that the bus competition condition is not satisfied (No in step S1204). The process returns to step S1202.

ステップS1205にて、タイミング判定部300が、バスの競合条件が満たされたとステップS1204において判定したことを受けて、ステップS1201において競合条件として設定した各バスの帯域情報の取得を開始するように制御を行う。具体的には、タイミング判定部300が、帯域取得部302、304にバス290、292の帯域情報の取得を開始するように制御し、帯域取得部302、304は、帯域情報の取得及び取得した帯域情報のSRAM281への保存を開始する。以降、帯域取得部302、304は、ある時間間隔を単位として帯域情報を取得してSRAM281へ書き込む処理を、ステップS1209において帯域情報の取得を停止するように制御されるまで繰り返す。   In step S1205, in response to the determination in step S1204 that the bus competition condition is satisfied, the timing determination unit 300 performs control so as to start obtaining the bandwidth information of each bus set as the competition condition in step S1201. I do. Specifically, the timing determination unit 300 controls the band acquisition units 302 and 304 to start acquiring the band information of the buses 290 and 292, and the band acquisition units 302 and 304 acquire and acquire the band information. The storage of the band information in the SRAM 281 is started. Thereafter, the band acquisition units 302 and 304 repeat the process of acquiring the band information in units of a certain time interval and writing it to the SRAM 281 until it is controlled to stop the acquisition of the band information in step S1209.

ステップS1206にて、タイミング判定部300が、帯域情報が書き込まれるSRAM281がフル状態であるか否かを判定する。SRAM281がフル状態であるとタイミング判定部300が判定した場合(ステップS1206のYes)にはステップS1209へ進む。一方、SRAM281がフル状態ではないとタイミング判定部300が判定した場合(ステップS1206のNo)にはステップS1207へ進む。   In step S1206, the timing determination unit 300 determines whether or not the SRAM 281 to which band information is written is in a full state. When the timing determination unit 300 determines that the SRAM 281 is full (Yes in step S1206), the process proceeds to step S1209. On the other hand, when the timing determination unit 300 determines that the SRAM 281 is not full (No in step S1206), the process proceeds to step S1207.

ステップS1207にて、タイミング判定部300が、DMAC240の転送終了割り込み信号(INT_SPageEnd)284が入力されたか否かを判定する。転送終了割り込み信号(INT_SPageEnd)284が入力されていないとタイミング判定部300が判定した場合(ステップS1206のNo)、ステップS1208へ進む。一方、転送終了割り込み信号(INT_SPageEnd)284が入力されたとタイミング判定部300が判定した場合(ステップS1207のYes)にはステップS1209へ進む。   In step S1207, the timing determination unit 300 determines whether or not the transfer end interrupt signal (INT_SPageEnd) 284 of the DMAC 240 is input. When the timing determination unit 300 determines that the transfer end interrupt signal (INT_SPageEnd) 284 is not input (No in step S1206), the process proceeds to step S1208. On the other hand, if the timing determination unit 300 determines that the transfer end interrupt signal (INT_SPageEnd) 284 is input (Yes in step S1207), the process proceeds to step S1209.

ステップS1208にて、タイミング判定部300が、DMAC246の転送終了割り込み信号(INT_PPageEnd)285が入力されたか否かを判定する。転送終了割り込み信号(INT_PPageEnd)285が入力されていないとタイミング判定部300が判定した場合(ステップS1208のNo)、帯域情報を引き続き取得し続ける必要があるので、ステップS1206へ進む。一方、転送終了割り込み信号(INT_PPageEnd)285が入力されたとタイミング判定部300が判定した場合(ステップS1208のYes)にはステップS1209へ進む。   In step S1208, the timing determination unit 300 determines whether or not the transfer end interrupt signal (INT_PPageEnd) 285 of the DMAC 246 is input. If the timing determination unit 300 determines that the transfer end interrupt signal (INT_PPageEnd) 285 has not been input (No in step S1208), the bandwidth information needs to be continuously acquired, and thus the process proceeds to step S1206. On the other hand, if the timing determination unit 300 determines that the transfer end interrupt signal (INT_PPageEnd) 285 has been input (Yes in step S1208), the process proceeds to step S1209.

なお、ステップS1206、S1207、及びS1208における処理の実行は順不同であり、図12に示した例とは異なる順序で実行するようにしてもよい。   Note that the processes in steps S1206, S1207, and S1208 are executed in any order, and may be executed in a different order from the example shown in FIG.

ステップS1209にて、タイミング判定部300が、帯域情報の取得を停止する条件を満たしたことを受けて、帯域取得部302、304に帯域情報の取得を停止するように制御する。これにより、帯域取得部302、304は、バス290、292の帯域情報の取得を停止し、SRAM281への帯域情報の書き込みも停止する。   In step S1209, the timing determination unit 300 controls the band acquisition units 302 and 304 to stop acquiring the band information in response to satisfying the condition for stopping the band information acquisition. As a result, the band acquisition units 302 and 304 stop acquiring the band information of the buses 290 and 292, and stop writing the band information to the SRAM 281.

第3の実施形態によれば、帯域情報の取得条件を複数のバスが競合して動作している場合に設定し、複数の開始指示信号を検知することで、複数のバスマスターの競合状態の時のみ帯域情報を取得することが可能となる。そのため、複数の帯域情報を同時に取得する場合でも、帯域情報の取得時間を短縮できるため、少ない容量のSRAMを用いても十分な帯域情報を取得することが可能となる。したがって、帯域情報を保持する情報記憶部の容量を抑えつつ、所望の状態における帯域情報を十分に取得することが可能となる。   According to the third embodiment, the bandwidth information acquisition condition is set when a plurality of buses compete and operate, and a plurality of start instruction signals are detected. Band information can be acquired only at times. Therefore, even when a plurality of band information is acquired simultaneously, the band information acquisition time can be shortened, so that sufficient band information can be acquired even with a small capacity SRAM. Therefore, it is possible to sufficiently acquire the band information in a desired state while suppressing the capacity of the information storage unit that holds the band information.

なお、前述した第1〜第3の実施形態は、それぞれ単独で適用されるものに限定されず、前述した各実施形態を適宜組み合わせて適用するようにしてもよい。   Note that the above-described first to third embodiments are not limited to being applied alone, and may be applied by appropriately combining the above-described embodiments.

なお、前記実施形態は、何れも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

100:画像形成装置 110:スキャナ部 120:コントローラ部 140:プリンタ部 200:CPU 240〜246:DMAコントローラ 250:スキャン処理部 256:プリント処理部 260:メモリコントローラ 270:RAM 280:帯域モニター 281:SRAM 290〜293:バス 300:タイミング判定部 301:レジスタ部 302〜305:帯域取得部 306:マルチプレクサ 307:SRAMインターフェース DESCRIPTION OF SYMBOLS 100: Image forming apparatus 110: Scanner part 120: Controller part 140: Printer part 200: CPU 240-246: DMA controller 250: Scan processing part 256: Print processing part 260: Memory controller 270: RAM 280: Bandwidth monitor 281: SRAM 290 to 293: Bus 300: Timing determination unit 301: Register unit 302 to 305: Band acquisition unit 306: Multiplexer 307: SRAM interface

Claims (10)

複数のバスマスターによりアクセスされるメモリを有する画像形成装置であって、
前記メモリを制御するメモリコントローラと前記バスマスターとの間のバスに接続され、前記バスの帯域情報を取得して情報記憶部に保持する帯域取得手段と、
前記バスでのデータ転送を行うのに伴って出力される開始指示信号が入力され、前記開始指示信号が入力されると、入力された前記開始指示信号に応じて関連付けられているバスの前記帯域取得手段に対して、前記帯域情報の取得を開始するように制御する制御手段とを有することを特徴とする画像形成装置。
An image forming apparatus having a memory accessed by a plurality of bus masters,
Band acquisition means connected to a bus between the memory controller for controlling the memory and the bus master, acquiring band information of the bus and holding it in an information storage unit;
When a start instruction signal output along with data transfer on the bus is input, and the start instruction signal is input, the band of the bus associated in accordance with the input start instruction signal An image forming apparatus comprising: a control unit that controls the acquisition unit to start acquiring the band information.
前記開始指示信号が、画像形成に係る垂直同期信号であることを特徴とする請求項1に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the start instruction signal is a vertical synchronization signal related to image formation. 前記開始指示信号が、前記バスマスターが転送処理可能であることを示すイネーブル信号であることを特徴とする請求項1又は2に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the start instruction signal is an enable signal indicating that the bus master can perform transfer processing. 前記制御手段は、前記バスでのデータ転送の終了に伴って出力される停止指示信号が入力され、前記停止指示信号が入力されると、入力された前記停止指示信号に応じて関連付けられているバスの前記帯域取得手段に対して、前記帯域情報の取得を停止するように制御することを特徴とする請求項1〜3の何れか1項に記載の画像形成装置。   The control means receives a stop instruction signal that is output upon completion of data transfer on the bus, and when the stop instruction signal is input, is associated with the input stop instruction signal. The image forming apparatus according to claim 1, wherein the bandwidth acquisition unit of the bus is controlled to stop acquiring the bandwidth information. 前記制御手段は、予め設定されている複数のバスの前記開始指示信号が入力された場合、設定されているすべてのバスの前記帯域取得手段に対して、前記帯域情報の取得を開始するように制御することを特徴とする請求項1〜4の何れか1項に記載の画像形成装置。   When the start instruction signal of a plurality of preset buses is input, the control unit starts to acquire the band information to the band acquisition unit of all the set buses. The image forming apparatus according to claim 1, wherein the image forming apparatus is controlled. 前記制御手段は、前記バスでのデータ転送の終了に伴って出力される停止指示信号であって、設定されている前記複数のバスの内の何れかの前記停止指示信号が入力された場合、設定されているすべてのバスの前記帯域取得手段に対して、前記帯域情報の取得を停止するように制御することを特徴とする請求項5に記載の画像形成装置。   The control means is a stop instruction signal output upon completion of data transfer on the bus, and when the stop instruction signal of any of the set buses is input, The image forming apparatus according to claim 5, wherein the band acquisition unit of all the set buses is controlled to stop acquiring the band information. 前記複数のバスマスターは、スキャン処理して得られる画像データを前記メモリに書き込むバスマスターと、プリント処理する画像データを前記メモリから読み出すバスマスターとを含むことを特徴とする請求項1〜6の何れか1項に記載の画像形成装置。   The plurality of bus masters include: a bus master that writes image data obtained by scanning processing to the memory; and a bus master that reads image data to be printed from the memory. The image forming apparatus according to claim 1. 前記複数のバスマスターは、前記メモリから画像データを読み出し、所定の画像処理を施した前記画像データを前記メモリに書き込むバスマスターを含むことを特徴とする請求項1〜7の何れか1項に記載の画像形成装置。   The plurality of bus masters include a bus master that reads image data from the memory and writes the image data subjected to predetermined image processing to the memory. The image forming apparatus described. 複数のバスマスターによりアクセスされるメモリを制御するメモリコントローラと前記バスマスターとの間のバスに接続され、前記バスの帯域情報を取得して情報記憶部に保持する帯域取得手段と、
前記バスでのデータ転送を行うのに伴って出力される開始指示信号が入力され、前記開始指示信号が入力されると、入力された前記開始指示信号に応じて関連付けられているバスの前記帯域取得手段に対して、前記帯域情報の取得を開始するように制御する制御手段とを有することを特徴とする帯域モニター装置。
Band acquisition means connected to a bus between a memory controller for controlling a memory accessed by a plurality of bus masters and the bus master, acquiring bandwidth information of the bus and holding it in an information storage unit;
When a start instruction signal output along with data transfer on the bus is input, and the start instruction signal is input, the band of the bus associated in accordance with the input start instruction signal A bandwidth monitoring apparatus comprising: control means for controlling the obtaining means to start obtaining the bandwidth information.
複数のバスマスターによりアクセスされるメモリを制御するメモリコントローラと前記バスマスターとの間のバスでのデータ転送を行うのに伴って出力される開始指示信号が入力されると、入力された前記開始指示信号に応じて関連付けられている前記バスに接続された帯域取得手段に対して、前記バスの帯域情報の取得を開始するように制御する工程と、
前記バスの帯域情報の取得を開始するように制御された前記帯域取得手段が、前記バスの帯域情報を取得して情報記憶部に保持する工程とを有することを特徴とする帯域モニター方法。
When the start instruction signal that is output along with the data transfer on the bus between the memory controller that controls the memory accessed by a plurality of bus masters and the bus master is input, the input that is input A step of controlling the bandwidth acquisition means connected to the bus associated in response to the instruction signal to start acquisition of bandwidth information of the bus;
The bandwidth monitoring method comprising: the bandwidth acquisition means controlled to start acquiring the bandwidth information of the bus, acquiring the bandwidth information of the bus and holding it in an information storage unit.
JP2018095902A 2018-05-18 2018-05-18 Image forming apparatus, band monitoring device, and band monitoring method Pending JP2019200679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018095902A JP2019200679A (en) 2018-05-18 2018-05-18 Image forming apparatus, band monitoring device, and band monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018095902A JP2019200679A (en) 2018-05-18 2018-05-18 Image forming apparatus, band monitoring device, and band monitoring method

Publications (1)

Publication Number Publication Date
JP2019200679A true JP2019200679A (en) 2019-11-21

Family

ID=68613185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018095902A Pending JP2019200679A (en) 2018-05-18 2018-05-18 Image forming apparatus, band monitoring device, and band monitoring method

Country Status (1)

Country Link
JP (1) JP2019200679A (en)

Similar Documents

Publication Publication Date Title
CN108363669B (en) Memory access system, control method thereof, storage medium, and image forming apparatus
JP2009259217A (en) Data processing circuit, power saving method, power saving program, recording medium, and apparatus
EP2863618B1 (en) Image forming apparatus that guarantees a multi-operation
US11256459B2 (en) Data processing apparatus that switches to execution of a different command list at a preset control point, method of controlling the same, and computer-readable storage medium
JP2019200679A (en) Image forming apparatus, band monitoring device, and band monitoring method
US20160154603A1 (en) Data transfer control device, apparatus including the same, and data transfer control method
JP3714840B2 (en) Data transfer method and data transfer control device
JP3730586B2 (en) Image processing device
JP2018118477A (en) Image processing device, control method and program of the same
JP4034323B2 (en) Image data processing method, image data processing apparatus, and image forming apparatus
JP6833491B2 (en) Information processing device
JP2008282135A (en) Image processing apparatus, image reading apparatus, image forming apparatus, and image processing method
JP2010098426A (en) Controller, image forming apparatus, and program
JP2002254729A (en) Dma controller for image data
JP2019197299A (en) Memory system of information processing equipment, and control method and program of memory system of information processing equipment
JP2019200626A (en) Information processing apparatus, and control method and program for information processing apparatus
JP2009038776A (en) Image processing apparatus, and image processing method
JP2003091425A (en) Image processor and image processing method
JP2013098627A (en) Image processing control circuit, image processing apparatus, and image processing control method
JP6264757B2 (en) Image forming apparatus, image forming system, image forming apparatus control method, and image forming apparatus control program
JP2018116646A (en) Integrated circuit, control method of integrated circuit and program
JP2010062984A (en) Image forming apparatus
JP2006018406A (en) Image forming apparatus
JP2011013812A (en) Memory system
JP2004274270A (en) Data processor