CN100592272C - 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
CN100592272C
CN100592272C CN200610054101A CN200610054101A CN100592272C CN 100592272 C CN100592272 C CN 100592272C CN 200610054101 A CN200610054101 A CN 200610054101A CN 200610054101 A CN200610054101 A CN 200610054101A CN 100592272 C CN100592272 C CN 100592272C
Authority
CN
China
Prior art keywords
bus
processor
circuit
dsp1
code translator
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.)
Active
Application number
CN200610054101A
Other languages
Chinese (zh)
Other versions
CN1811740A (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
Chongqing Cyit Communication Technologies 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 Chongqing Cyit Communication Technologies Co Ltd filed Critical Chongqing Cyit Communication Technologies Co Ltd
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 circuitmergence 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 synchronous CDMA (Code Division Multiple Access) TD-SCDMA hand-set digit baseband processing chip of time-division, 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 the CDMA (Code Division Multiple Access) TD-SCDMA mobile phone that the time-division is synchronous 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 man-machine interface MMI running software.This chip normally adopts multi-processor structure, cooperating hardware accelerator to finish physical layer signal with double digital signal processor DSP handles, finish the processing of application layer and protocol layer with Advanced RISC Machine 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 Advanced Microcontroller Bus Architecture 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 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 hardware accelerator; 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 hardware accelerator; For the frequent control register peripheral hardware of visit, adopt the bus synchronous circuit that the bus from different processor is merged, the bus synchronous of each processor is arrived same clock zone, according to the priority sequencing bus of a plurality of processors being merged becomes a bus control register peripheral hardware is conducted interviews, and guarantees that a plurality of processors can not visit same control register peripheral hardware at synchronization.
By the multiprocessor share peripheral circuit that the inventive method realizes, comprise an Advanced RISC Machine 9 series A RM9, two digital signal processor DSP1 and DSP2, and the peripheral circuit that constitutes by hardware accelerator and control circuit; Described hardware accelerator comprises finite impulse response FIR wave filter, joint-detection JD arithmetical unit, Viterbi code translator, Turbo code translator and system timer; Wherein, ARM9 and DSP1, DSP2 constitute multiprocessor; FIR wave filter, JD arithmetical unit, Viterbi code translator, Turbo code translator link to each other with the memory expansion bus of DSP1, DSP2 and constitute the DSP subsystem; ARM9 and peripheral circuit thereof constitute the ARM subsystem; The inner Advanced Microcontroller Bus Architecture AMBA bus that adopts of ARM subsystem connects, by the Double Port Random Memory 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 Viterbi code translator bus switch 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 the decoding computing end of this Viterbi code translator, 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 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 hardware accelerator; 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 hardware accelerator;
For the frequent control register peripheral hardware of visit, adopt the bus synchronous circuit that the bus from different processor is merged, the bus synchronous of each processor is arrived same clock zone, according to the priority sequencing bus of a plurality of processors being merged becomes a bus control register peripheral hardware is conducted interviews, and guarantees that a plurality of processors can not visit same control register peripheral hardware at synchronization.
As shown in Figure 1, multiprocessor share peripheral circuit by the inventive method realization, chip comprises an Advanced RISC Machine 9 series A RM9, two digital signal processor DSP1 and DSP2, and the peripheral circuit that is made of hardware accelerator and control circuit; Described hardware accelerator comprises finite impulse response FIR wave filter, joint-detection JD arithmetical unit, Viterbi code translator, Turbo code translator and system timer;
According to the task division of labor of processor, determine that system architecture is as follows: ARM9 and DSP1, DSP2 constitute multiprocessor; FIR wave filter, JD arithmetical unit, Viterbi code translator, Turbo code translator link to each other with the memory expansion bus of DSP1, DSP2 and constitute the DSP subsystem; ARM9 and peripheral circuit thereof constitute the ARM subsystem; The inner Advanced Microcontroller Bus Architecture AMBA bus that adopts of ARM subsystem connects, by the Double Port Random Memory 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 Viterbi code translator bus switch 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 the decoding computing end of this Viterbi code translator, 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 module, if Viterbi code translator bus switch 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 the decoding computing end of this Viterbi code translator, 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 (2)

1, multiprocessor share peripheral circuit implementation method is characterised in that:
Each hardware accelerator 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 hardware accelerator; 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 hardware accelerator;
For the frequent control register peripheral hardware of visit, adopt the bus synchronous circuit that the bus from different processor is merged, the bus synchronous of each processor is arrived same clock zone, according to the priority sequencing bus of a plurality of processors being merged becomes a bus control register peripheral hardware is conducted interviews, and guarantees that a plurality of processors can not visit same control register peripheral hardware at synchronization.
2, the multiprocessor share peripheral circuit of realizing according to the described method of claim 1, it is characterized in that: comprise an Advanced RISC Machine 9 series A RM9, two digital signal processor DSP1 and DSP2, and the peripheral circuit that constitutes by hardware accelerator and control circuit; Described hardware accelerator comprises finite impulse response FIR wave filter, joint-detection JD arithmetical unit, Viterbi code translator, Turbo code translator and system timer; Wherein, ARM9 and DSP1, DSP2 constitute multiprocessor; FIR wave filter, JD arithmetical unit, Viterbi code translator, Turbo code translator link to each other with the memory expansion bus of DSP1, DSP2 and constitute the DSP subsystem; ARM9 and peripheral circuit thereof constitute the ARM subsystem; The inner Advanced Microcontroller Bus Architecture AMBA bus that adopts of ARM subsystem connects, by the Double Port Random Memory RAM communication between internal storage interface module IMIF realization ARM subsystem and the DSP subsystem;
Described DSP1 sends the bus request for utilization by write control register to Viterbi code translator bus switch module, if Viterbi code translator bus switch 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 the decoding computing end of this Viterbi code translator, DSP1 reads the result data of Viterbi code translator, and the release bus of giving an order;
For the frequent control register peripheral hardware of visit, adopt the bus synchronous circuit that the bus from different processor is merged, the bus synchronous of each processor is arrived same clock zone, according to the priority sequencing bus of a plurality of processors being merged becomes a bus control register peripheral hardware is conducted interviews, and guarantees that a plurality of processors can not visit same control register peripheral hardware at synchronization.
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 CN1811740A (en) 2006-08-02
CN100592272C true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383632B (en) * 2007-09-05 2013-04-24 中国科学院微电子研究所 TD-SCDMA terminal receiver chip
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
CN105893036B (en) * 2016-03-30 2019-01-29 清华大学 A kind of Campatible accelerator extended method of embedded system
CN111447127B (en) * 2020-03-11 2022-05-06 北京金茂绿建科技有限公司 Bus multiplexing method and system
CN113190496B (en) * 2021-04-23 2023-12-26 深圳市汇顶科技股份有限公司 Kernel communication method, device, chip, electronic equipment and storage medium
CN114036091B (en) * 2021-10-30 2023-06-16 西南电子技术研究所(中国电子科技集团公司第十研究所) Multiprocessor peripheral multiplexing circuit and multiplexing method thereof
CN114741351B (en) * 2022-06-10 2022-10-21 深圳市航顺芯片技术研发有限公司 Multi-core chip and computer equipment

Also Published As

Publication number Publication date
CN1811740A (en) 2006-08-02

Similar Documents

Publication Publication Date Title
CN100592272C (en) Method for achieving multiprocessor share peripheral circuit and its circuit
CN102446158B (en) Multi-core processor and multi-core processor set
US20190102173A1 (en) Methods and systems for transferring data between a processing device and external devices
EP1896983B1 (en) A memory arrangement for multi-processor systems
JP4915631B2 (en) Interprocessor communication system
JP5626690B2 (en) Multi-process barrier physical manager
CN101840390B (en) Hardware synchronous circuit structure suitable for multiprocessor system and implementation method thereof
US20050021913A1 (en) Multiprocessor computer system having multiple coherency regions and software process migration between coherency regions without cache purges
US9250908B2 (en) Multi-processor bus and cache interconnection system
CN112035388B (en) High-performance encryption and decryption method based on PCI-e channel
CN101833441A (en) Parallel vector processing engine structure
CN102724035A (en) Encryption and decryption method for encrypt card
CN101341454A (en) Asynchronous power saving computer
CN100511207C (en) Communication method between two processors
EP2800008A1 (en) Method and system for multiprocessors to share memory
CN103984677A (en) Embedded reconfigurable system based on large-scale coarseness and processing method thereof
CN104699641A (en) EDMA (enhanced direct memory access) controller concurrent control method in multinuclear DSP (digital signal processor) system
CN101415270A (en) Mobile terminal and communication method for processing module thereof
CN117435251A (en) Post quantum cryptography algorithm processor and system on chip thereof
US9141390B2 (en) Method of processing data with an array of data processors according to application ID
US20080301482A1 (en) Method and apparatus for connecting multiple multimode processors
CN1181438C (en) Method for controlling access of asynchronous clock devices to shared storage device
CN100432968C (en) Direct access device of storage and data transmission method thereof
CN115248701B (en) Zero-copy data transmission device and method between processor register files
JP4391050B2 (en) Multiprocessor array

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.