JP2004334780A - Interface control device, image formation apparatus, interface control method, computer program and recording medium - Google Patents
Interface control device, image formation apparatus, interface control method, computer program and recording medium Download PDFInfo
- Publication number
- JP2004334780A JP2004334780A JP2003133416A JP2003133416A JP2004334780A JP 2004334780 A JP2004334780 A JP 2004334780A JP 2003133416 A JP2003133416 A JP 2003133416A JP 2003133416 A JP2003133416 A JP 2003133416A JP 2004334780 A JP2004334780 A JP 2004334780A
- Authority
- JP
- Japan
- Prior art keywords
- interface
- general
- pci bus
- purpose memory
- pci
- 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
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、PCIバスインターフェイスと汎用メモリインターフェイスを含む複数のインターフェイスの制御装置、このインターフェイス制御装置を備えた画像形成装置、前記インターフェイスの制御方法、この制御方法を実現するためのコンピュータプログラム及びこのコンピュータプログラムを格納した記録媒体に関する。
【0002】
【従来の技術】
近年の情報技術の発展に伴い多種多様な外部装置が提案されている。このような多種多様な外部装置に対応するようなデバイスを設計する場合、それぞれの外部装置のインターフェイスに対応するため、デバイス側の端子数増加は避けられない。例えばPCIバスインターフェイスや汎用メモリインターフェイスはバス構造なため信号線数が多く、自ずと端子数も増加することになる。しかしながら、端子数の増加は、チップサイズの増加、最終的にはコストの増加につながるという問題がある。
【0003】
そこで端子を共用することになるが、単純に共用すると、PCIバスモードの時と汎用バスモードの時間を完全に分割することになる。つまりPCIバスのアクセスと汎用メモリへのアクセスを動的に切り替えることはできない。
【0004】
【発明が解決しようとする課題】
本発明はこのような従来技術の実情に鑑みてなされたもので、その目的は、インターフェイスのモードを動的に切り替えることができるインターフェイス制御装置、このインターフェイス制御装置を備えた画像形成装置、前記インターフェイスの制御方法、この制御方法を実現するためのコンピュータプログラム及びこのコンピュータプログラムを格納した記録媒体を提供することにある。
【0005】
【課題を解決するための手段】
前記目的を達成するため第1の手段は、第1及び第2のインターフェイスを含む複数のインターフェイスと、PCIバスに接続されたマスタの調停を行う調停手段とを備えたインターフェイス制御装置において、前記複数のインターフェイスの端子を共用し、前記調停手段が前記インターフェイスの使用するモードに応じて前記端子の接続状態を切り替えることを特徴とする。
【0006】
第2の手段は、第1の手段において、前記第1のインターフェイスがPCIバスインターフェイスから、前記第2のインターフェイスが汎用メモリインターフェイスからなることを特徴とする。
【0007】
第3の手段は、第1または第2の手段において、前記調停手段は、PCIバスインターフェイスが使用するモードと、汎用メモリインターフェイスが使用するモードとに応じて前記端子の接続状態を切り替え、前記マスタの調停を行うことを特徴とする。
【0008】
第4の手段は、第3の手段において、前記調停手段は、前記汎用メモリインターフェイスが使用するモードで前記端子を使用している場合に、PCIバスに接続されたPCIデバイスからリクエスト信号がアサートされた場合、前記汎用メモリのアクセスが完全に終了してから許可信号をアサートすることを特徴とする。
【0009】
第5の手段は、第3の手段において、前記調停手段は、前記PCIバスインターフェイスが使用するモードで前記端子を使用している場合に、PCIバスに接続された汎用メモリデバイスからリクエスト信号がアサートされた場合、前記PCIバスがアイドル状態になってから許可信号をアサートし、前記汎用メモリデバイスのアクセスを開始することを特徴とする。
【0010】
第6の手段は、第3の手段において、前記調停手段は、前記PCIバスインターフェイスが使用するモードで前記端子を使用している場合に、PCIバスに接続された汎用メモリデバイスからリクエスト信号がアサートされた場合、PCIバスのアイドル状態であるか否かにかかわらずアサートし、アイドル状態あるとき、あるいはアイドル状態になったとき前記汎用メモリデバイスのアクセスを開始することを特徴とする。
【0011】
第7の手段は、第5または第6の手段において、前記汎用メモリインターフェイスは、前記PCIバスのアイドル状態を検出する汎用メモリ制御回路を含んでなることを特徴とする。
【0012】
第8の手段は、第3の手段において、前記調停手段は、汎用メモリインターフェイスが使用するモードで前記端子を使用している場合に、データを転送するときに最初に送る信号であるフレーム信号の出力を禁止し、汎用メモリインターフェイスが使用するモードでPCIデバイスへのアクセスを行わないように制御することを特徴とする。
【0013】
第9の手段は、第1ないし第8の手段に係るインターフェイス制御装置と、記録媒体に画像形成する画像形成手段とから画像形成装置を構成したことを特徴とする。
【0014】
第10の手段は、第1及び第2のインターフェイスを含む複数のインターフェイスと、PCIバスに接続されたマスタの調停を行うインターフェイス制御方法において、前記第1のインターフェイスをPCIバスインターフェイスから、前記第2のインターフェイスを汎用メモリインターフェイスからそれぞれ構成し、両第1及び第2のインターフェイスの端子し、前記PCIバスインターフェイスが使用するモードと、前記汎用メモリインターフェイスが使用するモードとに応じて前記端子の接続状態を切り替え、前記マスタの調停を行うことを特徴とする。
【0015】
第11の手段は、第10の手段において、前記汎用メモリインターフェイスが使用するモードで前記端子を使用している場合に、PCIバスに接続されたPCIデバイスからリクエスト信号がアサートされた場合、前記汎用メモリのアクセスが完全に終了してから許可信号をアサートすることを特徴とする。
【0016】
第12の手段は、第10の手段において、前記PCIバスインターフェイスが使用するモードで前記端子を使用している場合に、PCIバスに接続された汎用メモリデバイスからリクエスト信号がアサートされた場合、前記PCIバスがアイドル状態になってから許可信号をアサートし、前記汎用メモリデバイスのアクセスを開始することを特徴とする。
【0017】
第13の手段は、第10の手段において、前記PCIバスインターフェイスが使用するモードで前記端子を使用している場合に、PCIバスに接続された汎用メモリデバイスからリクエスト信号がアサートされた場合、PCIバスのアイドル状態であるか否かにかかわらずアサートし、アイドル状態にあるとき、あるいはアイドル状態になったとき前記汎用メモリデバイスのアクセスを開始することを特徴とする。
【0018】
第14の手段は、第10の手段において、汎用メモリインターフェイスが使用するモードで前記端子を使用している場合に、データを転送するときに最初に送る信号であるフレーム信号の出力を禁止し、汎用メモリインターフェイスが使用するモードでPCIデバイスへのアクセスを行わないように制御することを特徴とする。
【0019】
第15の手段は、コンピュータにロードされ、第10ないし第14の手段に係るインターフェイス制御方法を実行するコンピュータプログラムを特徴とする。
【0020】
第16の手段は、第15の手段に係るコンピュータプログラムがコンピュータによって読み出され、実行可能に記録された記録媒体を特徴とする。
【0021】
なお、以下の実施形態において、調停手段はPCIアービタ9に、端子はPICバス3に、PCIバスインターフェイスはCPUインターフェイス5からPCI制御部7、セレクタ10を介してPCIバスに接続される回路に、汎用メモリインターフェイスはCPUインターフェイス5から汎用メモリ制御部8、セレクタ10を介してPCIバスに接続される回路に、PCIデバイスはPICデバイスA,B(4a,4b)に、汎用メモリデバイスはROM5a及びRAM5bにそれぞれ対応する。
【0022】
【発明の実施の形態】
以下、図面を参照し、本発明の実施形態に係るインターフェイス制御装置について説明する。
【0023】
図1は本実施形態に係るインターフェイス制御装置及びその周辺機器の接続例の1つを示す機能ブロック図である。図1において、インターフェイス制御装置1は、CPUインターフェイス(cpuif)6、PCI制御部7、PCIアービタ9、汎用メモリ制御部8及びセレクタ10を備え、CPUインターフェイス6を介してCPU2に、また、セレクタ3を介してPCIバス3に接続されている。CPU2はプログラムを実行する。なお、このプログラムは例えばROM5aに格納されている
前記PCIバス3には、PCIバスインターフェイスを有し、所定の機能を実現するPICデバイスA(4a)、PCIバスインターフェイスを有し、前記デバイスA(4a)とは異なる機能を実現するPCIデバイスB(4b)、プログラムやデータなどが格納されているROM5a、プログラムを実行する際に使用する計算式やデータを記憶するRAM5bが接続されている。
【0024】
前記CPUインターフェイス6は、CPUバス25とのインターフェイス及びCPU2からアクセスされたアドレスをデコードし、PCIデバイスA,B(4a,4b)へアクセスするか、ROM5aやRAM5bにアクセスするかなどを決定する。PCI制御部7はPCIバス3の制御を行う。汎用メモリ制御部8は、ROM5aやRAM5bなどの汎用メモリの制御を行う。PCIアービタ9は、PCIバス3をどのデバイスに使用させるかの調停を行う。セレクタ10は、PCIバス3の端子をPCI制御部7で制御するか汎用メモリ制御部8で制御を行うかの選択を行う。PCIアービタ9には、PCIデバイスA(4a)との信号線21とPCIデバイスB(4b)との信号線22が接続されており、これによりインターフェイス制御装置1はセントラルマスタとして機能する。PCIアービタ9にはまた、PCI制御部7との信号線23と汎用メモリ制御部8との信号線24も接続されている。セレクタ10には、汎用メモリ制御部8からセレクト信号11が入力される。このように構成することにより、PCIインターフェイス用の端子を、PCIバスとして使用したり、汎用メモリとして使用したりすることが可能となる。このようにPCIインターフェイス用の端子(PCIバス3)を、PCIバスとして使用したり、汎用メモリとして使用するので、デバイスの端子数を大幅に減らすことができ、コストを削減することができるとともに、実装面積を小さくすることが可能となる。
【0025】
PCIアービタ9に入出力される信号の詳細を図2に示す。PCIバス3へアクセスを行うPCIデバイスA,B(4a,4b)のようなデバイス、PCI制御部7及び汎用メモリ制御部8のようなモジュールは、全てPCIアービタ9とポイントツーポイントでリクエスト(REQ)信号と許可(GNT)信号が入出力される。すなわち、PCIアービタ9とPCIデバイスA(4a)とを接続する信号線21にはREQ_A及びとGNT_Aの信号が印加され、PCIアービタ9とPCIデバイスB(4b)とを接続する信号線22には、REQ_B及びGNT_Bの信号が印加され、これらの信号線21,22はインターフェイス制御装置1の外部で接続されている。PCIアービタ9とPCI制御部7と接続する信号線23には、REQ_C及びGNT_Cの信号が印加され、信号線23はインターフェイス制御装置1内で接続されている。また、汎用メモリ制御部8もPCIバス3を使用するので、インターフェイス制御装置1の内部で信号線24によりPCIアービタ9との間でREQ_D及びGNT_Dの信号でやりとりを行い、PCIアービタ9に調停されてはじめてPCIバス3上に信号を出力する。調停された場合、汎用メモリ制御部8はBUSYという信号を信号線11を介してセレクタ10に出力し、セレクタ10はこの信号によって、PCI制御部7からの信号か、汎用メモリ制御部8からの信号かを選択する。この場合、インターフェイス制御装置1はPCIバス3のセントラルマスタであり、端子をPCIバスモードで使用する場合と、汎用メモリモードで使用する場合の調停を行うので、ソフトウェアから見た時に、PCI空間とメモリ空間にアクセスするときに排他制御などをする必要がない。
【0026】
図3は、2つのPCIデバイスA,B(4a,4b)の要求が処理されていくタイミングを示すタイミングチャートである。図3において、サイクル2でPCIデバイスA(4a)が要求信号であるREQ_Aを出力する。PCIアービタ9は他の要求がないので、サイクル3で許可信号であるGNT_Aを出力する。と同時にPCIデバイス4b内のデバイスBが要求信号REQ_Bを出力したとすると、サイクル4でデバイスAはフレーム(FRAME)信号と図示しないイニシエータレディ(以下、IRDYと称する)信号が両方ともHレベルのバスアイドル状態であることを確認して、FRAME信号を出力し、ADにアドレスを出力する。サイクル5でPCIアービタ9はREQ_Bに対してGNT_Bを出力し、デバイスBにバスの使用権がBであることを通知する。なお、フレーム(FRAME)信号及びイニシエータレディ(IRDY)信号、及び後述のADは、PCIバス規格の信号で、FRAMEとIRDYでマスタが転送したい転送量を示し、例えば、FRAMEが“H”かつIRDYが“H”の時、バスがアイドル状態ということを示す。また、マスタは転送開始時にFRAMEを“L”(アクティブ側)にし、それと同時にADにアドレス情報を出力する。ADの他にもCMDという信号もあり、同じタイミングでコマンド(リード、ライト)を出力する。これらの信号は、公知の規格上の信号名なので、ここでは詳細には説明しない。
【0027】
一方、サイクル6では図示しないIRDY信号がアサートされていてバスがアイドル状態ではないので、PCIデバイスB4bはFRAME信号を出力しない。サイクル7でバスがアイドル状態となるので、PCIデバイスB4bはFRAME信号を出力し、ADにアドレスを出力する。つまり、一般的なPCIデバイスは、自身にGNTがアサートされても、FRAMEとIRDYでバスがアイドル状態かどうかをチェックしてからアクセス開始する。よってPCIアービタ9は、バスの状態を観測せずに、各デバイスからのREQとGNTの状況だけで調停を行うことができる。
【0028】
次に、汎用メモリモードとしてPCIバス3を使用している後にPCIバスモードとしてPCIバス3を使用する場合を図4及び図5により説明する。図4はその処理のタイミングチャート、図5は図4のタイミングチャートを実施する場合のPCIアービタ周辺の信号の詳細を示す図である。
【0029】
汎用メモリモードでは、接続されているPCIデバイスA,B(4a,4b)が反応してしまうことを避けるため、FRAME信号は使用しない。これによって、汎用デバイスモードの時に、PCIバス3に接続されているPCIデバイスA,B(4a,4b)が応答することを回避することができる。よって、PCIデバイスB(4b)にGNT_B信号をアサートすると、PCIバス3がアイドル状態だと勘違いし、アクセスを開始してしまう。つまりサイクル5でGNT_B信号をアサートすると、サイクル6でFRAME信号を出力し、デバイスBのアクセスを開始してしまう虞があるので、GNT_B信号の出力タイミングを遅らせようにする。その実現方法を示したのが、図5である。この図5から明らかなように、汎用メモリ制御部8から出力されるBUSY信号をPCIアービタ9にも入力させ、GNT_A、GNT_B、GNT_Cの各信号の出力条件に、BUSYが非アクティブではないときを追加するようにする。このように、汎用メモリモードで端子を使用している場合に他のPCIデバイスからリクエスト信号がアサートされた場合、汎用メモリアクセスが完全に終了してから許可信号をアサートすることにより、バスが衝突することを回避することができる。
【0030】
図4とは逆に、PCIバスモードとしてPCIバス3を使用している後に汎用メモリモードとしてPCIバス3を使用する場合を図6及び図7により説明する。図6はその処理のタイミングチャート、図7は図6のタイミングチャートを実施する場合のPCIアービタ周辺の信号の詳細を示す図である。
【0031】
この場合も、汎用メモリROM5a,5bへアクセスをする際に、PCIバス3が実際に使用されているかどうかを判断する必要がある。例えば図6ではサイクル5で汎用メモリアクセスへのGNT_D信号がアサートされているが、次のサイクル6で汎用メモリアクセスを開始するとPCIバス3がコンフリクトする可能性がある。そこで、GNT_D信号がアサートされても、実際に汎用メモリアクセスとしてPCIバス3を使用するのはサイクル7まで遅らせるようにする。その実現方法を示したのが図7である。図7に示すように、汎用メモリ制御部8にPCIバスのアイドル状態を判断するためのFRAME信号とIRDY信号を入力し、GNT_D信号を検出しても、FRAME信号とIRDY信号の双方がHでなければアクセスを開始しないようにする。このように、PCIバスモードで端子を使用している場合に汎用メモリデバイスからのリクエスト信号がアサートされた場合、PCIバス3がアイドル状態になってから許可信号をアサートしアクセスを開始するので、バスが衝突することを回避することができる。
【0032】
次に、PCIバスモードとしてPCIバス3を使用している後に汎用メモリモードとしてPCIバス3を使用する場合の他の例を図8及び図9により説明する。図8はその処理タイミングチャート、図9は図8のタイミングチャートを実施する場合のPCIアービタ周辺の信号の詳細を示す図である。
【0033】
図8と図6との相違は、図6ではサイクル5でGNT_D信号をアサートしているが、図8ではサイクル6でGNT_D信号をアサートしていることである。この方法を実施する例が図9である。この例では、PCIバス3がアイドル状態であることを判断するためのFRAME信号とIRDY信号をPCIアービタ9に入力し、GNT_D信号の出力条件に、FRAME信号とIRDY信号の双方がHであることを加える。これにより、汎用メモリ制御部8は、GNT_D信号のアサートだけをみてアクセスを開始すればいいことになる。したがって、PCIバスモードで端子を使用している場合に汎用メモリデバイスからのリクエスト信号がアサートされた場合、許可信号はPCIバス3がアイドル状態でなくてもアサートし、汎用メモリ制御部8でPCIバス3のアイドル状態を検出してアクセスを開始することができる。
【0034】
このようなインターフェイス制御装置1は、例えば複写機、ファクシミリ、プリンタ、あるいは、これらを複合した複合機(MFP−Multi Function Peripheral)などの画像形成装置に使用され、PCIデバイスとして各種の制御機器、大容量記憶装置、記録媒体駆動装置、画像読み取り装置、後処理装置などの周辺機器などを接続すれば、小型の画像形成システムを構築することができる。なお、画像形成装置としては、例えば電子写真方式のもの、インクジェット方式のもの、写真製版を使用するもの、活字を使用するものなどがあるが、いずれも画像形成装置自体は公知なので、ここでの説明は省略する。
【0035】
なお、前記インターフェイス制御装置1の機能をコンピュータによって実現することも可能であり、その際、前記機能に対応する手順をプログラム化しておき、コンピュータにダウンロードして実行できるように構成することもできる。その際、コンピュータのROMに制御プログラムを格納し、あるいは外部のサーバや記録媒体からプログラムをダウンロードすれば良い。
【0036】
【発明の効果】
以上のように、本発明によれば、各インターフェイスの端子を共用し、インターフェイスのモードに応じて各インターフェイスのPCIバスへの接続状態を切り替えることができるので、並行してアクセス要求があるデバイスに対して動的なモード切り替えが可能になる。
【図面の簡単な説明】
【図1】本発明の実施形態に係るインターフェイス制御装置及びその周辺機器の接続の一例を示すブロック図である。
【図2】図1のPCIアービタ周辺の信号の詳細を示す図である。
【図3】2つのPCIデバイスの要求が処理されていくタイミングを示すタイミングチャートである。
【図4】汎用メモリモードとしてPCIバスを使用している後にPCIバスモードとしてPCIバスを使用する場合の処理タイミングチャートである。
【図5】図4のタイミングチャートを実施する場合のPCIアービタ周辺の信号の詳細を示す図である。
【図6】PCIバスモードとしてPCIバスを使用している後に汎用メモリモードとしてPCIバスを使用する場合の処理タイミングチャートである。
【図7】図6のタイミングチャートを実施する場合のPCIアービタ周辺の信号の詳細を示す図である。
【図8】PCIバスモードとしてPCIバスを使用している後に汎用メモリモードとしてPCIバスを使用する場合の別の実施例をにおける処理タイミングチャートである。
【図9】図8のタイミングチャートを実施する場合のPCIアービタ周辺の信号の詳細を示す図である。
【符号の説明】
1 インターフェイス制御装置
2 CPU
3 PCIバス
4a,4b PCIデバイス
5a ROM
5b RAM
6 CPUインターフェイス(cpuif)
7 PCI制御部
8 汎用メモリ制御部
9 PCIアービタ
10 セレクタ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a control device for a plurality of interfaces including a PCI bus interface and a general-purpose memory interface, an image forming apparatus provided with the interface control device, a control method for the interface, a computer program for realizing the control method, and a computer. The present invention relates to a recording medium storing a program.
[0002]
[Prior art]
With the development of information technology in recent years, various external devices have been proposed. When designing a device that can respond to such various external devices, an increase in the number of terminals on the device side is inevitable because it corresponds to the interface of each external device. For example, a PCI bus interface and a general-purpose memory interface have a bus structure, so that the number of signal lines is large and the number of terminals is naturally increased. However, there is a problem that an increase in the number of terminals leads to an increase in chip size and ultimately an increase in cost.
[0003]
Therefore, the terminals are shared, but if they are simply shared, the time in the PCI bus mode and the time in the general-purpose bus mode are completely divided. That is, it is not possible to dynamically switch between access to the PCI bus and access to the general-purpose memory.
[0004]
[Problems to be solved by the invention]
The present invention has been made in view of such a situation of the related art, and an object thereof is to provide an interface control device capable of dynamically switching an interface mode, an image forming apparatus including the interface control device, and the interface. And a computer program for realizing the control method, and a recording medium storing the computer program.
[0005]
[Means for Solving the Problems]
To achieve the above object, a first means is an interface control device comprising a plurality of interfaces including first and second interfaces, and arbitration means for arbitrating a master connected to a PCI bus. And the arbitration means switches the connection state of the terminal according to the mode used by the interface.
[0006]
A second means is the first means, wherein the first interface is a PCI bus interface, and the second interface is a general-purpose memory interface.
[0007]
A third means is the first or second means, wherein the arbitration means switches the connection state of the terminals according to a mode used by a PCI bus interface and a mode used by a general-purpose memory interface, Arbitration is performed.
[0008]
A fourth means is the third means, wherein the arbitration means is configured to output a request signal from a PCI device connected to a PCI bus when the terminal is used in a mode used by the general-purpose memory interface. In this case, the permission signal is asserted after the access to the general-purpose memory is completely completed.
[0009]
Fifth means is the third means, wherein the arbitrating means asserts a request signal from a general-purpose memory device connected to a PCI bus when the terminal is used in a mode used by the PCI bus interface. In this case, the permission signal is asserted after the PCI bus becomes idle, and the access to the general-purpose memory device is started.
[0010]
A sixth means is the third means, wherein the arbitration means asserts a request signal from a general-purpose memory device connected to a PCI bus when the terminal is used in a mode used by the PCI bus interface. In this case, the assertion is made regardless of whether the PCI bus is in an idle state or not, and access to the general-purpose memory device is started when the PCI bus is in the idle state or when the PCI bus is in the idle state.
[0011]
A seventh means is the fifth or sixth means, wherein the general-purpose memory interface includes a general-purpose memory control circuit for detecting an idle state of the PCI bus.
[0012]
Eighth means is the third means, wherein the arbitration means is a frame signal which is a signal transmitted first when data is transferred when the terminal is used in a mode used by a general-purpose memory interface. The output is inhibited, and control is performed so as not to access the PCI device in the mode used by the general-purpose memory interface.
[0013]
The ninth means is characterized in that the image forming apparatus comprises the interface control device according to the first to eighth means and an image forming means for forming an image on a recording medium.
[0014]
Tenth means is an interface control method for arbitrating a plurality of interfaces including a first and a second interface and a master connected to a PCI bus, wherein the first interface is a PCI bus interface, and the second interface is a second bus. Are respectively composed of general-purpose memory interfaces, the terminals of both the first and second interfaces, and the connection states of the terminals according to the mode used by the PCI bus interface and the mode used by the general-purpose memory interface And performs arbitration of the master.
[0015]
An eleventh means is the tenth means, wherein the request signal is asserted from a PCI device connected to a PCI bus when the terminal is used in a mode used by the general-purpose memory interface. The permission signal is asserted after the memory access is completely completed.
[0016]
In a twelfth aspect, in the tenth aspect, the request signal is asserted from a general-purpose memory device connected to a PCI bus when the terminal is used in a mode used by the PCI bus interface. A permission signal is asserted after the PCI bus enters an idle state, and access to the general-purpose memory device is started.
[0017]
A thirteenth means is the tenth means, wherein when the terminal is used in a mode used by the PCI bus interface, when a request signal is asserted from a general-purpose memory device connected to the PCI bus, Assert regardless of whether the bus is idle or not, and start accessing the general-purpose memory device when the bus is idle or when the bus is idle.
[0018]
Fourteenth means is the tenth means, wherein when the terminal is used in a mode used by a general-purpose memory interface, output of a frame signal which is a signal to be transmitted first when transferring data is prohibited, It is characterized in that control is performed so as not to access the PCI device in the mode used by the general-purpose memory interface.
[0019]
The fifteenth means is characterized by a computer program loaded on a computer and executing the interface control method according to the tenth to fourteenth means.
[0020]
The sixteenth means is characterized by a recording medium in which the computer program according to the fifteenth means is read out by a computer and recorded so as to be executable.
[0021]
In the following embodiments, the arbitration means is connected to the
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an interface control device according to an embodiment of the present invention will be described with reference to the drawings.
[0023]
FIG. 1 is a functional block diagram showing one example of a connection example of the interface control device and its peripheral devices according to the present embodiment. In FIG. 1, an
[0024]
The
[0025]
FIG. 2 shows details of signals input to and output from the
[0026]
FIG. 3 is a timing chart showing the timing at which the requests of the two PCI devices A and B (4a, 4b) are processed. In FIG. 3, in
[0027]
On the other hand, in the
[0028]
Next, a case where the
[0029]
In the general-purpose memory mode, the FRAME signal is not used to prevent the connected PCI devices A and B (4a, 4b) from reacting. This makes it possible to prevent the PCI devices A and B (4a, 4b) connected to the
[0030]
4 and 7, the case where the
[0031]
Also in this case, when accessing the general-purpose memory ROMs 5a and 5b, it is necessary to determine whether the
[0032]
Next, another example of using the
[0033]
The difference between FIG. 8 and FIG. 6 is that the GNT_D signal is asserted in
[0034]
Such an
[0035]
Note that the functions of the
[0036]
【The invention's effect】
As described above, according to the present invention, the terminal of each interface is shared, and the connection state of each interface to the PCI bus can be switched according to the mode of the interface. On the other hand, dynamic mode switching becomes possible.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an example of connection of an interface control device and peripheral devices according to an embodiment of the present invention.
FIG. 2 is a diagram showing details of signals around a PCI arbiter in FIG. 1;
FIG. 3 is a timing chart showing timings at which requests of two PCI devices are processed.
FIG. 4 is a processing timing chart in a case where a PCI bus is used as a PCI bus mode after a PCI bus is used as a general-purpose memory mode.
FIG. 5 is a diagram showing details of signals around a PCI arbiter when the timing chart of FIG. 4 is implemented.
FIG. 6 is a processing timing chart in a case where a PCI bus is used as a general-purpose memory mode after a PCI bus is used as a PCI bus mode.
7 is a diagram illustrating details of signals around a PCI arbiter when the timing chart of FIG. 6 is implemented.
FIG. 8 is a processing timing chart in another embodiment in a case where a PCI bus is used as a general-purpose memory mode after a PCI bus is used as a PCI bus mode.
9 is a diagram showing details of signals around the PCI arbiter when the timing chart of FIG. 8 is implemented.
[Explanation of symbols]
1
3
5b RAM
6 CPU interface (cpuif)
7
Claims (16)
前記複数のインターフェイスの端子を共用し、前記調停手段が前記インターフェイスが使用するモードに応じて前記端子の接続状態を切り替えることを特徴とするインターフェイス制御装置。An interface control device comprising: a plurality of interfaces including first and second interfaces; and arbitration means for arbitrating a master connected to a PCI bus.
An interface control device, wherein terminals of the plurality of interfaces are shared, and the arbitration unit switches the connection state of the terminals according to a mode used by the interface.
記録媒体に画像形成する画像形成手段と、
を備えていることを特徴とする画像形成装置。An interface control device according to any one of claims 1 to 8,
Image forming means for forming an image on a recording medium;
An image forming apparatus comprising:
前記第1のインターフェイスをPCIバスインターフェイスから、前記第2のインターフェイスを汎用メモリインターフェイスからそれぞれ構成し、
両第1及び第2のインターフェイスを含む複数のインターフェイスの端子が共用され、
前記PCIバスインターフェイスが使用するモードと、前記汎用メモリインターフェイスが使用するモードとに応じて前記端子の接続状態を切り替え、
前記マスタの調停を行うことを特徴とするインターフェイス制御方法。An interface control method for arbitrating a plurality of interfaces including a first and a second interface and a master connected to a PCI bus,
The first interface comprises a PCI bus interface, and the second interface comprises a general-purpose memory interface;
Terminals of a plurality of interfaces including both the first and second interfaces are shared,
Switching a connection state of the terminal according to a mode used by the PCI bus interface and a mode used by the general-purpose memory interface;
An interface control method comprising arbitrating the master.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003133416A JP2004334780A (en) | 2003-05-12 | 2003-05-12 | Interface control device, image formation apparatus, interface control method, computer program and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003133416A JP2004334780A (en) | 2003-05-12 | 2003-05-12 | Interface control device, image formation apparatus, interface control method, computer program and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004334780A true JP2004334780A (en) | 2004-11-25 |
Family
ID=33507963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003133416A Pending JP2004334780A (en) | 2003-05-12 | 2003-05-12 | Interface control device, image formation apparatus, interface control method, computer program and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004334780A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8352655B2 (en) | 2007-01-15 | 2013-01-08 | Nec Corporation | Packet communication device which selects an appropriate operation mode |
-
2003
- 2003-05-12 JP JP2003133416A patent/JP2004334780A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8352655B2 (en) | 2007-01-15 | 2013-01-08 | Nec Corporation | Packet communication device which selects an appropriate operation mode |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4408263B2 (en) | Data transfer system and data transfer method | |
US20050210221A1 (en) | Microcomputer and microcomputer system | |
US7340544B2 (en) | Method of using bus and bus interface | |
US6286070B1 (en) | Shared memory access device and method | |
US6782433B2 (en) | Data transfer apparatus | |
US10630865B2 (en) | Image forming apparatus incorporating control circuitry for executing control method to arbitrate access between signals referring priority settings | |
US10162549B2 (en) | Integrated circuit chip and method therefor | |
US20060047866A1 (en) | Computer system having direct memory access controller | |
JP2004334780A (en) | Interface control device, image formation apparatus, interface control method, computer program and recording medium | |
US7080176B2 (en) | Bus control device and information processing system | |
JP4901538B2 (en) | Data transfer method, data transfer device, electronic device, and image forming apparatus | |
JP4151362B2 (en) | Bus arbitration method, data transfer device, and bus arbitration method | |
JP5623150B2 (en) | Electronic device and control method thereof | |
JP2006277363A (en) | Information transfer system, and image forming device | |
JP2007108858A (en) | Pin sharing device and pin sharing method | |
JP2004078396A (en) | Memory device | |
JP2000099391A (en) | Printer, printer controlling method and storage medium | |
US5799160A (en) | Circuit and method for controlling bus arbitration | |
JP2001167049A (en) | Bus arbitrating device | |
US7117281B1 (en) | Circuit, system, and method for data transfer control for enhancing data bus utilization | |
JPH11316736A (en) | Processor and data processor using the same | |
JP4414689B2 (en) | Interface control apparatus, image forming apparatus, computer program, and recording medium | |
JP2005115421A (en) | Memory access arbiter and memory access arbitration method | |
JP2019091175A (en) | Information processing apparatus, control method of information processing apparatus, and program | |
JP2004151877A (en) | Direct memory access controller, memory arbiter, and memory controller therewith |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050707 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080331 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080422 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080620 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080722 |