CN116126288B - Random number generation circuit and method based on resistive random access memory - Google Patents

Random number generation circuit and method based on resistive random access memory Download PDF

Info

Publication number
CN116126288B
CN116126288B CN202310006919.0A CN202310006919A CN116126288B CN 116126288 B CN116126288 B CN 116126288B CN 202310006919 A CN202310006919 A CN 202310006919A CN 116126288 B CN116126288 B CN 116126288B
Authority
CN
China
Prior art keywords
entropy
current
random number
module
transistor
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.)
Active
Application number
CN202310006919.0A
Other languages
Chinese (zh)
Other versions
CN116126288A (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.)
Peking University
Original Assignee
Peking University
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 Peking University filed Critical Peking University
Priority to CN202310006919.0A priority Critical patent/CN116126288B/en
Publication of CN116126288A publication Critical patent/CN116126288A/en
Application granted granted Critical
Publication of CN116126288B publication Critical patent/CN116126288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/58Random or pseudo-random number generators
    • G06F7/588Random number generators, i.e. based on natural stochastic processes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Semiconductor Memories (AREA)
  • Dram (AREA)

Abstract

本发明公开一种基于阻变存储器的随机数发生电路及方法,涉及半导体技术领域。所述电路包括:第一熵产生模块、第二熵产生模块和电流比较模块;第一熵产生模块包括:第一熵产生阻变存储器单元和第一晶体管;第二熵产生模块包括:第二熵产生阻变存储器单元和第二晶体管;第一晶体管用于根据第一控制信号输出第一电流信号;第一熵产生阻变存储器单元用于根据第一电流信号输出第一熵电导值;第二晶体管用于根据第一控制信号输出第二电流信号;第二熵产生阻变存储器单元用于根据第二电流信号输出第二熵电导值;电流比较模块用于:对第一熵电导值和第二熵电导值求差,得到熵电导差值;根据熵电导差值产生随机数。本发明能够提高随机数的产生随机性。

The invention discloses a random number generation circuit and method based on a resistive switching memory, and relates to the field of semiconductor technology. The circuit includes: a first entropy generation module, a second entropy generation module and a current comparison module; the first entropy generation module includes: a first entropy generation resistive memory unit and a first transistor; the second entropy generation module includes: a second an entropy generating resistive switching memory unit and a second transistor; the first transistor is used to output a first current signal according to the first control signal; the first entropy generating resistive switching memory unit is used to output a first entropy conductance value according to the first current signal; The two transistors are used to output a second current signal according to the first control signal; the second entropy generating resistive memory unit is used to output a second entropy conductance value according to the second current signal; the current comparison module is used to: compare the first entropy conductance value and The difference between the second entropy conductance values is obtained to obtain the entropy conductance difference value; a random number is generated based on the entropy conductance difference value. The invention can improve the randomness of random number generation.

Description

Random number generation circuit and method based on resistive random access memory
Technical Field
The invention relates to the technical field of semiconductors, in particular to a random number generation circuit and method based on a resistance random access memory.
Background
The true random number generator uses the inherent randomness of the physical variable as an entropy source, and plays an important role in encryption communication and reliable information storage in the current Internet of things age. Conventional true random number generators using complementary metal oxide semiconductors (ComplementaryMetalOxideSemiconductor, CMOS) are limited by the low quality of entropy generation, excessive entropy source area, and excessive power consumption. The true random number generator based on a resistive random number memory (ResistiveRandomAccessMemory, RRAM) has the advantage that entropy is easy to extract and supports the generation of highly parallel random numbers. In view of this, a true random number generator based on a resistive random number memory is an important tool for supporting information storage and communication security.
In the prior art, as a commonly used method, randomness is achieved by changing the resistance state in the resistive random access memory, but it is difficult to achieve ideal speed and energy consumption by the method, because the switching of the resistance state in the resistive random access memory is often costly. As another commonly used method, by extracting from random telegraph noise (RTN, randomTelegraphNoise) or f-multiplied noise (1/fnoise), the randomness of this method is limited by the time for the oxygen vacancies in the resistive random access memory to capture and release electrons. Therefore, the randomness of generating true random numbers is not high in the prior art.
Disclosure of Invention
The invention aims to provide a random number generation circuit and a random number generation method based on a resistance random access memory, which can improve the randomness of random number generation.
In order to achieve the above object, the present invention provides the following solutions:
a truly resistive random number generation circuit, comprising: the device comprises a first entropy generation module, a second entropy generation module and a current comparison module; the first entropy generating module includes: a first entropy generating resistive memory cell and a first transistor; the second entropy generating module includes: a second entropy generating resistive memory cell and a second transistor;
the top electrode end of the first entropy generation resistive random access memory unit and the top electrode end of the second entropy generation resistive random access memory unit are connected with the current comparison module; the bottom electrode end of the first entropy generation resistance random access memory unit is connected with the drain electrode end of the first transistor; the second entropy produces resistive memory
A bottom electrode terminal of the memory cell is connected with a drain terminal of the second transistor; the source 5 terminal of the first transistor and the source terminal of the second transistor are both grounded; the gate terminal of the first transistor and the gate terminal of the second transistor are used for inputting a first control signal;
the first transistor is used for outputting a first current signal according to the first control signal;
the first entropy generation resistive random access memory unit is used for outputting a first entropy conductance value according to the first current signal;
0 the second transistor is used for outputting a second current signal according to the first control signal;
the second entropy generation resistive random access memory unit is used for outputting a second entropy conductance value according to the second current signal;
the current comparison module is used for:
obtaining an entropy conductance difference value by differentiating the first entropy conductance value and the second entropy conductance value; and 5, generating random numbers according to the entropy conductance difference value.
Optionally, the current comparison module employs a current sense amplifier.
Optionally, the method further comprises: a current replication module;
the input end of the current copying module is respectively connected with the first entropy generating module and the second entropy generating module; the output end of the current copying module is connected with the current comparing module; the current copying module is used for transmitting the first entropy conductance value and the second entropy conductance value to the current comparing module.
Optionally, the current replication module specifically includes: a first current mirror and a second current mirror;
the input end of the first current mirror is connected with the first entropy generation module; the input end of the second current mirror is connected with the second entropy generating module; the output end of the first current mirror and the output end of the second 5 current mirror are connected with the current comparison module;
the first current mirror is used for transmitting the first entropy conductance value to the current comparison module;
the second current mirror is configured to transmit the second entropy conductance value to the current comparison module.
Optionally, the first current mirror and the second current mirror are each comprised of two identically sized n-type substrate p-channel transistors.
Optionally, the method further comprises: an oscilloscope; the oscilloscope is connected with the current comparison module;
the oscillograph is used for displaying a waveform chart of the random number sequence; the random number sequence is composed of a plurality of the random numbers.
The invention also provides a random number generation method based on the resistance random number memory, which is applied to the random number generation circuit based on the resistance random number memory, and comprises the following steps:
acquiring a first entropy conductance value and a second entropy conductance value; the first entropy conductance value is generated by the first entropy generating resistive random access memory unit when a first current signal is input; the first current signal is output by the first transistor under the action of a first control signal; the second entropy conductance value is generated by the second entropy generating resistive random access memory unit when a second current signal is input; the second current signal is output by the second transistor under the action of the first control signal;
obtaining an entropy conductance difference value by differentiating the first entropy conductance value and the second entropy conductance value;
and generating random numbers according to the entropy conductance difference value.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention discloses a random number generation circuit and a random number generation method based on a resistance random number memory. Wherein the first entropy generating module comprises: a first entropy generating resistive memory cell and a first transistor; the second entropy generating module includes: the second entropy produces a resistive memory cell and a second transistor. The invention forms a differential circuit through the first entropy generating module, the second entropy generating module and the current comparing module, and can effectively eliminate the damage of non-Gaussian noise of the resistance random access memory in the circuit to randomness because of no extra pulse operation and complex conductance value extracting circuit, thereby realizing high random bit stream output and low power consumption, and improving the generation probability offset of random numbers and the generation randomness of true random numbers by controlling the conductance value of the transistor-resistance random access memory unit through the first control signal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a random number generating circuit based on a resistive random access memory according to the present invention;
FIG. 2 is a schematic diagram of waveforms of control signals and corresponding output results under different conditions generated by a random number generating circuit based on a resistive random access memory according to the present embodiment;
FIG. 3 is a schematic diagram showing variation of entropy conductance values of the first entropy generating module and the second entropy generating module when the random number generating circuit based on the resistive random number memory generates random numbers according to the present embodiment;
FIG. 4 is a flow chart of a random number generation method based on a resistive random access memory according to the present invention.
Symbol description:
11-a first entropy generation module; 12-a second entropy generation module; 21-a first current mirror; 22-a second current mirror; 111-a first entropy generating resistive memory cell; 121-a second entropy generating resistive memory cell; 112-a first transistor; 122-a second transistor; 31-current sense amplifier.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention aims to provide a random number generation circuit and a random number generation method based on a resistance random access memory, which can improve the randomness of random number generation.
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
As shown in the embodiment of fig. 1, the present invention provides a random number generating circuit based on a resistive random access memory, comprising: a first entropy generating module 11, a second entropy generating module 12 and a current comparing module; the first entropy generating module 11 includes: a first entropy generating resistive memory cell 111 and a first transistor 112; the second entropy generating module 12 comprises: the second entropy produces a resistive memory cell 121 and a second transistor 122.
The top electrode terminal of the first entropy generation resistive random access memory unit 111 and the top electrode terminal of the second entropy generation resistive random access memory unit 121 are connected with the current comparison module; a bottom electrode terminal of the first entropy generating resistive memory cell 111 is connected to a drain terminal of the first transistor 112; a bottom electrode terminal of the second entropy generating resistive memory cell 121 is connected to a drain terminal of the second transistor 122; the source terminal of the first transistor 112 and the source terminal of the second transistor 122 are both grounded; the gate terminal of the first transistor 112 and the gate terminal of the second transistor 122 are both used for inputting a first control signal.
The first transistor 112 is configured to output a first current signal according to the first control signal.
The first entropy generating resistive random access memory unit 111 is configured to output a first entropy conductance value according to the first current signal.
The second transistor 122 is configured to output a second current signal according to the first control signal.
The second entropy generating resistive random access memory unit 121 is configured to output a second entropy conductance value according to the second current signal.
The current comparison module is used for: obtaining an entropy conductance difference value by differentiating the first entropy conductance value and the second entropy conductance value; and generating random numbers according to the entropy conductance difference value.
Based on the above structure, the random number generating circuit based on the resistive random access memory further comprises: and a current replication module.
The input end of the current copying module is respectively connected with the first entropy generating module 11 and the second entropy generating module 12; and the output end of the current copying module is connected with the current comparing module. The current replication module is configured to transmit the first entropy conductance value and the second entropy conductance value to the current comparison module.
As a specific embodiment of the current replication module, specifically including: a first current mirror 21 and a second current mirror 22.
The input end of the first current mirror 21 is connected with the first entropy generating module 11; the input end of the second current mirror 22 is connected with the second entropy generating module 12; the output end of the first current mirror 21 and the output end of the second current mirror 22 are both connected with the current comparison module. The first current mirror 21 is used for transmitting the first entropy conductance value to the current comparison module. The second current mirror 22 is used to transfer the second entropy conductance value to the current comparison module.
Wherein the input current of the first current mirror 21 is equal to the output current; the input current of the second current mirror 22 is equal to the output current;
as a specific embodiment, the first current mirror 21 and the second current mirror 22 are each composed of two n-type substrate p-channel transistors of the same size.
As a specific embodiment of the current comparison module, a current sense amplifier 31 is employed. When the current comparison module adopts the current sense amplifier 31, the output end of the first current mirror 21 is connected with the positive electrode input end of the first current sense amplifier 31; the output of the second current mirror 22 is connected to the negative input of the first current sense amplifier 31.
As a specific embodiment, the random number generating circuit based on the resistive random access memory further includes: an oscilloscope. The oscilloscope is connected with the current comparison module; the oscillograph is used for displaying a waveform chart of the random number sequence; the random number sequence is composed of a plurality of the random numbers.
In addition, when the random number generation circuit based on the resistive random number memory is actually operated, the reset of the current sense amplifier 31 and the random number generation operation are controlled by the second control signal
Wherein, the first control signal and the second control signal can be manually input or generated by a system when the system is applied in particular. The first current signal and the second current signal have the same waveform.
As in the embodiment shown in fig. 2, control signal waveforms are provided when random numbers are generated by the random number generation circuit based on the resistive random access memory, and corresponding output results in different situations.
Based on the random number generating circuit based on the resistive random access memory, the process of generating the random number provided in this embodiment can be divided into the following two steps:
in the first process, the gates of the first and second transistors 112 and 122 are controlled by the first control signal (CLK) to be applied to the high level VDD such that the first and second entropy generating blocks 11 and 12 are powered. The currents of the first entropy generating module 11 and the second entropy generating module 12 are copied to the positive and negative input of the current sense amplifier 31 through the first current mirror 21 and the second current mirror 22, respectively. If the current at the positive input is greater than the current at the negative input, the potential at the output node approaches "0", indicating a logic "0", otherwise the potential at the output node remains high, indicating a logic "1". In the second process, as the second control signal rises to a high level, the cross-coupled latch circuit in the current sense amplifier 31 enters a reset phase and the output node returns further to a high level in preparation for the next comparison to produce a random number operation cycle.
Based on the above embodiments, fig. 3 shows the change of the entropy conductance values of the first entropy generating module 11 and the second entropy generating module 12 when the random number generating circuit based on the resistive random access memory provided by the present invention generates random numbers.
In connection with the random number generation circuit based on the resistive random access memory shown in fig. 1, due to the process error in the actual complementary metal oxide semiconductor (ComplementaryMetalOxideSemiconductor, CMOS) process, the probability that the conductance values of the first entropy generating module 11 and the second entropy generating module 12 are equal to generate random numbers may deviate. The conductance value of the first entropy generating module 11 is adjusted according to the probability deviation of random number generation to fix the conductance value of the second entropy generating module 12. If the generation probability of the random number is just 0.5, the conductance values of the first entropy generation module 11 and the second entropy generation module 12 are equal; if the probability of generating the random number is greater than 0.5, selecting the conductance difference (delta G) between the first entropy generating module 11 and the second entropy generating module 12 to be greater than 0; if the probability of generating the random number is less than 0.5, the conductance difference (Δg) between the first entropy generating module 11 and the second entropy generating module 12 is selected to be less than 0.
The above embodiment has the following advantages:
the random number generation circuit based on the resistive random number generation memory provided by the embodiment completes the generation process of the random number by comparing the magnitude of the conductance values of the two entropy generation units. Compared with the prior art, the method and the device extract the conductance value fluctuation caused by high-frequency noise (mainly shot noise) in the resistive random access memory, and can realize high random bit stream output and low power consumption due to no extra pulse operation and complex extraction circuit. The embodiment adopts the differential circuit of the two entropy generating units, so that the damage to randomness caused by non-Gaussian noise can be effectively eliminated.
The embodiment shown in fig. 4 also provides a random number generation method based on a resistive random number memory, which is applied to the random number generation circuit based on the resistive random number memory, and the random number generation method based on the resistive random number memory comprises the following steps:
step 100: acquiring a first entropy conductance value and a second entropy conductance value; the first entropy conductance value is generated by the first entropy generating resistive random access memory unit 111 when the first current signal is input; the first current signal is output by the first transistor 112 under the action of a first control signal; the second entropy conductance value is generated by the second entropy generating resistive random access memory unit 121 when the second current signal is input; the second current signal is output by the second transistor 122 under the action of the first control signal.
Step 200: and obtaining an entropy conductance difference value by differentiating the first entropy conductance value and the second entropy conductance value.
Step 300: and generating random numbers according to the entropy conductance difference value.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the core concept of the invention; also, it is within the scope of the present invention to be modified by those of ordinary skill in the art in light of the present teachings. In view of the foregoing, this description should not be construed as limiting the invention.

Claims (6)

1.一种基于阻变存储器的随机数发生电路,其特征在于,包括:第一熵产生模块、第二熵产生模块和电流比较模块;所述第一熵产生模块包括:第一熵产生阻变存储器单元和第一晶体管;所述第二熵产生模块包括:第二熵产生阻变存储器单元和第二晶体管;1. A random number generation circuit based on a resistive switching memory, characterized in that it includes: a first entropy generation module, a second entropy generation module and a current comparison module; the first entropy generation module includes: a first entropy generation resistor a variable memory unit and a first transistor; the second entropy generating module includes: a second entropy generating resistive memory unit and a second transistor; 所述第一熵产生阻变存储器单元的顶电极端和所述第二熵产生阻变存储器单元的顶电极端均与所述电流比较模块连接;所述第一熵产生阻变存储器单元的底电极端与所述第一晶体管的漏极端连接;所述第二熵产生阻变存储器单元的底电极端与所述第二晶体管的漏极端连接;所述第一晶体管的源极端和所述第二晶体管的源极端均接地;所述第一晶体管的栅极端和所述第二晶体管的栅极端均用于输入第一控制信号;The top electrode terminal of the first entropy-generating resistive switching memory unit and the top electrode terminal of the second entropy-generating resistive switching memory unit are both connected to the current comparison module; the bottom electrode terminal of the first entropy-generating resistive switching memory unit The electrode terminal is connected to the drain terminal of the first transistor; the bottom electrode terminal of the second entropy-generating resistive memory cell is connected to the drain terminal of the second transistor; the source terminal of the first transistor is connected to the drain terminal of the second transistor. The source terminals of the two transistors are both grounded; the gate terminals of the first transistor and the gate terminals of the second transistor are both used to input the first control signal; 所述第一晶体管用于根据所述第一控制信号输出第一电流信号;The first transistor is used to output a first current signal according to the first control signal; 所述第一熵产生阻变存储器单元用于根据所述第一电流信号输出第一熵电导值;The first entropy-generating resistive memory unit is configured to output a first entropy conductance value according to the first current signal; 所述第二晶体管用于根据所述第一控制信号输出第二电流信号;The second transistor is used to output a second current signal according to the first control signal; 所述第二熵产生阻变存储器单元用于根据所述第二电流信号输出第二熵电导值;The second entropy-generating resistive memory unit is configured to output a second entropy conductance value according to the second current signal; 所述电流比较模块用于:The current comparison module is used for: 对所述第一熵电导值和所述第二熵电导值求差,得到熵电导差值;Calculate the difference between the first entropy conductance value and the second entropy conductance value to obtain the entropy conductance difference value; 根据所述熵电导差值产生随机数;Generate random numbers based on the entropy conductance difference; 所述电流比较模块采用电流灵敏放大器;The current comparison module uses a current sensitive amplifier; 在基于阻变存储器的随机数发生电路实际运行时,通过第二控制信号控制所述电流灵敏放大器的复位与随机数的产生操作;When the random number generation circuit based on the resistive switching memory is actually running, the reset of the current sensitive amplifier and the random number generation operation are controlled through the second control signal; 随着所述第二控制信号上升到高电平,所述电流灵敏放大器中的交叉耦合锁存电路进入复位阶段,输出节点返回到高电位。As the second control signal rises to a high level, the cross-coupled latch circuit in the current-sensitive amplifier enters a reset phase and the output node returns to a high level. 2.根据权利要求1所述的基于阻变存储器的随机数发生电路,其特征在于,还包括:电流复制模块;2. The random number generation circuit based on resistive switching memory according to claim 1, further comprising: a current replication module; 所述电流复制模块的输入端分别与所述第一熵产生模块和所述第二熵产生模块连接;所述电流复制模块的输出端与所述电流比较模块连接;The input end of the current replication module is connected to the first entropy generation module and the second entropy generation module respectively; the output end of the current replication module is connected to the current comparison module; 所述电流复制模块用于将所述第一熵电导值和所述第二熵电导值传输至所述电流比较模块。The current copy module is configured to transmit the first entropy conductance value and the second entropy conductance value to the current comparison module. 3.根据权利要求2所述的基于阻变存储器的随机数发生电路,其特征在于,所述电流复制模块,具体包括:第一电流镜和第二电流镜;3. The random number generation circuit based on resistive switching memory according to claim 2, characterized in that the current replication module specifically includes: a first current mirror and a second current mirror; 所述第一电流镜的输入端与所述第一熵产生模块连接;所述第二电流镜的输入端与所述第二熵产生模块连接;所述第一电流镜的输出端和所述第二电流镜的输出端均与所述电流比较模块连接;The input end of the first current mirror is connected to the first entropy generation module; the input end of the second current mirror is connected to the second entropy generation module; the output end of the first current mirror is connected to the first entropy generation module. The output terminals of the second current mirror are all connected to the current comparison module; 所述第一电流镜用于将所述第一熵电导值传输至所述电流比较模块;The first current mirror is used to transmit the first entropy conductance value to the current comparison module; 所述第二电流镜用于将所述第二熵电导值传输至所述电流比较模块。The second current mirror is used to transmit the second entropy conductance value to the current comparison module. 4.根据权利要求3所述的基于阻变存储器的随机数发生电路,其特征在于,所述第一电流镜和所述第二电流镜均由两个相同尺寸的n型衬底p沟道晶体管构成。4. The random number generation circuit based on a resistive switching memory according to claim 3, wherein the first current mirror and the second current mirror are composed of two n-type substrate p-channels of the same size. Made of transistors. 5.根据权利要求1所述的基于阻变存储器的随机数发生电路,其特征在于,还包括:示波器;所述示波器与所述电流比较模块连接;5. The random number generation circuit based on resistive switching memory according to claim 1, further comprising: an oscilloscope; the oscilloscope is connected to the current comparison module; 所述示波器用于显示随机数序列的波形图;所述随机数序列是由多个所述随机数构成的。The oscilloscope is used to display the waveform diagram of a random number sequence; the random number sequence is composed of a plurality of the random numbers. 6.一种基于阻变存储器的随机数发生方法,其特征在于,应用于权利要求1-5中任意一项所述的基于阻变存储器的随机数发生电路,所述基于阻变存储器的随机数发生方法包括:6. A random number generation method based on a resistive switching memory, characterized in that it is applied to the random number generation circuit based on a resistive switching memory according to any one of claims 1 to 5, and the random number generation method based on a resistive switching memory is Number generation methods include: 获取第一熵电导值和第二熵电导值;所述第一熵电导值是第一熵产生阻变存储器单元在输入第一电流信号时产生的;所述第一电流信号是第一晶体管在第一控制信号的作用下输出的;所述第二熵电导值是第二熵产生阻变存储器单元在输入第二电流信号时产生的;所述第二电流信号是第二晶体管在第一控制信号的作用下输出的;Obtain a first entropy conductance value and a second entropy conductance value; the first entropy conductance value is generated by the first entropy generating resistive memory unit when the first current signal is input; the first current signal is generated by the first transistor when The second entropy conductance value is output by the second entropy-generating resistive memory unit under the action of the first control signal; the second current signal is generated by the second transistor when the first control signal is input. Output under the action of signal; 对所述第一熵电导值和所述第二熵电导值求差,得到熵电导差值;Calculate the difference between the first entropy conductance value and the second entropy conductance value to obtain the entropy conductance difference value; 根据所述熵电导差值产生随机数;Generate random numbers based on the entropy conductance difference; 在基于阻变存储器的随机数发生电路实际运行时,通过第二控制信号控制电流灵敏放大器的复位与随机数的产生操作;When the random number generation circuit based on the resistive switching memory is actually running, the reset of the current sensitive amplifier and the random number generation operation are controlled through the second control signal; 随着所述第二控制信号上升到高电平,所述电流灵敏放大器中的交叉耦合锁存电路进入复位阶段,输出节点返回到高电位。As the second control signal rises to a high level, the cross-coupled latch circuit in the current-sensitive amplifier enters a reset phase and the output node returns to a high level.
CN202310006919.0A 2023-01-04 2023-01-04 Random number generation circuit and method based on resistive random access memory Active CN116126288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310006919.0A CN116126288B (en) 2023-01-04 2023-01-04 Random number generation circuit and method based on resistive random access memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310006919.0A CN116126288B (en) 2023-01-04 2023-01-04 Random number generation circuit and method based on resistive random access memory

Publications (2)

Publication Number Publication Date
CN116126288A CN116126288A (en) 2023-05-16
CN116126288B true CN116126288B (en) 2023-12-01

Family

ID=86307521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310006919.0A Active CN116126288B (en) 2023-01-04 2023-01-04 Random number generation circuit and method based on resistive random access memory

Country Status (1)

Country Link
CN (1) CN116126288B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119201040A (en) * 2024-11-26 2024-12-27 南京大学 True random number generator and true random number generation method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106251898A (en) * 2015-06-10 2016-12-21 松下知识产权经营株式会社 Semiconductor device, the reading method of semiconductor device and be equipped with the IC-card of semiconductor device
CN106297863A (en) * 2016-08-09 2017-01-04 复旦大学 Can the PUF memorizer of dual precharge and method for generating cipher code thereof
CN108345446A (en) * 2018-03-08 2018-07-31 太原理工大学 A kind of high speed random-number generating method and device
CN109522753A (en) * 2017-09-18 2019-03-26 清华大学 Circuit structure and its driving method, chip and its authentication method, electronic equipment
CN109814837A (en) * 2019-01-15 2019-05-28 北京大学深圳研究生院 LFSR circuit based on resistive variable memory and its pseudo-random data sequence generation method
CN109817261A (en) * 2019-01-17 2019-05-28 北京大学深圳研究生院 A PUF circuit based on resistive memory and its control method
CN110989972A (en) * 2019-12-05 2020-04-10 清华大学 Random number generation method and random number generator
CN111339579A (en) * 2020-03-26 2020-06-26 清华大学 Electronic device and method of operating the same
CN111562901A (en) * 2020-04-30 2020-08-21 清华大学 Random number generator and random number generation method
CN111581675A (en) * 2020-04-10 2020-08-25 安徽大学 Physical unclonable function circuit structure based on resistive random access memory
CN113096709A (en) * 2021-03-12 2021-07-09 华中科技大学 Physical unclonable function circuit and operation method thereof
CN115333744A (en) * 2022-07-13 2022-11-11 南京航空航天大学 A high-reliability RO PUF circuit and its excitation generation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10168994B2 (en) * 2017-04-11 2019-01-01 Intel Corporation Random number generator including entropy source

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106251898A (en) * 2015-06-10 2016-12-21 松下知识产权经营株式会社 Semiconductor device, the reading method of semiconductor device and be equipped with the IC-card of semiconductor device
CN106297863A (en) * 2016-08-09 2017-01-04 复旦大学 Can the PUF memorizer of dual precharge and method for generating cipher code thereof
CN109522753A (en) * 2017-09-18 2019-03-26 清华大学 Circuit structure and its driving method, chip and its authentication method, electronic equipment
CN108345446A (en) * 2018-03-08 2018-07-31 太原理工大学 A kind of high speed random-number generating method and device
CN109814837A (en) * 2019-01-15 2019-05-28 北京大学深圳研究生院 LFSR circuit based on resistive variable memory and its pseudo-random data sequence generation method
CN109817261A (en) * 2019-01-17 2019-05-28 北京大学深圳研究生院 A PUF circuit based on resistive memory and its control method
CN110989972A (en) * 2019-12-05 2020-04-10 清华大学 Random number generation method and random number generator
CN111339579A (en) * 2020-03-26 2020-06-26 清华大学 Electronic device and method of operating the same
CN111581675A (en) * 2020-04-10 2020-08-25 安徽大学 Physical unclonable function circuit structure based on resistive random access memory
CN111562901A (en) * 2020-04-30 2020-08-21 清华大学 Random number generator and random number generation method
CN113096709A (en) * 2021-03-12 2021-07-09 华中科技大学 Physical unclonable function circuit and operation method thereof
CN115333744A (en) * 2022-07-13 2022-11-11 南京航空航天大学 A high-reliability RO PUF circuit and its excitation generation method

Also Published As

Publication number Publication date
CN116126288A (en) 2023-05-16

Similar Documents

Publication Publication Date Title
WO2023284092A1 (en) Comparator and decision feedback equalization circuit
CN105760785B (en) A kind of unclonable chip circuit of physics based on time-domain difference current measurement
Kinniment et al. Design of an on-chip random number generator using metastability
CN109783056A (en) The unclonable forcing function generator of physics
US20190097632A1 (en) Current-mode puf circuit based on reference current source
CN106850227B (en) Three-value PUF unit circuit realized by CNFET and circuit
CN116126288B (en) Random number generation circuit and method based on resistive random access memory
Zhao et al. A 124 fJ/bit cascode current mirror array based PUF with 1.50% native unstable bit ratio
CN106919216A (en) A kind of unclonable circuit of physics based on Cascode current-mirror structures
CN107852162A (en) A kind of high-speed latches and method
CN113539334A (en) Measurement mechanism for physically unclonable functions
CN110020557B (en) WTA scheme-based low-power consumption current mode PUF
Yeh et al. Self-convergent trimming SRAM true random number generation with in-cell storage
Patil et al. Improving reliability of weak PUFs via circuit techniques to enhance mismatch
CN117579268A (en) True random number generator and physical unclonable function integrated module based on entropy source selection principle
CN108521327B (en) Power-off storage type SIMON encryption circuit
CN109656514B (en) Random number generation system and random number generation method thereof
US8301674B2 (en) Random signal generator and random number generator including the same
Lin et al. A compact ultra-low power physical unclonable function based on time-domain current difference measurement
CN108875417A (en) The generation method of PUF characteristic value and device with PUF
CN107506174B (en) Starvation current ring oscillator-based true random number generator
CN116610287A (en) A True Random Number Generator Based on Flicker Noise and Its Realization Method
CN113535124B (en) True random number generator based on-chip digital feedback self-calibration system
CN113535123A (en) Physically unclonable function with precharge by bit line
US20210357185A1 (en) Random number generator circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant