CN101989189B - Simulated operation method and device for indirect register - Google Patents

Simulated operation method and device for indirect register Download PDF

Info

Publication number
CN101989189B
CN101989189B CN200910161038.6A CN200910161038A CN101989189B CN 101989189 B CN101989189 B CN 101989189B CN 200910161038 A CN200910161038 A CN 200910161038A CN 101989189 B CN101989189 B CN 101989189B
Authority
CN
China
Prior art keywords
indirect register
register
indirect
variable
treatment
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 - Fee Related
Application number
CN200910161038.6A
Other languages
Chinese (zh)
Other versions
CN101989189A (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.)
Global Innovation Polymerization LLC
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910161038.6A priority Critical patent/CN101989189B/en
Publication of CN101989189A publication Critical patent/CN101989189A/en
Application granted granted Critical
Publication of CN101989189B publication Critical patent/CN101989189B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a simulated operation method and a simulated operation device for an indirect register, which are suitable for performing simulated operation on an optional indirect register. The mode does not vary along with the different operation elements of different indirect registers, so that the universality of the simulated operation to the indirect registers can be improved. The method disclosed by the invention comprises that: the simulated operation device for the indirect register determines the address of the indirect register to be operated in a simulated mode and the operation elements related to the indirect register to be operated in the simulated mode; variables corresponding to the determined operation elements is determined from preset variables which correspond to all the operation elements related to all the indirect registers; according to the determined address and operation elements, the configuration of the determined variables is executed; and according to the mode in which the indirect register to be operated in the simulated mode is operated, the indirect register to be operated in the simulated mode is operated according to the configured variables.

Description

The simulated operation method of indirect register and device
Technical field
The present invention relates to light transmission field, relate in particular to a kind of simulated operation method and device of indirect register.
Background technology
Light transmission occupies very important status in modern communications, along with the development of modern communication technology, the function of optical communication equipment from strength to strength, the complexity of the embedded chip using in optical communication equipment also increases thereupon, and the characteristic of embedded chip is also more and more, embedded chip is in the past to adopt the mode of direct read/write register to carry out the data interaction between CPU and register mostly, but after the complexity increase due to embedded chip, be subject to chip hardware resource, the restriction of the aspects such as software interface complexity, current chip often adopts indirect register read-write mode to economize on resources, especially, for the scene that need to utilize indirect register to test in such as laboratory, can further adopt the mode of software emulation to simulate hardware indirect register, to reduce the dependence to hardware resource.
In the prior art, because different hardware indirect registers has different operation elements, therefore while different hardware indirect registers being carried out to software simulation operation, just need to adopt different simulated operation modes for the hardware indirect register with different operating element respectively, at present, for the hardware indirect register with different operating element, also do not provide a kind of general indirect register simulated operation mode.
Summary of the invention
The embodiment of the present invention provides a kind of simulated operation method and device of indirect register, in order to a kind of general indirect register simulated operation mode to be provided.
A simulated operation method for indirect register, comprising: indirect register simulation operation apparatus is determined the address of indirect register for the treatment of simulated operation, and the operation element relevant to the described indirect register for the treatment of simulated operation; Indirect register simulation operation apparatus, from variable that set in advance, corresponding to the relevant all operations element of all indirect registers, is determined the variable corresponding with described definite operation element; Indirect register simulation operation apparatus, according to described definite address and operation element, is carried out the configuration to described definite variable; Indirect register simulation operation apparatus, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilizes the variable of described configuration, and the described indirect register for the treatment of simulated operation is operated.
Preferably, described all operations element at least comprises: for whether control to the data of indirect register start the control bit that shifts, be used to indicate mode bit that whether transfer of the data in indirect register is completed, be used to indicate the function that indirect register has function number, be used to indicate read-write mark that the current operation that indirect register is carried out is read operation or write operation, be used to indicate the sequence number of data in indirect register channel number, be used to indicate the data external interface of the data data-interface used in access indirect register.
Preferably, indirect register simulation operation apparatus is according to the mode that the described indirect register for the treatment of simulated operation is operated, utilize the variable of described configuration, the described indirect register for the treatment of simulated operation is operated specifically and comprised: indirect register simulation operation apparatus judges whether all variablees corresponding to described definite operation element all to configure; When judged result is when being, indirect register simulation operation apparatus, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilizes the variable of described configuration, and the described indirect register for the treatment of simulated operation is operated; When judged result is while being no, indirect register simulation operation apparatus is carried out the configuration to the variable not also being configured in variable corresponding to described definite operation element, and determining when all variablees corresponding to described definite operation element have all been carried out to configuration, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilize the each variable after the configuration corresponding with described definite operation element, the described indirect register for the treatment of simulated operation is operated.
Preferably, indirect register simulation operation apparatus judges whether all variablees corresponding to described definite operation element all to carry out before configuration, also comprise: indirect register simulation operation apparatus is according to described address, from the address of register and the corresponding relation of register type that set in advance, the indirect register type for the treatment of simulated operation described in determining is indirect register.
A simulation operation apparatus for indirect register, comprising: address and operation element determining unit, determine the address of the indirect register for the treatment of simulated operation, and the operation element relevant to the described indirect register for the treatment of simulated operation; Variable determining unit, for from set in advance, corresponding to the variable of the relevant all operations element of all indirect registers, determine with address and operate the variable that the definite operation element of element determining unit is corresponding; Dispensing unit, for according to address and definite address and the operation element of operation element determining unit, carries out the configuration to the definite variable of variable determining unit; Operating unit, for according to the mode that the described indirect register for the treatment of simulated operation is operated, utilizes the variable of dispensing unit configuration, and the described indirect register for the treatment of simulated operation is operated.
The simulated operation scheme of the indirect register that the embodiment of the present invention provides is determined the address of indirect register for the treatment of simulated operation by indirect register simulation operation apparatus, and the operation element relevant to the described indirect register for the treatment of simulated operation; From variable that set in advance, corresponding to the relevant all operations element of all indirect registers, determine the variable corresponding with described definite operation element; According to described definite address and operation element, carry out the configuration to described definite variable; According to the mode that the described indirect register for the treatment of simulated operation is operated, utilize the variable of described configuration, the described indirect register for the treatment of simulated operation is operated, thereby provide a kind of indirect register simulated operation mode that can be general, the difference of the operation element which can not have along with different indirect registers and difference, can greatly facilitate the simulated operation to any indirect register, improve the general degree to indirect register simulated operation.
Accompanying drawing explanation
The idiographic flow schematic diagram of the simulated operation method of a kind of indirect register that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the specific implementation process schematic diagram of step 13 in the embodiment of the present invention;
The simulated operation method of the indirect register that Fig. 3 provides for embodiment of the present invention process schematic diagram in actual applications;
The concrete structure schematic diagram of the simulation operation apparatus of a kind of indirect register that Fig. 4 provides for the embodiment of the present invention.
Embodiment
A kind of indirect register simulated operation mode that can be general is provided, can be applicable to any indirect register to carry out the situation of simulated operation, the difference of the operation element which can not have along with different indirect registers and difference, can greatly facilitate the simulated operation to any indirect register, improve the general degree to indirect register simulated operation.
Below in conjunction with each accompanying drawing, embodiment of the present invention technical scheme main realized to principle, embodiment and the beneficial effect that should be able to reach is explained in detail.
As shown in Figure 1, the idiographic flow schematic diagram of the simulated operation method of a kind of indirect register providing for the embodiment of the present invention, mainly comprises the following steps:
Step 11, indirect register simulation operation apparatus is determined the address of indirect register for the treatment of simulated operation, and treats to this operation element that indirect register of simulated operation is relevant;
Step 12, indirect register simulation operation apparatus is from setting in advance, in variable corresponding to the relevant all operations element of all indirect registers, determine the variable corresponding with definite operation element, wherein, the mode that sets in advance variable is specially: for all operations element relevant to all indirect registers, the variable of each operation element in corresponding all operations element is set respectively, wherein, here said all operations element at least comprises: whether the data of indirect register are started to the control bit shifting for controlling, be used to indicate the mode bit whether transfer of the data in indirect register is completed, be used to indicate the function number of the function that indirect register has, be used to indicate the read-write mark that the current operation that indirect register is carried out is read operation or write operation, be used to indicate the channel number of the sequence number of data in indirect register, be used to indicate the data external interface of the data data-interface used in access indirect register,
Step 13, indirect register simulation operation apparatus basis is treated address and the operation element of this indirect register of simulated operation, carry out the configuration of the variable corresponding with the operation element of this any indirect register, particularly, carry out when variable corresponding to the operation element of indirect register is configured, configuration comprises and respectively operation element is configured and operation element property is configured the process of dependent variable, such as, for aforesaid operations element, control bit is generally 1bit, its attribute is the address of its corresponding register, in the time that control bit is configured to 1, represent to start and shift, mode bit is also 1bit conventionally, and the address that its attribute is its corresponding register, in the time that this mode bit is configured to 1, represents to complete for the data transfer operation in register corresponding to this mode bit, function number is generally multiple bit, and its attribute is the address of this function number corresponding register, read-write mark takies 1bit conventionally, and its attribute is the address that this read-write identifies corresponding register, in the time that read-write mark is configured to 1, represents that identifying corresponding register for this read-write carries out read operation, because a register may exist multiple data-interfaces, such as, may have n data-interface, therefore, the attribute of data-interface is the corresponding register address of data-interface 1~n, in the time that arbitrary data-interface is configured to 1, expression can be passed through this arbitrary data-interface, from fetching data with the corresponding register read of this arbitrary data-interface,
Step 14, indirect register simulation operation apparatus is according to this is treated to the mode that the indirect register of simulated operation operates, utilize the variable having configured, this indirect register for the treatment of simulated operation is operated, the process that indirect register is simulated is: in the time that needs are simulated write operation to any indirect register, be ready to write after the data of this any indirect register and the attribute of relevant transfer request, by control bit being configured to 1 transfer that carrys out log-on data, and whether detected state position is carried out specified data transfer process and is completed, in the time detecting that mode bit is 1, illustrate that data have write this any indirect register, simulation write operation to this indirect register completes, correspondingly, in the time that needs are simulated read operation to indirect register, first need to determine current 1 the data-interface that is configured to, and read the data of storing this indirect register from being configured to 1 data-interface, detecting that mode bit is at 1 o'clock, illustrate that data have read from indirect register, simulation read operation to this indirect register completes.
The simulated operation method of this indirect register providing according to the embodiment of the present invention is known, due in this method when the indirect register until simulated operation carries out simulated operation arbitrarily, indirect register simulation operation apparatus can each operate in variable corresponding to element difference from all operations element relevant to all indirect registers setting in advance, find and arrange with this and treat the variable that the operation element of indirect register of simulated operation is corresponding, thereby can be according to this is treated to the mode that the indirect register of simulated operation operates, utilize the variable of configuration, this indirect register for the treatment of simulated operation is operated, therefore, the embodiment of the present invention has been avoided in prior art for the different indirect registers with different operating element, the trouble that need adopt respectively different simulated operation modes and bring, the method that the embodiment of the present invention provides provides a kind of indirect register simulated operation mode that can be general, the difference of the operation element which can not have along with different indirect registers and difference, can greatly facilitate the simulated operation to any indirect register, improve the general degree to indirect register simulated operation.
The step of the method below further embodiment of the present invention being provided is elaborated:
Be all will be configured the operation element of this any indirect register owing to any indirect register being carried out to the basis of simulated operation, therefore, for above-mentioned steps 13, its specific implementation process can comprise following steps as shown in Figure 2:
Step 21, indirect register simulation operation apparatus judges whether that all variablees that the operation element of the indirect register for the treatment of simulated operation is corresponding all configure, when judged result is when being, execution step 22, otherwise, execution step 23;
Step 22, indirect register simulation operation apparatus, according to this is treated to the mode that the indirect register of simulated operation operates, utilizes the variable of configuration, and this indirect register for the treatment of simulated operation is operated, and flow process finishes;
Step 23, indirect register simulation operation apparatus is carried out the configuration to the variable not also being configured in variable corresponding to definite operation element, and determining when all variablees corresponding to operation element definite in step 11 have all been carried out to configuration, according to this is treated to the mode that the indirect register of simulated operation operates, utilize the each variable after the configuration corresponding with definite operation element, this indirect register for the treatment of simulated operation is operated, and flow process finishes.
In addition, in the method that the embodiment of the present invention provides, before execution above-mentioned steps 21, can also determine the type of register to be simulated, particularly, for indirect register above-mentioned to be simulated, before execution step 21, can also comprise: the address that indirect register simulation operation apparatus basis is treated the indirect register of simulated operation, from the address of register and the corresponding relation of register type that set in advance, determining this indirect register type for the treatment of simulated operation is indirect register.
The method providing take the embodiment of the present invention below process is in actual applications example, illustrates the embodiment of the method that the embodiment of the present invention provides, the concrete schematic diagram of this process as shown in Figure 3:
Step 31, for all operations element relevant to all indirect registers, indirect register being carried out in the program of software simulation, arranges respectively with each in this all operations element and operates the corresponding variable of element;
Step 32, in embodiments of the present invention, take ethernet mac address configuration feature as example, need to be to carrying out simulated operation as the each indirect register in following table 1:
Table 1:
Register title Operation element Address Remarks
Ethernet mac port arrangement register R/W A1 The operation element that also needs configuration is MAC port number and register functions number, control bit, read-write control bit
The low 16bit register of ethernet mac port arrangement value R/W A2 Low 16 Configuration Values of corresponding MAC port and register entries number
The high 16bit register of ethernet mac port arrangement value R/W A3 High 16 Configuration Values of corresponding MAC port and register entries number
Ethernet mac configuration status register R/W A4 Represent the indication of register configuration interior shifting completion status
For the associative operation element of each indirect register as shown in table 1, indirect register analogue means is carried out the configuration of the INI indirect register operation list of elements, and particularly, configuration is specific as follows corresponding to the program code of the variable of each operation element:
[REG_INDIRECT_WR2]
// appointed function number, register address, mask
200_INDIRECT_WR_funcno=199,7
// to specify to start the control bit shifting, register address, shifts the mark starting
200_INDIRECT_WR_starttrans=200,7,0
// specify read-write zone bit, register address, mask function is the value of statistical indicant of reading
200_INDIRECT_WR_wrflag=201,10,0
// dedicated tunnel number or entry number, register address, mask
200_INDIRECT_WR_channelno=202,0F,
// appointment transfering state position, register address, the mark having shifted
200_INDIRECT_WR_transstate=203,7,1
// function 1 read operation data register list composition: control register address _ _ fixed signal _ function number _ operation flag
200_INDIRECT_WR_datareglist_1_0=204,205
// function 1 write operation data register list composition: control register address _ _ fixed signal _ function number _ operation flag
200_INDIRECT_WR_datareglist_1_1=204,205
200_INDIRECT_WR_datareglist_1_0=204,205
200_INDIRECT_WR_datareglist_1_1=204,205
200_INDIRECT_WR_datareglist_2_0=206,207
200_INDIRECT_WR_datareglist_2_1=206,207
// data are preserved list
204_INDIRECT_save_data=10,20,54,40,50
205_INDIRECT_save_data=10,20,54,40,50
206_INDIRECT_save_data=10,20,54,40,50
207_INDIRECT_save_data=10,20,54,40,50
In said procedure code, the SECTIONNAME of configuration item must be [REG_INDIRECT_WR2], can not change, and, in said procedure code, need and must by the register definitions at control bit place out, be placed in [REG_PROPERTY], making the register regprop=INDIRECT_WR2 at control bit place, follow-up in the time writing control bit like this, just can start the transfer processing operation to data;
Step 33, according to the address A1 of ethernet mac port arrangement register, from the address of register and the corresponding relation of register type that set in advance, determine the type of this register, if determining the type of this register is not indirect register, perform step 34, otherwise, execution step 35;
Step 34, according to the mode of direct control register, the register that is A1 to this address carries out write operation, and flow process finishes;
Step 35, determines that whether the configuration of the operation element that the indirect register that is A1 to address is corresponding is complete, if incomplete, performs step 36, otherwise, execution step 37;
Step 36, returns to miscue, and the operation element arrangements of prompting indirect register is incomplete;
Step 37, take the address A1 of register as index, in the INI of the program indirect register operation list of elements, read corresponding operation element, comprising: register (address is the register of A2, the A3) list at control bit, mode bit, function number, channel number, data external interface place, for register (supposing that the register is here that address is the register of B2, the B3) list of save data;
Step 38, from the register (address is the register of A2, A3) at the data external interface place that reads, specified data external interface, and by established data external interface, reading address is the data of storing in the register of A2, A3, and the data that read out are saved in the register that address is B2, B3;
Step 39, after data have read, the ethernet mac configuration status register that is A4 to address carries out write operation, and mode bit is written as to 1, and designation data has shifted, and flow process finishes.
Correspondingly, the embodiment of the present invention also provides a kind of simulation operation apparatus of indirect register, in order to a kind of general indirect register simulated operation mode to be provided, particularly, the concrete structure schematic diagram of the simulation operation apparatus of this indirect register that the embodiment of the present invention provides as shown in Figure 4, comprises following functions unit:
Address and operation element determining unit 41, the address of definite indirect register for the treatment of simulated operation, and the operation element relevant to the indirect register for the treatment of simulated operation;
Variable determining unit 42, for from setting in advance, in variable corresponding to the relevant all operations element of all indirect registers, determine with address and operate the variable that the definite operation element of element determining unit 41 is corresponding, wherein, all operations element at least comprises: whether the data of indirect register are started to the control bit shifting for controlling, be used to indicate the mode bit whether transfer of the data in indirect register is completed, be used to indicate the function number of the function that indirect register has, be used to indicate the read-write mark that the current operation that indirect register is carried out is read operation or write operation, be used to indicate the channel number of the sequence number of data in indirect register, be used to indicate the data external interface of the data data-interface used in access indirect register etc.,
Dispensing unit 43, for according to address and definite address and the operation element of operation element determining unit 41, carries out the configuration to the definite variable of variable determining unit 42;
Operating unit 44, for the mode operating according to the indirect register for the treatment of simulated operation, the variable that utilizes dispensing unit 43 to configure, the indirect register for the treatment of simulated operation operates.
Preferably, aforesaid operations unit 44 can Further Division be following functions module:
Judge module, all configures address and operation element determining unit 41 definite all variablees corresponding to operation element for determining whether;
Operational module, for the judged result that obtains when judge module when being, the mode operating according to the indirect register for the treatment of simulated operation, the variable that utilizes dispensing unit 43 to configure, the indirect register for the treatment of simulated operation operates, and the judged result obtaining when judge module is while being no, carry out the configuration to the variable not also being configured in variable corresponding to definite operation element, and determining when all variablees corresponding to definite operation element have all been carried out to configuration, the mode operating according to the indirect register for the treatment of simulated operation, utilize the each variable after the configuration corresponding with definite operation element, the indirect register for the treatment of simulated operation operates.
In addition, preferably, operating unit 43 can further include operating unit and also comprises:
Determination module, for judging whether that at judge module all variablees corresponding to definite operation element have all carried out before configuration, according to the address of indirect register for the treatment of simulated operation, from the address of register and the corresponding relation of register type that set in advance, determining this indirect register type for the treatment of simulated operation is indirect register.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (8)

1. a simulated operation method for indirect register, is characterized in that, comprising:
Indirect register simulation operation apparatus is determined the address of indirect register for the treatment of simulated operation, and the operation element relevant to the described indirect register for the treatment of simulated operation;
Indirect register simulation operation apparatus, from variable that set in advance, corresponding to the relevant all operations element of all indirect registers, is determined the variable corresponding with described definite operation element; Wherein, the mode that sets in advance variable is specially: for all operations element relevant to all indirect registers, the variable of each operation element in corresponding all operations element is set respectively;
Indirect register simulation operation apparatus, according to described definite address and operation element, is carried out the configuration to described definite variable;
Indirect register simulation operation apparatus, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilizes the variable of described configuration, and the described indirect register for the treatment of simulated operation is operated.
2. the method for claim 1, is characterized in that, described all operations element at least comprises:
Whether the data of indirect register are started to the control bit shifting for controlling, be used to indicate the mode bit whether transfer of the data in indirect register is completed, be used to indicate the function number of the function that indirect register has, be used to indicate the read-write mark that the current operation that indirect register is carried out is read operation or write operation, be used to indicate the channel number of the sequence number of data in indirect register, be used to indicate the data external interface of the data data-interface used in access indirect register.
3. the method for claim 1, it is characterized in that, indirect register simulation operation apparatus, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilizes the variable of described configuration, and the described indirect register for the treatment of simulated operation is operated specifically and comprised:
Indirect register simulation operation apparatus judges whether all variablees corresponding to described definite operation element all to configure;
When judged result is when being, indirect register simulation operation apparatus, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilizes the variable of described configuration, and the described indirect register for the treatment of simulated operation is operated;
When judged result is while being no, indirect register simulation operation apparatus is carried out the configuration to the variable not also being configured in variable corresponding to described definite operation element, and determining when all variablees corresponding to described definite operation element have all been carried out to configuration, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilize the each variable after the configuration corresponding with described definite operation element, the described indirect register for the treatment of simulated operation is operated.
4. method as claimed in claim 3, is characterized in that, indirect register simulation operation apparatus judges whether all variablees corresponding to described definite operation element all to carry out, before configuration, also comprising:
Indirect register simulation operation apparatus is according to described address, and from the address of register and the corresponding relation of register type that set in advance, the indirect register type for the treatment of simulated operation described in determining is indirect register.
5. a simulation operation apparatus for indirect register, is characterized in that, comprising:
Address and operation element determining unit, determine the address of the indirect register for the treatment of simulated operation, and the operation element relevant to the described indirect register for the treatment of simulated operation;
Variable determining unit, for from set in advance, corresponding to the variable of the relevant all operations element of all indirect registers, determine with address and operate the variable that the definite operation element of element determining unit is corresponding; Wherein, the mode that sets in advance variable is specially: for all operations element relevant to all indirect registers, the variable of each operation element in corresponding all operations element is set respectively;
Dispensing unit, for according to address and definite address and the operation element of operation element determining unit, carries out the configuration to the definite variable of variable determining unit;
Operating unit, for according to the mode that the described indirect register for the treatment of simulated operation is operated, utilizes the variable of dispensing unit configuration, and the described indirect register for the treatment of simulated operation is operated.
6. device as claimed in claim 5, is characterized in that, described all operations element at least comprises:
Whether the data of indirect register are started to the control bit shifting for controlling, be used to indicate the mode bit whether transfer of the data in indirect register is completed, be used to indicate the function number of the function that indirect register has, be used to indicate the read-write mark that the current operation that indirect register is carried out is read operation or write operation, be used to indicate the channel number of the sequence number of data in indirect register, be used to indicate the data external interface of the data data-interface used in access indirect register.
7. device as claimed in claim 5, is characterized in that, described operating unit specifically comprises:
Judge module, all configures all variablees corresponding to described definite operation element for determining whether;
Operational module, for the judged result that obtains when judge module when being, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilize the variable of described configuration, the described indirect register for the treatment of simulated operation is operated, and the judged result obtaining when judge module is while being no, carry out the configuration to the variable not also being configured in variable corresponding to described definite operation element, and determining when all variablees corresponding to described definite operation element have all been carried out to configuration, according to the mode that the described indirect register for the treatment of simulated operation is operated, utilize the each variable after the configuration corresponding with described definite operation element, the described indirect register for the treatment of simulated operation is operated.
8. device as claimed in claim 7, is characterized in that, described operating unit also comprises:
Determination module, for judging whether all variablees corresponding to described definite operation element all to carry out at judge module before configuration, according to described address, from the address of register and the corresponding relation of register type that set in advance, the indirect register type for the treatment of simulated operation described in determining is indirect register.
CN200910161038.6A 2009-07-30 2009-07-30 Simulated operation method and device for indirect register Expired - Fee Related CN101989189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910161038.6A CN101989189B (en) 2009-07-30 2009-07-30 Simulated operation method and device for indirect register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910161038.6A CN101989189B (en) 2009-07-30 2009-07-30 Simulated operation method and device for indirect register

Publications (2)

Publication Number Publication Date
CN101989189A CN101989189A (en) 2011-03-23
CN101989189B true CN101989189B (en) 2014-06-11

Family

ID=43745743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910161038.6A Expired - Fee Related CN101989189B (en) 2009-07-30 2009-07-30 Simulated operation method and device for indirect register

Country Status (1)

Country Link
CN (1) CN101989189B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754809B1 (en) * 1999-12-30 2004-06-22 Texas Instruments Incorporated Data processing apparatus with indirect register file access
CN101226487A (en) * 2008-01-30 2008-07-23 中国船舶重工集团公司第七〇九研究所 Method for implementing inner core level thread library based on built-in Linux operating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754809B1 (en) * 1999-12-30 2004-06-22 Texas Instruments Incorporated Data processing apparatus with indirect register file access
CN101226487A (en) * 2008-01-30 2008-07-23 中国船舶重工集团公司第七〇九研究所 Method for implementing inner core level thread library based on built-in Linux operating system

Also Published As

Publication number Publication date
CN101989189A (en) 2011-03-23

Similar Documents

Publication Publication Date Title
KR100988157B1 (en) Method and apparatus for detecting memory device configuration, and computer readable medium containing instructions for performing method for detecting memory device configuration
CN107907814B (en) Method for improving mass production test efficiency of chips
CN107193560B (en) Configuration updating method and device
CN106371847B (en) CPCI bus RS422 communication driving method and system under Windows xp system
CN1752946A (en) Debugging method of embedded system and its system
CN112445729B (en) Operation address determination method, PCIe system, electronic device and storage medium
US8850371B2 (en) Enhanced clock gating in retimed modules
CN104021023A (en) Solving method of breaking version control of kernel module
CN106021101A (en) Method and device for testing mobile terminal
WO2022222293A1 (en) Storage device test method and apparatus, television, and storage medium
CN113849433A (en) Bus controller execution method and device, bus controller, computer equipment and storage medium
EP2972791B1 (en) Method and apparatus for forwarding literal generated data to dependent instructions more efficiently using a constant cache
CN106407800A (en) A hook method and a terminal device
CN104461603A (en) Information processing method and electronic equipment
CN104298618B (en) The command handling method and device of a kind of intelligent terminal
EP3264226B1 (en) Pin control method and device
CN101989189B (en) Simulated operation method and device for indirect register
CN103412717A (en) Method and mobile equipment for quickly positioning tops or tail ends of lists
CN103389893A (en) Read-write method and device for configuration register
CN107632864B (en) Method for establishing UEFI Boot Order of specific ordering
US20200004546A1 (en) Shared compare lanes for dependency wake up in a pair-based issue queue
CN106648697B (en) Method for lighting terminal and method for automatically controlling terminal
CN107911816A (en) Startup method, multimode IoT equipment and storage medium for multimode IoT equipment
CN110134438B (en) Instruction sorting method and device, mobile terminal and storage medium
CN111147091B (en) Antenna tuning switch logic control method, system and terminal

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180426

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: 518057 Nanshan District high tech Industrial Park, Shenzhen, Guangdong, Ministry of justice, Zhongxing Road, South China road.

Patentee before: ZTE Corp.

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

Granted publication date: 20140611