JP2013033323A - Integrated circuit, image formation device and integrated circuit inspection method - Google Patents

Integrated circuit, image formation device and integrated circuit inspection method Download PDF

Info

Publication number
JP2013033323A
JP2013033323A JP2011168091A JP2011168091A JP2013033323A JP 2013033323 A JP2013033323 A JP 2013033323A JP 2011168091 A JP2011168091 A JP 2011168091A JP 2011168091 A JP2011168091 A JP 2011168091A JP 2013033323 A JP2013033323 A JP 2013033323A
Authority
JP
Japan
Prior art keywords
data
output
input
mode
signal
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.)
Withdrawn
Application number
JP2011168091A
Other languages
Japanese (ja)
Inventor
Akira Nagai
亮 永井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011168091A priority Critical patent/JP2013033323A/en
Publication of JP2013033323A publication Critical patent/JP2013033323A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To inexpensively and adequately evaluate an integrated circuit such as ASIC, while reducing a man-hour with an element.SOLUTION: As for an engine ASIC 11, when a test mode is set on an operation mode changeover register 39, an S2M image processing module 31 executes an image process with respect to image data input from a scanner 5 based on a line synchronization signal s_lsync_n and a frame effective signal s_fgate_n, and WDMAC 33a-33d store the image data in a buffer control part 38 through an arbiter 35 for write and a read data selector (R_SEL) 40, and RDMAC 34a-34d read the image data of the buffer control part 38 through an arbiter 36 for read and a read data selector (R_SEL) 41 to transmit them to an M2P image processing module 32. The M2P image processing module 32 executes the image process with respect to the image data to output it to a plotter 6.

Description

本発明は、集積回路、画像形成装置及び集積回路検査方法に関し、詳細には、複合装置等のエンジンボードに搭載されているASIC(Application Specific Integrated Circuit)等の画像処理用の集積回路を該エンジンボード単体で評価する集積回路、画像形成装置及び集積回路検査方法に関する。   The present invention relates to an integrated circuit, an image forming apparatus, and an integrated circuit inspection method, and more specifically, an integrated circuit for image processing such as an ASIC (Application Specific Integrated Circuit) mounted on an engine board of a composite apparatus or the like. The present invention relates to an integrated circuit, an image forming apparatus, and an integrated circuit inspection method that are evaluated by a single board.

近年、複写装置、プリンタ装置、複合装置、スキャナ装置等の画像形成装置においては、原稿の画像を読み取るスキャナや用紙等に画像を形成出力するプロッタに接続され、これらのスキャナやプロッタとの間でデータの授受を行うDMA(Direct Memory Access)や必要な画像処理を行う、ASIC(Application Specific Integrated Circuit)等の画像処理用の集積回路を搭載するエンジンボードを搭載している。   In recent years, an image forming apparatus such as a copying apparatus, a printer apparatus, a composite apparatus, or a scanner apparatus is connected to a scanner that reads an image of a document or a plotter that forms and outputs an image on a paper sheet. An engine board on which an integrated circuit for image processing such as DMA (Direct Memory Access) for transferring data and ASIC (Application Specific Integrated Circuit) for performing necessary image processing is mounted.

このような集積回路においては、様々な入力を与え、集積回路からの出力信号と出力期待値との比較を行なって、期待通りの動作をすることを検証した上で、実際のデバイスを評価している。   In such an integrated circuit, various inputs are given, the output signal from the integrated circuit is compared with the expected output value, and after verifying that it operates as expected, the actual device is evaluated. ing.

例えば、従来、図7に示すように、図示しないエンジンボード上にエンジンASIC100及び図示しないエンジンCPU(Central Processing Unit)等が搭載されており、エンジンASIC100には、エンジンとしてのスキャナ101とプロッタ102が接続されているとともに、コントローラボード103に接続されている。コントローラボード103は、図示しないが、コントローラASIC、CPU、ハードディスク、メモリ等が搭載されており、エンジンASIC100とコントローラボード103上のコントローラASICとが、要求と応答が分離されて、応答を待たずに次の要求を発行できるPCI(Peripheral Component Interconnect) Express(以下、PCIeという。)で接続されている。   For example, as shown in FIG. 7, an engine ASIC 100 and an engine CPU (Central Processing Unit) (not shown) are conventionally mounted on an engine board (not shown). The engine ASIC 100 includes a scanner 101 and a plotter 102 as an engine. In addition to being connected, it is connected to the controller board 103. Although not shown, the controller board 103 is equipped with a controller ASIC, CPU, hard disk, memory, etc., and the engine ASIC 100 and the controller ASIC on the controller board 103 separate requests and responses without waiting for a response. It is connected by PCI (Peripheral Component Interconnect) Express (hereinafter referred to as PCIe) that can issue the next request.

エンジンASIC100は、S2M画像処理モジュール111、M2P画像処理モジュール112、0チャネルから3チャネルまでの4つのWDMAC(ライトDMAC)113a〜113dと4つのRDMAC(リードDMAC)114a〜114d、ライト用アービタ115、リード用アービタ116、EP(エンドポイント)117及びPCIe転送バッファ部118等を備えている。なお、S2Mは、Scanner to Memoryの略、M2Pは、Memory to Plotterの略であり、以下、同様である。   The engine ASIC 100 includes an S2M image processing module 111, an M2P image processing module 112, four WDMAC (write DMAC) 113a to 113d and four RDMAC (read DMAC) 114a to 114d, a write arbiter 115, A read arbiter 116, an EP (end point) 117, a PCIe transfer buffer unit 118, and the like are provided. S2M is an abbreviation for Scanner to Memory, and M2P is an abbreviation for Memory to Plotter. The same applies hereinafter.

エンジンASIC100は、そのS2M画像処理モジュール111に、スキャナ101からライン同期信号s_lsync_n、フレーム有効信号s_fgate_n及び4チャネル(4ch)分の画像データが入力され、そのM2P画像処理モジュール112に、プロッタ102からライン同期信号p_lsync_nとフレーム有効信号p_fgate_nが入力されるとともに、RDMAC114a〜114dから4ch分の画像データが入力される。   The engine ASIC 100 receives the line synchronization signal s_lsync_n, the frame valid signal s_fgate_n, and the image data for four channels (4ch) from the scanner 101 to the S2M image processing module 111, and the line from the plotter 102 to the M2P image processing module 112. The synchronization signal p_lsync_n and the frame valid signal p_fgate_n are input, and image data for 4ch is input from the RDMACs 114a to 114d.

S2M画像処理モジュール111は、ライン同期信号s_lsync_n及びフレーム有効信号s_fgate_nに同期して、スキャナ101から入力される画像データの1ライン分及び1ページ分の画像処理を行い、M2P画像処理モジュール112は、プロッタから入力されるライン同期信号p_lsync_n及びフレーム有効信号p_fgate_nに同期して1ライン単位及び1ページ分の画像処理を行う。   The S2M image processing module 111 performs image processing for one line and one page of image data input from the scanner 101 in synchronization with the line synchronization signal s_lsync_n and the frame valid signal s_fgate_n, and the M2P image processing module 112 Image processing for one line unit and one page is performed in synchronization with the line synchronization signal p_lsync_n and the frame valid signal p_fgate_n input from the plotter.

WDMAC113a〜113dは、S2M画像処理モジュール111から入力される画像データを、PCIeを介して接続されるコントローラ103に転送して、コントローラ103のメモリに書き込ませ、ライト用アービタ115は、4ch分のWDMAC113a〜113dから入力されるライトリクエストを調停する。   The WDMACs 113a to 113d transfer the image data input from the S2M image processing module 111 to the controller 103 connected via PCIe and write the data to the memory of the controller 103. The write arbiter 115 includes the WDMAC 113a for 4ch. Arbitrate the write request input from .about.113d.

RDMAC114a〜114dは、PCIeを介して接続されるコントローラ103のメモリに保管されている画像データをリードし、M2P画像処理モジュール112に出力する。   The RDMACs 114a to 114d read the image data stored in the memory of the controller 103 connected via PCIe and output the image data to the M2P image processing module 112.

リード用アービタ116は、4ch分のRDMAC114a〜114dから入力されるリードリクエストを調停する。   The read arbiter 116 arbitrates read requests input from the RDMACs 114a to 114d for 4 channels.

EP117は、PCIe規格に準じてエンジンASIC100とコントローラ103との間のデータ転送を制御し、このデータ転送時のフローを制御するために、ライト及びリードする画像データを一時的にPCIe転送バッファ部118に保存させる。   The EP 117 controls data transfer between the engine ASIC 100 and the controller 103 in accordance with the PCIe standard, and temporarily writes image data to be written and read to the PCIe transfer buffer unit 118 in order to control the flow at the time of this data transfer. To save.

そして、このようなエンジンASIC100においては、従来から、その動作が正常に行われるかを、スキャナ101側から画像データをエンジンASIC100に入力して評価することが行われている(特許文献1参照)。   In such an engine ASIC 100, conventionally, image data is input from the scanner 101 side to the engine ASIC 100 to evaluate whether the operation is normally performed (see Patent Document 1). .

しかしながら、上記従来技術にあっては、エンジンASICの評価、特に、エンジンASIC内の画像バスであるS2Mバス及びM2Pバスの評価においては、S2Mパスを用いたライトデータの転送先であるコントローラのメモリやM2Pパスを用いたリードデータの読み取り元であるメモリを使用するため、エンジンASICを搭載するエンジンボード単体で評価を行うことができず、評価用のコントローラボードを準備する必要があり、評価用のコントローラボードを用いることで、コストの高騰、評価用のスペースの増大及びコントローラボードを制御する手間等の評価工数が多く必要とするという問題があった。   However, in the above prior art, in the evaluation of the engine ASIC, particularly in the evaluation of the S2M bus and the M2P bus that are image buses in the engine ASIC, the memory of the controller that is the transfer destination of the write data using the S2M path Because the memory that is the source of the read data using the M2P path is used, it is not possible to evaluate the engine board alone with the engine ASIC installed, and it is necessary to prepare a controller board for evaluation. The use of the controller board has a problem that the cost is increased, the evaluation space is increased, and a lot of man-hours for evaluating the controller board are required.

この場合、エンジンボード単体で評価を行うために、例えば、エンジンボード上またはエンジンASIC内部にページメモリを実装すると、回路規模が増大して、エンジンボードのコストが高くなる。また、S2MパスとM2Pパスは非同期で動作するため、単純にメモリを実装するだけでは、S2Mパスからのライト速度とM2Pパスからのリード速度に不整合がある場合には異常画像となり、適切な評価を行うことができない。   In this case, for example, if a page memory is mounted on the engine board or in the engine ASIC in order to perform the evaluation on the engine board alone, the circuit scale increases and the cost of the engine board increases. In addition, since the S2M path and the M2P path operate asynchronously, simply mounting a memory results in an abnormal image if there is a mismatch between the write speed from the S2M path and the read speed from the M2P path. Evaluation cannot be performed.

そこで、本発明は、集積回路の評価、特に、画像バスの評価を工数を削減しつつ安価かつ適切に行うことを目的としている。   Accordingly, an object of the present invention is to perform evaluation of an integrated circuit, in particular, evaluation of an image bus at a low cost and appropriately while reducing the number of steps.

本発明の集積回路は、上記目的を達成するために、入力される画像データに対して、入力ライン同期信号及び入力フレーム有効信号に基づいて所定の画像処理を施す入力データ画像処理手段と、前記入力データ画像処理手段で処理された画像データを外部記憶手段に転送する際のタイミング調整を行うために該画像データを一時記憶するデータ記憶手段と、前記入力データ画像処理手段で処理された画像データを前記データ記憶手段を介して前記外部記憶手段に転送出力するデータ転送出力手段と、前記外部記憶手段の前記画像データを前記データ記憶手段を介して取り込むデータ取り込み手段と、前記データ取り込み手段の取り込んだ画像データに対して、出力ライン同期信号及び出力フレーム有効信号に基づいて所定の画像処理を施して出力する出力データ画像処理手段と、通常モードと検査モードの動作モードを指定するモード信号が入力され、該モード信号が通常モードであると、前記データ転送出力手段による前記画像データの出力先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ転送出力手段による該画像データの出力先を前記データ記憶手段に設定する出力先切り替え手段と、前記モード信号が入力され、該モード信号が通常モードであると、前記データ取り込み手段による前記画像データの取り込み先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ取り込み手段による該画像データの取り込み先を前記データ記憶手段に設定する入力先切り替え手段と、前記モード信号が入力され、該モード信号が検査モードであると、前記出力ライン同期信号に代えて前記入力ライン同期信号を前記出力データ画像処理手段に入力するとともに、前記出力フレーム有効信号に代えて前記入力フレーム有効信号を所定遅延量だけ遅延させた遅延入力フレーム有効信号を該出力データ画像処理手段に入力する信号切り替え手段と、を備えていることを特徴としている。   In order to achieve the above object, an integrated circuit according to the present invention includes: input data image processing means for performing predetermined image processing on input image data based on an input line synchronization signal and an input frame valid signal; Data storage means for temporarily storing the image data in order to adjust timing when the image data processed by the input data image processing means is transferred to the external storage means; and image data processed by the input data image processing means Is transferred to the external storage means via the data storage means, data capture means for capturing the image data of the external storage means via the data storage means, and capture of the data capture means The image data is subjected to predetermined image processing based on the output line synchronization signal and the output frame valid signal. Output data image processing means for inputting, and a mode signal for designating the operation mode of the normal mode and the inspection mode, and when the mode signal is in the normal mode, the output destination of the image data by the data transfer output means is When the mode signal is set to the external storage means and the mode signal is the inspection mode, the output destination switching means for setting the output destination of the image data by the data transfer output means to the data storage means, and the mode signal are input, When the mode signal is a normal mode, the image data capturing unit by the data capturing unit is set in the external storage unit, and when the mode signal is an inspection mode, the image data capturing unit by the data capturing unit is set. Input destination switching means for setting the destination in the data storage means, and the mode signal is inputted, and the mode signal is inspected The input line synchronization signal is input to the output data image processing means instead of the output line synchronization signal, and the input frame valid signal is delayed by a predetermined delay amount instead of the output frame valid signal. And a signal switching means for inputting the delayed input frame valid signal to the output data image processing means.

また、本発明の画像形成装置は、上記目的を達成するために、入力ライン同期信号及び入力フレーム有効信号に基づいて原稿の画像を読み取って画像データを出力する画像読み取り手段と、出力ライン同期信号及び出力フレーム有効信号に基づいて、画像データに応じた画像を記録出力する画像出力手段と、画像データを記憶する外部記憶手段と、前記画像読み取り手段の出力する画像データに所定の画像処理を施して前記外部記憶手段に記憶させるとともに、該外部記憶手段の画像データを取り込んで所定の画像処理を施して前記画像出力手段に出力する集積回路と、を備え、前記集積回路は、前記画像読み取り手段から入力される前記入力ライン同期信号及び前記入力フレーム有効信号に基づいて、該画像読み取り手段から入力される画像データに対して所定の画像処理を施す入力データ画像処理手段と、前記入力データ画像処理手段で処理された画像データを前記外部記憶手段に転送する際にタイミング調整を行うために該画像データを一時記憶するデータ記憶手段と、前記入力データ画像処理手段で処理された画像データを前記データ記憶手段を介して前記外部記憶手段に転送出力するデータ転送出力手段と、前記外部記憶手段の前記画像データを前記データ記憶手段を介して取り込むデータ取り込み手段と、前記データ取り込み手段の取り込んだ画像データに対して、前記画像出力手段からから入力される前記出力ライン同期信号及び前記出力フレーム有効信号に基づいて所定の画像処理を施して該画像出力手段に出力する出力データ画像処理手段と、通常モードと検査モードの動作モードを指定するモード信号が入力され、該モード信号が通常モードであると、前記データ転送出力手段による前記画像データの出力先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ転送出力手段による該画像データの出力先を前記データ記憶手段に設定する出力先切り替え手段と、前記モード信号が入力され、該モード信号が通常モードであると、前記データ取り込み手段による前記画像データの取り込み先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ取り込み手段による該画像データの取り込み先を前記データ記憶手段に設定する入力先切り替え手段と、前記モード信号が入力され、該モード信号が検査モードであると、前記出力ライン同期信号に代えて前記入力ライン同期信号を前記出力データ画像処理手段に入力するとともに、前記出力フレーム有効信号に代えて前記入力フレーム有効信号を所定遅延量だけ遅延させた遅延入力フレーム有効信号を該出力データ画像処理手段に入力する信号切り替え手段と、を備えていることを特徴としている。   In order to achieve the above object, the image forming apparatus of the present invention includes an image reading unit that reads an image of a document and outputs image data based on an input line synchronization signal and an input frame valid signal, and an output line synchronization signal. And an image output means for recording and outputting an image corresponding to the image data, an external storage means for storing the image data, and image data output from the image reading means based on the output frame valid signal. And an integrated circuit that stores the image data in the external storage means, performs predetermined image processing and outputs the image data to the image output means, and the integrated circuit includes the image reading means An image input from the image reading means based on the input line synchronization signal and the input frame valid signal input from Input data image processing means for performing predetermined image processing on the data, and temporarily transferring the image data for timing adjustment when transferring the image data processed by the input data image processing means to the external storage means Data storage means for storing, data transfer output means for transferring and outputting image data processed by the input data image processing means to the external storage means via the data storage means, and the image data of the external storage means Data fetching means fetched via the data storage means, and predetermined data based on the output line synchronization signal and the output frame valid signal inputted from the image output means for the image data fetched by the data fetching means Output data image processing means for performing image processing and outputting to the image output means, normal mode and inspection When a mode signal designating an operation mode of the mode is input and the mode signal is in the normal mode, the output destination of the image data by the data transfer output unit is set in the external storage unit, and the mode signal is inspected. When in the mode, the output destination switching means for setting the output destination of the image data by the data transfer output means in the data storage means, the mode signal is input, and when the mode signal is in the normal mode, the data Input destination switching for setting the image data acquisition destination by the acquisition means in the external storage means, and setting the image data acquisition destination by the data acquisition means in the data storage means when the mode signal is in the inspection mode. And when the mode signal is input and the mode signal is in the inspection mode, the input line is replaced with the input line synchronization signal. A power line synchronization signal is input to the output data image processing means, and a delayed input frame valid signal obtained by delaying the input frame valid signal by a predetermined delay amount instead of the output frame valid signal is supplied to the output data image processing means. And an input signal switching means.

さらに、本発明の集積回路検査方法は、上記目的を達成するために、入力される画像データに対して、入力ライン同期信号及び入力フレーム有効信号に基づいて所定の画像処理を施す入力データ画像処理ステップと、前記入力データ画像処理ステップで処理された画像データを外部記憶手段に転送する際のタイミング調整を行うために該画像データをデータ記憶手段に一時記憶するデータ記憶処理ステップと、前記入力データ画像処理ステップで処理された画像データを前記データ記憶手段を介して前記外部記憶手段に転送出力するデータ転送出力処理ステップと、前記外部記憶手段の前記画像データを前記データ記憶手段を介して取り込むデータ取り込み処理ステップと、前記データ取り込み処理ステップで取り込まれた画像データに対して、出力ライン同期信号及び出力フレーム有効信号に基づいて所定の画像処理を施して出力する出力データ画像処理ステップと、通常モードと検査モードの動作モードを指定するモード信号が通常モードであると、前記データ転送出力処理ステップでの前記画像データの出力先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ転送出力処理ステップでの該画像データの出力先を前記データ記憶手段に設定する出力先切り替え処理ステップと、前記モード信号が通常モードであると、前記データ取り込み処理ステップによる前記画像データの取り込み先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ取り込み処理ステップによる該画像データの取り込み先を前記データ記憶手段に設定する入力先切り替え処理ステップと、前記モード信号が検査モードであると、前記出力ライン同期信号に代えて前記入力ライン同期信号を前記出力データ画像処理ステップへ入力するとともに、前記出力フレーム有効信号に代えて前記入力フレーム有効信号を所定遅延量だけ遅延させた遅延入力フレーム有効信号を該出力データ画像処理ステップへ入力する信号切り替え処理ステップと、を有していることを特徴としている。   Furthermore, in order to achieve the above object, the integrated circuit inspection method of the present invention performs input data image processing for performing predetermined image processing on input image data based on an input line synchronization signal and an input frame valid signal. A data storage processing step for temporarily storing the image data in the data storage means for performing timing adjustment when transferring the image data processed in the input data image processing step to the external storage means; and the input data Data transfer output processing step for transferring and outputting the image data processed in the image processing step to the external storage means via the data storage means, and data for capturing the image data of the external storage means via the data storage means A capture process step and image data captured in the data capture process step; The output data image processing step for performing the predetermined image processing based on the output line synchronization signal and the output frame valid signal, and the mode signal designating the operation mode of the normal mode and the inspection mode are the normal mode, When the output destination of the image data in the data transfer output processing step is set in the external storage means, and the mode signal is in the inspection mode, the output destination of the image data in the data transfer output processing step is the data storage If the output signal switching processing step set in the means and the mode signal is in the normal mode, the capture destination of the image data in the data capture processing step is set in the external storage means, and the mode signal is in the inspection mode. And the data storage means for setting the image data acquisition destination in the data acquisition processing step. When the input signal switching processing step and the mode signal are in the inspection mode, the input line synchronization signal is input to the output data image processing step instead of the output line synchronization signal, and the output frame valid signal is replaced. And a signal switching processing step of inputting a delayed input frame valid signal obtained by delaying the input frame valid signal by a predetermined delay amount to the output data image processing step.

本発明によれば、エンジンASICの評価、特に、画像バスの評価を工数を削減しつつ、安価かつ適切に行うことができる。   According to the present invention, the evaluation of the engine ASIC, in particular, the evaluation of the image bus can be performed inexpensively and appropriately while reducing the number of steps.

本発明の一実施例を適用した画像形成装置の要部ブロック構成図。1 is a block diagram of a main part of an image forming apparatus to which an embodiment of the present invention is applied. エンジンASICのブロック構成図。The block block diagram of engine ASIC. バッファ制御部のブロック構成図。The block block diagram of a buffer control part. テストモード時のシーケンス図。The sequence diagram at the time of test mode. バッファ制御部のテストモード時における0chのタイミング図。The timing diagram of 0ch in the test mode of a buffer control part. 外部からモード信号が入力されるエンジンASICのブロック構成図。The block block diagram of engine ASIC into which a mode signal is input from the outside. 従来のエンジンASICのブロック構成図。The block diagram of the conventional engine ASIC.

以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるので、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明によって不当に限定されるものではなく、また、本実施の形態で説明される構成の全てが本発明の必須の構成要件ではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, since the Example described below is a suitable Example of this invention, various technically preferable restrictions are attached | subjected, However, The range of this invention is unduly limited by the following description. However, not all the configurations described in the present embodiment are essential constituent elements of the present invention.

図1〜図6は、本発明の集積回路、画像形成装置及び集積回路検査方法の一実施例を示す図であり、図1は、本発明の集積回路、画像形成装置及び集積回路検査方法の一実施例を適用した画像形成装置1のブロック構成図である。   1 to 6 are diagrams illustrating an embodiment of an integrated circuit, an image forming apparatus, and an integrated circuit inspection method according to the present invention. FIG. 1 illustrates an integrated circuit, an image forming apparatus, and an integrated circuit inspection method according to the present invention. 1 is a block configuration diagram of an image forming apparatus 1 to which an embodiment is applied.

図1において、画像形成装置1は、エンジンボード2とコントローラボード3及び図示しない操作表示部等を備えており、エンジンボード2とコントローラボード3は、PCIeバス4により接続されている。   In FIG. 1, the image forming apparatus 1 includes an engine board 2, a controller board 3, an operation display unit (not shown), and the like. The engine board 2 and the controller board 3 are connected by a PCIe bus 4.

エンジンボード2は、エンジンASIC11及びエンジンCPU12等を搭載しており、エンジンASIC11には、スキャナ5及びプロッタ6が接続されている。   The engine board 2 includes an engine ASIC 11 and an engine CPU 12. The engine ASIC 11 is connected to a scanner 5 and a plotter 6.

スキャナ(画像読み取り手段)5は、CCD(Charge Coupled Device )またはCMOS(Complementary Metal Oxide Semiconductor )を光電変換素子として用いて、図示しない原稿搬送機構部によって副走査方向に搬送される原稿を主走査方向に走査して、該原稿に照射した読み取り光の反射光を光電変換素子で光電変換することで、該原稿の画像をライン毎に読み取って、A(アナログ)/D(デジタル)変換した後、エンジンASIC11に出力する。   A scanner (image reading means) 5 uses a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor) as a photoelectric conversion element, and scans a document transported in a sub-scanning direction by a document transport mechanism (not shown) in the main scanning direction. , The photoelectric conversion element photoelectrically converts the reflected light of the reading light applied to the original, reads the original image line by line, and performs A (analog) / D (digital) conversion. Output to engine ASIC11.

プロッタ(画像出力手段)6は、例えば、電子写真式記録装置等であり、スキャナで読み取られた原稿の画像や図示しないネットワーク通信部で受信した受信画像等を用紙に記録出力するとともに、必要なレポートを用紙に記録出力する。   The plotter (image output means) 6 is, for example, an electrophotographic recording apparatus or the like, which records and outputs a document image read by a scanner, a received image received by a network communication unit (not shown), and the like on a sheet. Record the report on paper.

コントローラボード3は、コントローラASIC21、ハードディスク(HDD)22、ノースブリッジ(NB)23、コントローラCPU24及びメモリ(外部記憶手段)25等を搭載しており、コントローラASIC21とノースブリッジ(NB)23とは、PCIeバスによって接続されている。   The controller board 3 includes a controller ASIC 21, a hard disk (HDD) 22, a north bridge (NB) 23, a controller CPU 24, a memory (external storage means) 25, and the like. The controller ASIC 21 and the north bridge (NB) 23 are Connected by a PCIe bus.

ノースブリッジ(NB)23は、コントローラCPU24、メモリ25及びコントローラASIC21等を接続するためのブリッジであり、メモリ25は、画像読み取り装置1のスキャナ5で読み取られた画像データを一時蓄積するメモリ等として用いられる。   The north bridge (NB) 23 is a bridge for connecting the controller CPU 24, the memory 25, the controller ASIC 21, and the like. The memory 25 is a memory for temporarily storing image data read by the scanner 5 of the image reading apparatus 1. Used.

コントローラCPU24は、ハードディスク(HDD)22等に格納されているプログラムに基づいて画像読み取り装置1の各部を制御して画像読み取り装置1としての基本動作処理を制御する。   The controller CPU 24 controls each part of the image reading device 1 based on a program stored in a hard disk (HDD) 22 or the like, and controls basic operation processing as the image reading device 1.

ハードディスク(HDD)22は、プログラム及び画像データの蓄積に利用され、コントローラCPU24の制御下で、コントローラASIC21によってデータ等の書き込み及び読み出しが行われる。   A hard disk (HDD) 22 is used for storing programs and image data, and data and the like are written and read by the controller ASIC 21 under the control of the controller CPU 24.

コントローラASIC21は、CPU23の制御下で、データの圧縮・伸長等の各種画像処理を行う。   The controller ASIC 21 performs various image processing such as data compression / decompression under the control of the CPU 23.

エンジンASIC(集積回路)11は、図2に示すように、S2M画像処理モジュール31、M2P画像処理モジュール32、WDMAC(ライト・ダイレクト・メモリアクセス・コントローラ:Write Direct Memory Access Controller)33a〜33d、RDMAC(ライト・ダイレクト・メモリアクセス・コントローラ:Read Direct Memory Access Controller)34a〜34d、ライト用アービタ35、リード用アービタ36、エンドポイント(EP)37、バッファ制御部38、動作モード切り替え用レジスタ39、ライトデータセレクタ(W_SEL)40、リードデータセレクタ(R_SEL)41、プロッタLSYNCセレクタ(P_LS_SEL)42、フレーム有効信号遅延量設定レジスタ43、P_FGATE生成部44、プロッタFGATEセレクタ(P_FG_SEL)45等を備えている。   As shown in FIG. 2, the engine ASIC (integrated circuit) 11 includes an S2M image processing module 31, an M2P image processing module 32, a WDMAC (Write Direct Memory Access Controller) 33 a to 33 d, and an RDMAC. (Write Direct Memory Access Controller) 34a to 34d, write arbiter 35, read arbiter 36, end point (EP) 37, buffer control unit 38, operation mode switching register 39, write A data selector (W_SEL) 40, a read data selector (R_SEL) 41, a plotter LSYNC selector (P_LS_SEL) 42, a frame valid signal delay amount setting register 43, a P_FGATE generator 44, a plotter FGATE selector (P_FG_SEL) 45, and the like are provided.

エンジンASIC11は、エンジンCPU12の設定する所定の書き込み間隔であるタイムアウト間隔で画像データをコントローラボード3のコントローラASIC21に転送するとともに、エンジンCPU12の設定するパラメータに基づいて、スキャナ11の出力する画像データに対して必要な画像処理を施す。また、エンジンASIC11は、コントローラボード3から取得した画像データに対してプロッタ6で画像形成するのに必要な画像処理を施してプロッタ6に転送する。   The engine ASIC 11 transfers the image data to the controller ASIC 21 of the controller board 3 at a time-out interval that is a predetermined writing interval set by the engine CPU 12, and outputs image data output from the scanner 11 based on the parameters set by the engine CPU 12. Necessary image processing is performed on the image. Further, the engine ASIC 11 performs image processing necessary for image formation by the plotter 6 on the image data acquired from the controller board 3 and transfers the image data to the plotter 6.

S2M画像処理モジュール(入力データ画像処理手段)31には、スキャナ5からライン同期信号(入力ライン同期信号)s_lsync_n、フレーム有効信号(入力フレーム有効信号)s_fgate_n及び4チャネル(4ch)分の画像データが入力され、S2M画像処理モジュール31は、ライン同期信号s_lsync_n及びフレーム有効信号s_fgate_nに同期して、スキャナ5から入力される画像データの1ライン分及び1ページ分の画像処理を行う。   The S2M image processing module (input data image processing means) 31 receives line synchronization signal (input line synchronization signal) s_lsync_n, frame valid signal (input frame valid signal) s_fgate_n, and image data for 4 channels (4ch) from the scanner 5. The input S2M image processing module 31 performs image processing for one line and one page of image data input from the scanner 5 in synchronization with the line synchronization signal s_lsync_n and the frame valid signal s_fgate_n.

M2P画像処理モジュール(出力データ画像処理手段)32には、プロッタ6からライン同期信号(出力ライン同期信号)p_lsync_nとフレーム有効信号(出力フレーム有効信号)p_fgate_nが入力されるとともに、RDMAC34a〜34dから4chの画像データが転送され、M2P画像処理モジュール32は、ライン同期信号p_lsync_n及びフレーム有効信号p_fgate_nに同期して、RDMAC34a〜34dから転送されてくる4chの画像データに対して1ライン単位及び1ページ分の画像処理を行う。   The M2P image processing module (output data image processing means) 32 receives a line synchronization signal (output line synchronization signal) p_lsync_n and a frame valid signal (output frame valid signal) p_fgate_n from the plotter 6, and 4ch from the RDMACs 34a to 34d. The M2P image processing module 32 synchronizes with the line synchronization signal p_lsync_n and the frame valid signal p_fgate_n, and the M2P image processing module 32 performs one line unit and one page for the 4ch image data transferred from the RDMACs 34a to 34d. Perform image processing.

WDMAC(データ転送出力手段)33a〜33dは、S2M画像処理モジュール111から入力される画像データを、ライト用アービタ35、ライトデータセレクタ(W_SEL)40、エンドポイント(EP)37に送って、エンドポイント(EP)37からPCIe4を介して接続されるコントローラ3に転送して、コントローラ3のメモリ25またはバッファ制御部38に書き込ませる。   WDMAC (data transfer output means) 33a to 33d send the image data input from the S2M image processing module 111 to the write arbiter 35, the write data selector (W_SEL) 40, and the end point (EP) 37. The data is transferred from the (EP) 37 to the controller 3 connected via the PCIe 4 and written into the memory 25 or the buffer control unit 38 of the controller 3.

ライト用アービタ(取り込み要求調停手段)35は、4ch分のWDMAC33a〜33dから入力されるライトリクエストを調停する。   The write arbiter (capture request arbitration means) 35 arbitrates write requests input from the WDMACs 33a to 33d for 4ch.

RDMAC(データ取り込み手段)34a〜34dは、リードデータセレクタ(R_SEL)41及びリード用アービタ36を介して、コントローラ3のメモリ25に保管されている画像データまたはバッファ制御部38に保管されている画像データをリードし、M2P画像処理モジュール32に出力する。   The RDMAC (data fetching means) 34 a to 34 d are image data stored in the memory 25 of the controller 3 or images stored in the buffer control unit 38 via the read data selector (R_SEL) 41 and the read arbiter 36. Data is read and output to the M2P image processing module 32.

リード用アービタ(取り込み要求調停手段)36は、4ch分のRDMAC34a〜34dから入力されるリードリクエストを調停する。   The read arbiter (fetch request arbitration means) 36 arbitrates read requests input from the RDMACs 34a to 34d for 4ch.

EP37は、PCIe規格に準じてエンジンASIC11とコントローラ3との間のデータ転送を制御し、このデータ転送時のフローを制御するために、ライト及びリードする画像データを一時的にPCIe転送用のバッファ制御部38に保存させる。   The EP 37 controls data transfer between the engine ASIC 11 and the controller 3 in accordance with the PCIe standard, and temporarily writes image data to be written and read to a PCIe transfer buffer in order to control the flow at the time of this data transfer. The data is stored in the control unit 38.

動作モード切り替え用レジスタ(モード設定手段)39は、エンジンCPU12によって、通常モードとテストモードの動作モードが設定され、設定された動作モードに応じてモード信号mode(通常モード時に、mode=0、テストモード時に、mode=1)をライトデータセレクタ(W_SEL)40、リードデータセレクタ(R_SEL)41、プロッタLSYNCセレクタ(P_LS_SEL)42及びプロッタFGATEセレクタ(P_FG_SEL)45に出力する。すなわち、エンジンASIC11は、通常に動作する通常モードと、エンジンASIC11の検査、特に、画像データの転送バスの検査を行うテストモードと、を有し、エンジンCPU12によってその動作モードが動作モード切り替え用レジスタ39に設定される。   The operation mode switching register (mode setting means) 39 sets the operation mode of the normal mode and the test mode by the engine CPU 12, and the mode signal mode (mode = 0 in the normal mode, test 0) according to the set operation mode. In the mode, mode = 1) is output to the write data selector (W_SEL) 40, the read data selector (R_SEL) 41, the plotter LSYNC selector (P_LS_SEL) 42, and the plotter FGATE selector (P_FG_SEL) 45. That is, the engine ASIC 11 has a normal mode in which the engine ASIC 11 operates normally and a test mode in which the engine ASIC 11 is inspected, in particular, an inspection of the image data transfer bus. 39.

バッファ制御部(データ記憶手段)38は、通常モード(mode=0)時は、PCIe転送用バッファとして機能し、テストモード(mode=1)時は、テストモード時の画像データを保管して、S2Mパスのライト先またM2Pパスのリード先のメモリとして機能するが、詳細については、後で説明する。   The buffer control unit (data storage means) 38 functions as a PCIe transfer buffer in the normal mode (mode = 0), and stores the image data in the test mode in the test mode (mode = 1). The memory functions as a write destination memory of the S2M path or a read destination memory of the M2P path. Details will be described later.

ライトデータセレクタ(W_SEL)(出力先切り替え手段)40は、動作モード切り替え用レジスタ39から入力されるモード信号modeに応じて、ライト用アービタ35を介してWDMAC33a〜33dから送られてくるライト要求(書き込み要求)による画像データの転送先を、エンドポイント(EP)37とバッファ制御部38とに切り替える。すなわち、ライトデータセレクタ(W_SEL)40は、モード信号modeがmode=0で通常モードのときには、画像データの書き込み要求先である転送先をエンドポイント(EP)37とし、モード信号modeがmode=1でテストモードのときには、画像データの転送先をバッファ制御部38とする。   The write data selector (W_SEL) (output destination switching means) 40 receives a write request (from the WDMACs 33a to 33d via the write arbiter 35 in accordance with the mode signal mode input from the operation mode switching register 39 ( The transfer destination of the image data by the (write request) is switched between the end point (EP) 37 and the buffer control unit 38. That is, when the mode signal mode is mode = 0 and the normal mode is selected, the write data selector (W_SEL) 40 sets the transfer destination, which is the image data write request destination, to the endpoint (EP) 37 and the mode signal mode is mode = 1. In the test mode, the transfer destination of the image data is the buffer control unit 38.

リードデータセレクタ(R_SEL)(入力先切り替え手段)41は、動作モード切り替え用レジスタ39から入力されるモード信号modeに応じて、リードアービタ36からのリードリクエスト(読み取り要求)と画像データの行き先(画像データの読み取り元)を、エンドポイント(EP)37とバッファ制御部38とに切り替えて、リードリクエストに応じて返ってきた画像データをリード用アービタ36に出力する。すなわち、リードデータセレクタ(R_SEL)41は、モード信号modeがmode=0で通常モードのときには、リードアクセスをエンドポイント(EP)37に送ってエンドポイント(EP)37から返ってくる画像データをリード用アービタ36に出力し、モード信号modeがmode=1でテストモードのときには、リードアクセスをバッファ制御部38に送ってバッファ制御部38から返ってくる画像データをリード用アービタ36に出力する。   A read data selector (R_SEL) (input destination switching means) 41 reads a read request (read request) from the read arbiter 36 and an image data destination (image) according to the mode signal mode input from the operation mode switching register 39. The data reading source) is switched to the end point (EP) 37 and the buffer control unit 38, and the image data returned in response to the read request is output to the read arbiter 36. That is, when the mode signal mode is mode = 0 and the normal mode is selected, the read data selector (R_SEL) 41 sends the read access to the endpoint (EP) 37 and reads the image data returned from the endpoint (EP) 37. When the mode signal mode is mode = 1 and the test mode is selected, the read access is sent to the buffer control unit 38 and the image data returned from the buffer control unit 38 is output to the read arbiter 36.

プロッタLSYNCセレクタ(P_LS_SEL)42は、モード信号modeに応じて、スキャナ5から入力されるライン同期信号s_lsync_nとプロッタ6から入力されるライン同期信号p_lsync_nを切り替えてM2P画像処理モジュール32に出力する。すなわち、プロッタLSYNCセレクタ(P_LS_SEL)42は、モード信号modeがmode=0で通常モードのときには、プロッタ6からのライン同期信号p_lsync_nをM2P画像処理モジュール32に出力し、モード信号modeがmode=1でテストモードのときには、スキャナ5からのライン同期信号s_lsync_nをM2P画像処理モジュール32に出力する。   The plotter LSYNC selector (P_LS_SEL) 42 switches between the line synchronization signal s_lsync_n input from the scanner 5 and the line synchronization signal p_lsync_n input from the plotter 6 according to the mode signal mode, and outputs it to the M2P image processing module 32. That is, when the mode signal mode is mode = 0 and the normal mode is selected, the plotter LSYNC selector (P_LS_SEL) 42 outputs the line synchronization signal p_lsync_n from the plotter 6 to the M2P image processing module 32, and the mode signal mode is mode = 1. In the test mode, the line synchronization signal s_lsync_n from the scanner 5 is output to the M2P image processing module 32.

フレーム有効信号遅延設定レジスタ(遅延量設定手段)43は、後述するP_FGATE生成部44が生成する検査モード用フレーム同期信号p_fgate_test_nをスキャナ5からのフレーム有効信号s_fgate_nのアサートから何ライン分遅延させるかを設定するフレーム有効信号遅延量fg_dlyを、P_FGATE生成部44に出力する。   The frame valid signal delay setting register (delay amount setting means) 43 determines how many lines the test mode frame synchronization signal p_fgate_test_n generated by the P_FGATE generation unit 44 described later is delayed from the assertion of the frame valid signal s_fgate_n from the scanner 5. The frame effective signal delay amount fg_dly to be set is output to the P_FGATE generator 44.

P_FGATE生成部44には、上記フレーム有効信号遅延設定レジスタ43からのフレーム有効信号遅延量fg_dlyとスキャナ5からのフレーム有効信号s_fgate_nが入力され、P_FGATE生成部44は、スキャナ5からのフレーム有効信号s_fgate_nを、フレーム有効信号遅延設定レジスタ43で設定されたフレーム有効信号遅延量fg_dlyの値分だけ遅延させて、テストモード時にM2P画像処理モジュール32が用いる遅延フレーム有効信号p_fgate_test_nとしてプロッタFGATEセレクタ(P_FG_SEL)45へ出力する。   The frame valid signal delay amount fg_dly from the frame valid signal delay setting register 43 and the frame valid signal s_fgate_n from the scanner 5 are input to the P_FGATE generator 44, and the P_FGATE generator 44 receives the frame valid signal s_fgate_n from the scanner 5. Is delayed by the value of the frame valid signal delay amount fg_dly set by the frame valid signal delay setting register 43, and the plotter FGATE selector (P_FG_SEL) 45 is used as the delayed frame valid signal p_fgate_test_n used by the M2P image processing module 32 in the test mode. Output to.

プロッタFGATEセレクタ(P_FG_SEL)45は、モード信号modeに応じて、P_FGATE生成部44からの遅延フレーム有効信号p_fgate_test_nとプロッタ6からのフレーム有効信号p_fgate_nを切り替えてM2P画像処理モジュール32に出力する。すなわち、プロッタFGATEセレクタ(P_FG_SEL)45は、モード信号modeがmode=0で通常モードのときには、プロッタ6から入力されるフレーム有効信号p_fgate_nをM2P画像処理モジュール32に出力し、モード信号modeがmode=1でテストモードのときには、P_FGATE生成部44からの遅延フレーム有効信号p_fgate_test_nをM2P画像処理モジュール32に出力する。上記プロッタLSYNCセレクタ(P_LS_SEL)42、フレーム有効信号遅延設定レジスタ43及びプロッタFGATEセレクタ(P_FG_SEL)45は、全体として信号切り替え手段として機能している。   The plotter FGATE selector (P_FG_SEL) 45 switches the delayed frame valid signal p_fgate_test_n from the P_FGATE generation unit 44 and the frame valid signal p_fgate_n from the plotter 6 according to the mode signal mode, and outputs them to the M2P image processing module 32. That is, when the mode signal mode is mode = 0 and the normal mode is selected, the plotter FGATE selector (P_FG_SEL) 45 outputs the frame valid signal p_fgate_n input from the plotter 6 to the M2P image processing module 32, and the mode signal mode is mode = When the test mode is 1, the delayed frame valid signal p_fgate_test_n from the P_FGATE generator 44 is output to the M2P image processing module 32. The plotter LSYNC selector (P_LS_SEL) 42, the frame valid signal delay setting register 43, and the plotter FGATE selector (P_FG_SEL) 45 function as signal switching means as a whole.

そして、上記バッファ制御部38は、図3に示すように、ライト用のアドレスデコーダ51、4chのライトデータセレクタ(W_SEL*、*=0〜3)52a〜52d、バッファ53、4ch分のリードデータセレクタ(R_SEL*、*=0〜3)54a〜54d、リード用のアドレスレコーダ55及びセレクト信号生成部56等を備えており、バッファ53は、各チャネル一対の4ch分のFIFO0_a、FIFO0_b、FIFO1_a、FIFO1_b、FIFO2_a、FIFO2_b、FIFO3_a、FIFO3_bを備えている。   As shown in FIG. 3, the buffer control unit 38 reads the write data decoders (W_SEL *, * = 0 to 3) 52a to 52d for the write address decoder 51 and 4ch, and the read data for the buffers 53 and 4ch. Selectors (R_SEL *, * = 0 to 3) 54a to 54d, a read address recorder 55, a select signal generation unit 56, and the like, and a buffer 53 includes FIFO0_a, FIFO0_b, FIFO1_a, 4ch for each channel pair. FIFO1_b, FIFO2_a, FIFO2_b, FIFO3_a, and FIFO3_b are provided.

バッファ(ラインバッファ)53は、各チャネル一対の4ch分のFIFO※_a、FIFO※_b(※=0〜3)を、通常モード(mode=0)時には、PCIe転送用バッファとして動作させ、エンドポイント(EP)37からのデータを一時保管した後、エンドポイント(EP)37に送り出す。   A buffer (line buffer) 53 operates a pair of 4 channel FIFO * _a and FIFO * _b (* = 0 to 3) of each channel as a PCIe transfer buffer in the normal mode (mode = 0). After the data from (EP) 37 is temporarily stored, it is sent to the end point (EP) 37.

バッファ53は、テストモード(mode=1)時には、S2Mパスのライト先またM2Pパスのリード先のメモリとして動作させ、2ライン×4ch分のラインFIFO※_a、FIFO※_b(※=0〜3)をトグルで動作させる。   In the test mode (mode = 1), the buffer 53 is operated as a memory of a write destination of the S2M path or a read destination of the M2P path, and the lines FIFO * _a and FIFO * _b (* = 0 to 3) for 2 lines × 4 channels. ) With toggle.

セレクト信号生成部56には、スキャナ5からライン同期信号s_lsync_nが入力され、セレクト信号生成部56は、バッファ53のラインFIFO※_a、FIFO※_b(※=0〜3)のトグル動作を制御するセレクト信号selを、ライン同期信号s_lsync_nが入力される毎に反転させて出力する。   The line synchronization signal s_lsync_n is input from the scanner 5 to the select signal generator 56, and the select signal generator 56 controls the toggle operation of the line FIFO * _a and FIFO * _b (* = 0 to 3) of the buffer 53. The select signal sel is inverted and output every time the line synchronization signal s_lsync_n is input.

ライト用のアドレスデコーダ(書き込みアドレスデコード手段)51には、ライトデータセレクタ(W_SEL)40から画像データとライトアドレスが入力され、アドレスデコーダ51は、S2Mパスのどのチャネル(ch)からのライトリクエストであるかを判定して、ライトデータセレクタ(W_SEL*、*=0〜3)52a〜52dを介して、バッファ53の該当するチャネルのラインFIFO※_a、FIFO※_b(※=0〜3)へ画像データwd※(※=0〜3)をライトする。   Image data and a write address are input from a write data selector (W_SEL) 40 to a write address decoder (write address decoding means) 51. The address decoder 51 receives a write request from any channel (ch) in the S2M path. It is determined whether there is a line FIFO * _a, FIFO * _b (* = 0 to 3) of the corresponding channel of the buffer 53 via the write data selector (W_SEL *, * = 0 to 3) 52a to 52d. Write image data wd * (* = 0 to 3).

リード用のアドレスデコーダ(取り込みアドレスデコード手段)55には、リードデータセレクタ(R_SEL)41からのリードアドレスによって、M2Pパスのどのチャネル(ch)からのリードリクエストであるかを判定し、リードデータセレクタ(R_SEL*、*=0〜3)54a〜54dを介して、該当するチャネルのラインFIFO※_a、FIFO※_b(※=0〜3)から画像データrd※(※=0〜3)をリードしてリードデータセレクタ(R_SEL)41に転送する。   The read address decoder (capture address decoding means) 55 determines the read request from which channel (ch) of the M2P path based on the read address from the read data selector (R_SEL) 41, and the read data selector (R_SEL *, * = 0 to 3) Read image data rd * (* = 0 to 3) from line FIFO * _a and FIFO * _b (* = 0 to 3) of the corresponding channel via 54a to 54d. The data is transferred to the read data selector (R_SEL) 41.

ライトデータセレクタ(W_SEL*、*=0〜3)52a〜52dは、セレクト信号生成部56からのセレクト信号selに基づいて、S2Mパスからライトされる画像データであるアドレスデコーダ51からの画像データwd※(※=0〜3)を、画像データwd※_aと画像データwd※_b(※=0〜3)とに切り替えて、FIFO※_aとFIFO※_b(※=0〜3)とに切り替えて書き込む。   The write data selectors (W_SEL *, * = 0 to 3) 52a to 52d, based on the select signal sel from the select signal generation unit 56, image data wd from the address decoder 51, which is image data written from the S2M path. * Switch (* = 0 to 3) to image data wd * _a and image data wd * _b (* = 0 to 3) and switch to FIFO * _a and FIFO * _b (* = 0 to 3) Write.

リードデータセレクタ(R_SEL*、*=0〜3)54a〜54dは、セレクト信号生成部56からのセレクト信号selに基づいて、M2Pパスからの画像データのリード先であるアドレスデコーダ55によるリード先バッファを、FIFO※_aとFIFO※_b(※=0〜3)とに切り替えて、リードした画像データrd※_aと画像データrd※_b(※=0〜3)をrd※(※=0〜3)としてリードデータセレクタ(R_SEL)41に出力する。   The read data selectors (R_SEL *, * = 0 to 3) 54a to 54d are read destination buffers based on the select signal sel from the select signal generation unit 56 by the address decoder 55 that is the read destination of the image data from the M2P path. Are switched to FIFO * _a and FIFO * _b (* = 0 to 3), and the read image data rd * _a and image data rd * _b (* = 0 to 3) are changed to rd * (* = 0 to 3). ) To the read data selector (R_SEL) 41.

次に、本実施例の作用を説明する。本実施例の画像形成装置1は、エンジンASIC11の評価、特に、画像バスの評価を工数を削減しつつ、安価かつ適切に行う。   Next, the operation of this embodiment will be described. The image forming apparatus 1 according to the present exemplary embodiment performs the evaluation of the engine ASIC 11, particularly the evaluation of the image bus, at a low cost and appropriately while reducing the number of steps.

画像形成装置1は、通常モード時、エンジンCPU12が動作モード切り替え用レジスタ39に通常モードを設定し、動作モード切り替え用レジスタ39は、通常モードが設定されると、「0」のモード信号mode(mode=0)をライトデータセレクタ(W_SEL)40、リードデータセレクタ(R_SEL)41、プロッタLSYNCセレクタ(P_LS_SEL)42及びプロッタFGATEセレクタ(P_FG_SEL)45に出力する。   In the image forming apparatus 1, in the normal mode, the engine CPU 12 sets the normal mode in the operation mode switching register 39, and when the normal mode is set, the operation mode switching register 39 sets the mode signal mode ( mode = 0) is output to the write data selector (W_SEL) 40, the read data selector (R_SEL) 41, the plotter LSYNC selector (P_LS_SEL) 42, and the plotter FGATE selector (P_FG_SEL) 45.

この通常モードでは、エンジンASIC11は、スキャナ5から入力される4chの画像データを、S2M画像処理モジュール31が、ライン同期信号s_lsync_n及びフレーム有効信号s_fgate_nに同期して、1ライン分及び1ページ分毎に画像処理を行ってWDMAC33a〜33dに出力し、WDMAC33a〜33dが、S2M画像処理モジュール111から入力される画像データを、ライト用アービタ35、ライトデータセレクタ(W_SEL)40、エンドポイント(EP)37に送って、エンドポイント(EP)37からPCIe4を介してコントローラ3に転送して、コントローラ3のメモリ25に書き込ませる。   In this normal mode, the engine ASIC 11 uses the 4ch image data input from the scanner 5 for each line and page by the S2M image processing module 31 in synchronization with the line synchronization signal s_lsync_n and the frame valid signal s_fgate_n. The image data is output to the WDMACs 33a to 33d. The WDMACs 33a to 33d convert the image data input from the S2M image processing module 111 into the write arbiter 35, the write data selector (W_SEL) 40, and the end point (EP) 37. And transferred from the end point (EP) 37 to the controller 3 via the PCIe 4 and written in the memory 25 of the controller 3.

そして、エンジンASIC11は、PCIe4を介した画像データのコントローラ3への転送に際して、バッファ制御部38の4ch分のFIFO※_a、FIFO※_b(※=0〜3)を、PCIe転送用バッファとして動作させ、エンドポイント(EP)37からの画像データを一時保管した後、エンドポイント(EP)37に送り出す。   Then, the engine ASIC 11 operates the FIFO * _a and FIFO * _b (* = 0 to 3) for 4 channels of the buffer control unit 38 as a PCIe transfer buffer when transferring the image data to the controller 3 via the PCIe 4. The image data from the end point (EP) 37 is temporarily stored and then sent to the end point (EP) 37.

エンジンASIC11は、RDMAC34a〜34dが、リードデータセレクタ(R_SEL)41及びリード用アービタ36を介して、コントローラ3のメモリ25に保管されている画像データをリードし、M2P画像処理モジュール32に出力する。このとき、エンジンASIC11は、PCIe4を介した画像データのM2P画像処理モジュール32への転送に際して、バッファ制御部38の4ch分のFIFO※_a、FIFO※_b(※=0〜3)を、PCIe転送用バッファとして動作させ、エンドポイント(EP)37からの画像データを一時保管した後、エンドポイント(EP)37に送り出して、エンドポイント(EP)37がリードデータセレクタ(R_SEL)41及びリード用アービタ36を介してRDMAC34a〜34dに渡す。エンジンASIC11は、M2P画像処理モジュール32が、RDMAC34a〜34dから受け取った画像データに必要な画像処理を施して、プロッタ6に送り、プロッタ6が、画像データに基づいて用紙に画像形成する。   In the engine ASIC 11, the RDMACs 34 a to 34 d read the image data stored in the memory 25 of the controller 3 via the read data selector (R_SEL) 41 and the read arbiter 36, and output them to the M2P image processing module 32. At this time, when transferring the image data to the M2P image processing module 32 via the PCIe 4, the engine ASIC 11 transfers the FIFO * _a and FIFO * _b (* = 0 to 3) for 4ch of the buffer control unit 38 to the PCIe transfer. The image data from the end point (EP) 37 is temporarily stored and then sent to the end point (EP) 37. The end point (EP) 37 receives the read data selector (R_SEL) 41 and the read arbiter. 36 to the RDMACs 34a to 34d. In the engine ASIC 11, the M2P image processing module 32 performs necessary image processing on the image data received from the RDMACs 34a to 34d, and sends the image data to the plotter 6. The plotter 6 forms an image on a sheet based on the image data.

一方、画像形成装置1は、テストモード時、スキャナ5から適宜のデータをエンジンASIC11に送ってエンジンASIC11のテスト(検査)、特に、バスのテストを行う。このとき、エンジンCPU12が、図4に示すように、エンジンASIC11の動作モード切り替え用レジスタ39にテストモードを設定するとともに、エンジンASIC11に、S2M画像処理モジュール31及びM2P画像処理モジュール32の制御パラメータを設定し、動作モード切り替え用レジスタ39は、テストモードが設定されると、「1」のモード信号mode(mode=1)をライトデータセレクタ(W_SEL)40、リードデータセレクタ(R_SEL)41、プロッタLSYNCセレクタ(P_LS_SEL)42及びプロッタFGATEセレクタ(P_FG_SEL)45に出力する。   On the other hand, in the test mode, the image forming apparatus 1 sends appropriate data from the scanner 5 to the engine ASIC 11 to perform a test (inspection) of the engine ASIC 11, particularly, a bus test. At this time, as shown in FIG. 4, the engine CPU 12 sets a test mode in the operation mode switching register 39 of the engine ASIC 11, and sets the control parameters of the S2M image processing module 31 and the M2P image processing module 32 to the engine ASIC 11. When the test mode is set, the operation mode switching register 39 sets the mode signal mode (mode = 1) of “1” to the write data selector (W_SEL) 40, the read data selector (R_SEL) 41, and the plotter LSYNC. The data is output to the selector (P_LS_SEL) 42 and the plotter FGATE selector (P_FG_SEL) 45.

エンジンCPU11は、次に、WDMAC33a〜33d及びRDMAC34a〜34dに起動をかける。   Next, the engine CPU 11 activates the WDMACs 33a to 33d and the RDMACs 34a to 34d.

このテストモードでは、エンジンASIC11は、スキャナ5から入力される4chの画像データを、S2M画像処理モジュール31が、通常モードと同様に、ライン同期信号s_lsync_n及びフレーム有効信号s_fgate_nに同期して、1ライン分及び1ページ分毎に画像処理を行ってWDMAC33a〜33dに出力し、WDMAC33a〜33dが、S2M画像処理モジュール31から入力される画像データを、ライト用アービタ35を介してライトデータセレクタ(W_SEL)40に送る。このとき、ライトデータセレクタ(W_SEL)40は、動作モード切り替え用レジスタ39から入力されるモード信号modeに応じて、ライト用アービタ35を介してWDMAC33a〜33dから送られてくる画像データの転送先を、エンドポイント(EP)37からバッファ制御部38に切り替え、バッファ制御部38は、バッファ53を、S2Mパスのライト先のメモリとして動作させ、2ライン×4ch分のラインFIFO※_a、FIFO※_b(※=0〜3)をトグルで動作させる。   In this test mode, the engine ASIC 11 uses the 4ch image data input from the scanner 5 for one line in synchronization with the line synchronization signal s_lsync_n and the frame valid signal s_fgate_n by the S2M image processing module 31 as in the normal mode. The image processing is performed for each minute and one page and output to the WDMACs 33a to 33d. The WDMACs 33a to 33d receive the image data input from the S2M image processing module 31 via the write arbiter 35 and the write data selector (W_SEL). Send to 40. At this time, the write data selector (W_SEL) 40 determines the transfer destination of the image data sent from the WDMACs 33 a to 33 d via the write arbiter 35 in accordance with the mode signal mode input from the operation mode switching register 39. Then, switching from the end point (EP) 37 to the buffer control unit 38, the buffer control unit 38 operates the buffer 53 as a write destination memory of the S2M path, and the line FIFO * _a, FIFO * _b for 2 lines × 4ch. (* = 0-3) is operated by toggle.

そして、エンジンASIC11は、図4に示すように、スキャナ5からのフレーム有効信号s_fgate_nがアサートして、画像データの入力が開始されると、上述のようにして、該画像データに必要な画像処理をS2M画像処理モジュール31で施してバッファ制御部38に保管し、そのフレーム有効信号s_fgate_nを、フレーム有効信号遅延設定レジスタ43に設定されたフレーム有効信号遅延量fg_dlyの値分だけ遅延させて、テストモード時にM2P画像処理モジュール32が用いる遅延フレーム有効信号p_fgate_test_nとしてプロッタFGATEセレクタ(P_FG_SEL)45へ出力する。   Then, as shown in FIG. 4, when the frame valid signal s_fgate_n from the scanner 5 is asserted and the input of image data is started, the engine ASIC 11 performs image processing necessary for the image data as described above. Is processed by the S2M image processing module 31 and stored in the buffer control unit 38. The frame valid signal s_fgate_n is delayed by the value of the frame valid signal delay amount fg_dly set in the frame valid signal delay setting register 43, and the test is performed. The delayed frame valid signal p_fgate_test_n used by the M2P image processing module 32 in the mode is output to the plotter FGATE selector (P_FG_SEL) 45.

プロッタFGATEセレクタ(P_FG_SEL)45は、モード信号modeがmode=1でテストモードのときには、P_FGATE生成部44からの遅延フレーム有効信号p_fgate_test_nをM2P画像処理モジュール32に出力する。   The plotter FGATE selector (P_FG_SEL) 45 outputs the delayed frame valid signal p_fgate_test_n from the P_FGATE generation unit 44 to the M2P image processing module 32 when the mode signal mode is mode = 1 and the test mode is set.

次いで、エンジンASIC11は、RDMAC34a〜34dが、リードリクエストを、リードアービタ36を介してリードデータセレクタ(R_SEL)41に送り、リードデータセレクタ(R_SEL)41が、テストモードのときには、リードアクセスをバッファ制御部38に送ってバッファ制御部38から返ってくる画像データをリード用アービタ36を介してRDMAC34a〜34dに送る。   Next, in the engine ASIC 11, the RDMACs 34a to 34d send a read request to the read data selector (R_SEL) 41 via the read arbiter 36. When the read data selector (R_SEL) 41 is in the test mode, the buffer access is controlled. The image data sent to the unit 38 and returned from the buffer control unit 38 is sent to the RDMACs 34 a to 34 d via the read arbiter 36.

エンジンASIC11は、RDMAC34a〜34dが、リードした画像データをM2P画像処理モジュール32に送って、M2P画像処理モジュール32が、プロッタ6からのフレーム有効信号p_fgate_n及びプロッタFGATEセレクタ(P_FG_SEL)からの遅延フレーム有効信号p_fgate_test_nに基づいて該画像データに対して必要な画像処理を行い、プロッタ6に送って、プロッタ6で用紙に画像を形成する。このプロッタ6への画像データの出力開始タイミングは、上述のように、フレーム有効信号s_fgate_nのアサートからフレーム有効信号遅延設定レジスタ43に設定されたフレーム有効信号遅延量fg_dlyのライン数分遅延したタイミングである。   The engine ASIC 11 sends the image data read by the RDMACs 34a to 34d to the M2P image processing module 32, and the M2P image processing module 32 receives the frame valid signal p_fgate_n from the plotter 6 and the delayed frame valid from the plotter FGATE selector (P_FG_SEL). Necessary image processing is performed on the image data based on the signal p_fgate_test_n, and the image data is sent to the plotter 6 to form an image on a sheet. As described above, the output start timing of the image data to the plotter 6 is a timing delayed from the assertion of the frame valid signal s_fgate_n by the number of lines of the frame valid signal delay amount fg_dly set in the frame valid signal delay setting register 43. is there.

そして、エンジンASIC11のバッファ制御部38は、0chのタイミング図を、図5に示すように、セレクト信号生成部56が、ライン同期信号s_lsync_n周期で、バッファ53のラインFIFO※_a、FIFO※_b(※=0〜3)のトグル動作を制御するセレクト信号selを反転し、このセレクト信号selによって選択されたラインFIFO※_a、FIFO※_b(※=0〜3)に対して、S2M画像処理モジュール31からS2Mパスを通して送られてくる画像データ(wd0_a/wd0_b)をライトする。   Then, the buffer control unit 38 of the engine ASIC 11 shows the timing diagram of 0ch, as shown in FIG. 5, the select signal generation unit 56 performs the line FIFO * _a and FIFO * _b () of the buffer 53 in the cycle of the line synchronization signal s_lsync_n. * = 0 to 3) The select signal sel for controlling the toggle operation is inverted, and the S2M image processing module is applied to the line FIFO * _a and FIFO * _b (* = 0 to 3) selected by the select signal sel. The image data (wd0_a / wd0_b) sent from 31 through the S2M path is written.

そして、バッファ制御部56は、フレーム有効信号s_fgate_nのアサートからフレーム有効信号遅延設定レジスタ43に設定されたフレーム有効信号遅延量fg_dlyのライン数分遅延したタイミングでディアサートされて、このタイミングで、ラインFIFO※_a、FIFO※_b(※=0〜3)の画像データを、M2P画像処理モジュール32への画像データ(rd0_a/rd0_b)としてリードする。   The buffer control unit 56 is deasserted at a timing delayed by the number of lines of the frame valid signal delay amount fg_dly set in the frame valid signal delay setting register 43 from the assertion of the frame valid signal s_fgate_n. The image data of FIFO * _a and FIFO * _b (* = 0 to 3) is read as image data (rd0_a / rd0_b) to the M2P image processing module 32.

上記各WDMAC33a〜33d及びRDMAC34a〜34dは、テストモード時においても通常モード時と同様の制御を行い、あたかもコントローラボード3のメモリ25にアクセスしているかのように動作する。   The WDMACs 33a to 33d and the RDMACs 34a to 34d perform the same control as in the normal mode in the test mode, and operate as if the memory 25 of the controller board 3 is being accessed.

そして、上記テストモードにおいて、スキャナ5から入力する画像データに対して、エンジンASIC11で実施する画像処理と同等の画像処理をソフトウェア等を用いて実施することで期待値を作成し、プロッタ6へ出力された画像データと該期待値を比較することで、エンジンASIC11において所望の画像処理が実現でてきているかどうかを検査・確認する。   In the test mode, the image data input from the scanner 5 is subjected to image processing equivalent to the image processing performed by the engine ASIC 11 using software or the like, and an expected value is created and output to the plotter 6. The engine ASIC 11 checks and confirms whether or not the desired image processing has been realized by comparing the expected image data with the expected value.

なお、上記説明では、エンジンASIC11は、エンジンCPU12によって通常モードとテストモードの動作モードが設定されて該動作モードに応じたモード信号modeを出力する動作モード切り替え用レジスタ39を搭載しているが、モード信号modeは、動作モード切り替え用レジスタ39が出力するものに限るものではなく、例えば、図6に示すように、動作モード切り替え用レジスタ39を搭載せず、外部からモード信号modeを入力してもよい。この場合、エンジンASIC11aは、モード信号modeを入力する外部端子を備えている。   In the above description, the engine ASIC 11 includes the operation mode switching register 39 that sets the operation mode of the normal mode and the test mode by the engine CPU 12 and outputs the mode signal mode corresponding to the operation mode. The mode signal mode is not limited to the one output by the operation mode switching register 39. For example, as shown in FIG. 6, the mode signal mode is input from the outside without mounting the operation mode switching register 39. Also good. In this case, the engine ASIC 11a includes an external terminal for inputting the mode signal mode.

このように、本実施例の画像形成装置1は、エンジンボード2に搭載されているエンジンASIC11が、入力される画像データに対して、ライン同期信号(入力ライン同期信号)s_lsync_n及びフレーム有効信号(入力フレーム有効信号)s_fgate_nに基づいて所定の画像処理を施すS2M画像処理モジュール(入力データ画像処理手段)31と、S2M画像処理モジュール31で処理された画像データをコントローラボード3のメモリ(外部記憶手段)25に転送する際のタイミング調整を行うために該画像データを一時記憶するバッファ制御部(データ記憶手段)38と、S2M画像処理モジュール31で処理された画像データをバッファ制御部38を介してメモリ25に転送出力するWDMAC(データ転送出力手段)33a〜33dと、メモリ25の画像データをバッファ制御部38を介して取り込むRDMAC(データ取り込み手段)34a〜34dと、RDMAC34a〜34dの取り込んだ画像データに対して、ライン同期信号(出力ライン同期信号)p_lsync_n及びフレーム有効信号(出力フレーム有効信号)p_fgate_nに基づいて所定の画像処理を施して出力するM2P画像処理モジュール(出力データ画像処理手段)32と、通常モードとテストモード(検査モード)の動作モードを指定するモード信号modeが入力され、該モード信号が通常モードであると、WDMAC33a〜33dによる画像データの出力先をメモリ25に設定し、該モード信号がテストモードであると、WDMAC33a〜33dによる該画像データの出力先をバッファ制御部38に設定するライトデータセレクタ(W_SEL)(出力先切り替え手段)40と、モード信号modeが入力され、該モード信号modeが通常モードであると、RDMAC34a〜34dによる画像データの取り込み先をメモリ25に設定し、モード信号modeがテストモードであると、RDMAC34a〜34dによる画像データの取り込み先をバッファ制御部38に設定するリードデータセレクタ(R_SEL)(入力先切り替え手段)41と、モード信号modeが入力され、モード信号modeがテストモードであると、ライン同期信号p_lsync_nに代えてスキャナ5の出力するライン同期信号s_lsync_nをM2P画像処理モジュール32に入力するとともに、フレーム有効信号p_fgate_nに代えてフレーム有効信号s_fgate_nをフレーム有効信号遅延量(所定遅延量)fg_dlyだけ遅延させたフレーム有効信号(遅延入力フレーム有効信号)p_fgate_test_nをM2P画像処理モジュール32に入力するプロッタFGATEセレクタ(P_FG_SEL)(信号切り替え手段)45と、を備えている。   As described above, in the image forming apparatus 1 according to the present embodiment, the engine ASIC 11 mounted on the engine board 2 receives the line synchronization signal (input line synchronization signal) s_lsync_n and the frame valid signal ( An S2M image processing module (input data image processing means) 31 that performs predetermined image processing based on the input frame valid signal) s_fgate_n, and image data processed by the S2M image processing module 31 is stored in the memory (external storage means) of the controller board 3 ) A buffer control unit (data storage means) 38 that temporarily stores the image data to adjust timing when transferring to 25, and the image data processed by the S2M image processing module 31 via the buffer control unit 38 WDMAC (data transfer output means) 33a to 33d for transfer and output to the memory 25; RDMAC (data fetching means) 34a to 34d for fetching the image data of 25 via the buffer control unit 38, and line sync signal (output line sync signal) p_lsync_n and frame valid for the image data fetched by RDMAC 34a to 34d M2P image processing module (output data image processing means) 32 that performs predetermined image processing on the basis of the signal (output frame valid signal) p_fgate_n, and a mode that designates the operation mode of the normal mode and the test mode (inspection mode) When the signal mode is input and the mode signal is the normal mode, the output destination of the image data by the WDMACs 33a to 33d is set in the memory 25. When the mode signal is the test mode, the image data of the WDMACs 33a to 33d is output. Write data that sets the output destination to the buffer control unit 38 When the selector (W_SEL) (output destination switching means) 40 and the mode signal mode are input and the mode signal mode is the normal mode, the image data capturing destinations by the RDMACs 34a to 34d are set in the memory 25, and the mode signal mode Is a test mode, a read data selector (R_SEL) (input destination switching means) 41 for setting the image data capture destination by the RDMACs 34a to 34d in the buffer control unit 38, a mode signal mode, and a mode signal mode are input. In the test mode, the line synchronization signal s_lsync_n output from the scanner 5 is input to the M2P image processing module 32 instead of the line synchronization signal p_lsync_n, and the frame effective signal s_fgate_n is replaced by the frame effective signal delay amount instead of the frame effective signal p_fgate_n. (Predetermined delay amount) Frame valid signal delayed by fg_dly (delay A plotter FGATE selector (P_FG_SEL) (signal switching means) 45 for inputting an input frame valid signal) P_fgate_test_n to M2P image processing module 32, a.

したがって、エンジンボード2やエンジンASIC11にテスト用のページメモリを設けることなく、また、テスト用のコントローラボードを用意してエンジンボード2に接続することなく、画像データのメモリへの書き込み時と読み出し時の不整合による異常画像の発生を防止しつつテストを実行することができ、エンジンASIC11の評価、特に、画像バスの評価を工数を削減しつつ、安価かつ適切に行うことができる。   Therefore, when a test page memory is not provided in the engine board 2 or the engine ASIC 11, or when a test controller board is prepared and not connected to the engine board 2, the image data is written to and read from the memory. The test can be executed while preventing the occurrence of an abnormal image due to the inconsistency, and the evaluation of the engine ASIC 11, particularly the evaluation of the image bus, can be performed inexpensively and appropriately while reducing the man-hours.

また、本実施例の画像形成装置1は、ライン同期信号(入力ライン同期信号)s_lsync_n及びフレーム有効信号(入力フレーム有効信号)s_fgate_nに基づいて、原稿の画像を読み取って画像データを出力するスキャナ(画像読み取り手段)5と、ライン同期信号(出力ライン同期信号)p_lsync_n及びフレーム有効信号(出力フレーム有効信号)p_fgate_nに基づいて、画像データに応じた画像を記録出力するプロッタ(画像出力手段)6と、画像データを記憶するメモリ(外部記憶手段)25と、スキャナ5の出力する画像データに所定の画像処理を施してメモリ25に記憶させるとともに、メモリ25の画像データを取り込んで所定の画像処理を施してプロッタ6に出力するエンジンASIC(集積回路)と、を備え、エンジンASIC11が、スキャナ5から入力されるライン同期信号s_lsync_n及びフレーム有効信号s_fgate_nに基づいて、スキャナ5から入力される画像データに対して所定の画像処理を施すS2M画像処理モジュール31と、S2M画像処理モジュール31で処理された画像データをコントローラボード3のメモリ25に転送する際のタイミング調整を行うために該画像データを一時記憶するバッファ制御部38と、S2M画像処理モジュール31で処理された画像データをバッファ制御部38を介してメモリ25に転送出力するWDMAC33a〜33dと、メモリ25の画像データをバッファ制御部38を介して取り込むRDMAC34a〜34dと、RDMAC34a〜34dの取り込んだ画像データに対して、ライン同期信号p_lsync_n及びフレーム有効信号p_fgate_nに基づいて所定の画像処理を施して出力するM2P画像処理モジュール32と、通常モードとテストモードの動作モードを指定するモード信号modeが入力され、該モード信号が通常モードであると、WDMAC33a〜33dによる画像データの出力先をメモリ25に設定し、該モード信号がテストモードであると、WDMAC33a〜33dによる該画像データの出力先をバッファ制御部38に設定するライトデータセレクタ(W_SEL)40と、モード信号modeが入力され、該モード信号modeが通常モードであると、RDMAC34a〜34dによる画像データの取り込み先をメモリ25に設定し、モード信号modeがテストモードであると、RDMAC34a〜34dによる画像データの取り込み先をバッファ制御部38に設定するリードデータセレクタ(R_SEL)41と、モード信号modeが入力され、モード信号modeがテストモードであると、ライン同期信号p_lsync_nに代えてスキャナ5の出力するライン同期信号s_lsync_nをM2P画像処理モジュール32に入力するとともに、フレーム有効信号p_fgate_nに代えてフレーム有効信号s_fgate_nをフレーム有効信号遅延量fg_dlyだけ遅延させたフレーム有効信号p_fgate_test_nをM2P画像処理モジュール32に入力するプロッタFGATEセレクタ(P_FG_SEL)45と、を備えている。   In addition, the image forming apparatus 1 according to the present embodiment reads a document image and outputs image data based on a line synchronization signal (input line synchronization signal) s_lsync_n and a frame valid signal (input frame valid signal) s_fgate_n ( An image reading means) 5, a plotter (image output means) 6 for recording and outputting an image according to the image data based on the line synchronization signal (output line synchronization signal) p_lsync_n and the frame valid signal (output frame valid signal) p_fgate_n; The image data stored in the memory (external storage means) 25 and the image data output from the scanner 5 are subjected to predetermined image processing and stored in the memory 25, and the image data in the memory 25 is taken in to perform predetermined image processing. And an engine ASIC (integrated circuit) that outputs the result to the plotter 6. The S2M image processing module 31 that performs predetermined image processing on the image data input from the scanner 5 based on the line synchronization signal s_lsync_n and the frame valid signal s_fgate_n input from the S5 and the S2M image processing module 31 In order to adjust the timing when transferring the image data to the memory 25 of the controller board 3, the buffer control unit 38 temporarily stores the image data, and the image data processed by the S2M image processing module 31 is buffer control unit 38. The line synchronization signals p_lsync_n and the WDMACs 33a to 33d that are transferred to the memory 25 via the RD, the RDMACs 34a to 34d that capture the image data of the memory 25 via the buffer control unit 38, and the image data captured by the RDMACs 34a to 34d Based on frame valid signal p_fgate_n The M2P image processing module 32 that performs predetermined image processing and outputs, and the mode signal mode that specifies the operation mode of the normal mode and the test mode are input, and when the mode signal is the normal mode, the images by the WDMACs 33a to 33d When the data output destination is set in the memory 25 and the mode signal is in the test mode, the write data selector (W_SEL) 40 for setting the output destination of the image data by the WDMACs 33a to 33d in the buffer control unit 38, and the mode signal When mode is input and the mode signal mode is the normal mode, the image data capturing destination by the RDMACs 34a to 34d is set in the memory 25, and when the mode signal mode is the test mode, the image data capturing by the RDMACs 34a to 34d is performed. Read data selector for setting the destination in the buffer control unit 38 ( R_SEL) 41 and the mode signal mode are input, and when the mode signal mode is the test mode, the line synchronization signal s_lsync_n output from the scanner 5 is input to the M2P image processing module 32 instead of the line synchronization signal p_lsync_n, and the frame A plotter FGATE selector (P_FG_SEL) 45 for inputting a frame valid signal p_fgate_test_n obtained by delaying the frame valid signal s_fgate_n by a frame valid signal delay amount fg_dly to the M2P image processing module 32 instead of the valid signal p_fgate_n.

したがって、エンジンボード2やエンジンASIC11にテスト用のページメモリを設けることなく、また、テスト用のコントローラボードを用意してエンジンボード2に接続することなく、画像データのメモリへの書き込み時と読み出し時の不整合による異常画像の発生を防止しつつテストを実行することができ、エンジンASIC11の評価、特に、画像バスの評価を工数を削減しつつ、安価かつ適切に行うことができる。   Therefore, when a test page memory is not provided in the engine board 2 or the engine ASIC 11, or when a test controller board is prepared and not connected to the engine board 2, the image data is written to and read from the memory. The test can be executed while preventing the occurrence of an abnormal image due to the inconsistency, and the evaluation of the engine ASIC 11, particularly the evaluation of the image bus, can be performed inexpensively and appropriately while reducing the man-hours.

さらに、本実施例の画像形成装置1は、入力される画像データに対して、ライン同期信号(入力ライン同期信号)s_lsync_n及びフレーム有効信号(入力フレーム有効信号)s_fgate_nに基づいて所定の画像処理を施す入力データ画像処理ステップと、入力データ画像処理ステップで処理された画像データをメモリ25に転送する際のタイミング調整を行うために該画像データをバッファ制御部38に一時記憶するデータ記憶処理ステップと、入力データ画像処理ステップで処理された画像データをバッファ制御部38を介してメモリ25に転送出力するデータ転送出力処理ステップと、メモリ25の画像データをバッファ制御部38を介して取り込むデータ取り込み処理ステップと、データ取り込み処理ステップで取り込まれた画像データに対して、ライン同期信号(出力ライン同期信号)p_lsync_n及びフレーム有効信号(出力フレーム有効信号)p_fgate_nに基づいて所定の画像処理を施して出力する出力データ画像処理ステップと、通常モードとテストモードの動作モードを指定するモード信号modeが通常モードであると、データ転送出力処理ステップでの画像データの出力先をメモリ25に設定し、モード信号modeがテストモードであると、データ転送出力処理ステップでの画像データの出力先をバッファ制御部38に設定する出力先切り替え処理ステップと、モード信号modeが通常モードであると、データ取り込み処理ステップによる画像データの取り込み先をメモリ25に設定し、モード信号modeがテストモードであると、データ取り込み処理ステップによる画像データの取り込み先をバッファ制御部38に設定する入力先切り替え処理ステップと、モード信号modeがテストモードであると、ライン同期信号p_lsync_nに代えてライン同期信号s_lsync_nを出力データ画像処理ステップへ入力するとともに、フレーム有効信号p_fgate_nに代えてフレーム有効信号(入力フレーム有効信号)s_fgate_nをフレーム有効信号遅延量fg_dlyだけ遅延させたフレーム有効信号p_fgate_test_nを出力データ画像処理ステップへ入力する信号切り替え処理ステップと、を有する集積回路検査方法を実行している。   Further, the image forming apparatus 1 according to the present embodiment performs predetermined image processing on input image data based on a line synchronization signal (input line synchronization signal) s_lsync_n and a frame valid signal (input frame valid signal) s_fgate_n. An input data image processing step to be performed; and a data storage processing step for temporarily storing the image data in the buffer control unit 38 in order to adjust timing when the image data processed in the input data image processing step is transferred to the memory 25; A data transfer output processing step for transferring and outputting the image data processed in the input data image processing step to the memory 25 via the buffer control unit 38; and a data fetching process for capturing the image data in the memory 25 via the buffer control unit 38 Step and the image data captured in the data capture processing step Specify the output data image processing step to be output after applying the predetermined image processing based on the line synchronization signal (output line synchronization signal) p_lsync_n and the frame valid signal (output frame valid signal) p_fgate_n, and specify the operation mode of normal mode and test mode When the mode signal mode to be performed is the normal mode, the output destination of the image data at the data transfer output processing step is set in the memory 25, and when the mode signal mode is the test mode, the image data output at the data transfer output processing step is If the output destination switching processing step for setting the output destination in the buffer control unit 38 and the mode signal mode is the normal mode, the image data capturing destination in the data capturing processing step is set in the memory 25, and the mode signal mode is the test mode. If this is the case, the image data capture destination in the data capture processing step is backed up. If the input destination switching processing step set in the key control unit 38 and the mode signal mode is the test mode, the line synchronization signal s_lsync_n is input to the output data image processing step instead of the line synchronization signal p_lsync_n, and the frame valid signal p_fgate_n Instead of the frame valid signal (input frame valid signal) s_fgate_n by the frame valid signal delay amount fg_dly, the frame valid signal p_fgate_test_n is input to the output data image processing step, and the integrated circuit inspection method is provided. Running.

したがって、エンジンボード2やエンジンASIC11にテスト用のページメモリを設けることなく、また、テスト用のコントローラボードを用意してエンジンボード2に接続することなく、画像データのメモリへの書き込み時と読み出し時の不整合による異常画像の発生を防止しつつテストを実行することができ、エンジンASIC11の評価、特に、画像バスの評価を工数を削減しつつ、安価かつ適切に行うことができる。   Therefore, when a test page memory is not provided in the engine board 2 or the engine ASIC 11, or when a test controller board is prepared and not connected to the engine board 2, the image data is written to and read from the memory. The test can be executed while preventing the occurrence of an abnormal image due to the inconsistency, and the evaluation of the engine ASIC 11, particularly the evaluation of the image bus, can be performed inexpensively and appropriately while reducing the man-hours.

また、本実施例の画像形成装置1は、集積回路であるエンジンASIC11が、複数チャネル(実施例では、4ch)分のS2M画像処理モジュール(入力データ画像処理手段)31、WDMAC(データ転送出力手段)33a〜33d、RDMAC(データ取り込み手段)34a〜34d及びM2P画像処理モジュール(出力データ画像処理手段)32と、各チャネルのWDMAC33a〜33dからのライト要求(データ転送出力要求)を調停するライト用アービタ(出力要求調停手段)35と、各チャネルのRDMAC34a〜34dからのリード要求(データ取り込み要求)を調停するリード用アービタ(取り込み要求調停手段)36と、を備え、バッファ制御部(データ記憶手段)38が、S2M画像処理モジュール31及びM2P画像処理モジュール32のチャネル数の倍のラインバッファであるFIFO0_a、FIFO0_b、FIFO1_a、FIFO1_b、FIFO2_a、FIFO2_b、FIFO3_a、FIFO3_bと、モード信号modeがテストモードのときに、ライト用アービタ35から入力されるライト要求に基づいてチャネルを判定して、該当するチャネルのFIFO0_a、FIFO0_b、FIFO1_a、FIFO1_b、FIFO2_a、FIFO2_b、FIFO3_a、FIFO3_bへWDMAC33a〜33dに画像データを書き込ませるアドレスデコーダ(書き込みアドレスデコード手段)51と、モード信号modeがテストモードのときに、リード用アービタ36から入力されるリード要求に基づいてチャネルを判定して、該当するチャネルのFIFO0_a、FIFO0_b、FIFO1_a、FIFO1_b、FIFO2_a、FIFO2_b、FIFO3_a、FIFO3_bからRDMAC34a〜34dに画像データを取り込ませるアドレスデコーダ(取り込みアドレスデコード手段)55と、を備えている。   Further, in the image forming apparatus 1 of the present embodiment, the engine ASIC 11 that is an integrated circuit has an S2M image processing module (input data image processing means) 31 for a plurality of channels (4ch in the embodiment), a WDMAC (data transfer output means). ) 33a to 33d, RDMAC (data capturing means) 34a to 34d, and M2P image processing module (output data image processing means) 32, and a write request for arbitrating write requests (data transfer output requests) from WDMACs 33a to 33d of each channel An arbiter (output request arbitration means) 35, and a read arbiter (capture request arbitration means) 36 that arbitrates read requests (data capture requests) from the RDMACs 34a to 34d of each channel, and a buffer control unit (data storage means) 38 is the S2M image processing module 31 and M2 FIFO0_a, FIFO0_b, FIFO1_a, FIFO1_b, FIFO2_a, FIFO2_b, FIFO3_a, FIFO3_b, which are line buffers that are twice the number of channels of the image processing module 32, and a write signal input from the write arbiter 35 when the mode signal mode is in the test mode An address decoder (write address decoding means) 51 that determines a channel based on the request and writes image data to the WDMACs 33a to 33d in the FIFO0_a, FIFO0_b, FIFO1_a, FIFO1_b, FIFO2_a, FIFO2_b, FIFO3_a, and FIFO3_b of the corresponding channel; When the mode signal mode is the test mode, the channel is determined based on the read request input from the read arbiter 36, and the channel And an address decoder (capture address decoding means) 55 that captures image data from the FIFO0_a, FIFO0_b, FIFO1_a, FIFO1_b, FIFO2_a, FIFO2_b, FIFO3_a, and FIFO3_b of the corresponding channel to the RDMACs 34a to 34d.

したがって、複数色の画像データの各色成分に対応した複数のチャネルを設定してテストを行うことができ、複数色の画像データを取り扱うエンジンASIC11の評価、特に、画像バスの評価を工数を削減しつつ、安価かつ適切に行うことができる。   Therefore, it is possible to perform a test by setting a plurality of channels corresponding to each color component of the image data of a plurality of colors, and to reduce the man-hours for evaluating the engine ASIC 11 that handles the image data of a plurality of colors, in particular, evaluating the image bus. However, it can be performed inexpensively and appropriately.

さらに、本実施例の画像形成装置1は、エンジンASIC11が、フレーム有効信号遅延量fg_dlyが外部から適宜設定されるフレーム有効信号遅延設定レジスタ(遅延量設定手段)43を備えており、プロッタFGATEセレクタ(P_FG_SEL)(信号切り替え手段)45が、フレーム有効信号遅延設定レジスタ43に設定されたフレーム有効信号遅延量fg_dlyだけフレーム有効信号s_fgate_nを遅延させたフレーム有効信号p_fgate_test_nをフレーム有効信号p_fgate_nに代えてM2P画像処理モジュール32に入力している。   Further, in the image forming apparatus 1 of the present embodiment, the engine ASIC 11 includes a frame effective signal delay setting register (delay amount setting means) 43 in which the frame effective signal delay amount fg_dly is appropriately set from the outside. The plotter FGATE selector (P_FG_SEL) (signal switching means) 45 replaces the frame valid signal p_fgate_test_n obtained by delaying the frame valid signal s_fgate_n by the frame valid signal delay amount fg_dly set in the frame valid signal delay setting register 43 instead of the frame valid signal p_fgate_n. This is input to the image processing module 32.

したがって、S2M画像処理モジュール31が内部でライン遅延の生じる場合であっても、その遅延量に応じてソフトウェア等によりフレーム有効信号p_fgate_nのフレーム有効信号s_fgate_nに対する遅延量をフレーム有効信号遅延量fg_dlyとしてフレーム有効信号遅延設定レジスタ43設定することで、異常画像を生じさせることなく、適切に評価することができる。   Therefore, even when the S2M image processing module 31 internally causes a line delay, the frame effective signal p_fgate_n with respect to the frame effective signal s_fgate_n is set as a frame effective signal delay amount fg_dly by software or the like according to the delay amount. By setting the valid signal delay setting register 43, it is possible to appropriately evaluate without causing an abnormal image.

また、本実施例の画像形成装置1は、エンジンASIC11が、外部から設定される動作モードに応じたモード信号modeを出力する動作モード切り替え用レジスタ(モード設定手段)39または外部からモード信号modeが入力される入力端子(信号入力手段)を備えている。   Further, in the image forming apparatus 1 of the present embodiment, the engine ASIC 11 outputs an operation mode switching register (mode setting unit) 39 that outputs a mode signal mode corresponding to an operation mode set from the outside, or the mode signal mode is output from the outside. An input terminal (signal input means) is provided.

したがって、ソフトウェアの制御または外部からテストモードに設定して、エンジンASIC11のテストを実行させることができ、利用性を向上させることができる。   Therefore, the test of the engine ASIC 11 can be executed by setting the test mode from software control or from the outside, and the usability can be improved.

以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記実施例で説明したものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to that described in the above embodiments, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.

1 画像形成装置
2 エンジンボード
3 コントローラボード
4 PCIeバス
5 スキャナ
6 プロッタ
11 エンジンASIC
12 エンジンCPU
21 コントローラASIC
22 ハードディスク(HDD)
23 ノースブリッジ(NB)
24 コントローラCPU
25 メモリ
31 S2M画像処理モジュール
32 M2P画像処理モジュール
33a〜33d WDMAC
34a〜34d RDMAC
35 ライト用アービタ
36 リード用アービタ
37 エンドポイント(EP)
38 バッファ制御部
39 動作モード切り替え用レジスタ
40 ライトデータセレクタ(W_SEL)
41 リードデータセレクタ(R_SEL)
42 プロッタLSYNCセレクタ(P_LS_SEL)
43 フレーム有効信号遅延量設定レジスタ
44 P_FGATE生成部
45 プロッタFGATEセレクタ(P_FG_SEL)
51 アドレスデコーダ
52a〜52d ライトデータセレクタ(W_SEL*、*=0〜3)
53 バッファ
54a〜54d リードデータセレクタ(R_SEL*、*=0〜3)
55 アドレスレコーダ
56 セレクト信号生成部
0_a、0_b、1_a、1_b、2_a、2_b、3_a、3_b FIFO
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 2 Engine board 3 Controller board 4 PCIe bus 5 Scanner 6 Plotter 11 Engine ASIC
12 Engine CPU
21 Controller ASIC
22 Hard disk (HDD)
23 North Bridge (NB)
24 Controller CPU
25 Memory 31 S2M Image Processing Module 32 M2P Image Processing Module 33a-33d WDMAC
34a-34d RDMAC
35 Arbiter for writing 36 Arbiter for reading 37 Endpoint (EP)
38 Buffer control unit 39 Operation mode switching register 40 Write data selector (W_SEL)
41 Read data selector (R_SEL)
42 Plotter LSYNC selector (P_LS_SEL)
43 Frame valid signal delay setting register 44 P_FGATE generator 45 Plotter FGATE selector (P_FG_SEL)
51 Address decoder 52a to 52d Write data selector (W_SEL *, * = 0 to 3)
53 Buffers 54a to 54d Read data selector (R_SEL *, * = 0 to 3)
55 Address recorder 56 Select signal generator 0_a, 0_b, 1_a, 1_b, 2_a, 2_b, 3_a, 3_b FIFO

特開2008−226186号公報JP 2008-226186 A

Claims (6)

入力される画像データに対して、入力ライン同期信号及び入力フレーム有効信号に基づいて所定の画像処理を施す入力データ画像処理手段と、
前記入力データ画像処理手段で処理された画像データを外部記憶手段に転送する際のタイミング調整を行うために該画像データを一時記憶するデータ記憶手段と、
前記入力データ画像処理手段で処理された画像データを前記データ記憶手段を介して前記外部記憶手段に転送出力するデータ転送出力手段と、
前記外部記憶手段の前記画像データを前記データ記憶手段を介して取り込むデータ取り込み手段と、
前記データ取り込み手段の取り込んだ画像データに対して、出力ライン同期信号及び出力フレーム有効信号に基づいて所定の画像処理を施して出力する出力データ画像処理手段と、
通常モードと検査モードの動作モードを指定するモード信号が入力され、該モード信号が通常モードであると、前記データ転送出力手段による前記画像データの出力先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ転送出力手段による該画像データの出力先を前記データ記憶手段に設定する出力先切り替え手段と、
前記モード信号が入力され、該モード信号が通常モードであると、前記データ取り込み手段による前記画像データの取り込み先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ取り込み手段による該画像データの取り込み先を前記データ記憶手段に設定する入力先切り替え手段と、
前記モード信号が入力され、該モード信号が検査モードであると、前記出力ライン同期信号に代えて前記入力ライン同期信号を前記出力データ画像処理手段に入力するとともに、前記出力フレーム有効信号に代えて前記入力フレーム有効信号を所定遅延量だけ遅延させた遅延入力フレーム有効信号を該出力データ画像処理手段に入力する信号切り替え手段と、
を備えていることを特徴とする集積回路。
Input data image processing means for performing predetermined image processing on input image data based on an input line synchronization signal and an input frame valid signal;
Data storage means for temporarily storing the image data in order to perform timing adjustment when transferring the image data processed by the input data image processing means to the external storage means;
Data transfer output means for transferring and outputting the image data processed by the input data image processing means to the external storage means via the data storage means;
Data capture means for capturing the image data of the external storage means via the data storage means;
Output data image processing means for performing predetermined image processing on the image data captured by the data capturing means based on an output line synchronization signal and an output frame valid signal; and
When a mode signal designating an operation mode of the normal mode and the inspection mode is input, and the mode signal is the normal mode, the output destination of the image data by the data transfer output unit is set in the external storage unit, and the mode Output destination switching means for setting the output destination of the image data by the data transfer output means in the data storage means when the signal is in the inspection mode;
When the mode signal is input and the mode signal is in the normal mode, the image data capturing unit by the data capturing unit is set in the external storage unit, and when the mode signal is in the inspection mode, the data capturing is performed. Input destination switching means for setting the image data capture destination by the means in the data storage means;
When the mode signal is input and the mode signal is in the inspection mode, the input line synchronization signal is input to the output data image processing means instead of the output line synchronization signal, and the output frame valid signal is replaced. A signal switching means for inputting a delayed input frame valid signal obtained by delaying the input frame valid signal by a predetermined delay amount to the output data image processing means;
An integrated circuit comprising:
前記集積回路は、
複数チャネル分の前記入力データ画像処理手段、前記データ転送出力手段、前記データ取り込み手段及び前記出力データ画像処理手段と、
各チャネルの前記データ転送出力手段からのデータ転送出力要求を調停する出力要求調停手段と、
各チャネルの前記データ取り込み手段からのデータ取り込み要求を調停する取り込み要求調停手段と、
を備え、
前記データ記憶手段は、
前記入力データ画像処理手段及び前記出力データ画像処理手段の前記チャネル数の倍のラインバッファと、
前記モード信号が検査モードのときに、前記出力要求調停手段から入力されるデータ転送出力要求に基づいてチャネルを判定して、該当するチャネルの前記ラインバッファへ前記データ転送出力手段に画像データを書き込ませる書き込みアドレスデコード手段と、
前記モード信号が検査モードのときに、前記取り込み要求調停手段から入力されるデータ取り込み要求に基づいてチャネルを判定して、該当するチャネルの前記ラインバッファから前記データ取り込み手段に画像データを取り込ませる取り込みアドレスデコード手段と、
を備えていることを特徴とする請求項1記載の集積回路。
The integrated circuit comprises:
The input data image processing means for a plurality of channels, the data transfer output means, the data capture means and the output data image processing means;
Output request arbitration means for arbitrating a data transfer output request from the data transfer output means of each channel;
Capture request arbitration means for arbitrating data capture requests from the data capture means of each channel;
With
The data storage means is
A line buffer twice the number of channels of the input data image processing means and the output data image processing means;
When the mode signal is in the inspection mode, the channel is determined based on the data transfer output request input from the output request arbitration unit, and the image data is written in the data transfer output unit to the line buffer of the corresponding channel. Write address decoding means
When the mode signal is in the inspection mode, a channel is determined based on a data capture request input from the capture request arbitration unit, and capture is performed so that the data capture unit captures image data from the line buffer of the corresponding channel. Address decoding means;
The integrated circuit according to claim 1, further comprising:
前記集積回路は、
前記遅延量が外部から適宜設定される遅延量設定手段を備えており、
前記信号切り替え手段は、
前記遅延量設定手段に設定された前記遅延量だけ前記入力フレーム有効信号を遅延させた前記遅延入力フレーム有効信号を前記出力フレーム有効信号に代えて前記出力データ画像処理手段に入力することを特徴とする請求項1または請求項2記載の集積回路。
The integrated circuit comprises:
A delay amount setting means for appropriately setting the delay amount from the outside;
The signal switching means is
The delayed input frame valid signal obtained by delaying the input frame valid signal by the delay amount set in the delay amount setting means is input to the output data image processing means instead of the output frame valid signal. An integrated circuit according to claim 1 or 2.
前記集積回路は、
外部から設定される動作モードに応じた前記モード信号を出力するモード設定手段または外部から該モード信号が入力される信号入力手段を備えていることを特徴とする請求項1から請求項3のいずれかに記載の集積回路。
The integrated circuit comprises:
4. The apparatus according to claim 1, further comprising mode setting means for outputting the mode signal corresponding to an operation mode set from outside, or signal input means for inputting the mode signal from outside. An integrated circuit according to claim 1.
入力ライン同期信号及び入力フレーム有効信号に基づいて原稿の画像を読み取って画像データを出力する画像読み取り手段と、
出力ライン同期信号及び出力フレーム有効信号に基づいて、画像データに応じた画像を記録出力する画像出力手段と、
画像データを記憶する外部記憶手段と、
前記画像読み取り手段の出力する画像データに所定の画像処理を施して前記外部記憶手段に記憶させるとともに、該外部記憶手段の画像データを取り込んで所定の画像処理を施して前記画像出力手段に出力する集積回路と、
を備え、
前記集積回路は、
前記画像読み取り手段から入力される前記入力ライン同期信号及び前記入力フレーム有効信号に基づいて、該画像読み取り手段から入力される画像データに対して所定の画像処理を施す入力データ画像処理手段と、
前記入力データ画像処理手段で処理された画像データを前記外部記憶手段に転送する際にタイミング調整を行うために該画像データを一時記憶するデータ記憶手段と、
前記入力データ画像処理手段で処理された画像データを前記データ記憶手段を介して前記外部記憶手段に転送出力するデータ転送出力手段と、
前記外部記憶手段の前記画像データを前記データ記憶手段を介して取り込むデータ取り込み手段と、
前記データ取り込み手段の取り込んだ画像データに対して、前記画像出力手段からから入力される前記出力ライン同期信号及び前記出力フレーム有効信号に基づいて所定の画像処理を施して該画像出力手段に出力する出力データ画像処理手段と、
通常モードと検査モードの動作モードを指定するモード信号が入力され、該モード信号が通常モードであると、前記データ転送出力手段による前記画像データの出力先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ転送出力手段による該画像データの出力先を前記データ記憶手段に設定する出力先切り替え手段と、
前記モード信号が入力され、該モード信号が通常モードであると、前記データ取り込み手段による前記画像データの取り込み先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ取り込み手段による該画像データの取り込み先を前記データ記憶手段に設定する入力先切り替え手段と、
前記モード信号が入力され、該モード信号が検査モードであると、前記出力ライン同期信号に代えて前記入力ライン同期信号を前記出力データ画像処理手段に入力するとともに、前記出力フレーム有効信号に代えて前記入力フレーム有効信号を所定遅延量だけ遅延させた遅延入力フレーム有効信号を該出力データ画像処理手段に入力する信号切り替え手段と、
を備えていることを特徴とする画像形成装置。
Image reading means for reading an image of a document based on an input line synchronization signal and an input frame valid signal and outputting image data;
Image output means for recording and outputting an image according to the image data based on the output line synchronization signal and the output frame valid signal;
External storage means for storing image data;
The image data output from the image reading means is subjected to predetermined image processing and stored in the external storage means, and the image data in the external storage means is taken in, subjected to predetermined image processing and output to the image output means. An integrated circuit;
With
The integrated circuit comprises:
Input data image processing means for performing predetermined image processing on image data input from the image reading means based on the input line synchronization signal and the input frame valid signal input from the image reading means;
Data storage means for temporarily storing the image data in order to perform timing adjustment when transferring the image data processed by the input data image processing means to the external storage means;
Data transfer output means for transferring and outputting the image data processed by the input data image processing means to the external storage means via the data storage means;
Data capture means for capturing the image data of the external storage means via the data storage means;
The image data captured by the data capturing unit is subjected to predetermined image processing based on the output line synchronization signal and the output frame valid signal input from the image output unit, and is output to the image output unit. Output data image processing means;
When a mode signal designating an operation mode of the normal mode and the inspection mode is input, and the mode signal is the normal mode, the output destination of the image data by the data transfer output unit is set in the external storage unit, and the mode Output destination switching means for setting the output destination of the image data by the data transfer output means in the data storage means when the signal is in the inspection mode;
When the mode signal is input and the mode signal is in the normal mode, the image data capturing unit by the data capturing unit is set in the external storage unit, and when the mode signal is in the inspection mode, the data capturing is performed. Input destination switching means for setting the image data capture destination by the means in the data storage means;
When the mode signal is input and the mode signal is in the inspection mode, the input line synchronization signal is input to the output data image processing means instead of the output line synchronization signal, and the output frame valid signal is replaced. A signal switching means for inputting a delayed input frame valid signal obtained by delaying the input frame valid signal by a predetermined delay amount to the output data image processing means;
An image forming apparatus comprising:
入力される画像データに対して、入力ライン同期信号及び入力フレーム有効信号に基づいて所定の画像処理を施す入力データ画像処理ステップと、
前記入力データ画像処理ステップで処理された画像データを外部記憶手段に転送する際のタイミング調整を行うために該画像データをデータ記憶手段に一時記憶するデータ記憶処理ステップと、
前記入力データ画像処理ステップで処理された画像データを前記データ記憶手段を介して前記外部記憶手段に転送出力するデータ転送出力処理ステップと、
前記外部記憶手段の前記画像データを前記データ記憶手段を介して取り込むデータ取り込み処理ステップと、
前記データ取り込み処理ステップで取り込まれた画像データに対して、出力ライン同期信号及び出力フレーム有効信号に基づいて所定の画像処理を施して出力する出力データ画像処理ステップと、
通常モードと検査モードの動作モードを指定するモード信号が通常モードであると、前記データ転送出力処理ステップでの前記画像データの出力先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ転送出力処理ステップでの該画像データの出力先を前記データ記憶手段に設定する出力先切り替え処理ステップと、
前記モード信号が通常モードであると、前記データ取り込み処理ステップによる前記画像データの取り込み先を前記外部記憶手段に設定し、該モード信号が検査モードであると、該データ取り込み処理ステップによる該画像データの取り込み先を前記データ記憶手段に設定する入力先切り替え処理ステップと、
前記モード信号が検査モードであると、前記出力ライン同期信号に代えて前記入力ライン同期信号を前記出力データ画像処理ステップへ入力するとともに、前記出力フレーム有効信号に代えて前記入力フレーム有効信号を所定遅延量だけ遅延させた遅延入力フレーム有効信号を該出力データ画像処理ステップへ入力する信号切り替え処理ステップと、
を有していることを特徴とする集積回路検査方法。
An input data image processing step for performing predetermined image processing on input image data based on an input line synchronization signal and an input frame valid signal;
A data storage processing step for temporarily storing the image data in the data storage means in order to perform timing adjustment when transferring the image data processed in the input data image processing step to the external storage means;
A data transfer output processing step for transferring and outputting the image data processed in the input data image processing step to the external storage means via the data storage means;
A data capture processing step for capturing the image data of the external storage means via the data storage means;
An output data image processing step for performing predetermined image processing on the image data captured in the data capturing processing step based on an output line synchronization signal and an output frame valid signal, and outputting the image data;
When the mode signal for specifying the operation mode of the normal mode and the inspection mode is the normal mode, the output destination of the image data in the data transfer output processing step is set in the external storage means, and the mode signal is in the inspection mode. If there is, an output destination switching processing step for setting the output destination of the image data in the data transfer output processing step in the data storage means,
When the mode signal is the normal mode, the image data capture destination by the data capture processing step is set in the external storage means, and when the mode signal is the inspection mode, the image data by the data capture processing step An input destination switching processing step for setting the data storage means in the data storage means;
When the mode signal is in the inspection mode, the input line synchronization signal is input to the output data image processing step instead of the output line synchronization signal, and the input frame validity signal is predetermined instead of the output frame validity signal. A signal switching processing step for inputting a delayed input frame valid signal delayed by a delay amount to the output data image processing step;
An integrated circuit inspection method comprising:
JP2011168091A 2011-08-01 2011-08-01 Integrated circuit, image formation device and integrated circuit inspection method Withdrawn JP2013033323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011168091A JP2013033323A (en) 2011-08-01 2011-08-01 Integrated circuit, image formation device and integrated circuit inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011168091A JP2013033323A (en) 2011-08-01 2011-08-01 Integrated circuit, image formation device and integrated circuit inspection method

Publications (1)

Publication Number Publication Date
JP2013033323A true JP2013033323A (en) 2013-02-14

Family

ID=47789175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011168091A Withdrawn JP2013033323A (en) 2011-08-01 2011-08-01 Integrated circuit, image formation device and integrated circuit inspection method

Country Status (1)

Country Link
JP (1) JP2013033323A (en)

Similar Documents

Publication Publication Date Title
US9900465B2 (en) Adjusting image data using divided areas
WO2015003485A1 (en) Image compensation correction method and banknote recognition and detection device
US20190387124A1 (en) Control circuitry, image forming apparatus incorporating the control circuitry, control method, and non-transitory recording medium storing program
US20120124250A1 (en) Information processing apparatus and method of controlling same
KR20180029889A (en) Information processing apparatus and semiconductor integrated circuit including ring bus system
JP6565462B2 (en) Information processing apparatus and data transfer method
JP2013066072A (en) Image reading device, image forming apparatus, image reading method and image reading program
JP2013033323A (en) Integrated circuit, image formation device and integrated circuit inspection method
JP5930834B2 (en) Image processing apparatus, image processing method, and control method for image processing apparatus
JP6833491B2 (en) Information processing device
US9197782B2 (en) Image processing device and image processing method
JP2016092483A (en) Memory control circuit and image forming apparatus
US10798262B2 (en) Image processing apparatus, image processing apparatus controlling method, and recording medium
JP5828205B2 (en) Image forming apparatus and image forming system
JP3913533B2 (en) Digital copying machine
JP5910162B2 (en) Image processing circuit, image processing apparatus, and image processing circuit control method
JP7081477B2 (en) Image processing device, control method of image processing device, and program
JP6123865B2 (en) Image forming apparatus and image forming system
JP5494055B2 (en) Image forming apparatus, control method, program, and recording medium
JP2000151899A (en) Image reader and integrated circuit device for controlling image reading
JP2006040120A (en) Image processing function memory
JP2009065371A (en) Image processor and image processing method
JP4495873B2 (en) Image processing device
JP2011013812A (en) Memory system
JP2010147818A (en) Image processing apparatus and image processing module

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141007