JP2005078598A - Computer system and its electronic circuit - Google Patents

Computer system and its electronic circuit Download PDF

Info

Publication number
JP2005078598A
JP2005078598A JP2003311742A JP2003311742A JP2005078598A JP 2005078598 A JP2005078598 A JP 2005078598A JP 2003311742 A JP2003311742 A JP 2003311742A JP 2003311742 A JP2003311742 A JP 2003311742A JP 2005078598 A JP2005078598 A JP 2005078598A
Authority
JP
Japan
Prior art keywords
bus
computer system
data transfer
buses
gate array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003311742A
Other languages
Japanese (ja)
Inventor
Keiichi Nakanishi
啓一 中西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2003311742A priority Critical patent/JP2005078598A/en
Publication of JP2005078598A publication Critical patent/JP2005078598A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic circuit with high generality for applying a computer system which performs data transfer through DMA among a plurality of buses without using any processor to various systems and a computer system equipped with such electronic circuit. <P>SOLUTION: This computer system is provided with a system bus I/F 211 connected to an MPU, each interface such as a local bus I/F 214, a DMAC 215 which inputs data transfer request signals(/DREQ0, /DREQ1, /DREQ2) from each device and a register 217 connected to the DMAC215. The register 217 is stored with information showing to which bus each of transfer origin devices and transfer destination devices corresponding to those data transfer request signals /DERQ0, /DREQ1, and /DREQ2 is connected, that is, to which interface each of those devices is connected. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明はコンピュータシステム及びその電子回路に関し、より具体的には、プロセッサ(MPU)を介在することなくデータ転送を行なうダイレクトメモリアクセス(DMA)を採用したコンピュータシステムを様々なシステムに適用することが可能な汎用性の高いコンピュータシステム及びその電子回路に関する。   The present invention relates to a computer system and its electronic circuit, and more specifically, it is possible to apply a computer system employing direct memory access (DMA) for transferring data without intervention of a processor (MPU) to various systems. The present invention relates to a highly versatile computer system and its electronic circuit.

コンピュータシステムは、プロセッサ(MPU)を中心として種々のデバイス、具体的にはデバイスが構成されているチップをバスで接続して構成されている。また、バスに接続された複数のデバイス間でプロセッサを介在することなくデータを転送することにより、データ転送の高速化を実現したダイレクトメモリアクセス(以下、DMA)法が知られている(例えば、特許文献1参照。)。   A computer system is configured by connecting various devices, specifically, chips on which devices are configured, by a bus, with a processor (MPU) as a center. Further, a direct memory access (hereinafter referred to as “DMA”) method is known in which data is transferred between a plurality of devices connected to a bus without interposing a processor, thereby realizing high-speed data transfer (for example, DMA) (for example, (See Patent Document 1).

ところで、近年、コンピュータシステムの更なる高機能化及び高速化が要求されており、データ転送をパラレル化すべく、システム内に複数のバスを設けるとともに、これら複数のバスの結合を制御するASIC(ゲートアレイ)を設けたコンピュータシステムが提案されている。
特開平8−235107号公報
By the way, in recent years, there has been a demand for further increase in functionality and speed of computer systems. In order to parallelize data transfer, a plurality of buses are provided in the system, and an ASIC (gate gate) for controlling the coupling of these buses There has been proposed a computer system provided with an array.
JP-A-8-235107

しかしながら、DMAコントローラ(以下、DMAC)によりデータ転送を行なう場合、アクセスすべきデバイスがいずれのバスに接続されているか認識できないと、データ転送経路となるバスを選択して結合することができず、データ転送を行なうことができなくなる。デバイスとバスとの関係をハード的にゲートアレイに予め固定しておくことができるが、そうすると、そのゲートアレイを他のシステムに適用することができず、システム毎にASIC(ゲートアレイ)を設計及び製作しなければならず、工数及びコスト面での負担が大きいという問題があった。   However, when data transfer is performed by a DMA controller (hereinafter referred to as DMAC), if the device to be accessed cannot be recognized to which bus is connected, the bus serving as the data transfer path cannot be selected and combined. Data transfer cannot be performed. The relationship between the device and the bus can be fixed to the gate array in hardware, but if that is done, the gate array cannot be applied to other systems, and an ASIC (gate array) is designed for each system. In addition, there is a problem that the burden on the man-hour and the cost is large.

本発明は斯かる事情に鑑みてなされたものであり、プロセッサを介在することなく、複数のバス間におけるDMAによるデータ転送を行なうコンピュータシステムを様々なシステムに適用することが可能な汎用性の高い電子回路及びそのような電子回路を備えたコンピュータシステムの提供を目的とする。   The present invention has been made in view of such circumstances, and has high versatility in which a computer system that performs DMA data transfer between a plurality of buses without using a processor can be applied to various systems. An object is to provide an electronic circuit and a computer system including such an electronic circuit.

第1発明に係るコンピュータシステムは、プロセッサが接続された一つのバスを含む複数のバスと、該複数のバスのいずれかに接続された複数のデバイスと、各デバイスが出力するデータ転送要求信号に基づいて、前記プロセッサを介在することなく各バス間におけるデータ転送を制御するバス間制御部とを備えるコンピュータシステムであって、前記バス間制御部は、ダイレクトメモリアクセスコントローラと、各デバイスが、前記複数のバスの内のいずれのバスに接続されているかを示すデバイス情報を記憶する記憶手段とを備え、前記記憶手段に記憶されているデバイス情報に基づいて、ダイレクトメモリアクセスを行なうバスを接続状態にしてデータ転送の制御を行なうべくなしてあることを特徴とする。   According to a first aspect of the present invention, there is provided a computer system including a plurality of buses including a single bus connected to a processor, a plurality of devices connected to any of the plurality of buses, and a data transfer request signal output from each device. Based on a computer system comprising an inter-bus control unit for controlling data transfer between each bus without interposing the processor, wherein the inter-bus control unit includes a direct memory access controller, and each device includes the device Storage means for storing device information indicating which of the plurality of buses is connected, and a bus for direct memory access is connected based on the device information stored in the storage means Thus, the data transfer is controlled.

このような第1発明に係るコンピュータシステムでは、各デバイスが前記複数のバスの内のいずれのバスに接続されているかを示すデバイス情報が記憶手段に記憶されており、その記憶手段に記憶されているデバイス情報に基づいて、ダイレクトメモリアクセスを行なうバスを接続状態にさせてデータを転送させる。   In such a computer system according to the first invention, device information indicating which of the plurality of buses each device is connected to is stored in the storage means, and stored in the storage means. Based on the device information, the bus for direct memory access is connected to transfer data.

第2発明に係るコンピュータシステムは、第1発明に係るコンピュータシステムにおいて、前記バス間制御部は、内部バスと、該内部バスを介して前記複数のバスのそれぞれを接続する複数のインタフェイスとを備え、前記ダイレクトメモリアクセスコントローラは、前記記憶手段に記憶されているデバイス情報に基づいて、データ転送元のデバイスとデータ転送先のデバイスとが接続されているそれぞれのバスに接続する各インタフェイスに前記内部バスのバス占有権を付与する手段を有していることを特徴とする。   A computer system according to a second invention is the computer system according to the first invention, wherein the inter-bus control unit includes an internal bus and a plurality of interfaces connecting the plurality of buses via the internal bus. And the direct memory access controller is connected to each interface connected to each bus to which the data transfer source device and the data transfer destination device are connected based on the device information stored in the storage means. It has means for granting a bus occupation right of the internal bus.

このような第2発明に係るコンピュータシステムでは、ダイレクトメモリアクセスコントローラが、記憶手段に記憶されているデバイス情報に基づいて、データ転送元のデバイスとデータ転送先のデバイスとが接続されているそれぞれのバスに接続する各インタフェイスとの間でデータ転送するように内部バスのバス占有権を与えられる。   In the computer system according to the second invention, each direct memory access controller is connected to the data transfer source device and the data transfer destination device based on the device information stored in the storage means. The right to occupy the internal bus is given to transfer data to and from each interface connected to the bus.

第3発明に係るコンピュータシステムは、第1発明又は第2発明に係るコンピュータシステムにおいて、前記記憶手段が記憶するデバイス情報は外部から書き換え可能であることを特徴とする。   A computer system according to a third invention is characterized in that, in the computer system according to the first invention or the second invention, the device information stored in the storage means is rewritable from the outside.

このような第3発明に係るコンピュータシステムでは、記憶手段は情報の書き換えが可能であり、記憶手段に記憶すべきデバイス情報を外部から与えられる情報に書き換えさせる。   In such a computer system according to the third invention, the storage means can rewrite information, and device information to be stored in the storage means is rewritten to information given from the outside.

第4発明に係るコンピュータシステムの電子回路は、内部バスと、該内部バスを介して接続される複数のインタフェイスと、ダイレクトメモリアクセスコントローラとを備え、各バス間におけるデータ転送を制御すべくなしてあるコンピュータシステムの電子回路であって、外部から入力されるデータ転送要求信号に基づいて、いずれのインタフェイスに前記内部バスを占有させるかを指定する情報を記憶する記憶部を備えることを特徴とする。   An electronic circuit of a computer system according to a fourth invention comprises an internal bus, a plurality of interfaces connected via the internal bus, and a direct memory access controller, and is intended to control data transfer between the buses. An electronic circuit of a computer system comprising a storage unit for storing information designating which interface occupies the internal bus based on a data transfer request signal input from the outside. And

このような第4発明に係るコンピュータシステムの電子回路では、外部から入力されたデータ転送要求信号に基づいて、複数のインタフェイスの内のいずれのインタフェイスに内部バスを占有させるかを指定する情報を記憶部に記憶させる。   In the electronic circuit of the computer system according to the fourth aspect of the present invention, information for designating which of the plurality of interfaces occupies the internal bus based on the data transfer request signal input from the outside Is stored in the storage unit.

本発明に係るコンピュータシステムによれば、各デバイスが、前記複数のバスの内のいずれのバスに接続されているかを示すデバイス情報を外部から記憶手段に記憶させるように構成されているため、この記憶手段に記憶させるデバイス情報を適宜変更することにより、複数のバス間におけるDMAによるデータ転送を行なうコンピュータシステムを様々なシステムに適用することができる。よって、システム毎にバス間制御部を設計及び製作する必要はなくなり、工数及びコスト面での負担が軽減できる。   According to the computer system of the present invention, the device information indicating which of the plurality of buses each device is connected to is stored in the storage means from the outside. By appropriately changing the device information stored in the storage means, a computer system that performs data transfer by DMA between a plurality of buses can be applied to various systems. Therefore, it is not necessary to design and manufacture the inter-bus control unit for each system, and the man-hour and cost burden can be reduced.

また本発明に係るコンピュータシステムの電子回路によれば、外部から入力されたデータ転送要求信号に基づいて、いずれのインタフェイスに内部バスを占有させるかの情報を外部から記憶部に記憶させるように構成されているため、この記憶部に記憶させる情報を適宜外部から変更することにより、複数のバス間におけるDMAによるデータ転送を様々なシステムに適用することができる。よって、システム毎に電子回路を設計及び製作する必要はなくなり、工数及びコスト面での負担が軽減できる等、優れた効果を奏する。   Further, according to the electronic circuit of the computer system according to the present invention, based on the data transfer request signal input from the outside, information indicating which interface occupies the internal bus is stored in the storage unit from the outside. Thus, by appropriately changing the information stored in the storage unit from the outside, data transfer by DMA between a plurality of buses can be applied to various systems. Therefore, it is not necessary to design and manufacture an electronic circuit for each system, and an excellent effect is achieved such that the burden on man-hours and costs can be reduced.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。図1は、本発明のコンピュータシステムの一実施の形態としての複合機の内部構成例を示すブロック図である。   Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof. FIG. 1 is a block diagram showing an internal configuration example of a multifunction peripheral as an embodiment of a computer system of the present invention.

本発明のコンピュータシステムとしての複合機は、原稿画像の読み取り、そのコピー出力(プリントアウト)及びファクシミリ通信による送信、ファクシミリ通信により受信したデータのプリントアウト等の機能を有しており、MPU11がROM(読出専用メモリ)12に格納されているコンピュータプログラムに従って前述のような種々の機能を実現する。   The multifunction machine as a computer system of the present invention has functions such as reading of a document image, copy output (printout) and transmission by facsimile communication, and printout of data received by facsimile communication. Various functions as described above are realized in accordance with a computer program stored in the (read-only memory) 12.

なお、図1に示す本発明のコンピュータシステムとしての複合機の内部構成は、制御中枢であるMPU11が直接接続するシステムバス20と、MPU11が直接には接続していないローカルバス30及びパネルバス50との複数のバスを有し、各バス20,30,50間を本発明の電子回路であるバス間制御部として機能するゲートアレイ21で接続して各バス間のデータ転送を切り換えるようにしている。   The internal configuration of the MFP as the computer system of the present invention shown in FIG. 1 includes a system bus 20 directly connected to the MPU 11 as a control center, and a local bus 30 and a panel bus 50 that are not directly connected to the MPU 11. A plurality of buses, and the buses 20, 30, and 50 are connected by a gate array 21 that functions as an inter-bus control unit that is an electronic circuit of the present invention, and data transfer between the buses is switched. Yes.

MPU11は、システムバス20を介して前述のROM12,各種情報保持メモリとして使用されるSRAM14に接続されている。またMPU11はシステムバス20を介してゲートアレイ21とも接続されている。   The MPU 11 is connected via the system bus 20 to the ROM 12 and the SRAM 14 used as various information holding memories. The MPU 11 is also connected to the gate array 21 via the system bus 20.

ゲートアレイ21には画像メモリとして使用されるSDRAM22が接続されている他、前述のシステムバス20,パネルバス50,及びローカルバス30が接続されている。   The gate array 21 is connected to the SDRAM 22 used as an image memory, and is connected to the system bus 20, the panel bus 50, and the local bus 30 described above.

システムバス20にはモデム23,NCU24及び読取用画像処理回路36等が、パネルバス50には操作パネル51が、ローカルバス30にはプリント用画像処理回路31,プリント用のメモリコントローラ33,プリント用コーデック34,読取用のメモリコントローラ38,読取用コーデック39等が接続されている。   The system bus 20 has a modem 23, an NCU 24, a reading image processing circuit 36, etc., the panel bus 50 has an operation panel 51, the local bus 30 has a printing image processing circuit 31, a printing memory controller 33, and a printing use. A codec 34, a reading memory controller 38, a reading codec 39, and the like are connected.

操作パネル51は、本発明のコンピュータシステムである複合機を操作するために必要な文字キー、テンキー、短縮ダイヤルキー、ワンタッチダイヤルキー、各種のファンクションキー、及びLCD等の表示装置を備えている。   The operation panel 51 includes character keys, numeric keys, speed dial keys, one-touch dial keys, various function keys, and a display device such as an LCD, which are necessary for operating the multi-function peripheral that is the computer system of the present invention.

ローカルバス30に接続されているプリント用画像処理回路31にはプリンタエンジン32及び前述のメモリコントローラ33が接続されている。メモリコントローラ33はローカルバス30と直接接続している他、プリント用のワークエリアとして使用されるSDRAM35とも接続されている。   A printer engine 32 and the above-described memory controller 33 are connected to the print image processing circuit 31 connected to the local bus 30. The memory controller 33 is directly connected to the local bus 30 and is also connected to an SDRAM 35 used as a print work area.

プリンタエンジン32は図示しないプリント部(プリンタ)に備えられている。符号化されている画像データはローカルバス30からプリント用コーデック34へ送られてプリントデータにデコーディング(復号)され、その後にメモリコントローラ33経由でプリント用画像処理回路31からプリンタエンジン32へ与えられる。   The printer engine 32 is provided in a printing unit (printer) (not shown). The encoded image data is sent from the local bus 30 to the print codec 34 to be decoded (decoded) into the print data, and then supplied from the print image processing circuit 31 to the printer engine 32 via the memory controller 33. .

システムバス20に接続されている読取用画像処理回路36にはCCD37及び前述のメモリコントローラ38が接続されている。メモリコントローラ38はローカルバス30と直接接続している他、読取用のワークエリアとして使用されるSDRAM40とも接続されている。   A CCD 37 and the memory controller 38 are connected to the reading image processing circuit 36 connected to the system bus 20. The memory controller 38 is directly connected to the local bus 30 and is also connected to an SDRAM 40 used as a work area for reading.

CCD37は図示しない読取部(スキャナ)に備えられている。CCD37が原稿を読み取った信号は読取用画像処理回路36で処理されてたとえば白黒2値の画像データに変換される。この変換後の画像データはメモリコントローラ38から読取用コーデック39へ送られてコーディング(符号化)され、その後にローカルバス30へ出力される。   The CCD 37 is provided in a reading unit (scanner) (not shown). The signal read by the CCD 37 is processed by the reading image processing circuit 36 and converted into, for example, monochrome binary image data. The converted image data is sent from the memory controller 38 to the reading codec 39 and coded (encoded), and then output to the local bus 30.

モデム23及びNCU24はシステムバス20を介してゲートアレイ21に接続されているが、それぞれも相互に接続されている。モデム23はファクシミリ通信が可能なファクシミリモデムで構成されている。NCU24は、公衆電話交換網(PSTN)とのアナログ回線の閉結及び開放の動作を行なうハードウェアであり、必要に応じてモデム32を公衆電話交換網に接続し、他のファクシミリ装置との間のファクシミリ通信を制御する。   The modem 23 and the NCU 24 are connected to the gate array 21 via the system bus 20, but are also connected to each other. The modem 23 is a facsimile modem capable of facsimile communication. The NCU 24 is hardware that performs operations for closing and opening an analog line with the public switched telephone network (PSTN). The NCU 24 connects the modem 32 to the public switched telephone network as necessary, and communicates with other facsimile apparatuses. Controls facsimile communication.

以上のような構成の本発明のコンピュータシステムである複合機の代表的な動作は以下の通りである。   A typical operation of the multi-function peripheral which is the computer system of the present invention having the above-described configuration is as follows.

公衆電話交換網経由で他のファクシミリ装置からファクシミリ通信によりNCU24経由でモデム23が受信したファクシミリ画像データは、システムバス20へ出力され、ゲートアレイ21を経由してSDRAM22に記憶される。また、読取部のCCD37で読み取られて読取用画像処理回路36で変換された画像データは、メモリコントローラ38から読取用コーデック39に与えられて符号化された後にローカルバス30へ出力され、ゲートアレイ21経由でSDRAM22に記憶される。   Facsimile image data received by the modem 23 via the NCU 24 by facsimile communication from another facsimile machine via the public telephone exchange network is output to the system bus 20 and stored in the SDRAM 22 via the gate array 21. Further, the image data read by the CCD 37 of the reading unit and converted by the reading image processing circuit 36 is supplied from the memory controller 38 to the reading codec 39 and encoded, and then output to the local bus 30 to be gate array. The data is stored in the SDRAM 22 via 21.

SDRAM22に記憶されているファクシミリ画像データをファクシミリ送信する場合、ファクシミリ画像データは、ゲートアレイ21経由でシステムバス20へ出力され、モデム23,NCU24経由で公衆電話交換網へファクシミリ送信される。また、SDRAM22に記憶されているファクシミリ画像データをプリントアウトする場合、ファクシミリ画像データは、ゲートアレイ21経由でローカルバス30へ出力され、プリント用コーデック34で復号されてプリント用画像処理回路31からプリンタエンジン32へ出力されてプリントアウトされる。   When facsimile image data stored in the SDRAM 22 is transmitted by facsimile, the facsimile image data is output to the system bus 20 via the gate array 21 and transmitted to the public telephone exchange network via the modem 23 and NCU 24. When printing out the facsimile image data stored in the SDRAM 22, the facsimile image data is output to the local bus 30 via the gate array 21, decoded by the print codec 34, and printed from the print image processing circuit 31 to the printer. It is output to the engine 32 and printed out.

以上のようなSDRAM22に対するデータの入出力は、ゲートアレイ21のDMAコントローラによるDMA転送により、MPU11を介在せずに行われる。   Input / output of data to / from the SDRAM 22 as described above is performed without the MPU 11 by DMA transfer by the DMA controller of the gate array 21.

DMA転送は、各バスに接続され各デバイス及びゲートアレイ21から入出力される制御信号により制御されるが、以下にそれぞれの制御信号について説明する。なお、信号名の先頭に「/」が付加されている信号はローアクティブ(ローレベルである場合に有意)であることを意味している。   The DMA transfer is controlled by a control signal connected to each bus and input / output from each device and the gate array 21. Each control signal will be described below. A signal having “/” added to the head of the signal name means that it is low active (significant when it is low level).

モデム23からゲートアレイ21へは/DREQ0(第0データ転送要求信号)が、プリント用コーデック34からゲートアレイ21へは/DREQ1(第1データ転送要求信号)が、読取用コーデック39からゲートアレイ21へは/DREQ2(第2データ転送要求信号)が、それぞれ与えられる。   / DREQ0 (0th data transfer request signal) is sent from the modem 23 to the gate array 21, / DREQ1 (first data transfer request signal) is sent from the print codec 34 to the gate array 21, and the read codec 39 is sent to the gate array 21. / DREQ2 (second data transfer request signal) is applied to each.

一方、データ転送の要求を受け付けたゲートアレイ21は、データ転送元のデバイスが接続されているバスと、データ転送先のデバイスが接続されているバスとの接続を確立した後、ゲートアレイ21からモデム23へは/DACK0(第0データ転送承認信号)が、ゲートアレイ21からプリント用コーデック34へは/DACK1(第1データ転送承認信号)が、ゲートアレイ21から読取用コーデック39へは/DACK2(第2データ転送承認信号)が、それぞれ与えられる。   On the other hand, the gate array 21 that has received the data transfer request establishes a connection between the bus to which the data transfer source device is connected and the bus to which the data transfer destination device is connected. / DACK0 (0th data transfer approval signal) is sent to the modem 23, / DACK1 (first data transfer approval signal) is sent from the gate array 21 to the print codec 34, and / DACK2 is sent from the gate array 21 to the read codec 39. (Second data transfer approval signal) is respectively provided.

つまり、各デバイスからゲートアレイ21に対してデータ転送を要求し、ゲートアレイ21は、データ転送元のデバイスが接続されているバスと、データ転送先のデバイスが接続されているバスとの接続を確立した後、データ転送を要求したデバイスにその旨を示す信号を与えることによりDMAが可能となる。なお、DMAを行なう場合には、MPU11とのデータ衝突回避すべく、MPU11にホールド信号(ウェイト信号)を出力し、MPU11の動作を一旦停止させてからメモリアクセスを行なうようになっている。   In other words, each device requests data transfer to the gate array 21, and the gate array 21 connects the bus to which the data transfer source device is connected to the bus to which the data transfer destination device is connected. After the establishment, DMA can be performed by giving a signal indicating that to the device that has requested the data transfer. When performing DMA, in order to avoid data collision with the MPU 11, a hold signal (wait signal) is output to the MPU 11, and the operation of the MPU 11 is temporarily stopped before memory access is performed.

次に、本発明の電子回路であるゲートアレイ21の構成について、その一例を示す図面を参照して説明する。図2は本発明のコンピュータシステムの電子回路であるゲートアレイ構成例を示すブロック図である。   Next, the configuration of the gate array 21 which is the electronic circuit of the present invention will be described with reference to the drawings showing an example thereof. FIG. 2 is a block diagram showing a configuration example of a gate array which is an electronic circuit of the computer system of the present invention.

ゲートアレイ21内には、内部バス210に、システムバスI/F211,SDRAMI/F213,ローカルバスI/F214,DMAC215,アドレスデコーダ216等が接続されている。また、アドレスデコーダ216にはレジスタ217がバス接続されており、レジスタ217はDMAC215とも接続されている。   In the gate array 21, a system bus I / F 211, an SDRAM I / F 213, a local bus I / F 214, a DMAC 215, an address decoder 216, and the like are connected to the internal bus 210. In addition, a register 217 is connected to the address decoder 216 by a bus, and the register 217 is also connected to the DMAC 215.

システムバスI/F211は、ゲートアレイ21のシステムバス20に対するインタフェイスであり、ゲートアレイ21はシステムバス20を介してモデム23,NCU24,読取用画像処理回路36との間でデータ転送を行なう。またシステムバスI/F211は、ゲートアレイ21のパネルバス50に対するインタフェイスとしても機能し、ゲートアレイ21はパネルバス50を介して操作パネル51との間でデータ転送を行なう。なお、システムバスI/F211はパネルバス50と図示しないバッファを介して接続されており、バッファのオン/オフによりパネルバス50との接続を制御する。   The system bus I / F 211 is an interface of the gate array 21 to the system bus 20, and the gate array 21 performs data transfer with the modem 23, the NCU 24, and the reading image processing circuit 36 via the system bus 20. The system bus I / F 211 also functions as an interface to the panel bus 50 of the gate array 21, and the gate array 21 performs data transfer with the operation panel 51 via the panel bus 50. The system bus I / F 211 is connected to the panel bus 50 via a buffer (not shown), and controls connection to the panel bus 50 by turning on / off the buffer.

SDRAMI/F213は、ゲートアレイ21とSDRAM22とを接続するためのインタフェイスであり、ゲートアレイ21はSDRAM22との間でデータ転送を行なう。   The SDRAM I / F 213 is an interface for connecting the gate array 21 and the SDRAM 22, and the gate array 21 performs data transfer with the SDRAM 22.

ローカルバスI/F214は、ゲートアレイ21のローカルバス30に対するインタフェイスであり、ゲートアレイ21はローカルバス30を介してプリント用画像処理回路31,メモリコントローラ33,プリント用コーデック34,メモリコントローラ38,読取用コーデック39との間でデータ転送を行なう。   The local bus I / F 214 is an interface to the local bus 30 of the gate array 21, and the gate array 21 is connected via the local bus 30 to the print image processing circuit 31, the memory controller 33, the print codec 34, the memory controller 38, Data is transferred to and from the reading codec 39.

次に、MPU11を介在することなく、DMAによりデバイス間でデータ転送を制御するゲートアレイ21の動作について説明する。   Next, the operation of the gate array 21 that controls data transfer between devices by DMA without using the MPU 11 will be described.

レジスタ217には、/DREQ0,/DREQ1,/DREQ2のそれぞれに対して、そのデータ転送要求信号に対応する転送元のデバイスと転送先のデバイスとがいずれのバスに接続されているか、すなわち、いずれのインタフェイスに接続されているかのデバイス情報が関連付けて記憶されている。なお、レジスタ217が記憶するデバイス情報は、例えば電源オン時にMPU11によってレジスタ217に書き込まれる。より具体的には、ROM12に格納されているコンピュータプログラムに、コンピュータシステム(本例では複合機)のデバイスとバスとの構成に応じたデバイス情報を設定するようにしておき、コンピュータプログラムが実行される際に、レジスタ217に書き込まれる。   In the register 217, for each of / DREQ0, / DREQ1, and / DREQ2, to which bus the transfer source device and the transfer destination device corresponding to the data transfer request signal are connected, that is, which Is stored in association with device information indicating whether it is connected to the interface. The device information stored in the register 217 is written into the register 217 by the MPU 11 when the power is turned on, for example. More specifically, device information corresponding to the configuration of the device and bus of the computer system (in this example, a multifunction device) is set in the computer program stored in the ROM 12, and the computer program is executed. Is written to the register 217.

レジスタ217には、例えば、/DREQ0=”L”(ローレベル)に対して、モデム23とSDRAM22との間のDMA転送動作を制御すべく、モデム23がシステムバス20に接続されており、システムバス20に対するインタフェイスがシステムバスI/F211である旨を、且つSDRAM22に対するインタフェイスがSDRAMI/F213である旨を、それぞれ示すデバイス情報が記憶されている。   In the register 217, for example, the modem 23 is connected to the system bus 20 in order to control the DMA transfer operation between the modem 23 and the SDRAM 22 with respect to / DREQ0 = "L" (low level). Device information indicating that the interface to the bus 20 is the system bus I / F 211 and that the interface to the SDRAM 22 is the SDRAM I / F 213 is stored.

また、レジスタ217には、/DREQ1=”L”に対して、プリント用コーデック34とSDRAM22との間のDMA転送動作を制御すべく、プリント用コーデック34がローカルバス30に接続されており、ローカルバス30に対するインタフェイスがローカルバスI/F214である旨を、且つSDRAM22に対するインタフェイスがSDRAMI/F213である旨を、それぞれ示すデバイス情報が記憶されている。   The register 217 has a print codec 34 connected to the local bus 30 to control the DMA transfer operation between the print codec 34 and the SDRAM 22 with respect to / DREQ1 = "L". Device information indicating that the interface to the bus 30 is the local bus I / F 214 and that the interface to the SDRAM 22 is the SDRAM I / F 213 is stored.

更に、レジスタ217には、/DREQ2=”L”に対して、読取用コーデック39とSDRAM22との間のDMA転送動作を制御すべく、読取用コーデック39がローカルバス30に接続されており、ローカルバス30に対するインタフェイスがローカルバスI/F214である旨を、且つSDRAM22に対するインタフェイスがSDRAMI/F213である旨を、それぞれ示すデバイス情報が記憶されている。   Further, in the register 217, the read codec 39 is connected to the local bus 30 in order to control the DMA transfer operation between the read codec 39 and the SDRAM 22 for / DREQ2 = "L". Device information indicating that the interface to the bus 30 is the local bus I / F 214 and that the interface to the SDRAM 22 is the SDRAM I / F 213 is stored.

DMAC215は、各デバイスから入力された/DREQ0,/DREQ1,/DREQ2から、レジスタ217に記憶されているデバイス情報を参照して、/BREQ0をシステムバスI/F211へ、/BREQ1をSDRAMI/F213へ、/BREQ2をローカルバスI/F214へ、それぞれ出力する。なお、それぞれの/DREQ0,/DREQ1,/DREQ2に対して、/BREQ0,/BREQ2のいずれか一つと/BREQ1とが、すなわち、SDRAM22にアクセスすべきデバイスとSDRAM22とに対応する信号がアクティブである。/BREQ0,/BREQ1,/BREQ2は、各インタフェイスに対して内部バス210のバス占有権を要求する要求信号であり、/BREQ0,/BREQ1,/BREQ2の内のいずれか二つがアクティブとなって内部バス210のバス占有権を要求する。   The DMAC 215 refers to the device information stored in the register 217 from / DREQ0, / DREQ1 and / DREQ2 input from each device, and / BREQ0 to the system bus I / F 211 and / BREQ1 to the SDRAM I / F 213. , / BREQ2 is output to the local bus I / F 214, respectively. For each / DREQ0, / DREQ1, / DREQ2, any one of / BREQ0, / BREQ2 and / BREQ1, that is, a signal corresponding to the device that should access SDRAM22 and SDRAM22 is active. . / BREQ0, / BREQ1, and / BREQ2 are request signals for requesting the right to occupy the internal bus 210 to each interface, and any one of / BREQ0, / BREQ1, and / BREQ2 becomes active. Requests the right to occupy the internal bus 210.

具体的には、例えば、/DREQ0=”L”の場合、モデム23とSDRAM22との間でDMA転送を行なうべく、レジスタ217を参照して/BREQ0及び/BREQ1をアクティブ(”L”)にし、モデム23とSDRAM22とのバスチャンネルをオンにさせる。   Specifically, for example, when / DREQ0 = "L", in order to perform DMA transfer between the modem 23 and the SDRAM 22, with reference to the register 217, / BREQ0 and / BREQ1 are made active ("L"), The bus channel between the modem 23 and the SDRAM 22 is turned on.

また、/DREQ1=”L”の場合、プリント用コーデック34とSDRAM22との間のDMA転送を行なうべく、レジスタ217を参照して/BREQ2及び/BREQ1をアクティブ(”L”)にし、プリント用コーデック34とSDRAM22とのバスチャンネルをオンにさせる。   When / DREQ1 = "L", in order to perform DMA transfer between the print codec 34 and the SDRAM 22, with reference to the register 217, / BREQ2 and / BREQ1 are made active ("L"), and the print codec 34 and the SDRAM 22 are turned on.

更に、/DREQ2=”L”の場合、読取用コーデック39とSDRAM22との間のDMA転送を行なうべく、レジスタ217を参照して/BREQ2及び/BREQ1をアクティブ(”L”)にし、読取用コーデック39とSDRAM22とのバスチャンネルをオンにさせる。   Further, when / DREQ2 = "L", in order to perform the DMA transfer between the reading codec 39 and the SDRAM 22, the register 217 is referred to and / BREQ2 and / BREQ1 are made active ("L") to read the codec. The bus channel between 39 and SDRAM 22 is turned on.

一方、/BREQ0を受け取ったシステムバスI/F211は/BACK0を、/BREQ1を受け取ったSDRAMI/F213は/BACK1を、/BREQ2を受け取ったローカルバスI/F214は/BACK2を、それぞれDMAC215へ出力する。/BACK0,/BACK1,/BACK2は、各要求信号に対してバス占有権を承認した旨を示す承認信号であり、承認信号をDMAC215へ出力(返答)することにより、/DREQ0,/DREQ1,/DREQ2を出力してきたデバイスと、SDRAM22との間のデータ転送経路を確立する。   On the other hand, the system bus I / F 211 that receives / BREQ0 outputs / BACK0, the SDRAM I / F213 that receives / BREQ1 outputs / BACK1, and the local bus I / F 214 that receives / BREQ2 outputs / BACK2 to the DMAC 215. . / BACK 0, / BACK 1, / BACK 2 are approval signals indicating that the bus occupancy right has been approved for each request signal. By outputting (replying) the approval signal to the DMAC 215, / DREQ 0, / DREQ 1, / A data transfer path between the device that has output DREQ2 and the SDRAM 22 is established.

そして、DMAC215は、/DREQ0を要求してきたモデム23へ/DACK0を、/DREQ1を要求してきたプリント用コーデック34へ/DACK1を、/DREQ2を要求してきた読取用コーデック39へ/DACK2を、それぞれ出力し、データ転送経路が確立されたことを通知する。この通知を受け取ることにより、各デバイスは、SDRAM22との間で、MPU11を介在することなく、内部バス210を介してデータの転送(読み出し又は書き込み)を行なう。   The DMAC 215 outputs / DACK0 to the modem 23 that requested / DREQ0, / DACK1 to the print codec 34 that requested / DREQ1, and / DACK2 to the read codec 39 that requested / DREQ2. And that the data transfer path has been established. By receiving this notification, each device transfers (reads or writes) data to / from the SDRAM 22 via the internal bus 210 without interposing the MPU 11.

以上のように、本発明の意義は、/DREQ0,/DREQ1,/DREQ2のそれぞれのデータ転送要求信号に対して、転送元のデバイスと転送先のデバイスとがいずれのバスにそれぞれ接続されているか、すなわち、いずれのインタフェイスにそれぞれ接続されているかのデバイス情報を記憶するレジスタ217をコンピュータシステム(本実施形態では複合機)に追加した点にあり、このようにすることで、レジスタ217に記憶するデバイス情報の設定を外部から変更することで、それぞれのシステム構成に対応したバス間のデータ転送(DMA)を制御することができる。従って、システム毎にゲートアレイを設計及び製作する必要がなくなるため、工数及びコスト面に優れ、且つ汎用性の高いゲートアレイ、及びそのようなゲートアレイを備えたコンピュータシステムを提供できる。   As described above, the significance of the present invention is to which bus the transfer source device and the transfer destination device are respectively connected to the data transfer request signals of / DREQ0, / DREQ1, and / DREQ2. In other words, a register 217 for storing device information indicating which interface is connected to each of the interfaces is added to the computer system (in this embodiment, a multi-function peripheral). By doing so, the register 217 stores the information. By changing the device information setting from the outside, data transfer (DMA) between the buses corresponding to each system configuration can be controlled. Therefore, it is not necessary to design and manufacture a gate array for each system. Therefore, it is possible to provide a highly versatile gate array with excellent man-hours and costs, and a computer system including such a gate array.

なお、前述の実施の形態では、データ転送要求信号に対して、転送元のデバイスと転送先のデバイスとがいずれのバスにそれぞれ接続されているか、すなわち、いずれのインタフェイスにそれぞれ接続されているかのデバイス情報を記憶するレジスタ217がゲートアレイ21に内蔵されている形態について説明したが、ゲートアレイの外部に設けられていてもよく、そのような場合には、ゲートアレイとレジスタとを信号線により接続し、レジスタに記憶されているデバイス情報を取得するようにすればよい。   In the above-described embodiment, in response to the data transfer request signal, which bus is connected to the transfer source device and the transfer destination device, that is, which interface is connected to each. In the above description, the register 217 for storing the device information is built in the gate array 21, but it may be provided outside the gate array. In such a case, the gate array and the register are connected to the signal line. And the device information stored in the register may be acquired.

また、前述の実施の形態では、DMAによりデータ転送を行なうデバイスはモデム23,プリント用コーデック34及び読取用コーデック39等の3個であるが、これはあくまでも一例であり、より多数または少数のデバイスをDMAによりデータ転送を行なう場合にも、デバイスの数に応じてゲートアレイを構成することにより対応可能であることは言うまでもない。   In the above-described embodiment, there are three devices that perform data transfer by DMA, such as the modem 23, the print codec 34, and the read codec 39. However, this is merely an example, and a larger or smaller number of devices. It goes without saying that data transfer by DMA can also be handled by configuring a gate array according to the number of devices.

更に、前述の実施の形態では、レジスタ217がソフト的に書き換え可能なデバイスであり、デバイス情報が、例えば電源オン時にROM12から読み出されてMPU11の制御によりレジスタ217に書き込まれる形態について説明したが、レジスタ217がヒューズROM、EEPROM等のハード的に書き込み可能なデバイスであってもよく、コンピュータシステム(実施形態では複合機)のデバイスとバスとの構成に応じてROMライタ等によりデバイス情報を書き込むような形態であってもよい。   Furthermore, in the above-described embodiment, the register 217 is a software rewritable device, and the device information is read from the ROM 12 when the power is turned on and written into the register 217 under the control of the MPU 11. The register 217 may be a hardware writable device such as a fuse ROM or an EEPROM, and device information is written by a ROM writer or the like according to the configuration of the device of the computer system (multifunction device in the embodiment) and the bus. Such a form may be sufficient.

更にまた、前述の実施の形態では、各信号はローアクティブ(ローレベルである場合に有意)であるが、各信号がハイアクティブ(ハイレベルである場合に有意)であってもよいし、また全ての信号がローアクティブ又はハイアクティブのいずれかに統一されている必要もない。   Furthermore, in the above-described embodiment, each signal is low active (significant when low), but each signal may be high active (significant when high), It is not necessary that all signals be unified as either low active or high active.

本発明のコンピュータシステムの一実施の形態としての複合機の内部構成例を示すブロック図である。1 is a block diagram illustrating an internal configuration example of a multifunction peripheral as an embodiment of a computer system of the present invention. FIG. 本発明のコンピュータシステムの電子回路であるゲートアレイ構成例を示すブロック図である。It is a block diagram which shows the example of a gate array structure which is an electronic circuit of the computer system of this invention.

符号の説明Explanation of symbols

11 MPU
12 ROM
20 システムバス
21 ゲートアレイ
22 SDRAM
23 モデム
30 ローカルバス
34 プリント用コーデック
39 読取用コーデック
50 パネルバス
211 システムバスI/F
214 ローカルバスI/F
215 DMAC
217 レジスタ
11 MPU
12 ROM
20 System bus 21 Gate array 22 SDRAM
23 Modem 30 Local Bus 34 Codec for Printing 39 Codec for Reading 50 Panel Bus 211 System Bus I / F
214 Local bus I / F
215 DMAC
217 registers

Claims (4)

プロセッサが接続された一つのバスを含む複数のバスと、該複数のバスのいずれかに接続された複数のデバイスと、各デバイスが出力するデータ転送要求信号に基づいて、前記プロセッサを介在することなく各バス間におけるデータ転送を制御するバス間制御部とを備えるコンピュータシステムであって、
前記バス間制御部は、ダイレクトメモリアクセスコントローラと、
各デバイスが、前記複数のバスの内のいずれのバスに接続されているかを示すデバイス情報を記憶する記憶手段とを備え、
前記記憶手段に記憶されているデバイス情報に基づいて、ダイレクトメモリアクセスを行なうバスを接続状態にしてデータ転送の制御を行なうべくなしてあることを特徴とするコンピュータシステム。
A plurality of buses including a single bus to which a processor is connected; a plurality of devices connected to any of the plurality of buses; and the processor intervening based on a data transfer request signal output from each device. A computer system comprising an inter-bus control unit that controls data transfer between the buses,
The inter-bus controller includes a direct memory access controller,
Storage means for storing device information indicating which of the plurality of buses each device is connected to;
A computer system characterized in that, based on device information stored in the storage means, a data access control is performed by setting a bus for direct memory access to a connected state.
前記バス間制御部は、内部バスと、該内部バスを介して前記複数のバスのそれぞれを接続する複数のインタフェイスとを備え、
前記ダイレクトメモリアクセスコントローラは、前記記憶手段に記憶されているデバイス情報に基づいて、データ転送元のデバイスとデータ転送先のデバイスとが接続されているそれぞれのバスに接続する各インタフェイスに前記内部バスのバス占有権を付与する手段を有していることを特徴とする請求項1に記載のコンピュータシステム。
The inter-bus control unit includes an internal bus and a plurality of interfaces that connect the plurality of buses via the internal bus,
The direct memory access controller, based on the device information stored in the storage means, is connected to each interface connected to each bus to which a data transfer source device and a data transfer destination device are connected. The computer system according to claim 1, further comprising means for granting a bus occupation right of the bus.
前記記憶手段が記憶するデバイス情報は外部から書き換え可能であることを特徴とする請求項1又は請求項2に記載のコンピュータシステム。   3. The computer system according to claim 1, wherein the device information stored in the storage unit is rewritable from the outside. 内部バスと、該内部バスを介して接続される複数のインタフェイスと、ダイレクトメモリアクセスコントローラとを備え、各バス間におけるデータ転送を制御すべくなしてあるコンピュータシステムの電子回路であって、
外部から入力されるデータ転送要求信号に基づいて、いずれのインタフェイスに前記内部バスを占有させるかを指定する情報を記憶する記憶部を備えることを特徴とするコンピュータシステムの電子回路。
An electronic circuit of a computer system comprising an internal bus, a plurality of interfaces connected via the internal bus, and a direct memory access controller, and for controlling data transfer between the buses,
An electronic circuit of a computer system, comprising: a storage unit that stores information designating which interface occupies the internal bus based on a data transfer request signal input from the outside.
JP2003311742A 2003-09-03 2003-09-03 Computer system and its electronic circuit Pending JP2005078598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003311742A JP2005078598A (en) 2003-09-03 2003-09-03 Computer system and its electronic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003311742A JP2005078598A (en) 2003-09-03 2003-09-03 Computer system and its electronic circuit

Publications (1)

Publication Number Publication Date
JP2005078598A true JP2005078598A (en) 2005-03-24

Family

ID=34413224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003311742A Pending JP2005078598A (en) 2003-09-03 2003-09-03 Computer system and its electronic circuit

Country Status (1)

Country Link
JP (1) JP2005078598A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013512519A (en) * 2009-12-01 2013-04-11 ブル・エス・アー・エス Controller directly accessing memory for direct transfer of data between memories of several peripheral devices, method and computer program enabling such controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013512519A (en) * 2009-12-01 2013-04-11 ブル・エス・アー・エス Controller directly accessing memory for direct transfer of data between memories of several peripheral devices, method and computer program enabling such controller
US8990451B2 (en) 2009-12-01 2015-03-24 Bull Sas Controller for direct access to a memory for the direct transfer of data between memories of several peripheral devices, method and computer program enabling the implementation of such a controller

Similar Documents

Publication Publication Date Title
JP3059520B2 (en) Data processing device and facsimile device
KR930006826B1 (en) Laser printer for fax
JP2005078598A (en) Computer system and its electronic circuit
JP4385755B2 (en) MEMORY DEVICE AND ELECTRONIC DEVICE HAVING THE SAME
JP3714840B2 (en) Data transfer method and data transfer control device
JPH11184801A (en) Interface device and data processing system
JP2005078599A (en) Computer system and its electronic circuit
JP4136347B2 (en) System controller, image forming apparatus having system controller, and DMA transfer method
JPH11184800A (en) Data processor and system constitution method
JP3295875B2 (en) Facsimile machine
JP4848188B2 (en) Unit having memory device having a plurality of memory areas and memory control system
JP2001338286A (en) Method and device for image processing
JP5245803B2 (en) Image processing apparatus and image processing module
JP2005333676A (en) Image data processing method, image data processing apparatus and image forming apparatus
KR20000047198A (en) Method for controlling facsimile data transmission
JP2001167046A (en) Image processor
JPH08166901A (en) Memory control circuit and facsimile equipment provided with the circuit
JP2009064342A (en) Data transfer system
JP2006004038A (en) Data transmission control unit
JP3153257B2 (en) Facsimile machine
JPWO2004107188A1 (en) Data processing apparatus and data communication method
JP2004215071A (en) Integrated circuit device, communication interface board, and image forming apparatus
JPH1091461A (en) Multifunction parallel processing electronic device
JP2009064341A (en) Data transfer system
JP2005099928A (en) Wait signal generation method for computer system, computer system, and electronic circuit for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090105

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090120

A02 Decision of refusal

Effective date: 20090707

Free format text: JAPANESE INTERMEDIATE CODE: A02