CN1324461C - Method and strnctuve for inqnirying parameter table asisted by CPU - Google Patents

Method and strnctuve for inqnirying parameter table asisted by CPU Download PDF

Info

Publication number
CN1324461C
CN1324461C CNB021426376A CN02142637A CN1324461C CN 1324461 C CN1324461 C CN 1324461C CN B021426376 A CNB021426376 A CN B021426376A CN 02142637 A CN02142637 A CN 02142637A CN 1324461 C CN1324461 C CN 1324461C
Authority
CN
China
Prior art keywords
digital signal
signal processor
request
processing unit
central processing
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
CNB021426376A
Other languages
Chinese (zh)
Other versions
CN1484141A (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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Priority to CNB021426376A priority Critical patent/CN1324461C/en
Publication of CN1484141A publication Critical patent/CN1484141A/en
Application granted granted Critical
Publication of CN1324461C publication Critical patent/CN1324461C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention provides a method and a structure for a digital signal processor to inquire a parameter table with the assistance of a central processing unit. The structure comprises a digital signal processor, a central processing unit, a shared memory connected with the digital signal processor and the central processing unit, and a storage medium controlled by the central processing unit. The present invention is characterized in that the parameter table required by the calculation of the digital signal processor is stored in the storage medium, and the central processing unit reads data in the parameter table from the storage medium and replies the data to the digital signal processor when the digital signal processor requires the data in the parameter table.

Description

The method and system of digital signal processor access parameter form
Technical field
The invention relates to a kind of digital signal processor (Digital Signal Processor, DSP) method of query argument form and framework, be meant a kind of digital signal processor by using central processing unit (Central Processing Unit, CPU) method and the framework of assistance query argument form especially.
Background technology
The main meaning and execution command or the like of being responsible for peripheral element control, logical operation, analysis instruction representative of central processing unit, and can be considered the maincenter of a system.Yet, owing to the function of central processing unit does not mainly lie in digital operation at the control periphery, generally only can make the simple operation such as adding, subtracting, and and be not suitable for doing digital operation such as mathematics or logical operation.Cause its efficient deficiency (promptly can't computing exclusive disjunction speed low) if force to want central processing unit to do the digital operation meeting.As for digital signal processor be at as add, subtract, the mathematics or the logical operation of multiplication and division design especially, so it has low-power and high efficiency effect for digital operation.Therefore, the present central processing unit digital signal processor of specially using of mostly arranging in pairs or groups do digital operation, for example the digital image and sound optical disk machine (Digital Versatile Disc, DVD), mobile phone or the like, to improve whole digital operation efficient.
As Fig. 1, be the framework 1 that shows a kind of signal processor of Applied Digital in the past 11.Except digital signal processor 11, also comprise a memory cell 12 and outside input and output (external I/O) interface 13 in this framework.A ROM (read-only memory) (Read-OnlyMemory, ROM) 121 and one random access memory (Random Access Memory, RAM) 122, required program and data when providing digital operation processor 8 to carry out algorithms are provided memory cell 12.Digital signal processor 11 carries out the required algorithm of digital operation needs the parameter form mostly, for instance, during speech recognition, after sound calculates by analysis, just needs the parameter form to come judged result; Perhaps also may have several parameters in the mathematics calculation, as Y=aX^2+bX+c, if input signal is X, then output signal Y just needs (a, b, c), and (a, b, c) according to the combination of different situations may be just very many (suppose a, b, when c is all nibble data (0~15), but then change number of combinations as many as 16*16*16=64K pen), these may the parameter combinations variation also can form the parameter form.And these parameter forms can be pre-stored in ROM (read-only memory) 121, and if digital signal processor 11 calculates when needing, the writing position reading of data that then needs data in memory cell 12, this kind access are called directly address (direct addressing) and can finish in a computing clock pulse.And outside I 13 is to be used for being connected with the external circuit or the element of for example central processing unit and so on, to control or exchanges data.So, can utilize digital signal processor 11 to carry out digital operation, to improve the operation efficiency of system.
The data width (data width) of digital signal processor 11 is a sixteen bit unit at present, so addressable space (addressable space) is restricted to 64KB (2 16=64KB), so if the stroke count in the required parameter form of digital signal processor 11 during more than 64K, then can't deposit in the memory cell 12.Very the person because these addressing spaces are the memory configurations (memory map) that comprise ROM (read-only memory) 121, random access memory 122 and outside I 13, be less than 64KB so in fact can supply the addressing space of parameter form application.In addition, be designed on the single wafer usually as the framework 1 of Fig. 1 and encapsulate.Present consideration based on factors such as cost and volumes, the capacity of memory cell 12 only is about 2K mostly, because memory cell 12 also need be stored other programs or data except the stored parameter form, so the general parameters form is greater than the inquiry that just has been unfavorable for digital signal processor 11 more than the 1K.
During practical application, when if digital signal processor 11 is used for carrying out complicated digital operation, for example speech recognition, Flame Image Process, mobile phone and video signal interface or the like, its parameter form that needs may can't deposit in the memory cell 12 greater than 64K at all.Yet,, come for other circuit or element application such as central processing unit owing to there being other outside slower storeies (for example flash memory, random access memory) greatly in the system that generally comprises framework 1.So as Fig. 2, present solution is to utilize the storer 21 be arranged at framework 1 ' outside to come the stored parameter form, and via outside I 13 ' with indirect addressing (indirect addressing) mode access.But there is following shortcoming in aforementioned manner:
(1) need the extra external circuit that increases:
Though the external memory storage 21 of stored parameter form can be application architecture 1 ' system in existing circuit, but owing to utilize the indirect addressing mode to come the access external memory storage, come buffer memory to desire the position of reading of data so still need set up a position impact damper 22, come buffer memory to read the data of position with a data buffer 23 from external memory storage 21, with link up framework 1 ' with external memory storage 21.And and need addition one access-control scheme 24, direct memory access (Direct Memory Access for example, DMA) controller, directly being back to data buffer 23 according to the position access external memory storage 21 in the position impact damper 22 and with reading of data, for Applied Digital signal processor 11 ' framework 1 ' use.So, need set up the external circuit that comprises position impact damper 22, data buffer 23 and access-control scheme 24 altogether, make the element cost increase in framework 1 ' and 21 of external memory storages.
(2) increase operation time:
Digital signal processor 11 ' need see through external circuit 22-24 and read the interior data of parameter form, so need earlier with in the position writing position impact damper 22, then by access-control scheme 24 according to 21 data in the position reading external memories in the position impact damper 22 and return and deposit to data buffer 23, for digital signal processor 11 ' through outside I 13 ' reading of data.So, different original digital signal processor 11 ' directly by internal memory unit 12 ' reading of data, need be and increase to the step of external circuit 22-24 reading of data, make the data read time under a computing clock pulse, to finish, and because digital signal processor 11 ' after sending the status requirement of desired data, can't carry out other calculation process and need to wait for take desired data after, beginning can be continued computing, cause increase operation time and reduce digital signal processor 11 ' usefulness and speed.
In addition, the data width of central processing unit is 32 bits at present, makes its addressing space up to 4Giga (2 32=4*10 6), and with the memory span of its collocation very big (for example flash memory, dynamic RAM or the like), make central processing unit have redundant addressing space and storage space and can supply usefulness with the collocation storer, and because central processing unit just has the storage access function originally and general digital signal processor is to use with the central processing unit collocation, can utilize central processing unit to assist digital signal processor query argument form so this case inventor considers, so need not increase external circuit and also can quicken arithmetic speed.
Summary of the invention
Therefore, a purpose of the present invention is at the method and the framework that provide a kind of digital signal processor by using central processing unit to assist the query argument form, to reach the effect that reduces cost.
Another object of the present invention is at the method and the framework that provide a kind of digital signal processor by using central processing unit to assist the query argument form, to reach the effect of quickening the query argument form.
Another purpose of the present invention is at the method and the framework that provide a kind of digital signal processor by using central processing unit to assist the query argument form, to reach the effect that improves operation efficiency.
A further object of the present invention is at the method and the framework that provide a kind of digital signal processor by using central processing unit to assist the query argument form, reduces the effect of form parameter query for the demand of addressing space to reach.
A more purpose of the present invention is at the method and the framework that provide a kind of digital signal processor by using central processing unit to assist the query argument form, reduces the effect of digital signal processor for storage requirement to reach.
So, the invention provides a kind of method that allows the digital signal processor access to be stored in the parameter form in the medium, this digital signal processor and this medium are connected to central processing unit, this method comprises step: when expectation during to the access of parameter form, allow digital signal processor notice central processing unit, so that central processing unit is inquired about the institute's request msg in this parameter form from medium, and the institute's request msg in the parameter form that central processing unit output is inquired is to digital signal processor, as Query Result.
The present invention also provides a kind of method that allows digital signal processor access parameter form, and this method comprises step: a) stored parameter form in medium; B) provide the central processing unit that is connected to digital signal processor and medium; C) provide the shared storage that is connected to digital signal processor and central processing unit; D) when expectation access parameter form, allow digital signal processor in shared storage, to store a request of data, and send a request command to central processing unit; E) when receiving request command, allow central processing unit reading of data request in shared storage, access medium so as the institute request msg corresponding in the query argument form with request of data, in shared storage storage institute request msg, and send a response command and give digital signal processor; And f) when receiving response command, allow digital signal processor from shared storage, to inquire about institute's request msg.
The present invention further provides a kind of computing system, comprising: digital signal processor; Medium is used for the stored parameter form; Central processing unit is connected to described digital signal processor and described medium; Shared storage, be connected to described digital signal processor and described central processing unit, wherein, described digital signal processor is configured to store data in described shared storage, and during to the access of parameter form, send a request command to described central processing unit in expectation; Described central processing unit is configured to when when described digital signal processor receives request command, and reading of data request in shared storage, access medium are so that the institute request msg corresponding with request of data in the query argument form, storage institute's request msg and send a response command and give digital signal processor in shared storage; And described digital signal processor also is configured to when when described central processing unit receives response command inquiry institute request msg from described shared storage.
The present invention further provides a kind of digital signal processor is stored in the data in the parameter form in the first memory in order to inquiry method, this parameter form has the size bigger than the addressing capability of described digital signal processor, described method comprises step: (a) digital signal processor sends the inquiry notice to central processing unit, receive the inquiry notice, parameter form in the central processing unit inquiry first memory, read data corresponding in the parameter form, and the data that storage is read in second memory; And
(b) digital signal processor extracts the data query that is stored in the second memory.
The present invention further provides a kind of central processing unit in order to receive request so that inquire about the method for the data in the parameter form that is stored in the first memory from digital signal processor, this parameter form has the size bigger than the addressing capability of described digital signal processor, and described method comprises step: (a) receive the request of indicating the data that will inquire about; (b) the parameter form in the access first memory; (c) storage is from the data parameter form, that asked in the first memory in second memory, and described second memory has the size in the addressing capability of described digital signal processor; And (d) notify described digital signal processor institute request msg to be stored in the second memory.The present invention further provides and a kind ofly be used for allowing the digital signal processor access to be stored in the system of the parameter form of medium, comprising: digital signal processor with first addressing capability; Has processor greater than second addressing capability of first addressing capability; The first memory of stored parameter form; And the second memory that is connected with processor with digital signal processor, wherein, when digital signal processor is desirably in the parameter form data query, digital signal processor request processor access first memory, and store institute's request msg into second memory, and processor reads institute's request msg in second memory.
According to one embodiment of present invention, because the parameter form is stored in the medium, so comprising internal storage in the wafer of digital signal processor need not store the parameter form that takies a large amount of storage spaces and not be required to be and read the parameter form and take and the corresponding addressing space of parameter form data volume, really can reduce required storer of query argument form and addressing space thus, storer of so vacating and addressing space can be done other running for digital signal processor, and then the function of increase digital signal processor, perhaps, owing to no longer need jumbo storer, and can reduce capacity with the internal storage of digital processing unit collocation, and then can reach the effect that reduces cost.
Simultaneously, present embodiment answers the central processing unit of the rapid characteristic of apparatus data access to come the query argument form and can finish inquiry in blink, so can more obtain Query Result in blink really according to digital signal processor of the present invention.Moreover, digital signal processor can be exported query statement before computing in advance, so when computing thereafter, digital signal processor can extract the Query Result of early being prepared by central processing unit to shared storage and carry out computing, so shared storage is the function of similar flash memory, can in advance that the digital signal processor computing is required DSR, so digital signal processor only needs directly Query Result to be read in shared storage to get final product, and then can reach the speed of quickening the query argument form, very the person is because the Query Result of preparing in the shared storage is a central processing unit forms according to query statement in advance, so must be the required data of digital signal processor computing thereafter, and the situation of access error (miss) can still can not take place as flash memory, even therefore compared to flash memory, the present invention still has the access speed advantage of higher, and then can reach the effect that improves operation efficiency.And, need wait for that Query Result could continue to handle because the present invention knows digital signal processor unlike first kind or second kind, but can before Query Result is not replied, carry out other digital operations, so also can reach the effect that increases operation efficiency.
In addition, the present invention utilizes existing central processing unit to assist the query argument form, thereby does not need to increase the data of control data access again, and then can reach the effect that reduces cost.
Description of drawings
Other features and advantages of the present invention in the following detailed description that cooperates with reference to graphic preferred embodiment, can clearly be understood, in graphic:
Fig. 1 is a kind of application architecture figure that knows digital signal processor.
Fig. 2 is the application architecture figure of another kind of conventional number word signal processor, and this digital signal processor in the indirect addressing mode to external memory storage query argument form.
Fig. 3 is that one of a kind of digital signal processor of the present invention is implemented Organization Chart, and this digital signal processor is the assistance query argument form that utilizes central processing unit.
Fig. 4 is the action flow chart of Fig. 3.
Fig. 5 is the action flow chart of the example in the present embodiment.
Embodiment
System design is at present used so mostly allow digital signal processor and central processing unit arrange in pairs or groups, for example mobile phone, digital image and sound optical disk machine, image processing system and speech recognition system and so in order to reach the lifting of operation efficiency.And generally central processing unit comprises two main elements, be respectively arithmetic and logical unit (ALU) and control module (CU), and the main work of control module is to take out required data from the medium such as flash memory or primary memory.Because central processing unit have originally data access function and since the addressing space (as 4GB) of central processing unit very greater than digital signal processor (as 64KB), so make the digital signal processor by using central processing unit assist the query argument form among the present invention.And as Fig. 3, be the Organization Chart of one embodiment of the invention.The system 3 of this embodiment comprises a digital signal processor 31, to share storer 32, a medium 33 and a central processing unit 34.
Digital signal processor 31 is mainly used in the digital operation of combine digital signal, that is as take advantage of mathematics or the logical operation that adds and so on, and have the characteristic of low-power and high digital operation efficient.Because algorithm needs the interior data of parameter form to come auxiliary operation mostly in the digital operation, so the digital signal processor 31 in the present embodiment is when need query argument form, can inquire about notice by corresponding output one query statement 321 and, query statement comprises the writing position of data in one or more desired parameters forms, and the inquiry notice is the message that is used for informing central processing unit 34 1 " digital signal processor 31 needs central processing unit 34 to assist inquiry ".
Shared storage 32 is to be electrically connected digital signal processor 31 and central processing unit 34, for the query statement 321 of buffer memory digital signal processor 31 outputs.For the addressing space that cooperates general digital signal processor 31 is 64KB (because of its data width is 16 bits), the capacity of the shared storage 32 of present embodiment is to be good to be no more than 64KB, and it can be one and builds on internal storage on the same wafer with digital signal processor 31, random-access memory (ram) for example, also can be one and be not positioned at external memory storage on the same wafer with digital signal processor 31, for example dynamic RAM (DRAM) is looked the demand decision of actual design.
Medium 33 is that collocation central processing unit 34 uses and supply required program and the data of storage system 3 runnings.Because the addressing space of central processing unit 34 is up to 4GB (because of its data width is 32 bits), so the memory capacity of medium 33 can be far above the internal storage (64KB) that uses for digital signal processor, and, make medium 33 can obtain jumbo storage space by low-down cost outward with respect to internal storage because the medium 33 of present embodiment is to be positioned at central processing unit 34 not to be positioned on the same wafer with central processing unit 34.So, different know the parameter form is stored in the internal storage of digital signal processor special use, also that digital signal processor 31 computings are the required parameter form 331 of present embodiment is stored in medium 33.Moreover, the medium 33 of present embodiment can be the external memory media that is not contained on central processing unit 34 wafers of all kinds, can erase programmable read-only memory (EEPROM), ROM (read-only memory), hard disk, floppy disk or the like of flash memory, dynamic RAM, electronic type for example, and the memory capacity of medium 33 is very greater than shared storage 32.For instance, if medium is a flash memory, then storage space can be 2MB~8MB, if or hard disk, then storage space more can be up to more than the 40GB, if perhaps dynamic RAM, then storage space can be 4MB~256MB, and medium 33 also can comprise multiple different types of external memory storage, is not limited to the explanation of present embodiment.
Central processing unit 34 is to be electrically connected digital signal processor 31, shared storage 32 and the also running of control system 3 of medium 33, with the maincenter as system.In other words, central processing unit 34 control peripheral elements (as medium 33 and shared storage 32 or the like) also can be according to the external command start, so when central processing unit 34 receives the inquiry notice of sending from digital signal processor 31, then can arrive shared storage 32 and extract query statement 321, then inquire about according to query statement 321 to the parameter form 331 in the medium 33, to read the data of corresponding query statement 321 in the parameter form 331, and be cached in sense data (being Query Result) 322 in the shared storage 32 and send one and finish and notify to digital signal processor 31, make digital signal processor 31 can arrive shared storage 32 extraction Query Results 321 and carry out digital operation.
And be connected with external circuit or element for the ease of the digital signal processor 31 of present embodiment, so present embodiment also comprises the outside I 35 of an electrical connection digital signal processor 31, control or exchanges data to cooperate external circuit.
In order to allow the easier quilt of present embodiment understand, according to aforesaid element and mutual relationship, and cooperate Fig. 4, the flow process of native system 3 is explained.
At first, in step 41, when the data in the digital signal processor 31 need parameter forms 331 are carried out computing, then the writing position formation query statement 321 with desired data is stored in the shared storage 32, and utilizes the inquiry notice to inform the query demand of central processing unit 34 about digital signal processor 31.
Secondly, in step 42,, then enter step 43 in case after central processing unit 34 is received the inquiry notice, promptly can arrive shared storage 32 and extract query statement.
In step 43, the content of central processing unit 34 meeting analysis and consult instructions is to extract desired data according to the writing position that comprises in it, to form Query Result 322 in the parameter form 331 of medium 33.
Then in step 44, central processing unit 34 is stored in Query Result 322 in the shared storage 32 and sends to finish and is notified to digital signal processor 31.
At last, in step 45, finish notice, know that promptly central processing unit 34 finished inquiry when digital signal processor 31 receives.When digital signal processor 31 in these data perform calculations, then can to shared storage 32 read Query Result carry out computing thereafter.So digital signal processor 31 can utilize the assistance of central processing unit 34 to finish 331 inquiries of parameter form really.
It should be noted that, because central processing unit 34 just has more high efficiency data access ability originally compared to digital signal processor 31, and because the high characteristic (for example multiplex (MUX)) of data processing amount of central processing unit 34, so the query statement of digital signal processor 31 can comprise the writing position of many desired datas, and central processing unit 34 still can be finished query actions in regular turn and satisfy the demand of digital signal processor 31.
Moreover, because digital signal processor 31 need be responsible for the query argument form, so when its after step 41 is sent query statement, can directly be independent of other digital signal processing of query statement and need not need wait to obtain to continue computing behind the Query Result as knowing, for example digital signal processor 31 can be after sending query statement but before central processing unit 34 do not reply Query Result, can read the Query Result 322 that query statement 321 last time produced from shared storage 32 and carry out computing.
Now cooperate Fig. 5 to lift an example to explain in order to allow digital signal processor 31 can after sending query statement, directly carry out other computings.Set digital signal processor 31 in this example in the execution work process, may need two groups of parameter forms of inquiry, be respectively parameter form Table1 and Talbe2, the size of two groups of parameter forms is all 1024 * 3.The content of parameter form Table1 is that (c) parameter, totally 1024 groups of combinations be used for Y=aX^2+bX+c, and the content of parameter form Table2 are that (f) parameter, totally 1024 groups of combinations are used for Z=dY^2+eY+f for d, e for a, b.This example only explains at the course of work in a stage and supposes that this stage only has the enquiry form demand twice.The purpose of this example is only showing that central processing unit 34 can accept the inquiries that many parameter forms of many groups are handled in the trust of digital signal processor 31, and the usefulness of digital signal processor 31 is unaffected.
At first in step 50, when digital signal processor 31 in the algorithm implementation, if (a, the b of the required use of precognition earlier, c) parameter is some groups, as 2 groups, then can notify central processing unit 34 (being that digital signal processor 31 output inquiries are notified to central processing unit 34) and send query statement 321A, content is Table1[n1]=(an1, bn1, cn1) and Table1[n2]=(an2, bn2, cn2).
Then in step 51, digital signal processor 31 can be carried out other computings that are independent of query statement 321A by Jing, for example mathematics calculation, speech analysis or the like certainly.
Secondly, digital signal processor 31 can judge whether follow-up computing needs other parameters earlier in step 52.If in the step 52 when digital signal processor 31 when judgement needs other parameters to come auxiliary operation, then enter in the step 53; Otherwise if be judged as when denying in the step 52, then execution in step 54.
In step 53, suppose subsequent operation (f) parameter is 3 groups for d, e, and digital signal processor 31 is notified central processing unit 34 once more and sent query statement 321B in shared storage 32 in order to ask Z and to need use in advance.Supposition query statement content is Table2[n3 in this step 53]=(dn3, en3, fn3), Table2[n4]=(dn4, en4, fn4) and Table2[n5]=(dn5, en5, fn5).And step 53 finishes back continuation step 54.
Otherwise, when 31 judgements of digital signal processor in step 52 do not need parameter, then directly enter step 54, be independent of other computings of query statement 321A.
It should be noted, in digital signal processor 31 execution in step 51,52,53,54, central processing unit 34 is also being tabled look-up according to query statement 321A synchronously, finish the back to step 55 so set step 53 or 54 in this example, whether replied the Query Result 322A of corresponding query statement 321A to confirm central processing unit 34.In the present embodiment, when central processing unit 34 has been finished inquiry, meeting be stored in Query Result 322 shared storage 32 and initiatively send to finish and be notified to digital signal processor 31, learns whether central processing unit 34 has been finished query actions so digital signal processor 31 can utilize whether to obtain to finish to notify.
In step 55, when digital signal processor 31 judges that central processing units 34 are not replied as yet, but then in the rebound step 51, continue other computings; Otherwise, when replying, then continue step 56.
In step 56, digital signal processor 31 can extract Query Result 322A to shared storage 32, obtains Y to be used for computing.
Then in step 57, digital signal processor 31 continues to be independent of other computings of query statement 321B.
And then, digital signal processor 31 can send another query statement 321B (as step 53) prior to judging whether in the step 58 in the program of front, if sometimes, then enters step 59, otherwise finishes.
In step 59, digital signal processor 31 can judge whether central processing unit 34 has replied Query Result 322B (promptly whether obtaining the notice of finishing of corresponding query statement 321B).If when not replying, then execution in step 61, and digital signal processor 31 utilizes the neutral gear of waiting for Query Result 322B to carry out other computings, and when a stage is accused in other computings rebound step 59.Otherwise if when having replied, then digital signal processor 31 execution in step 60 are extracted Query Result 322B to shared storage 32 and are obtained Z, then finish.Same, though this example is only done all the other computings with step 61 expression digital signal processor 31 during waiting for Query Result 322B, yet also as described above step 51,52,53,54 program continue other computings, should not be subject to the explanation of this example.
So, digital signal processor 31 can be earlier will carry out the required query demand output of computing thereafter, to make central processing unit 34 action of query argument form in advance, then promptly when central processing unit 34 is inquired about, continue other computings simultaneously.Then, digital signal processor 31 then can directly read in shared storage 32 by 34 pre-prepd Query Results 322 of central processing unit when carrying out computing and need parameter, with so that improve the operation efficiency of digital signal processor 31.
According to preceding described, the present invention has the following advantages really:
1. reduce the demand of query argument form for addressing space and storer:
Be different from first kind and know technology parameter form stores internal storage (promptly being arranged in the storer of same wafer) with digital signal processor, in the present embodiment with in the parameter form 331 store storage medium 33, so comprising internal storage in the wafer of digital signal processor 31 need not store the parameter form that takies a large amount of storage spaces and not be required to be and read the parameter form and take and the corresponding addressing space of parameter form data volume, so know technology compared to first kind, really can reduce required storer of query argument form and addressing space, storer of so vacating and addressing space can be done other running for digital signal processor 31, and then the function of increase digital signal processor 31, perhaps, owing to no longer need jumbo storer, and can reduce capacity with the internal storage of digital processing unit 31 collocation, and then can reach the effect that reduces cost.
2. quicken the speed of query argument form:
Be different from second kind and know the tediously long querying flow that technology places external memory storage with the parameter form and need to control through external circuit, and present embodiment answers the central processing unit 34 of the rapid characteristic of apparatus data access to come query argument form 331 and can finish inquiry in blink, so compared to first kind of control of knowing the external circuit in the technology, the digital signal processor 31 of this case can more obtain Query Result in blink really.Moreover, digital signal processor 31 can be in advance with query statement 321 outputs before computing, so when computing thereafter, digital signal processor 31 can extract the Query Result of early being prepared by central processing unit 34 322 to shared storage 32 and carry out computing, so shared storage 32 is functions of similar flash memory, can be in advance with the required DSR of digital signal processor 31 computings, so digital signal processor 31 only needs directly Query Result 322 to be read in shared storage 32 to get final product, and then can reach the speed of quickening the query argument form, very the person since the Query Results of preparing in the shared storage 32 322 form according to query statement 321 in advance for central processing unit 34, so must be the required data of digital signal processor 31 computing thereafter, and the situation of access error (miss) can still can not take place as flash memory, even therefore compared to flash memory, this case still has the access speed advantage of higher, and then can reach the effect that improves operation efficiency.And, need wait for that Query Result could continue to handle because the present invention knows digital signal processor unlike first kind or second kind, but can before Query Result 322 is not replied, carry out other digital operations, so also can reach the effect that increases operation efficiency.
3. reduce cost:
Know that technology places external memory storage with the parameter form and need to increase the external circuit of control data access compared to second kind, and the present invention utilizes existing central processing unit 34 to assist the query argument form, thereby do not need to increase again the data of control data access, and then can reach the effect that reduces cost.
The above person of thought, it only is preferred embodiment of the present invention, when not limiting scope of the invention process with this, promptly the simple equivalent of doing according to claim of the present invention and description generally changes and modifies, and all should still belong in the scope that patent of the present invention contains.

Claims (28)

1. method that allows the digital signal processor access to be stored in the parameter form in the medium, this digital signal processor and this medium are connected to central processing unit, this method comprises step: when expectation during to the access of parameter form, allow digital signal processor notice central processing unit, so that central processing unit is inquired about the institute's request msg in this parameter form from medium, and the institute's request msg in the parameter form that central processing unit output is inquired is to digital signal processor, as Query Result.
2. the method for claim 1 comprises substep:
Allow digital signal processor in shared storage, to store request of data, and send request command to central processing unit; And
When receiving request command, allow central processing unit reading of data request in shared storage, access medium so that institute's request msg corresponding in the query argument form, storage institute's request msg and send a response command and give digital signal processor in shared storage with request of data.
3. method as claimed in claim 2 also comprises substep: when receiving response command, allow digital signal processor to inquire about institute's request msg from shared storage.
4. method as claimed in claim 2, wherein, request of data comprises the index of indicating the institute position of request msg in medium at least.
5. method as claimed in claim 2 also comprises substep: allow digital signal processor to store in shared storage after the request of data, carry out and the irrelevant computing of this request of data, and send request command to central processing unit.
6. method as claimed in claim 3 also comprises substep: before receiving response command, allow digital signal processor to store another request of data in shared storage, and send another request command to central processing unit.
7. method that allows digital signal processor access parameter form, this method comprises step:
A) stored parameter form in medium;
B) provide the central processing unit that is connected to digital signal processor and medium;
C) provide the shared storage that is connected to digital signal processor and central processing unit;
D) when expectation access parameter form, allow digital signal processor in shared storage, to store a request of data, and send a request command to central processing unit;
E) when receiving request command, allow central processing unit reading of data request in shared storage, access medium so as the institute request msg corresponding in the query argument form with request of data, in shared storage storage institute request msg, and send a response command and give digital signal processor; And
F) when receiving response command, allow digital signal processor from shared storage, to inquire about institute's request msg.
8. method as claimed in claim 7, wherein, request of data comprises the index of indicating the institute position of request msg in medium at least.
9. method as claimed in claim 7, wherein, at step d) and f) between, allow digital signal processor in shared storage, to store after the request of data, carry out and the irrelevant computing of this request of data, and send request command to central processing unit.
10. method as claimed in claim 9, wherein, at step d) and f) between, also allow digital signal processor in shared storage, to store another request of data, and send another request command to central processing unit.
11. method as claimed in claim 9, wherein, in step f), digital signal processor is inquired about institute's request msg from shared storage when finishing the computing that has nothing to do with this request of data.
12. a computing system comprises:
Digital signal processor;
Medium is used for the stored parameter form;
Central processing unit is connected to described digital signal processor and described medium;
Shared storage is connected to described digital signal processor and described central processing unit,
Wherein, described digital signal processor is configured to store data in described shared storage, and during to the access of parameter form, sends a request command to described central processing unit in expectation;
Described central processing unit is configured to when when described digital signal processor receives request command, and reading of data request in shared storage, access medium are so that the institute request msg corresponding with request of data in the query argument form, storage institute's request msg and send a response command and give digital signal processor in shared storage; And
Described digital signal processor also is configured to when when described central processing unit receives response command, inquiry institute request msg from described shared storage.
13. computing system as claimed in claim 12, wherein, request of data comprises the index of indicating the institute position of request msg in described medium at least.
14. computing system as claimed in claim 12, wherein, described digital signal processor also was configured to receive response command after described central processing unit sends request command, from described central processing unit before, carried out and the irrelevant computing of this request of data.
15. computing system as claimed in claim 12, wherein, described digital signal processor also is configured to also have to when described central processing unit receives response command at described digital signal processor, in described shared storage, store another request of data, and send another request command to described central processing unit.
16. computing system as claimed in claim 12, wherein, described medium is external to the computer memory of described central processing unit.
17. a digital signal processor is stored in the method for the data in the parameter form in the first memory in order to inquiry, this parameter form has the size bigger than the addressing capability of described digital signal processor, and described method comprises step:
(a) digital signal processor sends the inquiry notice to central processing unit, receives the inquiry notice, and the parameter form in the central processing unit inquiry first memory reads data corresponding in the parameter form, and the data that storage is read in second memory; And
(b) digital signal processor extracts the data query that is stored in the second memory.
18. as claim 17 described methods, wherein, step (a) is included in and stores request of data in the second memory, and sends request command to central processing unit.
19. method as claimed in claim 17, wherein, step (b) comprises from central processing unit reception response command, and read institute's request msg in second memory.
20. method as claimed in claim 17 wherein, also comprises step in step (a) with (b):
(a-1) carry out one with to the incoherent operation of the request of central processing unit.
21. a central processing unit is in order to receive request so that inquire about the method for the data in the parameter form that is stored in the first memory from digital signal processor, this parameter form has the size bigger than the addressing capability of described digital signal processor, and described method comprises step:
(a) receive the request of indicating the data that to inquire about;
(b) the parameter form in the access first memory;
(c) storage is from the data parameter form, that asked in the first memory in second memory, and described second memory has the size in the addressing capability of described digital signal processor; And
(d) notify described digital signal processor institute request msg to be stored in the second memory.
22. method as claimed in claim 21, wherein, step (a) comprises reception request command from described digital signal processor, and reading of data request in second memory.
23. method as claimed in claim 21, wherein, step (d) is included in storage institute request msg in the second memory, and sends response command to described digital signal processor.
24. one kind is used for allowing the digital signal processor access to be stored in the system of the parameter form of medium, comprises:
Digital signal processor with first addressing capability;
Has processor greater than second addressing capability of first addressing capability;
The first memory of stored parameter form; And
The second memory that is connected with processor with digital signal processor,
Wherein, when digital signal processor is desirably in the parameter form data query, digital signal processor request processor access first memory, and store institute's request msg into second memory, and processor reads institute's request msg in second memory.
25. according to the system of claim 24, wherein, described parameter form has the size greater than described first addressing capability.
26. system according to claim 24, wherein, described first processor comprises digital signal processor, and described second processor comprises central processing unit, described second memory comprises volatile memory, and first memory and second memory are not disposed in the same chip.
27. according to the system of claim 24, wherein, described first processor sends request command by storage request of data in second memory and to described second processor, asks described second processor.
28. according to the system of claim 24, wherein, when storing institute's request msg into described second memory, described second processor also sends to response command described first processor.
CNB021426376A 2002-09-18 2002-09-18 Method and strnctuve for inqnirying parameter table asisted by CPU Expired - Lifetime CN1324461C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021426376A CN1324461C (en) 2002-09-18 2002-09-18 Method and strnctuve for inqnirying parameter table asisted by CPU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021426376A CN1324461C (en) 2002-09-18 2002-09-18 Method and strnctuve for inqnirying parameter table asisted by CPU

Publications (2)

Publication Number Publication Date
CN1484141A CN1484141A (en) 2004-03-24
CN1324461C true CN1324461C (en) 2007-07-04

Family

ID=34148083

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021426376A Expired - Lifetime CN1324461C (en) 2002-09-18 2002-09-18 Method and strnctuve for inqnirying parameter table asisted by CPU

Country Status (1)

Country Link
CN (1) CN1324461C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562683A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 RRU information reporting system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5390344A (en) * 1989-09-21 1995-02-14 Yamaha Corporation FM audio signal receiver having a characteristic control function
US5541862A (en) * 1994-04-28 1996-07-30 Wandel & Goltermann Ate Systems Ltd. Emulator and digital signal analyzer
EP0817011A1 (en) * 1996-06-24 1998-01-07 Motorola, Inc. An electronic system and method for controlling a digital signal processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5390344A (en) * 1989-09-21 1995-02-14 Yamaha Corporation FM audio signal receiver having a characteristic control function
US5541862A (en) * 1994-04-28 1996-07-30 Wandel & Goltermann Ate Systems Ltd. Emulator and digital signal analyzer
EP0817011A1 (en) * 1996-06-24 1998-01-07 Motorola, Inc. An electronic system and method for controlling a digital signal processor

Also Published As

Publication number Publication date
CN1484141A (en) 2004-03-24

Similar Documents

Publication Publication Date Title
US9141549B2 (en) Memory system with read and write caches and method of controlling memory system with read and write caches
US20160253266A1 (en) Data storage device and operating method thereof
US20170364280A1 (en) Object storage device and an operating method thereof
US9977598B2 (en) Electronic device and a method for managing memory space thereof
US10061709B2 (en) Systems and methods for accessing memory
CN112506823B (en) FPGA data reading and writing method, device, equipment and readable storage medium
US11657119B2 (en) Hardware accelerated convolution
US20160062883A1 (en) Data storage device and operating method thereof
US20180136865A1 (en) Method of operating memory device, memory device using the same and memory system including the device
US20090240866A1 (en) Multi-port memory and computer system provided with the same
JP6674460B2 (en) System and method for improved latency in a non-uniform memory architecture
US7310698B2 (en) Method and apparatus for extending memory addressing
CN113407120B (en) Mapping table management method and device based on HMB and computer equipment
CN1714401A (en) SDRAM address mapping optimized for two-dimensional access
CN113835639B (en) I/O request processing method, device, equipment and readable storage medium
CN1324461C (en) Method and strnctuve for inqnirying parameter table asisted by CPU
CN116795735B (en) Solid state disk space allocation method, device, medium and system
JP6676052B2 (en) System and method for enabling improved latency in a non-uniform memory architecture
CN100351813C (en) Method of storage unit access in digital signal processing system and processing system therefor
US20060277394A1 (en) Computing system and method of enabling a digital signal processor to access parameter tables through a central processing unit
CN112835520A (en) Mapping table dynamic loading-based read request processing method and device
CN1551232A (en) Semiconductor memory device for enhancing refresh operation in high speed data access
US6742077B1 (en) System for accessing a memory comprising interleaved memory modules having different capacities
JP5958195B2 (en) Virtual memory management system, virtual memory management apparatus, virtual memory initialization method, and virtual memory initialization program
KR101752304B1 (en) Solid state drive(ssd) including flash memory controller of multiple, and the flash memory controller for perfroming decompression method

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
CX01 Expiry of patent term

Granted publication date: 20070704

CX01 Expiry of patent term