JP2003099396A - Network interfacing circuit - Google Patents

Network interfacing circuit

Info

Publication number
JP2003099396A
JP2003099396A JP2001290164A JP2001290164A JP2003099396A JP 2003099396 A JP2003099396 A JP 2003099396A JP 2001290164 A JP2001290164 A JP 2001290164A JP 2001290164 A JP2001290164 A JP 2001290164A JP 2003099396 A JP2003099396 A JP 2003099396A
Authority
JP
Japan
Prior art keywords
reception
network interface
asic
buffer
interface circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001290164A
Other languages
Japanese (ja)
Other versions
JP3908928B2 (en
Inventor
Toshio Takahashi
敏男 高橋
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 JP2001290164A priority Critical patent/JP3908928B2/en
Publication of JP2003099396A publication Critical patent/JP2003099396A/en
Application granted granted Critical
Publication of JP3908928B2 publication Critical patent/JP3908928B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)
  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a network interface circuit by ASIC, in which the rise in cost is prevented by managing frame data and simplifying the circuit constitution. SOLUTION: In the network interface circuit loaded to an imaging apparatus, in which the network interface is integrated and ASIC designed to use a plurality of application functions with a system memory 9 as a shared resource, the ASIC is provided with MAC 1 for carrying out protocol control of a network 16, reception buffers 3 to 5 temporarily storing the frame data and a DMA controller part 6 controlling the reception buffers 3 to 5. In this case, the frame data stored to the reception buffers 3 to 5 are written into the system memory 9 via a DMA controller 6.

Description

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

【0001】[0001]

【発明の属する分野】本発明は、ネットワークインター
フェイスを内蔵している複写機やプリンタ、またはそれ
らの機能を有した複合機などの画像形成装置に搭載され
るネットワークインターフェイス回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network interface circuit installed in an image forming apparatus such as a copying machine or a printer having a built-in network interface, or a multi-function peripheral having those functions.

【0002】[0002]

【従来の技術】図3に、従来における一般的なASIC
(Application Specific Int
egrated Circuit)によるネットワーク
インターフェイス回路のシステム構成例のブロック図を
示す。ネットワークコントローラ23は、DMA(Di
rect Memory Access)インターフェ
イスあるいはPCI(Peripheral Comp
onent Interface)バスインターフェイ
スを有し、システムバス20に接続される。送受信バッ
ファ24は、専用のインターフェイスを介して汎用のメ
モリデバイス(FIFOメモリなど)に接続されている
かデバイスに内蔵されている。ネットワーク26側と
は、PHY25およびトランスなどを介して接続され
る。この送受信バッファ24はネットワーク機能専用で
ある。また、CPU21は装置全体を制御するものであ
る。
2. Description of the Related Art FIG. 3 shows a conventional general ASIC.
(Application Specific Int
FIG. 3 is a block diagram of a system configuration example of a network interface circuit based on an Evolved Circuit. The network controller 23 uses the DMA (Di
Rect Memory Access) interface or PCI (Peripheral Comp)
One interface) bus interface and is connected to the system bus 20. The transmission / reception buffer 24 is connected to a general-purpose memory device (FIFO memory or the like) via a dedicated interface or built in the device. The network 26 side is connected via the PHY 25 and a transformer. The transmission / reception buffer 24 is dedicated to the network function. The CPU 21 controls the entire device.

【0003】ネットワーク26から送られるデータフレ
ームは、アドレスフィルタを通り、自局宛のフレームデ
ータをいったん送受信バッファ24に格納する。それと
同時に内蔵のDMAコントローラがバス使用権を要求
し、許可されるとシステムメモリ22に対し受信データ
を転送する。
A data frame sent from the network 26 passes through an address filter and temporarily stores the frame data addressed to itself in the transmission / reception buffer 24. At the same time, the built-in DMA controller requests the right to use the bus, and when the right is granted, the received data is transferred to the system memory 22.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記に
示されるような従来のASICによるネットワークイン
ターフェイスにあっては、以下のような問題点があっ
た。イーサネット(登録商標)のようなネットワークで
は、データの受信はフレーム単位で行なわれるため、フ
レームの途中で受信を停止させることはできない。何ら
かの理由により受信動作を停止した場合にはそのフレー
ムデータは喪失することになり、再度、そのフレームデ
ータを送信元に要求する必要がある。
However, the conventional ASIC network interface as described above has the following problems. In a network such as Ethernet (registered trademark), data is received on a frame-by-frame basis, and therefore reception cannot be stopped in the middle of a frame. If the receiving operation is stopped for some reason, the frame data will be lost, and it is necessary to request the frame data again to the transmission source.

【0005】このため、受信バッファに用いられるFI
FOメモリの容量は、1K〜2Kbyteあるいはそれ
以上のサイズが用いられる。さらに、そのFIFOメモ
リの管理はフレーム単位で行なわれ、メモリに格納され
るフレーム数だけアドレスなどの管理を行なう必要があ
るため、最大フレーム数を想定した回路構成となる。
Therefore, the FI used for the receive buffer
As the capacity of the FO memory, a size of 1K to 2Kbyte or more is used. Further, the FIFO memory is managed on a frame-by-frame basis, and it is necessary to manage addresses and the like by the number of frames stored in the memory, so that the circuit configuration assumes the maximum number of frames.

【0006】すなわち、メモリに複数のフレームを格納
する場合、フレーム数だけアドレスポインタなどの情報
を管理する必要がある。しかし、フレーム数が一定でな
いため、最大数を想定した回路を構成しなければならな
い。すなわち、複雑な回路となるため、ASICの開発
期間が長期化する要因になり、さらに、大規模な受信バ
ッファを組み込むと、ASICのコストアップを招来さ
せてしまうことになる。
That is, when a plurality of frames are stored in the memory, it is necessary to manage information such as address pointers by the number of frames. However, since the number of frames is not constant, it is necessary to construct a circuit assuming the maximum number. That is, since it becomes a complicated circuit, it becomes a factor of prolonging the development period of the ASIC, and further, if a large-scale reception buffer is incorporated, the cost of the ASIC is increased.

【0007】また、最近ではASICベンダーが提供す
るMACコアを利用し、複数の機能をもつASICの開
発が可能になってきたが、送受信バッファはASIC外
部に接続されることが多い。これは大規模なFIFOメ
モリを内蔵しにくいためであるが、同時に煩雑なメモリ
管理とASICのI/Oピンの増大といった物理的な問
題がある。
[0007] Recently, it has become possible to develop an ASIC having a plurality of functions by using a MAC core provided by an ASIC vendor, but the transmission / reception buffer is often connected to the outside of the ASIC. This is because it is difficult to incorporate a large-scale FIFO memory, but at the same time, there are physical problems such as complicated memory management and increase in I / O pins of the ASIC.

【0008】また、画像形成装置のシステムメモリを他
の機能と共有させる場合、ASIC内部に相応の送受信
バッファを設ける必要がある。さもないと、他の機能が
システムメモリを頻繁に使用した際に、受信データのオ
ーバフローや送信データのアンダーフローといった転送
エラーが発生しやすくなる。しかし、前述したようにA
SIC外部に設けることはI/Oピンが増大し、他方、
ASIC内部に設けることはゲートサイズが増大するこ
とになるため、製造コストが高くなるという問題点があ
った。
When the system memory of the image forming apparatus is shared with other functions, it is necessary to provide a corresponding transmission / reception buffer inside the ASIC. Otherwise, when other functions frequently use the system memory, transfer errors such as overflow of received data and underflow of transmitted data are likely to occur. However, as mentioned above, A
Providing outside the SIC increases I / O pins, while
Providing it inside the ASIC increases the gate size, resulting in a problem of increased manufacturing cost.

【0009】本発明は、上記に鑑みてなされたものであ
って、フレームデータの管理および回路構成を簡素化
し、コストアップを回避したASICによるネットワー
クインターフェイス回路を提供することを目的とする。
The present invention has been made in view of the above, and an object of the present invention is to provide a network interface circuit using ASIC, which simplifies the management of frame data and the circuit configuration, and avoids an increase in cost.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1にかかるネットワークインターフェイス
回路にあっては、ネットワークインターフェイスを内蔵
する画像形成装置に搭載され、複数のアプリケーション
機能をシステムメモリを共有資源として利用するように
設計されたASICを用いたネットワークインターフェ
イス回路であって、前記ASICは、前記ネットワーク
のプロトコル制御を行なうMAC部と、フレームデータ
を一時的に格納する受信ブロックと、前記受信ブロック
を制御するDMAコントローラと、を備え、前記DMA
コントローラを介して前記システムメモリに前記受信バ
ッファに格納したフレームデータを書き込むものであ
る。
In order to achieve the above object, a network interface circuit according to a first aspect of the present invention is mounted in an image forming apparatus having a built-in network interface and has a plurality of application functions as a system memory. A network interface circuit using an ASIC designed to utilize as a shared resource, the ASIC comprising: a MAC unit for performing protocol control of the network; a receiving block for temporarily storing frame data; A DMA controller for controlling a reception block,
The frame data stored in the reception buffer is written in the system memory via the controller.

【0011】この発明によれば、DMAコントローラを
介してシステムメモリに受信バッファに格納したフレー
ムデータを書き込むようにすることにより、メモリブロ
ックに1フレームのみを格納することが可能になり、フ
レームの管理および回路構成が簡素化される。
According to the present invention, by writing the frame data stored in the reception buffer in the system memory via the DMA controller, it becomes possible to store only one frame in the memory block, and the frame management is performed. And the circuit configuration is simplified.

【0012】また、請求項2にかかるネットワークイン
ターフェイス回路にあっては、さらに、前記受信ブロッ
クは、複数の小容量の受信バッファで構成され、前記受
信バッファを制御する受信バッファ制御手段を備えたも
のである。
Further, in the network interface circuit according to a second aspect of the present invention, the reception block is further composed of a plurality of small-capacity reception buffers, and is provided with reception buffer control means for controlling the reception buffers. Is.

【0013】この発明によれば、メモリをブロック化し
た小規模のメモリブロックの集合体とし、各メモリブロ
ックには1フレームしか格納されないようにすることに
より、受信バッファのASICへの内蔵を容易に行なう
ことが可能になる。
According to the present invention, the memory is made into a block of small-scale memory blocks, and each memory block stores only one frame, so that the reception buffer can be easily incorporated in the ASIC. It becomes possible to do.

【0014】また、請求項3にかかるネットワークイン
ターフェイス回路にあっては、前記受信ブロックは3つ
の受信バッファで構成され、フレームデータを受信する
場合、2つの受信バッファを使用し、他の1つの受信バ
ッファを常時待機状態に制御するものである。
In the network interface circuit according to a third aspect of the present invention, the receiving block is composed of three receiving buffers, and when receiving frame data, two receiving buffers are used and another receiving buffer is used. The buffer is always controlled in the standby state.

【0015】この発明によれば、受信バッファを、2つ
のバッファブロックで構成した場合、いずれのバッファ
ブロックも使用することができないときが生じ、受信オ
ーバランが発生しやすくなるので、3つのバッファブロ
ックの構成および待機バッファ設けることにより、待機
バッファに新規フレームを割り当てることが可能にな
る。
According to the present invention, when the receiving buffer is composed of two buffer blocks, it may happen that neither of the buffer blocks can be used and the receiving overrun easily occurs. The configuration and provision of a standby buffer allows new frames to be allocated to the standby buffer.

【0016】[0016]

【発明の実施の形態】以下、本発明にかかるネットワー
クインターフェイス回路の好適な実施の形態について添
付図面を参照し、詳細に説明する。なお、本発明はこの
実施の形態に限定されるものではない。
BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of a network interface circuit according to the present invention will be described in detail below with reference to the accompanying drawings. The present invention is not limited to this embodiment.

【0017】本発明は、デジタル複写機やプリンタ、ま
たはコピー・プリンタ・ファクシミリなどの機能を実現
する複合機など各種の画像形成装置に内蔵されるネット
ワークインターフェイスを実現するものとして、画像処
理や画像出力、データ通信など複数のアプリケーション
機能を有し、それぞれのアプリケーション機能がメモ
リ、ハードディクスなどを共有資源として利用可能に設
計されたASICを搭載している。以下、その具体的な
構成および動作について記述する。
The present invention realizes a network interface incorporated in various image forming apparatuses such as a digital copying machine, a printer, or a multi-functional peripheral for realizing functions such as copying, printing, and facsimile, and image processing and image output. , Has a plurality of application functions such as data communication, and each application function is equipped with an ASIC designed to be usable as a shared resource such as a memory and a hard disk. The specific configuration and operation will be described below.

【0018】図1は、本発明の実施の形態にかかるAS
IC(ネットワークインターフェイス回路)の構成例を
示すブロック図である。なお、この実施の形態における
ネットワークは、100Mbpsあるいは100Mbp
sのイーサネット(Ethernet)に特定される。
FIG. 1 shows an AS according to an embodiment of the present invention.
It is a block diagram showing an example of composition of IC (network interface circuit). The network in this embodiment is 100 Mbps or 100 Mbps.
s Ethernet.

【0019】このASICは、ネットワークのプロトコ
ル制御を実行するMAC(Media Access
Control:媒体アクセス制御)部1と、MAC1
につながる受信バッファコントロール部2と、受信バッ
ファコントロール部2に接続される3つの受信バッファ
3〜5と、受信バッファコントロール部2に接続される
DMAコントロール部6と、を備えている。受信バッフ
ァ3〜5は、たとえば小容量のFIFO(fist―i
n fist−out:先入れ先出しのバッファ回路)
メモリで構成されている。
This ASIC is a MAC (Media Access) that executes network protocol control.
Control: medium access control unit 1 and MAC1
The receiving buffer control unit 2 connected to the receiving buffer control unit 3, the three receiving buffers 3 to 5 connected to the receiving buffer control unit 2, and the DMA control unit 6 connected to the receiving buffer control unit 2. The reception buffers 3 to 5 are, for example, small capacity FIFO (fist-i).
n first-out: first-in first-out buffer circuit)
It is composed of memory.

【0020】なお、MACとは、LANに必要な伝送制
御技術で、構内ケーブルと複数ノードが円滑に共同利用
するためのアクセス制御を行なうものである。すなわ
ち、伝送媒体の種類に依存しないリンクレベル通信機能
を実現する。送信要求および物理層が受信したシリアル
データに対し、フレームの組み立て/分解、CSMA/
CDアクセス制御などを行なう。
The MAC is a transmission control technique required for a LAN and performs access control for smooth joint use of a local cable and a plurality of nodes. That is, a link level communication function that does not depend on the type of transmission medium is realized. Frame assembly / disassembly, CSMA / for the transmission request and serial data received by the physical layer
Performs CD access control and the like.

【0021】DMAコントロール部6は、DMAコント
ロール部11、12との調停を行なうバスアービタ7に
接続され、間接的にメモリコントロール部8を介してシ
ステムメモリ9につながれている。
The DMA control unit 6 is connected to the bus arbiter 7 that arbitrates between the DMA control units 11 and 12, and is indirectly connected to the system memory 9 via the memory control unit 8.

【0022】受信バッファコントロール部2は、受信バ
ッファ3〜5のデータ管理と共に、MAC1からのデー
タ受信とDMAコントロール部6へのデータ送出も制御
している。
The reception buffer control section 2 controls the data management of the reception buffers 3 to 5, and also controls the data reception from the MAC 1 and the data transmission to the DMA control section 6.

【0023】このASICは、装置全体を制御するCP
U12に接続され、さらに汎用バスであるPCI(Pe
ripheral Component Interc
onnect)バス13、ローカルバス14に接続され
ている。さらに、このASICは、PHY(physi
cal layer protool:物理層プロトコ
ル)15などの副層を介してネットワーク16につなが
れている。
This ASIC is a CP that controls the entire device.
PCI (Pe) that is connected to U12 and is a general-purpose bus
ripheral Component Interc
connected) bus 13 and local bus 14. Furthermore, this ASIC is based on PHY (physi
It is connected to the network 16 via a sublayer such as a cal layer protocol (physical layer protocol) 15.

【0024】受信バッファ3〜5のサイズは、ASIC
の動作周波数やバスの優先順位などにより調整を行なう
必要があるが、DMA転送速度が受信速度に対して十分
に速いならば、DMAのバースト転送サイズ、たとえば
32バイト(3ブロック合計でも96バイト)としても
支障はない。
The size of the reception buffers 3 to 5 is ASIC.
However, if the DMA transfer speed is sufficiently higher than the reception speed, the burst transfer size of DMA, for example, 32 bytes (total of 3 blocks is 96 bytes). However, there is no problem.

【0025】ところで、画像処理機能などを内蔵する多
機能ASICでは内部バスが優先的に使用できない場合
が多い。しかし、バスの獲得間隔の最大値から受信バッ
ファサイズを算出することにより容易に構成を決定する
ことができるため、あらゆる構成のASICに対して対
応することが可能になる。
In many cases, the internal bus cannot be used preferentially in a multi-function ASIC having a built-in image processing function. However, since the configuration can be easily determined by calculating the reception buffer size from the maximum value of the bus acquisition interval, it is possible to deal with ASICs of any configuration.

【0026】つぎに、本発明にかかる受信バッファの最
適化の例について図2を参照しながら説明する。ここで
は、初期状態において、すべての受信ブロック(図1に
おける受信バッファ3〜5)は空き状態にある。なお、
図2では、図1における受信バッファ3〜5を、説明の
便宜上、それぞれ受信バッファA,B,Cと記述する。
この状態でフレームが受信された場合は、受信バッファ
A,B,Cは優先順位で格納されるようになっている。
Next, an example of optimization of the receiving buffer according to the present invention will be described with reference to FIG. Here, in the initial state, all reception blocks (reception buffers 3 to 5 in FIG. 1) are in an empty state. In addition,
In FIG. 2, the receiving buffers 3 to 5 in FIG. 1 are described as receiving buffers A, B, and C for convenience of explanation.
When a frame is received in this state, the receiving buffers A, B and C are stored in the order of priority.

【0027】いま、フレーム1が受信されたとする。ま
ず、[状態1]では、フレーム1は、受信バッファAに格
納される。つづいて、[状態2]では、受信バッファAが
満杯になると、フレーム1は受信バッファBに引き続き
格納される。これと同時に、DMAコントローラ6は、
受信バッファAからデータを読み出し、システムメモリ
9へ転送する。
It is now assumed that frame 1 is received. First, in the [state 1], the frame 1 is stored in the reception buffer A. Subsequently, in [state 2], when the reception buffer A becomes full, the frame 1 is continuously stored in the reception buffer B. At the same time, the DMA controller 6
The data is read from the reception buffer A and transferred to the system memory 9.

【0028】[状態3]では、ネットワーク16が100
Mbpsのイーサネットである場合、受信バッファへの
データ格納速度は、最高で12.5Mbyte/sec
である。ASIC内部のデータ転送速度をこれ以上の速
度に設定しておくことにより、受信バッファBが満杯に
なる前に受信バッファAが空くことになる。
In [state 3], the network 16 has 100
In case of Mbps Ethernet, the maximum data storage speed in the receiving buffer is 12.5 Mbyte / sec.
Is. By setting the data transfer rate inside the ASIC to a higher rate, the receiving buffer A becomes empty before the receiving buffer B becomes full.

【0029】[状態4]では、受信バッファBが満杯にな
ると、フレーム1は再び受信バッファAに格納される。
同時に、受信バッファBからシステムメモリ9へのデー
タ転送が開始される。[状態1〜4]において、受信バッ
ファCは常に新規フレームを待ちつづけ、受信動作自体
は常に2つの受信バッファで行なわれる。
In [state 4], when the receiving buffer B becomes full, the frame 1 is stored in the receiving buffer A again.
At the same time, data transfer from the reception buffer B to the system memory 9 is started. In [states 1 to 4], the reception buffer C always waits for a new frame, and the reception operation itself is always performed by the two reception buffers.

【0030】[状態5]では、フレーム1の受信が終了し
つぎのフレーム(フレーム2)が送られてきた場合、受
信バッファCに格納される。これは、受信バッファA,
Bの状態によらない。前のフレーム受信で受信バッファ
A,Cを使用したならば、受信バッファBに新しいフレ
ームが格納されることになる。
In [state 5], when the reception of the frame 1 is completed and the next frame (frame 2) is sent, it is stored in the reception buffer C. This is the receive buffer A,
It does not depend on the state of B. If the reception buffers A and C were used in the reception of the previous frame, a new frame will be stored in the reception buffer B.

【0031】[状態6]では、受信バッファCが満杯にな
る前に、受信バッファAまたは受信バッファBのいずれ
かが空く。受信バッファCが満杯になった時点で、空い
ている受信バッファを自動的に選択する。なお、図1の
場合には、フレーム2は受信バッファC,Bにより受信
される。
In [state 6], either the reception buffer A or the reception buffer B becomes empty before the reception buffer C becomes full. When the reception buffer C becomes full, an empty reception buffer is automatically selected. In the case of FIG. 1, the frame 2 is received by the reception buffers C and B.

【0032】ところで、受信バッファ3〜5を、2つの
バッファブロックで構成した場合、上記[状態4]〜[状
態5]に移る際にいずれのバッファブロックも使用する
ことができないときがあり、受信オーバランが発生しや
すくなるが、上記図1のように3つのバッファブロック
の構成とすることにより、容易にこの不具合の発生を回
避することができる。
By the way, when the receiving buffers 3 to 5 are composed of two buffer blocks, it may be impossible to use any of the buffer blocks when shifting to the above [state 4] to [state 5]. Although overrun is likely to occur, the configuration of three buffer blocks as shown in FIG. 1 makes it possible to easily avoid the occurrence of this problem.

【0033】以上のように、数十バイト程度の受信バッ
ファ3〜5でなるメモリブロックと、これを管理する制
御ブロック、ネットワークのプロトコル制御ブロック、
およびDMA制御ブロックを構成させ、DMA制御ブロ
ックは、ASIC内部のアービタ7を介し、メモリ制御
ブロックに接続する。また、DMA制御ブロックは、3
2バイト程度のものを3ブロック用意すればよく、受信
バッファのASICへの内蔵を容易に行なうことができ
る。
As described above, the memory block including the receiving buffers 3 to 5 of about several tens of bytes, the control block for managing the memory block, the protocol control block of the network,
And a DMA control block, which is connected to the memory control block via an arbiter 7 inside the ASIC. Also, the DMA control block has 3
It suffices to prepare 3 blocks of about 2 bytes, and the reception buffer can be easily incorporated in the ASIC.

【0034】このように、本発明では、フレーム単位に
メモリを管理するのではなく、メモリをブロック化した
小規模のメモリブロックの集合体(受信バッファ3〜
5)とし、各メモリブロックには1フレームしか格納さ
れないようにするものである。これにより、フレームの
管理を容易にし、回路構成のシンプル化が実現する。ま
た、安定したデータ受信を確保するためには、メモリブ
ロックは32〜128バイト程度のものを3ブロックも
用意すればよく、受信バッファのASICへの内蔵を容
易に行なうことが可能になる。
As described above, according to the present invention, the memory is not managed on a frame-by-frame basis, but a collection of small memory blocks (reception buffers 3 to
5), so that only one frame is stored in each memory block. This facilitates frame management and simplifies the circuit configuration. Further, in order to ensure stable data reception, it is sufficient to prepare three blocks each having a memory block of about 32 to 128 bytes, and it becomes possible to easily incorporate the reception buffer into the ASIC.

【0035】[0035]

【発明の効果】以上説明したように、本発明にかかるネ
ットワークインターフェイス回路(請求項1)によれ
ば、DMAコントローラを介してシステムメモリに受信
バッファに格納したフレームデータを書き込むように構
成したので、フレームの管理を簡単に行なうことができ
ると共に、ASICのコストアップを回避することがで
きる。
As described above, according to the network interface circuit (claim 1) of the present invention, the frame data stored in the receiving buffer is written in the system memory via the DMA controller. It is possible to easily manage the frame and avoid the cost increase of the ASIC.

【0036】また、本発明にかかるネットワークインタ
ーフェイス回路(請求項2)によれば、メモリをブロッ
ク化した小規模のメモリブロックの集合体とし、各メモ
リブロックには1フレームしか格納されないようにする
ため、受信バッファのASICへの内蔵を容易に行なう
ことが実現すると共に、フレームの管理を容易に行なう
ことができ、かつその製造コストが低減される。
Further, according to the network interface circuit of the present invention (claim 2), the memory is made into an aggregate of small memory blocks and each memory block stores only one frame. , The reception buffer can be easily incorporated in the ASIC, the frame can be easily managed, and the manufacturing cost thereof can be reduced.

【0037】また、本発明にかかるネットワークインタ
ーフェイス回路(請求項3)によれば、受信バッファ
を、2つのバッファブロックで構成した場合、いずれの
バッファブロックも使用することができないときが生
じ、受信オーバランが発生しやすくなるので、3つのバ
ッファブロックの構成および待機バッファを設けること
により、待機バッファに新規フレームを割り当てること
が可能になるため、安定したフレームデータの受信制御
が実現する。
Further, according to the network interface circuit of the present invention (claim 3), when the receiving buffer is composed of two buffer blocks, it may happen that neither buffer block can be used, and the receiving overrun occurs. Therefore, a new frame can be assigned to the standby buffer by providing three buffer block configurations and a standby buffer, so that stable frame data reception control is realized.

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

【図1】本発明の実施の形態にかかるASIC(ネット
ワークインターフェイス回路)のシステム構成例を示す
ブロック図である。
FIG. 1 is a block diagram showing a system configuration example of an ASIC (network interface circuit) according to an embodiment of the present invention.

【図2】図1における受信バッファブロックの受信およ
び転送動作例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of reception and transfer operations of a reception buffer block in FIG.

【図3】従来における一般的なネットワークインターフ
ェイス回路のシステム構成例を示すブロック図である。
FIG. 3 is a block diagram showing a system configuration example of a conventional general network interface circuit.

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

1 MAC 2 受信バッファコントロール部 3〜5 受信バッファ 6 DMAコントロール部 7 バスアービタ 8 メモリコントロール部 9 システムメモリ 16 ネットワーク 1 MAC 2 Receive buffer control section 3-5 Receive buffer 6 DMA control section 7 bus arbiter 8 Memory control section 9 System memory 16 network

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークインターフェイスを内蔵す
る画像形成装置に搭載され、複数のアプリケーション機
能をシステムメモリを共有資源として利用するように設
計されたASICを用いたネットワークインターフェイ
ス回路であって、 前記ASICは、 前記ネットワークのプロトコル制御を行なうMAC部
と、 フレームデータを一時的に格納する受信ブロックと、 前記受信ブロックを制御するDMAコントローラと、 を備え、 前記DMAコントローラを介して前記システムメモリに
前記受信ブロックに格納されたフレームデータを書き込
むことを特徴とするネットワークインターフェイス回
路。
1. A network interface circuit using an ASIC that is mounted on an image forming apparatus having a built-in network interface and is designed to use a plurality of application functions as a shared resource of a system memory, wherein the ASIC is A MAC unit that performs protocol control of the network, a reception block that temporarily stores frame data, and a DMA controller that controls the reception block are provided, and the reception block is stored in the system memory via the DMA controller. A network interface circuit characterized by writing stored frame data.
【請求項2】 さらに、 前記受信ブロックは、複数の小容量の受信バッファで構
成され、 前記受信バッファを制御する受信バッファ制御手段を備
えたことを特徴とする請求項1に記載のネットワークイ
ンターフェイス回路。
2. The network interface circuit according to claim 1, further comprising: a reception buffer control unit configured to control the reception buffer, wherein the reception block includes a plurality of small-capacity reception buffers. .
【請求項3】 前記受信ブロックは3つの受信バッファ
で構成され、フレームデータを受信する場合、2つの受
信バッファを使用し、他の1つの受信バッファを常時待
機状態に制御することを特徴とする請求項1または2に
記載のネットワークインターフェイス回路。
3. The reception block is composed of three reception buffers, and when receiving frame data, two reception buffers are used and another one reception buffer is controlled to be always in a standby state. The network interface circuit according to claim 1.
JP2001290164A 2001-09-21 2001-09-21 Network interface circuit Expired - Fee Related JP3908928B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001290164A JP3908928B2 (en) 2001-09-21 2001-09-21 Network interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001290164A JP3908928B2 (en) 2001-09-21 2001-09-21 Network interface circuit

Publications (2)

Publication Number Publication Date
JP2003099396A true JP2003099396A (en) 2003-04-04
JP3908928B2 JP3908928B2 (en) 2007-04-25

Family

ID=19112538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001290164A Expired - Fee Related JP3908928B2 (en) 2001-09-21 2001-09-21 Network interface circuit

Country Status (1)

Country Link
JP (1) JP3908928B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008013209A1 (en) * 2006-07-28 2008-01-31 Nec Corporation Cpu connection circuit, data processing device, operation device, and mobile communication terminal and data transfer method using them
US7397816B2 (en) 2004-04-06 2008-07-08 Oki Electric Industry Co., Ltd. Relay device
JP2012160148A (en) * 2011-02-03 2012-08-23 Rohm Co Ltd System lsi

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7397816B2 (en) 2004-04-06 2008-07-08 Oki Electric Industry Co., Ltd. Relay device
WO2008013209A1 (en) * 2006-07-28 2008-01-31 Nec Corporation Cpu connection circuit, data processing device, operation device, and mobile communication terminal and data transfer method using them
JPWO2008013209A1 (en) * 2006-07-28 2009-12-17 日本電気株式会社 CPU connection circuit, data processing device, arithmetic device, portable communication terminal using these, and data transfer method
US8355326B2 (en) 2006-07-28 2013-01-15 Nec Corporation CPU connection circuit, data processing apparatus, arithmetic processing device, portable communication terminal using these modules and data transfer method
JP5168144B2 (en) * 2006-07-28 2013-03-21 日本電気株式会社 CPU connection circuit, data processing device, arithmetic device, portable communication terminal using these, and data transfer method
JP2012160148A (en) * 2011-02-03 2012-08-23 Rohm Co Ltd System lsi

Also Published As

Publication number Publication date
JP3908928B2 (en) 2007-04-25

Similar Documents

Publication Publication Date Title
US7568077B2 (en) Information processing apparatus and file controller
JP3448067B2 (en) Network controller for network adapter
US6145016A (en) System for transferring frame data by transferring the descriptor index data to identify a specified amount of data to be transferred stored in the host computer
US6442137B1 (en) Apparatus and method in a network switch for swapping memory access slots between gigabit port and expansion port
US8327047B2 (en) Buffer manager and methods for managing memory
JP2009540681A (en) Apparatus and method for data communication flow control
EP2309396A2 (en) Hardware assisted inter-processor communication
JP2004348246A (en) Data transfer controller, electronic equipment, and data transfer control method
EP0840202B1 (en) Dynamic peripheral control of I/O buffers in peripherals with modular I/O
JPH11507749A (en) Split buffer architecture
US7860120B1 (en) Network interface supporting of virtual paths for quality of service with dynamic buffer allocation
JP2004334417A (en) Data transfer control device, electronic device and data transfer control method
TW498207B (en) Data transfer control device and electronic apparatus
US6279052B1 (en) Dynamic sizing of FIFOs and packets in high speed serial bus applications
US5894586A (en) System for providing access to memory in which a second processing unit is allowed to access memory during a time slot assigned to a first processing unit
JP2005167965A (en) Packet processing method and apparatus
JP3614161B2 (en) Data transfer control device, electronic device, and data transfer control method
JP3908928B2 (en) Network interface circuit
US6256313B1 (en) Triplet architecture in a multi-port bridge for a local area network
JP3878785B2 (en) Network interface circuit
US20040098530A1 (en) Flexible data transfer to and from external device of system-on-chip
JP5218377B2 (en) Image forming system
US20060143378A1 (en) Information processing apparatus and control method for this information processing apparatus
JP2005332316A (en) Data distribution device, data transfer device and image processing device
JP2003063118A (en) Recorder, interface controller and interface controlling method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060718

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061003

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061130

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070119

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110126

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120126

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130126

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140126

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees