Method and circuit for clearing content of configuration memory of MRAM type FPGA

By judging the real-time data signal and generating the corresponding voltage signal to clear the configuration memory of the MRAM FPGA, the problem of data retention in the MRAM FPGA after power failure is solved and data security is improved.

CN118690420BActive Publication Date: 2024-10-29ZHONGKEXIN MAGNETIC TECH (ZHUHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411170645.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-10-29
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

The configuration memory of MRAM type FPGA retains bitstream data after power off. A method is needed to clear the configuration memory to ensure design security.

Method used

By receiving real-time data signals, it determines whether it is a self-destruction trigger command, generates a self-destruction enable signal, and generates BL voltage, SL voltage, and WL voltage according to the signal and the preset voltage generation rules to control the MTJ unit in the MRAM configuration memory. to clear data.

Benefits of technology

The data security of the configuration bit stream in the MRAM configuration memory is improved, ensuring that the data in the memory can be cleared when needed to protect data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690420B_ABST
    Figure CN118690420B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of MRAM technology in FPGA, and a method and circuit for clearing the content of a configuration memory of an MRAM type FPGA, comprising: judging whether a real-time data signal is a self-destruction trigger command, if not, re-receiving the real-time data signal, if yes, generating a self-destruction enable signal, generating a BL voltage, a SL voltage and a WL voltage according to the self-destruction enable signal and a voltage generation rule, inputting the BL voltage, the SL voltage and the WL voltage into an MTJ unit in an MRAM configuration memory, and performing content clearing on the MRAM configuration memory according to the BL voltage, the SL voltage and the WL voltage. The present invention can improve the data security of a configuration bit stream in an MRAM configuration memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of MRAM technology in FPGA, and in particular to a method and circuit for clearing the content of a configuration memory of an MRAM type FPGA. Background Art

[0002] Field Programmable Gate Array (FPGA) is a semi-customized circuit in ASIC. FPGA allows users to define internal logic functions by configuring memory according to actual needs, thus realizing highly customized hardware solutions.

[0003] MRAM, the full name of which is Magnetoresistive Random-Access Memory, is a non-volatile storage technology. It uses the properties of magnetic materials to store data, specifically, by changing the magnetization direction in the storage cell to represent binary information (0 and 1). MRAM technology combines the characteristics of random access and non-volatility. It can read and write as fast as RAM (random access memory), and can keep data from being lost like a hard disk or flash memory, and can retain information even after power failure.

[0004] MRAM FPGA uses MRAM technology to implement the Configuration Memory function. Since MRAM has non-volatile function, it can continue to store bitstream data after the device is powered off. Because MRAM FPGA has non-volatile capability, in order to ensure the security of bitstream data in the device, a method is required in certain circumstances. Its function is used to clear the bitstream stored in the Configuration Memory of the MRAM FPGA to ensure design security. Summary of the invention

[0005] The present invention provides a method and circuit for clearing the content of a configuration memory of an MRAM type FPGA, the main purpose of which is to improve the data security of a configuration bit stream in the MRAM configuration memory.

[0006] To achieve the above object, the present invention provides a method for clearing the contents of a configuration memory of an MRAM-type FPGA, wherein the configuration memory is an MRAM, comprising:

[0007] receiving a real-time data signal, and determining whether the real-time data signal is a preset self-destruction trigger command, wherein the self-destruction trigger command refers to an instruction to clear the contents in the MRAM configuration memory;

[0008] If the real-time data signal is not a self-destruction trigger command, return to the above step of receiving the real-time data signal;

[0009] If the real-time data signal is a self-destruction trigger command, a self-destruction enable signal is generated;

[0010] Generate a BL voltage, a SL voltage, and a WL voltage according to the self-destruct enable signal and a preset voltage generation rule;

[0011] The step of generating a BL voltage, a SL voltage, and a WL voltage according to the self-destruction enable signal and a preset voltage generation rule includes:

[0012] Generate a write enable signal and a write data signal according to the self-destruct enable signal;

[0013] Inputting the write data signal into a NOT gate in a pre-built voltage control module circuit to obtain a first output signal;

[0014] Inputting the first output signal and the write enable signal into an AND gate in the voltage control module circuit to obtain a second output signal;

[0015] Inputting the second output signal and the self-destruction enable signal into an OR gate in the voltage control module circuit to obtain a BL voltage;

[0016] Inputting the self-destruction enable signal into a NOT gate in the voltage control module circuit to obtain a third output signal;

[0017] Input the third output signal, the write enable signal and the write data signal into an AND gate in the voltage control module circuit to obtain an SL voltage;

[0018] Input the BL voltage and the SL voltage into an OR gate in the voltage control module circuit to obtain a WL voltage;

[0019] The BL voltage, the SL voltage, and the WL voltage are input to the MTJ unit in the pre-built MRAM configuration memory, and the content of the MRAM configuration memory is cleared according to the BL voltage, the SL voltage, and the WL voltage.

[0020] Optionally, the determining whether the real-time data signal is a preset self-destruction trigger command includes:

[0021] Determining whether the real-time data signal is in a preset multi-bit register value format;

[0022] If the real-time data signal is not in the form of a multi-bit register value, converting the real-time data signal into a target data signal in the form of a multi-bit register value;

[0023] If the real-time data signal is in the form of a multi-bit register value, the real-time data signal is used as the target data signal;

[0024] Extract the self-destruct command value in the pre-built self-destruct command storage module;

[0025] determining whether the target data signal includes a self-destruct command value;

[0026] If the target data signal does not include a self-destruct command value, then the real-time data signal is not a self-destruct trigger command;

[0027] If the target data signal includes a self-destruct command value, the real-time data signal is a self-destruct trigger command. Optionally, the structure of the MTJ unit is a sandwich structure, and the sandwich structure is a free layer-barrier layer-fixed layer.

[0028] Optionally, the resistance state of the MTJ unit includes a high resistance state and a low resistance state, wherein when the MTJ unit is in the low resistance state, the metal magnetization directions of the free layer and the fixed layer are the same, and when the MTJ unit is in the high resistance state, the metal magnetization directions of the free layer and the fixed layer are opposite.

[0029] To achieve the above object, the present invention further provides a configuration memory content clearing circuit for an MRAM type FPGA, wherein the configuration memory is an MRAM, and the circuit comprises:

[0030] A self-destruction trigger detection module, used to receive a real-time data signal and determine whether the real-time data signal is a preset self-destruction trigger command; wherein the self-destruction trigger command refers to an instruction to clear the contents in the MRAM configuration memory; if the real-time data signal is not a self-destruction trigger command, then return to the above step of receiving the real-time data signal; if the real-time data signal is a self-destruction trigger command, then generate a self-destruction enable signal;

[0031] a configuration memory clearing circuit, configured to generate a BL voltage, a SL voltage, and a WL voltage according to the self-destruction enable signal and a preset voltage generation rule; the generating of the BL voltage, the SL voltage, and the WL voltage according to the self-destruction enable signal and the preset voltage generation rule comprises: generating a write enable signal and a write data signal according to the self-destruction enable signal; inputting the write data signal into a NOT gate in a pre-constructed voltage control module circuit to obtain a first output signal; inputting the first output signal and the write enable signal into an AND gate in the voltage control module circuit to obtain a second output signal; inputting the second output signal and the self-destruction enable signal into an OR gate in the voltage control module circuit to obtain a BL voltage; inputting the self-destruction enable signal into a NOT gate in the voltage control module circuit to obtain a third output signal; inputting the third output signal, the write enable signal, and the write data signal into an AND gate in the voltage control module circuit to obtain an SL voltage; inputting the BL voltage and the SL voltage into an OR gate in the voltage control module circuit to obtain a WL voltage; inputting the BL voltage, the SL voltage, and the WL voltage into an MTJ unit in a pre-constructed MRAM configuration memory;

[0032] The MRAM configuration memory includes an MTJ unit, which is used to clear the content of the MRAM configuration memory according to the BL voltage, the SL voltage and the WL voltage.

[0033] Optionally, the determining whether the real-time data signal is a preset self-destruction trigger command includes:

[0034] Determining whether the real-time data signal is in a preset multi-bit register value format;

[0035] If the real-time data signal is not in the form of a multi-bit register value, converting the real-time data signal into a target data signal in the form of a multi-bit register value;

[0036] If the real-time data signal is in the form of a multi-bit register value, the real-time data signal is used as the target data signal;

[0037] Extract the self-destruct command value in the pre-built self-destruct command storage module;

[0038] determining whether the target data signal includes a self-destruct command value;

[0039] If the target data signal does not include a self-destruct command value, then the real-time data signal is not a self-destruct trigger command;

[0040] If the target data signal includes a self-destruct command value, the real-time data signal is a self-destruct trigger command.

[0041] Optionally, the structure of the MTJ unit is a sandwich structure, and the sandwich structure is a free layer-barrier layer-fixed layer.

[0042] Optionally, the resistance state of the MTJ unit includes a high resistance state and a low resistance state, wherein when the MTJ unit is in the low resistance state, the metal magnetization directions of the free layer and the fixed layer are the same, and when the MTJ unit is in the high resistance state, the metal magnetization directions of the free layer and the fixed layer are opposite.

[0043] The present invention is to solve the problem described in the background technology. The present invention first determines whether the real-time data signal is a self-destruction trigger command. If the real-time data signal is not a self-destruction trigger command, it is necessary to re-acquire the real-time data signal and continue to determine whether the real-time data signal is a self-destruction trigger command. If the real-time data signal is a self-destruction trigger command, it indicates that it is necessary to perform a content clearing operation on the MRAM configuration memory. Therefore, it is necessary to first generate a self-destruction enable signal, and then generate a BL voltage, a SL voltage, and a WL voltage according to the self-destruction enable signal and a preset voltage generation rule. By controlling the BL voltage, the SL voltage, and the WL voltage, the resistance state of the MTJ unit can be adjusted, thereby achieving the purpose of changing the data in the MRAM configuration memory. When the data is changed, it is equivalent to destroying and clearing the original content of the MRAM configuration memory. Therefore, the BL voltage, the SL voltage, and the WL voltage can be input into the MTJ unit in the MRAM configuration memory, and the MRAM configuration memory is cleared according to the BL voltage, the SL voltage, and the WL voltage. Therefore, the present invention can improve the data security of the configuration bit stream in the MRAM configuration memory. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of a flow chart of a method for clearing the configuration memory content of an MRAM-type FPGA provided by an embodiment of the present invention;

[0045] Figure 2 A self-destruction trigger detection module in a method for clearing the configuration memory content of an MRAM-type FPGA provided in an embodiment of the present invention;

[0046] Figure 3 A configuration memory clearing circuit in a configuration memory content clearing method for an MRAM type FPGA provided by an embodiment of the present invention;

[0047] Figure 4 A voltage control module circuit in a method for clearing the configuration memory content of an MRAM-type FPGA provided by an embodiment of the present invention;

[0048] Figure 5 An MRAM basic unit in a method for clearing the configuration memory content of an MRAM type FPGA provided in an embodiment of the present invention;

[0049] Figure 6 A schematic diagram of writing binary data 0 into an MRAM basic unit in a method for clearing the configuration memory content of an MRAM type FPGA provided by an embodiment of the present invention;

[0050] Figure 7 A schematic diagram of writing binary data 1 into an MRAM basic unit in a method for clearing configuration memory content of an MRAM type FPGA provided by an embodiment of the present invention;

[0051] Figure 8 A diagram of a self-destruction system in a method for clearing contents of a configuration memory of an MRAM-type FPGA provided in one embodiment of the present invention;

[0052] Fig. 9 A functional module diagram of a configuration memory content clearing circuit of an MRAM-type FPGA provided in one embodiment of the present invention.

[0053] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0054] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0055] An embodiment of the present application provides a method for clearing the configuration memory content of an MRAM-type FPGA.

[0056] Configuration memory refers to the memory that stores the configuration information of the FPGA (which can be the FPGA logic structure and connection information). This configuration information determines the behavior of the FPGA at runtime. The configuration memory is the actual memory in the FPGA that stores the bitstream. The configuration memory stores the configuration bitstream of the FPGA so that the FPGA can read and configure itself when it is started or running. The configuration bitstream refers to the binary format data that can be recognized by the FPGA after the logic mapping, layout and routing results are encoded.

[0057] Among existing products, there are two types of configuration memory in FPGA. One is SRAM (static random access memory) type FPGA. SRAM type FPGA does not have the power-off preservation function, so the configuration bit stream needs to be loaded every time the power is turned on; the other is Flash type FPGA. Flash type FPGA has the power-off preservation function, so the configuration bit stream does not need to be reloaded every time the power is turned on. MRAM type FPGA is one type of Flash type FPGA.

[0058] MRAM (Magnetoresistive Random-Access Memory) is a non-volatile memory that represents binary information by changing the magnetization direction in the storage unit. MRAM technology has both random access and non-volatility characteristics. It can read and write as fast as RAM (random access memory), and can keep data from being lost like a hard disk or flash memory, and can save data information even after power failure.

[0059] Reference Figure 1 , which is a flow chart of a method for clearing the configuration memory content of an MRAM-type FPGA provided by an embodiment of the present invention.

[0060] In this embodiment, the method for clearing the configuration memory content of the MRAM type FPGA includes:

[0061] S1. Receive a real-time data signal, and determine whether the real-time data signal is a preset self-destruction trigger command.

[0062] It can be understood that the real-time data signal refers to a data signal input into a multi-bit register or a serial-to-parallel conversion register for determining whether to clear the contents of the configuration memory (MRAM configuration memory) of the MRAM-type FPGA. The multi-bit register is used to store real-time data signals in the form of multi-bit register values ​​input from the outside. The serial-to-parallel conversion register is used to convert real-time data signals that are not in the form of multi-bit register values ​​into multi-bit register values ​​for storage. The self-destruction trigger command refers to an instruction to clear the contents of the MRAM configuration memory.

[0063] In an embodiment of the present invention, the step of determining whether the real-time data signal is a preset self-destruction trigger command includes:

[0064] Determining whether the real-time data signal is in a preset multi-bit register value format;

[0065] If the real-time data signal is not in the form of a multi-bit register value, converting the real-time data signal into a target data signal in the form of a multi-bit register value;

[0066] If the real-time data signal is in the form of a multi-bit register value, the real-time data signal is used as the target data signal;

[0067] Extract the self-destruct command value in the pre-built self-destruct command storage module;

[0068] determining whether the target data signal includes a self-destruct command value;

[0069] If the target data signal does not include a self-destruct command value, then the real-time data signal is not a self-destruct trigger command;

[0070] If the target data signal includes a self-destruct command value, the real-time data signal is a self-destruct trigger command.

[0071] Furthermore, the multi-bit register value format refers to the data storage format of a multi-bit register. The multi-bit register refers to a register that can store multiple bits of data at the same time. The multi-bit register includes multiple register units, each register unit can store one bit of data, and each register unit is connected in parallel to each other and can process multiple data bits at the same time. The value of a multi-bit register is determined by the data bits stored in all the register units inside it. For example, an 8-bit multi-bit register can store any binary number from 00000000-11111111. The target data signal refers to a real-time data signal in the form of a multi-bit register value.

[0072] In detail, the self-destruct command storage module may be an eFuse (one-time programmable memory) or an MRAM, which is used to store a preset self-destruct command value. A comparator in a pre-built self-destruct trigger detection module may be used to determine whether the target data signal includes a self-destruct command value. When the target data signal includes a self-destruct command value, it indicates that the real-time data signal is a self-destruct trigger command. The self-destruct trigger detection module for determining whether the real-time data signal is a self-destruct trigger command may refer to Figure 2 shown.

[0073] If the real-time data signal is not a self-destruction trigger command, then return to the above step of receiving the real-time data signal.

[0074] It is understandable that when the real-time data signal is not a self-destruction trigger command, it is necessary to receive the real-time data signal again and determine whether the re-received real-time data signal is a self-destruction trigger command.

[0075] If the real-time data signal is a self-destruction trigger command, then S2 is executed to generate a self-destruction enable signal.

[0076] It should be understood that the self-destruction enable (SD_EN) signal refers to a signal that triggers the MRAM configuration memory to clear the content, which is used to ensure that the configuration bit stream in the configuration memory can be cleared in time to protect data security when facing data leakage or data theft. When the real-time data signal is a self-destruction trigger command, the self-destruction circuit enable module in the self-destruction trigger detection module can be used to send a self-destruction enable signal.

[0077] S3. Generate a BL voltage, a SL voltage, and a WL voltage according to the self-destruct enable signal and a preset voltage generation rule.

[0078] It can be understood that the BL (Bit Line, BL for short) voltage refers to the bit line voltage at the BL (bit line) end, and the bit line voltage can be expressed as Vbl. The SL (Source Line, SL for short) voltage refers to the source line voltage at the SL (source line) end, and the source line voltage can be expressed as Vsl. The WL (Word Line, WL for short) voltage refers to the word line voltage at the WL (word line) end, and the word line voltage can be expressed as Vwl. The voltage generation rules are detailed in the following embodiments.

[0079] In the embodiment of the present invention, the generating of the BL voltage, the SL voltage and the WL voltage according to the self-destruction enable signal and a preset voltage generating rule includes:

[0080] Generate a write enable signal and a write data signal according to the self-destruct enable signal;

[0081] Inputting the write data signal into a NOT gate in a pre-built voltage control module circuit to obtain a first output signal;

[0082] Inputting the first output signal and the write enable signal into an AND gate in the voltage control module circuit to obtain a second output signal;

[0083] Inputting the second output signal and the self-destruction enable signal into an OR gate in the voltage control module circuit to obtain a BL voltage;

[0084] Inputting the self-destruction enable signal into a NOT gate in the voltage control module circuit to obtain a third output signal;

[0085] Input the third output signal, the write enable signal and the write data signal into an AND gate in the voltage control module circuit to obtain an SL voltage;

[0086] The BL voltage and the SL voltage are input into an OR gate in the voltage control module circuit to obtain a WL voltage.

[0087] It can be understood that the write enable (WR_EN) signal refers to a signal for enabling a write operation to be performed on a voltage control module in a configuration memory clearing circuit. The write data signal (DATA) refers to a data signal written in the voltage control module. The configuration memory clearing circuit can be referred to as Figure 3 shown.

[0088] In detail, the voltage control module circuit can be found in Figure 4 shown.

[0089] Optionally, the BL voltage can be input into the NOT gate, and the output result is the GND voltage of the BL terminal; the SL voltage can be input into the NOT gate, and the output result is the GND voltage of the SL terminal; the WL voltage can be input into the NOT gate, and the output result is the GND voltage of the WL terminal.

[0090] In detail, the write enable signal, the write data signal and the self-destruct enable signal can be used as input data, and the BL voltage, the SL voltage and the WL voltage can be used as output data. The corresponding relationship between the input data and the output data can be seen in Table 1:

[0091] Table 1

[0092]

[0093] Further, the determining of the BL voltage, the SL voltage and the WL voltage according to the write enable signal, the write data signal and the self-destruct enable signal may be performed by a voltage control module circuit.

[0094] S4, inputting the BL voltage, SL voltage and WL voltage into the MTJ unit in the pre-built MRAM configuration memory, and performing content clearing on the MRAM configuration memory according to the BL voltage, SL voltage and WL voltage.

[0095] It is understandable that the present invention forms an MRAM configuration memory through multiple MRAM basic units. Since MRAM has a non-volatile function, it can continue to store configuration bit stream data after the device is powered off. In order to ensure the security of the configuration bit stream data, it is necessary to have the function of clearing the configuration bit stream data in the MRAM configuration memory to ensure data security. The core device of the MRAM basic unit is MTJ (magnetic tunnel junction). The MRAM basic unit can be referred to Figure 5 shown.

[0096] In the embodiment of the present invention, the structure of the MTJ unit is a sandwich structure, and the sandwich structure is a free layer-barrier layer-fixed layer.

[0097] In an embodiment of the present invention, the resistance state of the MTJ unit includes a high resistance state and a low resistance state, wherein when the MTJ unit is in the low resistance state, the metal magnetization directions of the free layer and the fixed layer are the same, and when the MTJ unit is in the high resistance state, the metal magnetization directions of the free layer and the fixed layer are opposite.

[0098] Furthermore, the MRAM configuration memory represents binary data 0 and 1 through different resistance states of the MTJ unit. The resistance state of the MTJ unit can be adjusted by controlling the BL voltage, SL voltage, and WL voltage, thereby achieving the purpose of changing the data. When the data is changed, it is equivalent to destroying and clearing the original content stored in the MRAM configuration memory. When the magnetization directions of the free layer and the fixed layer metal are the same, it means writing binary data 0, that is, low configuration (Rp); when the magnetization directions of the free layer and the fixed metal layer are opposite, it means writing binary data 1, that is, high resistance state (Rap). When writing binary data 0, the voltage Vbl is applied to the BL end of the MRAM, the SL end is connected to 0, and the voltage Vwl is applied to the WL end. The schematic diagram of writing binary data 0 to the MRAM basic unit can be found in Figure 6 When writing binary data 1, the BL terminal of the MRAM is connected to 0, the SL terminal is applied with a voltage Vsl, and the WL terminal is applied with a voltage Vwl. The schematic diagram of writing binary data 1 to the MRAM basic unit can be referred to Figure 7 shown.

[0099] Optionally, the data in the MRAM basic cells can be uniformly set to 0 or all set to 1 (set to 0 by default). Specifically, when setting to 0, the BL voltage can be input through the BL terminal and the SL terminal can be connected to 0 / GND; when setting to 1, the BL terminal can be connected to 0 / GND and the SL terminal can be connected to the SL voltage. The self-destruction trigger detection module, the configuration memory clearing circuit and the voltage control module circuit can be constructed as follows Figure 8 As shown in the self-destruct system diagram, the configuration memory clearing circuit may include a write circuit and a word line decoding circuit. The write circuit applies a BL voltage and a SL voltage to the MTJ unit in the MRAM configuration memory, and the word line decoding circuit applies a WL voltage to the MTJ unit in the MRAM configuration memory.

[0100] The present invention is to solve the problem described in the background technology. The present invention first determines whether the real-time data signal is a self-destruction trigger command. If the real-time data signal is not a self-destruction trigger command, it is necessary to re-acquire the real-time data signal and continue to determine whether the real-time data signal is a self-destruction trigger command. If the real-time data signal is a self-destruction trigger command, it indicates that the MRAM configuration memory needs to be cleared. Therefore, a self-destruction enable signal needs to be generated first, and then a BL voltage, a SL voltage and a WL voltage are generated according to the self-destruction enable signal and a preset voltage generation rule. By controlling the BL voltage, the SL voltage and the WL voltage, the resistance state of the MTJ unit can be adjusted, thereby achieving the purpose of changing the data in the MRAM configuration memory. When the data is changed, it is equivalent to destroying and clearing the original content of the MRAM configuration memory. Therefore, the BL voltage, the SL voltage and the WL voltage can be input into the MTJ unit in the MRAM configuration memory, and the MRAM configuration memory is cleared according to the BL voltage, the SL voltage and the WL voltage. Therefore, the present invention can improve the data security of the configuration bit stream in the MRAM configuration memory.

[0101] like Fig. 9 , which is a functional module diagram of a configuration memory content clearing circuit of an MRAM type FPGA provided by an embodiment of the present invention.

[0102] The configuration memory content clearing circuit 100 of the MRAM type FPGA of the present invention may include a self-destruction trigger detection module 101 , a configuration memory clearing circuit 102 and an MRAM configuration memory 103 .

[0103] The self-destruction trigger detection module 101 is used to receive a real-time data signal and determine whether the real-time data signal is a preset self-destruction trigger command; wherein the self-destruction trigger command refers to an instruction to clear the content in the MRAM configuration memory; if the real-time data signal is not a self-destruction trigger command, then return to the above step of receiving the real-time data signal; if the real-time data signal is a self-destruction trigger command, then generate a self-destruction enable signal;

[0104] The configuration memory clearing circuit 102 is used to generate a BL voltage, a SL voltage and a WL voltage according to the self-destruction enable signal and a preset voltage generation rule; the generating of the BL voltage, the SL voltage and the WL voltage according to the self-destruction enable signal and the preset voltage generation rule includes: generating a write enable signal and a write data signal according to the self-destruction enable signal; inputting the write data signal into a NOT gate in a pre-constructed voltage control module circuit to obtain a first output signal; inputting the first output signal and the write enable signal into an AND gate in the voltage control module circuit to obtain a second output signal; inputting the second output signal and the self-destruction enable signal into an OR gate in the voltage control module circuit to obtain a BL voltage; inputting the self-destruction enable signal into a NOT gate in the voltage control module circuit to obtain a third output signal; inputting the third output signal, the write enable signal and the write data signal into an AND gate in the voltage control module circuit to obtain an SL voltage; inputting the BL voltage and the SL voltage into an OR gate in the voltage control module circuit to obtain a WL voltage; inputting the BL voltage, the SL voltage and the WL voltage into an MTJ unit in a pre-constructed MRAM configuration memory;

[0105] The MRAM configuration memory 103 includes an MTJ unit, which is used to clear the content of the MRAM configuration memory according to the BL voltage, the SL voltage, and the WL voltage.

[0106] In detail, each module in the configuration memory content clearing circuit 100 of the MRAM type FPGA in the embodiment of the present invention is used in the same manner as described above. Figure 1 The above-described MRAM-type FPGA configuration memory content clearing method has the same technical means and can produce the same technical effects, which will not be repeated here.

[0107] In the several embodiments provided by the present invention, it should be understood that the disclosed methods and circuits can be implemented in other ways. For example, the circuit embodiments described above are only illustrative, and actual implementation may have other division methods.

[0108] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0109] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0110] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for clearing the contents of a configuration memory of an MRAM-type FPGA, wherein the configuration memory is an MRAM, characterized in that: The method comprises: receiving a real-time data signal, and determining whether the real-time data signal is a preset self-destruction trigger command, wherein the self-destruction trigger command refers to an instruction to clear the contents in the MRAM configuration memory; If the real-time data signal is not a self-destruction trigger command, return to the above step of receiving the real-time data signal; If the real-time data signal is a self-destruction trigger command, a self-destruction enable signal is generated; Generate a BL voltage, a SL voltage, and a WL voltage according to the self-destruct enable signal and a preset voltage generation rule; The step of generating a BL voltage, a SL voltage, and a WL voltage according to the self-destruction enable signal and a preset voltage generation rule includes: Generate a write enable signal and a write data signal according to the self-destruct enable signal; Inputting the write data signal into a NOT gate in a pre-built voltage control module circuit to obtain a first output signal; Inputting the first output signal and the write enable signal into an AND gate in the voltage control module circuit to obtain a second output signal; Inputting the second output signal and the self-destruction enable signal into an OR gate in the voltage control module circuit to obtain a BL voltage; Inputting the self-destruction enable signal into a NOT gate in the voltage control module circuit to obtain a third output signal; Input the third output signal, the write enable signal and the write data signal into an AND gate in the voltage control module circuit to obtain an SL voltage; Input the BL voltage and the SL voltage into an OR gate in the voltage control module circuit to obtain a WL voltage; The BL voltage, the SL voltage, and the WL voltage are input to the MTJ unit in the pre-built MRAM configuration memory, and the content of the MRAM configuration memory is cleared according to the BL voltage, the SL voltage, and the WL voltage.

2. The method for clearing the configuration memory content of the MRAM type FPGA according to claim 1, characterized in that: The determining whether the real-time data signal is a preset self-destruction trigger command includes: Determining whether the real-time data signal is in a preset multi-bit register value format; If the real-time data signal is not in the form of a multi-bit register value, converting the real-time data signal into a target data signal in the form of a multi-bit register value; If the real-time data signal is in the form of a multi-bit register value, the real-time data signal is used as the target data signal; Extract the self-destruct command value in the pre-built self-destruct command storage module; determining whether the target data signal includes a self-destruct command value; If the target data signal does not include a self-destruct command value, then the real-time data signal is not a self-destruct trigger command; If the target data signal includes a self-destruct command value, the real-time data signal is a self-destruct trigger command.

3. The method for clearing the configuration memory content of the MRAM type FPGA according to claim 1, characterized in that: The structure of the MTJ unit is a sandwich structure, and the sandwich structure is a free layer-barrier layer-fixed layer.

4. The method for clearing the configuration memory content of the MRAM type FPGA as claimed in claim 3, characterized in that: The resistance state of the MTJ unit includes a high resistance state and a low resistance state, wherein when the MTJ unit is in the low resistance state, the metal magnetization directions of the free layer and the fixed layer are the same, and when the MTJ unit is in the high resistance state, the metal magnetization directions of the free layer and the fixed layer are opposite.

5. A configuration memory content clearing circuit for an MRAM type FPGA, wherein the configuration memory is MRAM, characterized in that: The circuit comprises: A self-destruction trigger detection module, used to receive a real-time data signal and determine whether the real-time data signal is a preset self-destruction trigger command; wherein the self-destruction trigger command refers to an instruction to clear the contents in the MRAM configuration memory; if the real-time data signal is not a self-destruction trigger command, then return to the above step of receiving the real-time data signal; if the real-time data signal is a self-destruction trigger command, then generate a self-destruction enable signal; a configuration memory clearing circuit, configured to generate a BL voltage, a SL voltage, and a WL voltage according to the self-destruction enable signal and a preset voltage generation rule; the generating of the BL voltage, the SL voltage, and the WL voltage according to the self-destruction enable signal and the preset voltage generation rule comprises: generating a write enable signal and a write data signal according to the self-destruction enable signal; inputting the write data signal into a NOT gate in a pre-constructed voltage control module circuit to obtain a first output signal; inputting the first output signal and the write enable signal into an AND gate in the voltage control module circuit to obtain a second output signal; inputting the second output signal and the self-destruction enable signal into an OR gate in the voltage control module circuit to obtain a BL voltage; inputting the self-destruction enable signal into a NOT gate in the voltage control module circuit to obtain a third output signal; inputting the third output signal, the write enable signal, and the write data signal into an AND gate in the voltage control module circuit to obtain an SL voltage; inputting the BL voltage and the SL voltage into an OR gate in the voltage control module circuit to obtain a WL voltage; inputting the BL voltage, the SL voltage, and the WL voltage into an MTJ unit in a pre-constructed MRAM configuration memory; The MRAM configuration memory includes an MTJ unit, which is used to clear the content of the MRAM configuration memory according to the BL voltage, the SL voltage and the WL voltage.

6. The configuration memory content clearing circuit of the MRAM type FPGA as claimed in claim 5, characterized in that: The determining whether the real-time data signal is a preset self-destruction trigger command includes: Determining whether the real-time data signal is in a preset multi-bit register value format; If the real-time data signal is not in the form of a multi-bit register value, converting the real-time data signal into a target data signal in the form of a multi-bit register value; If the real-time data signal is in the form of a multi-bit register value, the real-time data signal is used as the target data signal; Extract the self-destruct command value in the pre-built self-destruct command storage module; determining whether the target data signal includes a self-destruct command value; If the target data signal does not include a self-destruct command value, then the real-time data signal is not a self-destruct trigger command; If the target data signal includes a self-destruct command value, the real-time data signal is a self-destruct trigger command.

7. The configuration memory content clearing circuit of the MRAM type FPGA as claimed in claim 5, characterized in that: The structure of the MTJ unit is a sandwich structure, and the sandwich structure is a free layer-barrier layer-fixed layer.

8. The configuration memory content clearing circuit of the MRAM type FPGA as claimed in claim 7, characterized in that: The resistance state of the MTJ unit includes a high resistance state and a low resistance state, wherein when the MTJ unit is in the low resistance state, the metal magnetization directions of the free layer and the fixed layer are the same, and when the MTJ unit is in the high resistance state, the metal magnetization directions of the free layer and the fixed layer are opposite.

Citation Information

Patent Citations

  • Double-end self-check writing circuit of STT-MRAM and data writing method

    CN110993001A

  • Magnetic random access memory, memory array and electronic equipment

    CN114664344A