CN1293494C - Communication interface of master-slave type processor system - Google Patents

Communication interface of master-slave type processor system Download PDF

Info

Publication number
CN1293494C
CN1293494C CNB991168542A CN99116854A CN1293494C CN 1293494 C CN1293494 C CN 1293494C CN B991168542 A CNB991168542 A CN B991168542A CN 99116854 A CN99116854 A CN 99116854A CN 1293494 C CN1293494 C CN 1293494C
Authority
CN
China
Prior art keywords
processor
address
unit
read
data
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.)
Expired - Lifetime
Application number
CNB991168542A
Other languages
Chinese (zh)
Other versions
CN1288201A (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.)
Nokia Shanghai Bell Co Ltd
Original Assignee
Alcatel Lucent Shanghai Bell 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 Alcatel Lucent Shanghai Bell Co Ltd filed Critical Alcatel Lucent Shanghai Bell Co Ltd
Priority to CNB991168542A priority Critical patent/CN1293494C/en
Publication of CN1288201A publication Critical patent/CN1288201A/en
Application granted granted Critical
Publication of CN1293494C publication Critical patent/CN1293494C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)

Abstract

The present invention relates to a communication interface in a master/slave multiprocessor system, which comprises a read-write control unit, an address decoding unit, an alternative unit and an interrupting and readying unit, wherein the read-write control unit obtains addresses and data information from a master processor, and gives an access order according to the access requirements of a host computer interface; the address decoding unit obtains address information from the read-write control unit, and maps the register address of the host computer interface of each slave processor onto the corresponding address field of the master processor; the alternative unit obtains enabling signals, the addresses and data validity signals from the address decoding unit, the read-write control unit and the master processor so as to output the data validity signals to a plurality of salve processors. The interrupting and readying unit selects a corresponding route of a readying signal and an interrupting signal from the slave processors for the master processor.

Description

Communication interface in the master-slave mode multiprocessor system
The present invention relates to the communication interface in a kind of master-slave mode multiprocessor system.
Large-scale calculations problem or real-time control problem often need be finished dealing with jointly by a plurality of processors.When a plurality of processors are handled a problem, the exchange of information or data must be arranged between them, that is to say between the processor and must communicate.Master-slave mode multiprocessor system is the special case of multicomputer system, and it is made up of a primary processor and a plurality of communication interface between processor and principal and subordinate processor.For needing a large amount of communication between this master and slave processor, and from not needing the communication interface of direct communication between the processor, generally be to utilize the bus bridge technology to add that bus arbitration or switch logic form.Annexation between master and slave processor and the communication interface as shown in Figure 1, the memory expansion mouth that is primary processor 1 links to each other with first bus bridge 13 and arbitration unit 12, join directly butt joint between two bus bridges from the memory expansion mouth of processor 11 and second bus bridge 14 and arbitration unit 12.
Mainly there is following shortcoming in such system, that is:
1) the bus bridge circuit promptly the logic of first bus bridge 13 and second bus bridge 14 need realize bus protocol, logic is very complicated, generally is difficult to design voluntarily, need be realized by the bridging chip of special use;
2) owing to the existence of two bus bridges, make and when processor 11 conducts interviews, introduced extra time delay, influenced the efficient of visit 1 pair of primary processor;
3) more logic has increased design complexities, has also taken the area of more printing board PCB.
The object of the present invention is to provide a kind of make between the principal and subordinate processor can be efficiently and the communication interface in the master-slave mode multiprocessor system that communicates easily.
The object of the present invention is achieved like this, communication interface in a kind of master-slave mode multiprocessor system, it is connected primary processor and a plurality of between the processor, it is characterized in that, described have the host interface from processor, this host interface comprises address register and data register, the memory expansion mouth of one termination primary processor of described communication interface, another termination is respectively from the host interface of processor, this communication interface comprises read-write control unit, address decoding unit, multiselect Unit one and the ready unit of interruption, wherein: read-write control unit, obtain address and data message from primary processor, by will visiting of choosing by address decoding unit and multiselect Unit one being provided access order from processor from the host interface accessing sequential requirement of processor, promptly at first the destination address from processor is given the address register of host interface, read and write the data of the data register of host interface then, and in primary processor and certain when processor communicates, read-write control unit obtains address and data message from primary processor, directly by data bus with carry out address and exchanges data from processor; Address decoding unit obtains address information from read-write control unit, and the register address from processor host interface respectively is mapped on the corresponding address field of primary processor; Multiselect Unit one obtains enable signal from address decoding unit, obtains low order address information from read-write control unit then, obtains the data useful signal from primary processor simultaneously, to one choose export this data useful signal from processor; Interrupt ready unit, give primary processor from a plurality of corresponding ready signal, look-at-me routes from processor, selected.
Owing to adopted above-mentioned technical solution, promptly with a kind of very simple interface between software and hardware logic, a plurality of addressing spaces that are mapped to primary processor from the storage space of processor indirectly, owing to utilize the data useful signal to select difference is conducted interviews from processor, therefore saved originally the bus arbitration and the switch logic of the complexity that need bring by bus interconnection; In addition,, therefore do not introduce extra time delay, improved primary processor, simultaneously, when specific implementation, saved valuable printing board PCB area yet efficient from processor access owing to do not adopt bus bridge.
The present invention is further illustrated below in conjunction with embodiments of the invention and accompanying drawing.
Fig. 1 is the functional block diagram of the communication interface in the existing master-slave mode multiprocessor system;
Fig. 2 is the functional block diagram of the communication interface in the master-slave mode multiprocessor system of the present invention.
By shown in Figure 2, the communication interface in the master-slave mode multiprocessor system of the present invention, the memory expansion mouth of its a termination primary processor, a plurality of host interface HPI (Host PortInterface) of another termination from processor.Primary processor generally can be selected Intel 80960RD, generally select the TMS320C6x of TexasInstruments company or the digital signal processor of TMS320C5x model (DigitalSignal Processor) from processor, be called for short DSP, it all has the host interface.Is its several address mapping formula registers from the HPI mouth of processor concerning primary processor, and these registers comprise address register HPIA, data register HPID and control register HPIC.
Communication interface in the master-slave mode multiprocessor system of the present invention comprises:
Read-write control unit 3, obtain address and data message from primary processor 1, by 21 visiting demands of HPI mouth will visiting of choosing by address decoding unit and multiselect Unit one provided access order from processor, promptly at first give HPIA the destination address from processor 2 that will visit, read and write the data of HPID then.And in primary processor 1 and certain when processor 2 communicates, it obtains address and data message from primary processor 1, directly by data bus with carry out address and exchanges data from processor, generally adopt corresponding software to reach;
Address decoding unit 6 obtains address information from read-write control unit, the register address from processor HPI mouth 21 respectively is mapped on the corresponding address field of primary processor 1,
Multiselect one unit 5 obtains enable signal from address decoding unit 6, obtains low order address information from read-write control unit then, obtains the data useful signal from primary processor 1 simultaneously, to one choose from processor 2 output data useful signals;
Interrupt ready unit 4, give primary processor 1 from a plurality of corresponding ready signal, look-at-me routes from processor 2, selected.This is all must carry out indirectly by register the visit from processor memory because of any, and therefore the 21 pairs of primary processors 1 of HPI mouth from processor 2 are relative equipment at a slow speed.Therefore be necessary to provide ready and look-at-me to primary processor 1.Interruption and ready unit are responsible for selecting corresponding HPI mouth 21 ready signals to give primary processor 1 from processor 2 from a plurality of, and look-at-me are connected to the corresponding interrupt pin of primary processor 1.
In general, address decoding unit 6, multiselect one unit 5 and interrupt ready unit 4 and adopt programming devices to realize.
Describedly respectively link together from HPI mouth 21 data lines of processor, any moment has only the data from processor effective, other be high resistant, effectively directly driving data transmission of data.
By described communication interface, can allow primary processor 1 its all storage space of visit from the HPI mouth 21 of processor, but the corresponding operating of several registers that primary processor 1 can only be by HPI realizes that it is to asking operation from the storer of processor 2.Its process is: utilize the interrupt mechanism of HPI mouth to give 1 interruption of primary processor from processor 2, have data to give primary processor 1 to represent it, have no progeny during primary processor 1 is received by interrupt service routine at predetermined address reading data.And 1 pair of primary processor respectively from the browsing process of processor 2 is: initialization HPIC, the address of needs visit is write corresponding HPIA from processor, and visit corresponding HPID.

Claims (1)

1. the communication interface in the master-slave mode multiprocessor system, it is connected primary processor and a plurality of between the processor, it is characterized in that, described have the host interface from processor, this host interface comprises address register and data register, the memory expansion mouth of one termination primary processor of described communication interface, another termination is respectively from the host interface of processor, this communication interface comprises read-write control unit, address decoding unit, multiselect Unit one and interrupts ready unit, wherein:
Read-write control unit, obtain address and data message from primary processor, by will visiting of choosing by address decoding unit and multiselect Unit one being provided access order from processor from the host interface accessing sequential requirement of processor, promptly at first the destination address from processor is given the address register of host interface, read and write the data of the data register of host interface then, and at primary processor with when processor communicates, read-write control unit obtains address and data message from primary processor, directly by data bus with carry out address and exchanges data from processor;
Address decoding unit obtains address information from read-write control unit, and the register address from processor host interface respectively is mapped on the corresponding address field of primary processor;
Multiselect Unit one obtains enable signal from address decoding unit, obtains low order address information from read-write control unit then, obtains the data useful signal from primary processor simultaneously, to one choose export this data useful signal from processor;
Interrupt ready unit, give primary processor from a plurality of corresponding ready signal, look-at-me routes from processor, selected.
CNB991168542A 1999-09-09 1999-09-09 Communication interface of master-slave type processor system Expired - Lifetime CN1293494C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB991168542A CN1293494C (en) 1999-09-09 1999-09-09 Communication interface of master-slave type processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB991168542A CN1293494C (en) 1999-09-09 1999-09-09 Communication interface of master-slave type processor system

Publications (2)

Publication Number Publication Date
CN1288201A CN1288201A (en) 2001-03-21
CN1293494C true CN1293494C (en) 2007-01-03

Family

ID=5279524

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB991168542A Expired - Lifetime CN1293494C (en) 1999-09-09 1999-09-09 Communication interface of master-slave type processor system

Country Status (1)

Country Link
CN (1) CN1293494C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400088A (en) * 2013-07-30 2013-11-20 东莞宇龙通信科技有限公司 Terminal

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061431A1 (en) * 2001-09-21 2003-03-27 Intel Corporation Multiple channel interface for communications between devices
US7007101B1 (en) * 2001-11-09 2006-02-28 Radisys Microware Communications Software Division, Inc. Routing and forwarding table management for network processor architectures
AU2003246991A1 (en) * 2002-07-23 2004-02-09 Koninklijke Philips Electronics N.V. Improved inter-processor communication system for communication between processors
CN100424675C (en) * 2005-10-12 2008-10-08 大唐移动通信设备有限公司 Information communication method and apparatus of multiprocessor system
DE102005052005B4 (en) * 2005-10-31 2007-10-18 Infineon Technologies Ag Processor arrangement
CN100464319C (en) * 2006-06-23 2009-02-25 华为技术有限公司 Device and method for implementing communication between processes
CN101697149B (en) * 2009-10-27 2012-08-08 华为终端有限公司 Multiprocessor equipment and external communication method and system thereof
CN102110072B (en) * 2009-12-29 2013-06-05 中兴通讯股份有限公司 Complete mutual access method and system for multiple processors
CN101944077B (en) * 2010-09-02 2011-10-19 东莞市泰斗微电子科技有限公司 Communication interface between primary processor and coprocessor and control method thereof
CN102226895B (en) * 2011-06-01 2013-05-01 展讯通信(上海)有限公司 System with memorizer shared by coprocessor and master processor, and access method of system
CN103400085A (en) * 2013-07-30 2013-11-20 东莞宇龙通信科技有限公司 Terminal
CN103810139B (en) * 2014-01-24 2017-04-26 浙江众合科技股份有限公司 Data exchange method and device for multiple processors
CN105718403A (en) * 2016-01-18 2016-06-29 沈阳东软医疗系统有限公司 Expansion interface and method for data communication through same
CN106168777B (en) * 2016-06-30 2018-08-17 杭州师范大学钱江学院 The method of 51 microcontroller external interrupt quantity is extended by assistant SCM
CN112328315B (en) * 2021-01-04 2021-08-31 江苏华创微系统有限公司 Storage sharing type multi-chip processor system based on bridge chip and starting method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1154749A (en) * 1995-05-19 1997-07-16 美国电报电话Ipm公司 Method for monitoring a digital multiprocessor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1154749A (en) * 1995-05-19 1997-07-16 美国电报电话Ipm公司 Method for monitoring a digital multiprocessor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400088A (en) * 2013-07-30 2013-11-20 东莞宇龙通信科技有限公司 Terminal
CN103400088B (en) * 2013-07-30 2016-04-06 东莞宇龙通信科技有限公司 A kind of terminal

Also Published As

Publication number Publication date
CN1288201A (en) 2001-03-21

Similar Documents

Publication Publication Date Title
CN1293494C (en) Communication interface of master-slave type processor system
CN100481050C (en) Method and system for multiple GPU support
US7664909B2 (en) Method and apparatus for a shared I/O serial ATA controller
US6047120A (en) Dual mode bus bridge for interfacing a host bus and a personal computer interface bus
US5568619A (en) Method and apparatus for configuring a bus-to-bus bridge
US6526469B1 (en) Bus architecture employing varying width uni-directional command bus
US6557069B1 (en) Processor-memory bus architecture for supporting multiple processors
CN101814060B (en) Method and apparatus to facilitate system to system protocol exchange in back to back non-transparent bridges
CN109240832B (en) Hardware reconfiguration system and method
EP0689146A1 (en) Bus bridge
US5802333A (en) Network inter-product stacking mechanism in which stacked products appear to the network as a single device
CN101889263B (en) Control path I/O virtualisation
KR20140078161A (en) PCI express switch and computer system using the same
CN1964285A (en) A master control device with double CPU and realization method
US7836211B2 (en) Shared input/output load-store architecture
US5155807A (en) Multi-processor communications channel utilizing random access/sequential access memories
CN111597135B (en) PCIE exchanger with optional functions of transparent bridge and non-transparent bridge and multi-host system
JP2009282917A (en) Interserver communication mechanism and computer system
JP2009059346A (en) Method and device for connecting with a plurality of multimode processors
CN219574799U (en) Multi-bus bridge based on AMBA bus and system on chip thereof
CN116483259A (en) Data processing method and related device
CN114866497A (en) PCIe switching circuit and method for global asynchronous intra-site synchronization
JPH11163970A (en) Intra-device substrate control system
RU2461055C1 (en) Cluster system with direct channel switching
CN111045974A (en) Multiprocessor data interaction method based on exchange 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: SHANGHAI ALCATEL-LUCENT CO., LTD.

Free format text: FORMER NAME: BEIER AERKATE CO., LTD., SHANGHAI

Owner name: BEIER AERKATE CO., LTD., SHANGHAI

Free format text: FORMER NAME: BELL CO.,LTD., SHANGHAI

CP01 Change in the name or title of a patent holder

Address after: 201206 No. 388 Nanjing Road, Jinqiao Development Zone, Shanghai, Pudong

Patentee after: ALCATEL-LUCENT SHANGHAI BELL Co.,Ltd.

Address before: 201206 No. 388 Nanjing Road, Jinqiao Development Zone, Shanghai, Pudong

Patentee before: Shanghai Bell Alcatel Co.,Ltd.

Address after: 201206 No. 388 Nanjing Road, Jinqiao Development Zone, Shanghai, Pudong

Patentee after: Shanghai Bell Alcatel Co.,Ltd.

Address before: 201206 No. 388 Nanjing Road, Jinqiao Development Zone, Shanghai, Pudong

Patentee before: Shanghai Bell Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 201206 No. 388 Nanjing Road, Jinqiao Development Zone, Shanghai, Pudong

Patentee after: NOKIA SHANGHAI BELL Co.,Ltd.

Address before: 201206 No. 388 Nanjing Road, Jinqiao Development Zone, Shanghai, Pudong

Patentee before: ALCATEL-LUCENT SHANGHAI BELL Co.,Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20070103