CN1811740A - Method for achieving multiprocessor share peripheral circuit and its circuit - Google Patents

Method for achieving multiprocessor share peripheral circuit and its circuit Download PDF

Info

Publication number
CN1811740A
CN1811740A CN 200610054101 CN200610054101A CN1811740A CN 1811740 A CN1811740 A CN 1811740A CN 200610054101 CN200610054101 CN 200610054101 CN 200610054101 A CN200610054101 A CN 200610054101A CN 1811740 A CN1811740 A CN 1811740A
Authority
CN
China
Prior art keywords
bus
processor
multiprocessor
circuit
module
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 200610054101
Other languages
Chinese (zh)
Other versions
CN100592272C (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.)
Keen (Chongqing) Microelectronics Technology Co., Ltd.
Original Assignee
CHORGYOU XINKE Co Ltd CHONGQING
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 CHORGYOU XINKE Co Ltd CHONGQING filed Critical CHORGYOU XINKE Co Ltd CHONGQING
Priority to CN200610054101A priority Critical patent/CN100592272C/en
Publication of CN1811740A publication Critical patent/CN1811740A/en
Application granted granted Critical
Publication of CN100592272C publication Critical patent/CN100592272C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)

Abstract

Present invention discloses a multiprocessor shared peripheral equipment circuit implementation method and circuit. It contains Each hardware accelerator peripheral equipment connected with a bus switch for switching bus from different processor, processor sending bus applying in using hardware accelerator, bus switch determining whether allowing said processor visiting according to said modular work state, when hardware accelerator completing once data processing, processor sending bus release command for allowing next uses of said accelerator, multiprocessor bus adopting synchronous circuit mergence for frequent visited control register peripheral equipment, so realizing shared peripheral equipment data processing with simple circuit and reasonable design.

Description

Multiprocessor share peripheral circuit implementation method and circuit thereof
Technical field
The present invention relates to the technology of TD-SCDMA hand-set digit baseband processing chip, be specifically related to a kind of multiprocessor share peripheral circuit implementation method and circuit thereof; Belong to the communications electronics technical field.
Background technology
The realization key of TD-SCDMA mobile phone is the digital baseband process chip, and it is a core of finishing TD-SCDMA baseband digital signal processing capacity and physical layer software, communication protocol stack, application layer MMI running software.This chip normally adopts multi-processor structure, cooperating hardware accelerator to finish physical layer signal with two DSP handles, finish the processing of application layer and protocol layer with ARM, therefore design a kind of succinctly, system architecture becomes a key issue of TD-SCDMA mobile phone base band chip efficiently.In existing multi core chip designing technique, the communication of each intermodule realizes by an AMBA bus.Owing to have multiprocessor and shared peripheral module, therefore need special bus arbiter to decide a certain moment to allow which processor to use bus, can cause the decline of communication efficiency.How improving the problem of the communication efficiency decline of multiprocessor and shared peripheral hardware, is that one of ordinary skill in the art have problem to be solved.
Summary of the invention
There is the not high deficiency of communication efficiency at existing multiprocessor share peripheral technology, the purpose of this invention is to provide a kind of effective multiprocessor share peripheral circuit implementation method of improving communication efficiency.
Another object of the present invention provides a kind of multiprocessor share peripheral circuit reasonable in design, simple for structure.
The object of the present invention is achieved like this: multiprocessor share peripheral circuit implementation method, each hardware accelerator peripheral hardware all is connected to a bus switch bus from different processor is switched, processor sends the bus application earlier when using hardware accelerator, whether bus switch allows the visit of this processor according to the duty decision of this module; After a data processing of hardware accelerator and carrying were finished, processor sent the bus release command to allow the use next time of this accelerator; For the frequent control register peripheral hardware of visit, the bus of multiprocessor adopts synchronizing circuit to merge, and has also simplified system design like this when having realized shared peripheral hardware.
Simultaneously, merge according to the priority sequencing and become a bus peripheral hardware is conducted interviews.
Multiprocessor share peripheral circuit by the inventive method realization, comprise the multiprocessor that constitutes by an ARM9 processor and DSP1, DSP2 storer, the DSP subsystem of the hardware accelerator that constitutes by FIR module, JD computing, Viterbi decoding, Turbo code translator and system's timing and control circuits; ARM and peripheral hardware thereof constitute the ARM subsystem; The inner AMBA of employing of ARM subsystem bus connects, by the dual port RAM communication between internal storage interface module IMIF realization ARM subsystem and the DSP subsystem; Adopt bus switch circuit that the bus from different processor is switched; Perhaps adopt the bus synchronous circuit that the bus from different processor is merged, realize multiprocessor share peripheral.
Described DSP1 sends the bus request for utilization by write control register to Viterbi code translator bus switch module, if the Viterbi module is in idle condition, and then bus application success, DSP1 can normally visit and read and write data; If this module is in use, promptly carrying out data processing or taking by DSP2, then refuse the visit of DSP1;
When this Viterbi decoding computing end, DSP1 reads the result data of Viterbi code translator, and the release bus of giving an order.
Compared to existing technology, the present invention has following advantage:
1, adopts the bus switch of design uniqueness between accelerator module and the multiprocessor and the method for bus synchronous circuit, realized sharing peripheral hardware between the multiprocessor, have higher communication efficiency;
2, can guarantee that hardware accelerator is carrying out can not interrupted by another processor in a data handling procedure,, before bus discharges, not have new bus arbitration and change action in case bus is taken by a processor.And present common bussing technique such as individual layer AMBA bus, any moment only allows a main frame and takies bus, and frequent bus arbitration and change action are arranged in the time of multiprocessor share peripheral, has seriously reduced communication efficiency.Though multilayer AMBA bus has solved this problem, the bus structure complexity, the checking workload is big, and can not guarantee the exclusivity of processor to hardware accelerator.
3, circuit of the present invention is used for the digital baseband process chip of TD-SCDMA mobile phone, adopts an arm processor and two dsp processors and TD-SCDMA special circuit and hardware accelerator to constitute, and is simple for structure, reasonable in design.
Description of drawings
Fig. 1 is a system block diagram of the present invention;
Fig. 2 stores the expansion bus block scheme;
Fig. 3 is the structure principle chart of bus switch;
Fig. 4 is the processing elementary diagram of bus synchronous.
Embodiment
Multiprocessor share peripheral circuit implementation method, each hardware accelerator peripheral hardware all is connected to a bus switch bus from different processor is switched, processor sends the bus application earlier when using hardware accelerator, whether bus switch allows the visit of this processor according to the duty decision of this module; After a data processing of hardware accelerator and carrying were finished, processor sent the bus release command to allow the use next time of this accelerator;
For the frequent control register peripheral hardware of visit, the bus of multiprocessor adopts synchronizing circuit to merge.
Simultaneously, merge according to the priority sequencing and become a bus peripheral hardware is conducted interviews.
As shown in Figure 1, by the multiprocessor share peripheral circuit that the inventive method realizes, chip comprises an ARM9 processor, two dsp processors; Hardware accelerator has: FIR wave filter, JD computing, Viterbi decoding, Turbo code translator and system's timing and control circuits and necessary peripheral circuit.
According to the task division of labor of processor, determine that system architecture is as follows: JD, Viterbi, Turbo, FIR module link to each other with the memory expansion bus of DSP1, DSP2, constitute the DSP subsystem; ARM and peripheral hardware thereof constitute the ARM subsystem, the inner AMBA of employing of ARM subsystem bus connects, by the dual port RAM communication between internal storage interface module (IMIF) realization ARM subsystem and the DSP subsystem, adopt bus switch circuit that the bus from different processor is switched; The bus switch of design uniqueness and the method for bus synchronous circuit between accelerator module and the multiprocessor have realized sharing peripheral hardware between the multiprocessor, have higher communication efficiency.
Described DSP1 sends the bus request for utilization by write control register to Viterbi code translator bus switch module, if the Viterbi module is in idle condition, and then bus application success, DSP1 can normally visit and read and write data; If this module is in use, promptly carrying out data processing or taking by DSP2, then refuse the visit of DSP1;
When this Viterbi decoding computing end, DSP1 reads the result data of Viterbi code translator, and the release bus of giving an order.
Adopt the bus synchronous circuit that the bus from different processor is merged, realize multiprocessor share peripheral.
Referring to Fig. 2, the memory expansion bus is made of 32 position datawires, 24 bit address lines, read signal, write signal.Carry out the chip selection signal that address decoding obtains all peripheral modules with the high address line, can carry out the read-write and the control of corresponding module by different address spaces like this.
The switching of bus:, therefore designed bus switch circuit and bus synchronous circuit owing to there is the same peripheral hardware of multiprocessor common access.Mode of operation difference according to peripheral circuit can be divided into two kinds of situations:
1. for hardware accelerator, write a blocks of data by processor earlier, wait until after the startup that computing finishes to read the result again, whole process can only be by some processor control.
2. for control circuit, whenever all may carry out read-write operation by certain processor.
See Fig. 3, for first kind of situation, each accelerator design bus switch switch.The operating process of processor following (is example with DSP1 visit Viterbi code translator): at first, DSP1 sends the bus request for utilization by write control register to Viterbi code translator bus switch circuit, if the Viterbi module is in idle condition, then bus application success, DSP1 can normally visit and read and write data, if this module is in use, (carrying out data processing or taken by DSP2) then refuses the visit of DSP1.When this Viterbi decoding computing end, DSP1 reads the result data of Viterbi code translator, and the release bus of giving an order.Can guarantee that in this way hardware accelerator is carrying out can not interrupted by another processor in a data handling procedure, in case bus is taken by a processor, before bus discharges, do not have new bus arbitration and change action, improved communication efficiency.
Referring to Fig. 4, for second kind of situation, because the clock difference of each processor need be carried out the processing of bus synchronous, to same clock zone, merging according to the priority sequencing becomes a bus peripheral hardware is conducted interviews with the bus synchronous of each processor.Simultaneously need to guarantee that processor can not visit same peripheral hardware at synchronization on the software, therefore this mode is fit to a spot of register data of read-write, as the TD-SCDMA control module.

Claims (4)

1, multiprocessor share peripheral circuit implementation method, be characterised in that: each hardware accelerator peripheral hardware all is connected to a bus switch bus from different processor is switched, processor sends the bus application earlier when using hardware accelerator, whether bus switch allows the visit of this processor according to the duty decision of this module; After a data processing of hardware accelerator and carrying were finished, processor sent the bus release command to allow the use next time of this accelerator;
For the frequent control register peripheral hardware of visit, the bus of multiprocessor adopts synchronizing circuit to merge.
2, multiprocessor share peripheral circuit implementation method according to claim 1 is characterized in that: merging according to the priority sequencing becomes a bus peripheral hardware is conducted interviews.
3, the multiprocessor share peripheral circuit of realizing according to claim 1 or 2 described methods, it is characterized in that: comprise the multiprocessor that constitutes by an ARM9 processor and DSP1, DSP2 storer, the DSP subsystem of the hardware accelerator that constitutes by FIR module, JD computing, Viterbi decoding, Turbo code translator and system's timing and control circuits; ARM and peripheral hardware thereof constitute the ARM subsystem; The inner AMBA of employing of ARM subsystem bus connects, by the dual port RAM communication between internal storage interface module IMIF realization ARM subsystem and the DSP subsystem; Adopt bus switch circuit that the bus from different processor is switched;
Described DSP1 sends the bus request for utilization by write control register to Viterbi code translator bus switch module, if the Viterbi module is in idle condition, and then bus application success, DSP1 can normally visit and read and write data; If this module is in use, promptly carrying out data processing or taking by DSP2, then refuse the visit of DSP1;
When this Viterbi decoding computing end, DSP1 reads the result data of Viterbi code translator, and the release bus of giving an order.
4, multiprocessor share peripheral circuit according to claim 3 is characterized in that: adopt the bus synchronous circuit that the bus from different processor is merged, realize multiprocessor share peripheral.
CN200610054101A 2006-02-28 2006-02-28 Method for achieving multiprocessor share peripheral circuit and its circuit Active CN100592272C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610054101A CN100592272C (en) 2006-02-28 2006-02-28 Method for achieving multiprocessor share peripheral circuit and its circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610054101A CN100592272C (en) 2006-02-28 2006-02-28 Method for achieving multiprocessor share peripheral circuit and its circuit

Publications (2)

Publication Number Publication Date
CN1811740A true CN1811740A (en) 2006-08-02
CN100592272C CN100592272C (en) 2010-02-24

Family

ID=36844670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610054101A Active CN100592272C (en) 2006-02-28 2006-02-28 Method for achieving multiprocessor share peripheral circuit and its circuit

Country Status (1)

Country Link
CN (1) CN100592272C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383632A (en) * 2007-09-05 2009-03-11 中国科学院微电子研究所 TD-SCDMA terminal receiver chip
CN102063337A (en) * 2009-11-17 2011-05-18 中兴通讯股份有限公司 Method and system for information interaction and resource distribution of multi-processor core
CN104123261A (en) * 2014-07-01 2014-10-29 联想(北京)有限公司 Electronic equipment and information transfer method
CN105893036A (en) * 2016-03-30 2016-08-24 清华大学 Compatible accelerator extension method for embedded system
CN111447127A (en) * 2020-03-11 2020-07-24 北京金茂绿建科技有限公司 Bus multiplexing method and system
CN113190496A (en) * 2021-04-23 2021-07-30 深圳市汇顶科技股份有限公司 Kernel communication method, device, chip, electronic equipment and storage medium
CN114036091A (en) * 2021-10-30 2022-02-11 西南电子技术研究所(中国电子科技集团公司第十研究所) Multiprocessor peripheral multiplexing circuit and multiplexing method thereof
CN114741351A (en) * 2022-06-10 2022-07-12 深圳市航顺芯片技术研发有限公司 Multi-core chip and computer equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383632A (en) * 2007-09-05 2009-03-11 中国科学院微电子研究所 TD-SCDMA terminal receiver chip
CN101383632B (en) * 2007-09-05 2013-04-24 中国科学院微电子研究所 TD-SCDMA terminal receiver chip
CN102063337A (en) * 2009-11-17 2011-05-18 中兴通讯股份有限公司 Method and system for information interaction and resource distribution of multi-processor core
CN102063337B (en) * 2009-11-17 2014-01-08 中兴通讯股份有限公司 Method and system for information interaction and resource distribution of multi-processor core
CN104123261B (en) * 2014-07-01 2017-06-27 联想(北京)有限公司 A kind of electronic equipment and information transferring method
CN104123261A (en) * 2014-07-01 2014-10-29 联想(北京)有限公司 Electronic equipment and information transfer method
CN105893036A (en) * 2016-03-30 2016-08-24 清华大学 Compatible accelerator extension method for embedded system
CN111447127A (en) * 2020-03-11 2020-07-24 北京金茂绿建科技有限公司 Bus multiplexing method and system
CN111447127B (en) * 2020-03-11 2022-05-06 北京金茂绿建科技有限公司 Bus multiplexing method and system
CN113190496A (en) * 2021-04-23 2021-07-30 深圳市汇顶科技股份有限公司 Kernel communication method, device, chip, electronic equipment and storage medium
CN113190496B (en) * 2021-04-23 2023-12-26 深圳市汇顶科技股份有限公司 Kernel communication method, device, chip, electronic equipment and storage medium
CN114036091A (en) * 2021-10-30 2022-02-11 西南电子技术研究所(中国电子科技集团公司第十研究所) Multiprocessor peripheral multiplexing circuit and multiplexing method thereof
CN114741351A (en) * 2022-06-10 2022-07-12 深圳市航顺芯片技术研发有限公司 Multi-core chip and computer equipment

Also Published As

Publication number Publication date
CN100592272C (en) 2010-02-24

Similar Documents

Publication Publication Date Title
CN1811740A (en) Method for achieving multiprocessor share peripheral circuit and its circuit
US6772268B1 (en) Centralized look up engine architecture and interface
CN1013067B (en) Tightly coupled multiprocessor instruction synchronization
JP5626690B2 (en) Multi-process barrier physical manager
CN102724035B (en) Encryption and decryption method for encrypt card
JP4915631B2 (en) Interprocessor communication system
CN101840390B (en) Hardware synchronous circuit structure suitable for multiprocessor system and implement method thereof
CN1818869A (en) Mirror starting optimization of built-in operation system
CN1892606A (en) Cluster code management method and system
CN1197018C (en) Device and method for implementing dual system slots
CN1243296C (en) Method and system for selectively interconnecting subsystemson synchronous bus
CN104699641A (en) EDMA (enhanced direct memory access) controller concurrent control method in multinuclear DSP (digital signal processor) system
CN1221919A (en) System for interchanging data between data processor units having processors interconnected by common bus
CN1614579A (en) Method and apparatus for transferring data at high speed using direct memory access in multi-processor environments
CN1493027A (en) Managing coherence via put/get windows
CN1930549A (en) Electronic circuit
CN1181438C (en) Method for controlling access of asynchronous clock devices to shared storage device
US20040064748A1 (en) Methods and apparatus for clock domain conversion in digital processing systems
CN116303169A (en) DMA control device and method and chip
CN1246784C (en) Digital signal processor with restructurable number of channels DMA
CN1719416A (en) Embedded type parallel computation system and embedded type parallel computing method
CN1181441C (en) Direct access controller system of storage
JP3615219B2 (en) System controller, control system, and system control method
CN100341257C (en) ASC realizing method in switching single board load
CN100336025C (en) Method and apparatus for internal memory data base synchronous data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20081024

Address after: Huang Chongqing Nan'an District 1 Sam Fort Park

Applicant after: Chongqing City Communication & Technology Co., Ltd.

Address before: B, 4, Neptune tech building, Chongqing, Yubei District

Applicant before: Chongqing cyit (Group) Limited by Share Ltd

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170527

Address after: Nanping Street 400060 Chongqing Nan'an District Nancheng Road No. 199 left attached to the floor 403

Patentee after: Keen (Chongqing) Microelectronics Technology Co., Ltd.

Address before: 400037 Chongqing Nan'an District Park, Fort Huang Ya

Patentee before: Chongqing City Communication & Technology Co., Ltd.