A one-time programmable memory device is provided in the invention. The one-time programmable memory device includes a one-time programmable memory and a memory controller. The one-time programmable memory includes a first block and a second block. The first block includes a plurality of initial address units and each initial address unit corresponds to a variable to record the storage address of its corresponding variable, and wherein the second block includes a plurality of storage units and each storage unit has a corresponding storage address. The memory controller is coupled to the one-time programmable memory. The memory controller allocates the storage address to the variable. The content of each variable is stored in the storage unit corresponding to the storage address corresponding to the variable. The number of initial address units is smaller than the number of storage units.
Legal claims defining the scope of protection, as filed with the USPTO.
3. The one-time programmable memory device of claim 2, wherein contents stored in the first block, the third block and the fourth block are generated through a one-hot encoding method.
4. The one-time programmable memory device of claim 2, wherein when a new variable needs to be added into the one-time programmable memory, the memory controller determines that the number of the variables which have been programmed into the one-time programmable memory has reached an upper limit value.
5. The one-time programmable memory device of claim 4, wherein if the number of the variables which have been programmed into the one-time programmable memory have not reached the upper limit value, the memory controller sets a variable name for the new variable according to the number of the variables which have been programmed into the one-time programmable memory.
6. The one-time programmable memory device of claim 1, wherein if the number of the storage units which have been used have not reached the upper limit value, the memory controller assigns the storage address which has not been used in the second block to the variable which needs to be modified.
7. The one-time programmable memory device of claim 6, wherein when the variable is modified, the memory controller increases the number of the storage units which have been used by 1.
8. The one-time programmable memory device of claim 1, wherein when the content of the variable programmed into the one-time programmable memory needs to be read, the memory controller reads the storage address stored in the initial address unit corresponding to the variable whose content needs to be read, and then obtains the content of the variable according to the storage address.
9. The one-time programmable memory device of claim 1, wherein each initial address unit further records a variable number and a variable name for its corresponding variable.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
September 8, 2020
July 26, 2022
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.