CN1366247A - PCI bridge with improved structure - Google Patents

PCI bridge with improved structure Download PDF

Info

Publication number
CN1366247A
CN1366247A CN 01107465 CN01107465A CN1366247A CN 1366247 A CN1366247 A CN 1366247A CN 01107465 CN01107465 CN 01107465 CN 01107465 A CN01107465 A CN 01107465A CN 1366247 A CN1366247 A CN 1366247A
Authority
CN
China
Prior art keywords
pci
bridge
fifo
main control
system bus
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
CN 01107465
Other languages
Chinese (zh)
Other versions
CN1191530C (en
Inventor
刘华预
林家军
郭小强
王良清
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.)
Nationz Technologies Inc
Original Assignee
ZHONGXING INTEGRATED CIRCUIT DESIGN CO Ltd SHENZHEN CITY
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 ZHONGXING INTEGRATED CIRCUIT DESIGN CO Ltd SHENZHEN CITY filed Critical ZHONGXING INTEGRATED CIRCUIT DESIGN CO Ltd SHENZHEN CITY
Priority to CN 01107465 priority Critical patent/CN1191530C/en
Publication of CN1366247A publication Critical patent/CN1366247A/en
Application granted granted Critical
Publication of CN1191530C publication Critical patent/CN1191530C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

The invention discloses an improved structure of PCI main bridge in computer area. The PCI main controller in the mainbridge includes PCI main controlling unit, multiplex selector, internal arbitration circuit and 'Or' gate. Several instruction parts share the PCI main control unit. For each instruction part, a relevant group of FIFO is provided for exchanging the time sequence. Output data of each group of FIFO enter the input end of PCI main control unit through the multiplex selector, then passing through the output of multiplex selector that is controlled by the internal arbitration circuit. The invention possesses merits of high transmission efficiency, simple circuit and low cost.

Description

A kind of PCI bridge with improvement structure
The present invention relates to computer realm, relate in particular to the field of data exchange between computer peripheral and the central processor CPU.
Along with computing machine more and more widely application in every field, the performance and the computing velocity thereof of computing machine also more and more come into one's own, in the various factors that influences computer run speed and efficient, CPU, data exchange process between storer and the external unit is a very important key element, generally, generally CPU and storer are connected together in the system by an internal system bus, by a pci bus each external unit is connected together, internal system bus and pci bus are then connect by PCI master's bridging, what this PCI primary abutment was originally gone up employing is dual-port, one termination internal system bus, another termination pci bus.PCI master's bridge both can be used as the main equipment of pci bus, and the external unit on the realization pci bus is to the visit of storer on the internal system bus; Can be used as the slave unit of pci bus again, realize the active visit of CPU external unit on the external pci bus.In present a lot of systems, also extensively adopt this structure, PCI bridge to this structure in U.S. Pat 526521114 has had very detailed description, in the dual-port bridge construction of introducing among the US5265211, it reads and writes shared storage stack, there is a moderator inside of bridge, it and system bus arbitrator cooperatively interact, and finish the control to bus operation jointly.In this dual-port PCI bridge, two kinds of structures are adopted in the design of PCI primary controller substantially: first kind is many group push-up storage (first-in-first-out, hereinafter to be referred as FIFO) and many primary controllers structure, promptly to different order parts (being used to finish the parts of command operation), to there being a PCI primary controller to finish corresponding operation, the output of each PCI primary controller outputs on the pci bus by a selector switch; Second kind is single group FIFO, orders the shared PCI primary controller structure of parts more, in this structure, controls the PCI primary controller by one group of control signal and finishes corresponding command operation.For first kind of PCI bridge that adopts many primary controllers, organizes fifo structure more, though can satisfy the requirement of high-speed data exchange when many order parts, the function of employed circuit repetition, each circuit is too single, circuit efficiency is lower; For second kind of PCI bridge that adopts single primary controller, single group fifo structure, it is too many that each orders the parts task to finish required unused period expense, and circuit efficiency is low excessively, thereby greatly reduces the speed of data transmission on the bus.
The purpose of this invention is to provide a kind of PCI master's bridge that improves structure that has that satisfies requirements such as transfer efficiency height, circuit design are simple, with low cost simultaneously, of the prior art or circuit repeats to overcome, the function of each circuit is too single, circuit efficiency is lower, the shortcoming that perhaps the unused period expense is too many, circuit efficiency is low excessively, data rate is slow.
In order to finish above-mentioned purpose, the present invention has constructed a kind of PCI master's bridge that improves structure that has, and comprises PCI primary controller, PCI slave unit, system bus primary controller, system bus slave unit, FIFO, FIFO1, FIFO2, FIFO3, PCI moderator and internal register; It is characterized in that, described PCI primary controller also comprise PCI main control unit, MUX, inner arbitration circuit and or door;
The output terminal of described PCI main control unit is connected to pci bus, is connected with described PCI moderator; The output terminal of described MUX is linked described PCI main control unit; The output terminal of described FIFO1, FIFO2, FIFO3 is linked the PCI main control unit by described MUX, and input end is connected with the system bus slave unit of PCI bridge; Three input end REQ1, REQ2 of described inner arbitration circuit, REQ3 are connected with the system bus slave unit respectively, and its three output terminals are connected to described or door and described MUX simultaneously, are connected respectively to described FIFO1, FIFO2 and FIFO3; The other end described or door is connected to described PCI main control unit.
In the PCI bridge that the present invention constructed, because the shared PCI primary controller of many order parts structure, at each order parts, correspondence provides one group of FIFO to be used for the sequential exchange, each is organized the order data of FIFO and exports the input end that is added to the PCI primary controller by a selector switch, controls the output of selector switch by an arbitration circuit.This PCI primary controller structure has been drawn the strong point of above two kinds of circuit structures, has overcome their deficiency, has the transfer efficiency height, and used circuit is few, and advantage is more outstanding during for many orders parts situation.
The invention will be further described below in conjunction with accompanying drawing;
Fig. 1 is the general construction block diagram of PCI master's bridge;
Fig. 2 is the PCI structure of main bridge figure of existing many group FIFO, many primary controllers structure;
Fig. 3 is existing single group FIFO, orders the shared primary controller PCI of parts structure of main bridge figure more;
Fig. 4 is the PCI structure of main bridge figure with improvement structure that the present invention constructs.
Fig. 1 is the structured flowchart of PCI master's bridge.Comprise with the lower part: the PCI primary controller; PCI master's bridge inner buffer FIFO is used to store order and control information from system bus; The system bus slave unit; The PCI slave unit; Internal register is used to store internal control and status information; The system bus main equipment, the external unit that is used to finish on the pci bus is operated the reading and writing of the storer on the system bus; Pci bus; System bus; The external bus moderator of PCI bridge is used for the Control Allocation bus.The PCI primary controller is mainly finished CPU by the reading and writing operation of system bus to the external unit on the pci bus, when CPU read-write external unit, the system bus slave unit is delivered to the first address of external unit among the FIFO, when writing external unit, also need data are write among the FIFO, send a request signal simultaneously and give the PCI primary controller, the PCI primary controller is responsible for a read/write address, data (when writing) and the PCI control timing that produces is delivered on the pci bus, also is responsible for obtaining data and depositing the FIFO from pci bus when reading.
Part is many group FIFO, many primary controllers structure in the frame of broken lines shown in Figure 2, comprise three PCI primary controllers and three groups of FIFO, each group FIFO finishes a command operation of ordering parts together with its corresponding primary controller that links to each other, the output of three primary controllers outputs to pci bus through a selector switch, and the order of specifically transmitting which order parts is determined by PCI bridge moderator.Though this structure satisfies the requirement of high-speed data exchange more in the time of ordering parts, employed circuit repeats, the function of each circuit is too single, circuit efficiency is lower.
At the single group FIFO shown in Fig. 3 is, order among the PCI structure of main bridge figure of the shared primary controller of parts more, have only a PCI primary controller and one group of FIFO, when not being very high situation for single group command transmission, rate request, this structure is proper.But as a plurality of command group (as order one and order two) when needing transmission, because have only one group of FIFO memory command, must order one order two could be write FIFO behind the turned letter by the time from FIFO, obviously this kind mode efficient when many orders is very low, and the high-speed PCI bridge is not suitable for.
Part is many groups FIFO that the present invention constructed, orders parts to share the PCI structure of main bridge figure of same primary controller more in Fig. 4 frame of broken lines, and among the figure, PCI main control unit, MUX or door and inner arbitration circuit constitute the PCI primary controller jointly.The output terminal of PCI main control unit is linked pci bus; The output terminal of MUX is linked pci bus; FIFO1, FIFO2 and FIFO3 are three groups of FIFO, are used to store three group command operating values, constitute three order parts jointly with system bus slave unit, PCI slave unit.Their output is linked the PCI primary controller by MUX, and their input is from the system bus slave unit of PCI bridge; The effect of inner arbitration circuit is when having order to transmit in a plurality of FIFO, be responsible for selecting which carries out earlier, its three input end REQ1, REQ2, REQ3 are respectively from the system bus slave unit, and its output is used to control PCI primary controller, MUX, PCI main control unit, FIFO1, FIFO2 and FIFO3; The pci bus arbiter circuit is responsible for distributing on the pci bus each primary controller to the right to use of pci bus; PCI bridge system bus slave is directly hung on the system bus.
The present invention program realizes like this, suppose FIFO1 and the FIFO2 first address and the data of two POST write operations of corresponding stored respectively, the first address and the data of a DELAY read operation of FIFO3 corresponding stored, when the POST write operation, when writing after first address and first write data be ready among the FIFO1, its corresponding output one arbitration request signal REQ1 is to inner arbitration circuit, and seven data that continue then to be left write among the FIFO1; When writing after first address and first write data be ready among the FIFO2, its corresponding output one arbitration request signal REQ2 continues remaining data are write among the FIFO2 to inner arbitration circuit then; When DELAY operates, after first address is ready among the FIFO3, send an arbitration request signal REQ3 to inner arbitration circuit, decide according to the output of moderator and carry out which kind of operation.After system reset, CPU carries out write operation (as to its initialization) to certain external unit on the external pci bus, CPU writes first address and first data among the FIFO1 by the system bus slave unit on system bus and the PCI bridge, this moment, FIFO1 sent REQ1 to inner arbitration circuit, continue then remaining data are write among the FIFO, multipotency eight data of storage of each group FIFO and an address, when the data of writing continuously when needs surpass eight, the address of the 9th data and the 9th data are delivered among the FIFO2, send REQ2 simultaneously to inner arbitration circuit, then remaining data are write among the FIFO2.For inner arbitration circuit, it mainly is the request arbitration of finishing a plurality of order parts, and which is responsible for selecting carrying out earlier when having order to transmit in a plurality of FIFO.When the response grant1 of REQ1 is effective, make first address and first data among the FIFO1 be read out, the PCI main control unit is sent an arbitration request signal and is taken pci bus to the request of pci bus arbiter device simultaneously, in case the PCI main control unit obtains pci bus, address that it will provide current FIFO according to the pci bus protocol requirement and data are delivered to pci bus and are got on, though FIFO2 has sent the REQ2 request signal in this process, but just can meet with a response after REQ1 is invalid, grant2 becomes effectively.For the PCI primary controller, the output of finding inner arbitration circuit when it has one just to send pci bus to the PCI moderator when effective and take request signal, in case it has obtained pci bus power, promptly begins data transmission.When for read operation, send the address successively and fetch data; When being write operation, send address and data successively.Thereby realized the design of the shared PCI primary controller of multiple order parts.In three order parts structure Design, it has lacked two primary controllers than Fig. 2, has realized carrying out high speed data transfer with less circuit on bridge.Need to prove, the order parts that the present invention constructed are not limited to three, and along with the change of ordering parts, the structure that the present invention constructed can have more superiority, in the time of more order parts, only need to increase described or door, MUX and inner arbitration circuit input port quantity and correspondingly increase the number of FIFO, to adapt to the order parts of increase, in a word, as long as maintenance is described or the number of the quantity of the input port of door, MUX and inner arbitration circuit and FIFO is consistent with instruction part number of packages purpose.

Claims (4)

1, a kind of PCI master's bridge with improvement structure comprises PCI primary controller, PCI slave unit, system bus primary controller, system bus slave unit, FIFO, FIFO1, FIFO2, FIFO3, PCI moderator and internal register; It is characterized in that, described PCI primary controller also comprise PCI main control unit, MUX, inner arbitration circuit and or door;
The output terminal of described PCI main control unit is connected to pci bus, is connected with described PCI moderator; The output terminal of described MUX is linked described PCI main control unit; The output terminal of described FIFO1, FIFO2, FIFO3 is linked the PCI main control unit by described MUX, and input end is connected with the system bus slave unit of PCI bridge; Three input end REQ1, REQ2 of described inner arbitration circuit, REQ3 are connected with the system bus slave unit respectively, and its three output terminals are connected to described or door and described MUX simultaneously, are connected respectively to described FIFO1, FIFO2 and FIFO3; The other end described or door is connected to described PCI main control unit.
2, the PCI master's bridge with improvement structure according to claim 1 is characterized in that the storage cap of described FIFO, FIFO1, FIFO2 and FIFO3 is eight data and an address.
3, the PCI master's bridge with improvement structure according to claim 1, it is characterized in that, described FIFO1, FIFO2 and FIFO3 store three group command operating values, constitute three order parts jointly with described system bus slave unit and described PCI slave unit.
4, according to claim 1 have a PCI master's bridge that improves structure, it is characterized in that, when the quantitative change of instruction part number of packages, changes described or, the quantity of the input port of MUX and inner arbitration circuit and the number of FIFO, be consistent with it.
CN 01107465 2001-01-18 2001-01-18 PCI bridge with improved structure Expired - Fee Related CN1191530C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01107465 CN1191530C (en) 2001-01-18 2001-01-18 PCI bridge with improved structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01107465 CN1191530C (en) 2001-01-18 2001-01-18 PCI bridge with improved structure

Publications (2)

Publication Number Publication Date
CN1366247A true CN1366247A (en) 2002-08-28
CN1191530C CN1191530C (en) 2005-03-02

Family

ID=4656393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01107465 Expired - Fee Related CN1191530C (en) 2001-01-18 2001-01-18 PCI bridge with improved structure

Country Status (1)

Country Link
CN (1) CN1191530C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1320078C (en) * 2003-07-01 2007-06-06 花王株式会社 Polishing composition
CN1328675C (en) * 2004-01-15 2007-07-25 中兴通讯股份有限公司 PCI arbitration mode configurable device and arbitration mode conversion method thereof
CN100394412C (en) * 2003-06-26 2008-06-11 三星电子株式会社 Dynamic bus arbitration method and bus arbiter
CN100414524C (en) * 2005-09-20 2008-08-27 中国科学院计算技术研究所 Method for controlling data transmission between two different speed buses
CN100449515C (en) * 2006-03-17 2009-01-07 上海奇码数字信息有限公司 Bus arbitration method
CN110034988A (en) * 2019-03-26 2019-07-19 北京龙鼎源科技股份有限公司 Data transmission method and device, storage medium, processor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100394412C (en) * 2003-06-26 2008-06-11 三星电子株式会社 Dynamic bus arbitration method and bus arbiter
CN1320078C (en) * 2003-07-01 2007-06-06 花王株式会社 Polishing composition
CN1328675C (en) * 2004-01-15 2007-07-25 中兴通讯股份有限公司 PCI arbitration mode configurable device and arbitration mode conversion method thereof
CN100414524C (en) * 2005-09-20 2008-08-27 中国科学院计算技术研究所 Method for controlling data transmission between two different speed buses
CN100449515C (en) * 2006-03-17 2009-01-07 上海奇码数字信息有限公司 Bus arbitration method
CN110034988A (en) * 2019-03-26 2019-07-19 北京龙鼎源科技股份有限公司 Data transmission method and device, storage medium, processor
CN110034988B (en) * 2019-03-26 2021-08-24 西安抟微科技有限公司 Data transmission method and device, storage medium and processor

Also Published As

Publication number Publication date
CN1191530C (en) 2005-03-02

Similar Documents

Publication Publication Date Title
CN100595720C (en) Apparatus and method for direct memory access in a hub-based memory system
US4470114A (en) High speed interconnection network for a cluster of processors
CN102231142B (en) Multi-channel direct memory access (DMA) controller with arbitrator
JP2593146B2 (en) Data hub
JP4359377B2 (en) Transfer controller architecture with hub and ports
US5006982A (en) Method of increasing the bandwidth of a packet bus by reordering reply packets
CN101841420B (en) Network-on-chip oriented low delay router structure
US7797467B2 (en) Systems for implementing SDRAM controllers, and buses adapted to include advanced high performance bus features
US7970960B2 (en) Direct memory access controller and data transmitting method of direct memory access channel
CN103064808A (en) Priority adjustable multiple-channel direct memory access (DMA) controller
US5515523A (en) Method and apparatus for arbitrating conflicts by monitoring number of access requests per unit of time in multiport memory systems
US20040177184A1 (en) Computer architecture and system for efficient management of bi-directional bus
US20060010279A1 (en) Apparatus for use in a computer systems
CN102841869A (en) Multi-channel I2C controller based on FPGA
CN101504633A (en) Multi-channel DMA controller
CN109656851B (en) System with time determination and comprising multiple high-speed bus channels and shared interface
CN103714026A (en) Memorizer access method and device supporting original-address data exchange
KR20020008955A (en) Bus system and execution scheduling method for access commands thereof
CN1191530C (en) PCI bridge with improved structure
EP0618537A1 (en) System and method for interleaving status information with data transfers in a communications adapter
CN1378148A (en) Direct memory access controller and its control method
US6701407B1 (en) Multiprocessor system with system modules each having processors, and a data transfer method therefor
CN100449515C (en) Bus arbitration method
CN101192208A (en) Dual bus circuit based on 8-bit processor
CN1365059A (en) Micro processor with improved structure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: GUOMING TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: ZHONGXING INTEGRATED CIRCUIT DESIGN CO. LTD., SHENZHEN CITY

CP03 Change of name, title or address

Address after: Floor nine, technology innovation service center, 1 Qilin Road, Guangdong, Shenzhen Province, China: 518058:

Patentee after: NATIONZ TECHNOLOGIES Inc.

Address before: Floor nine, technology innovation service center, 1 Qilin Road, Guangdong, Shenzhen Province, China: 518058:

Patentee before: Nationz Technologies Inc.

Address after: 518058, three, 2 Software Park, hi tech Zone, Shenzhen hi tech Zone, Guangdong, Nanshan District Province, three, three

Patentee after: Nationz Technologies Inc.

Address before: Floor nine, technology innovation service center, 1 Qilin Road, Guangdong, Shenzhen Province, China: 518058:

Patentee before: Nationz Technologies Inc.

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050302

Termination date: 20140118