Method and system for recording integrated circuit version
11636243 · 2023-04-25
Assignee
Inventors
Cpc classification
International classification
G06F30/31
PHYSICS
Abstract
A method and a system for recording an integrated circuit version are provided. The method is adapted to a register in an integrated circuit, which includes the following steps: recording the integrated circuit version with N bits, in which N is an integer greater than 1; and amending only a bit value of at least one bit selected from the N bits that have not been used for denoting any past integrated circuit version each time when the integrated circuit is revised.
Claims
1. A method for recording an integrated circuit version, which is adapted to a register in an integrated circuit, the method comprising: recording the integrated circuit version with N bits, wherein a bit value of each of the N bits is initialized to a first value, the first value is 0 or 1, and N is an integer that is greater than 1; and amending only one or more of the bit values that are still the first value among the N bits each time when the integrated circuit is revised.
2. The method according to claim 1, wherein, each time when the integrated circuit is revised, only the bit value of a lowest bit that is still the first value among the N bits is amended.
3. A system for recording an integrated circuit version, comprising: a register arranged in an integrated circuit, which is configured to record the integrated circuit version with N bits, wherein a bit value of each of the N bits is initialized to a first value, the first value is 0 or 1, and N is an integer that is greater than 1; and a control circuit coupled to the register, which is configured to amend only one or more of the bit values that are still the first value among the N bits each time when the integrated circuit is revised.
4. The system according to claim 3, wherein, each time when the integrated circuit is revised, the control circuit amends only the bit value of a lowest bit that is still the first value among the N bits.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The described embodiments may be better understood by reference to the following description and the accompanying drawings, in which:
(2)
(3)
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
(4) The present disclosure is more particularly described in the following examples that are intended as illustrative only since numerous modifications and variations therein will be apparent to those skilled in the art. Like numbers in the drawings indicate like components throughout the views. As used in the description herein and throughout the claims that follow, unless the context clearly dictates otherwise, the meaning of “a”, “an”, and “the” includes plural reference, and the meaning of “in” includes “in” and “on”. Titles or subtitles can be used herein for the convenience of a reader, which shall have no influence on the scope of the present disclosure.
(5) The terms used herein generally have their ordinary meanings in the art. In the case of conflict, the present document, including any definitions given herein, will prevail. The same thing can be expressed in more than one way. Alternative language and synonyms can be used for any term(s) discussed herein, and no special significance is to be placed upon whether a term is elaborated or discussed herein. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification including examples of any terms is illustrative only, and in no way limits the scope and meaning of the present disclosure or of any exemplified term. Likewise, the present disclosure is not limited to various embodiments given herein. Numbering terms such as “first”, “second” or “third” can be used to describe various components, signals or the like, which are for distinguishing one component/signal from another one only, and are not intended to, nor should be construed to impose any substantive limitations on the components, signals or the like.
(6) Referring to
(7) Reference is made to Table 2. Table 2 is a data format of how the register records the IC version by the method of
(8) TABLE-US-00002 TABLE 2 data format used by the register to record the IC IC version version by the method of FIG. 1 version-1 8′b 00000001 version-2 8′b 00000011 version-3 8′b 00000111 version-4 8′b 00001111 version-5 8′b 00011111 . . . . . .
(9) As shown in Table 2, the bit value of every bit may be initialized to 0. The bit value of bit No. 0, bit[0], is set to 1 for denoting a first version, version-1, of the IC in the present embodiment. That is to say, among all of the eight bits from bit[7] to bit[0], when only the bit value of bit No. 0, bit[0], is set to 1 for denoting the first version, version-1, of the IC, the software or the firmware corresponding to the first version, version-1, of the IC may just check bit No. 0, bit[0] to ensure the capacity between the IC and the software or the firmware. Therefore, when the IC is revised from the first version, version-1, to a second version, version-2, only the bit value of bit No. 1, bit[1], which has not been used for denoting any past integrated circuit version needs to be amended in the present embodiment. That is, the bit values of the eight bits from bit[7] to bit[0] are amended from 00000001 to 00000011, so that the second version, version-2, of the IC allows an older version of the software or the firmware to be able to read the same bit value that denotes the older version of the IC in the register, which is the bit value of bit No. 0, bit[0]. In addition, according to the bits from bit No. 1, bit[1], to bit No. 0, bit[0], the software or the firmware corresponding to the second version, version-2, of the IC is able to read a bit value which is different from the bit value that denotes the older version of the IC from the register. In this way, the second version, version-2, of the IC can simultaneously meet requirements of allowing a new version of the software or the firmware to be able to identify the version of the IC.
(10) Similarly, among all of the eight bits from bit[7] to bit[0], only the bit values of bit No. 0, bit[0], and bit No. 1, bit[1], is set to 1 for denoting the second version, version-2, of the IC, the software or the firmware corresponding to the second version, version-2, of the IC may just check from bit No. 1, bit[1], to bit No. 0, bit[0], to ensure the capacity between the IC and the software or the firmware. Therefore, when the IC is revised from the second version, version-2, to a third version, version-3, only the bit value of bit No. 2, bit[2], which has not been used for denoting any past integrated circuit version needs to be amended in the present embodiment. That is, the bit values of the eight bits from bit[7] to bit[0] are amended from 00000011 to 00000111, so that the third version, version-3, of the IC allows an older version of the software or the firmware to be able to read the same bit value that denotes the older version of the IC in the register. Besides, according to the bits from bit No. 2, bit[2], to bit No. 0, bit[0], the software or the firmware corresponding to the third version, version-3, is able to read a bit value which is different from the bit value denotes the older version of the IC in the register. In this way, the third version, version-3, of the IC can also simultaneously meet the requirements of allowing the new version of the software or the firmware to be able to identify the version of the IC.
(11) Accordingly, when the IC is revised from the third version, version-3, to a fourth version, version-4, only the bit value of bit No. 3, bit[3], which has not been used for denoting any past integrated circuit version needs to be amended in the present embodiment. That is, the bit values of the eight bits from bit[7] to bit[0] are amended from 00000111 to 00001111. It can be inferred that when the IC is revised from the fourth version, version-4, to the fifth version, version-5, only the bit value of bit No. 4, bit[4], which has not been used for denoting any past integrated circuit version needs to be amended in the present embodiment. That is, the bit values of the eight bits from bit[7] to bit[0] are amended from 00001111 to 00011111. In this way, every version of the IC meets the requirements of allowing the new version of the software or the firmware to be able to identify the version of the IC, and of being compatible to the old version of the software or the firmware. That is to say, in the present embodiment, each time when the integrated circuit is revised, only a bit value of a lowest bit from the eight bits that have not been used for denoting any past integrated circuit version is amended.
(12) It should be noted that Table 2 is provided only for illustration purposes, and there is no limitation on how the register is configured to record the IC version by the method shown in
(13) Reference is made to
(14) It should be noted that the control circuit 22 may be implemented by only hardware, or by hardware in cooperation with software or firmware. Further, the register 21 and the control circuit 22 may be integrated together or be arranged separately. In summary, the specific implementation of the control circuit 22 is not limited by the present disclosure. As mentioned above, every bit may be initialized to 0, and the control circuit 22 amends the bit value of bit No. 0, bit[0], to 1 for denoting the first version, version-1, of the IC. However, the present disclosure is not limited thereto. Therefore, when the IC is revised from the first version, version-1, to the second version, version-2, the control circuit 22 may amend only the bit value of bit No. 1, bit[1], that has not been used for denoting any past integrated circuit version. That is, the bit values of the eight bits from bit[7] to bit[0] are amended from 00000001 to 00000011. It can be inferred that when the IC is revised from the fourth version, version-4, to the fifth version, version-5, the control circuit 22 may amend only the bit value of bit No. 4, bit[4], that has not been used for denoting any past integrated circuit version.
Beneficial Effects of the Embodiment
(15) In conclusion, in the method and the system for recording the integrated circuit version provided by the present disclosure, every version of the IC meets the requirements of allowing the new version of the software or the firmware to be able to identify the version of the IC, and of being compatible to the old version of the software or the firmware. That is, the new version of the software or the firmware is able to read from the register a bit value which is different from the bit value that denotes the older version of the IC, and the old version of the software or the firmware is able to read from the register the bit value that denotes the old version of the IC.
(16) The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching.
(17) The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others skilled in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those skilled in the art to which the present disclosure pertains without departing from its spirit and scope.