# US 2025/0167774 A1 · P-bit generator and methods for tuning a p-bit generator having decoupled stochastic and control paths

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0167774 A1
- Document ID: US20250167774A1
- Status: Published application
- Kind: A1
- Application number: 18/949,434
- Filed: 2024-11-15
- Published: 2025-05-22
- Earliest claimed: 2023-11-16
- Assignees: King Fahd University of Petroleum and Minerals
- Applicants: King Fahd University of Petroleum and Minerals
- Inventors: Feras Mohamad Ameer AL-DIRINI; Saleh Ahmad S BUNAIYAN
- Web page: https://patentgrep.com/patent/US20250167774A1

## CPC

- H03K 3/84: Generating pulses having a predetermined statistical distribution of a parameter, e.g. random pulse generators
- G11C 11/161: {details concerning the memory cell structure, e.g. the layers of the ferromagnetic memory cell}
- G11C 11/1659: {Cell access}
- G11C 11/1673: {Reading or sensing circuits or methods}
- G11C 11/1675: {Writing or programming circuits or methods}
- G11C 11/1697: {Power supply circuits}
- H01F 10/3254: {the spacer being semiconducting or insulating, e.g. for spin tunnel junction [STJ]}
- H10B 61/20: {comprising components having three or more electrodes, e.g. transistors}
- H10N 50/10: Magnetoresistive devices
- H10N 50/80: Constructional details
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H01F: MAGNETS; INDUCTANCES; TRANSFORMERS; SELECTION OF MATERIALS FOR THEIR MAGNETIC PROPERTIES
- H10B: ELECTRONIC MEMORY DEVICES
- H10N: ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR

## Abstract

A voltage divider for generating probabilistic bits (p-bits) through stochastic magnetic tunnel junction devices (sMTJs). The voltage divider comprises a first and a second sMTJ, each including a first and a second magnet separated by an insulator. A positive DC voltage (VDD) is connected to the first electrical terminal of the first sMTJ, while a negative DC voltage (VSS) is connected to the second electrical terminal of the second sMTJ. The p-bits randomly oscillate between resistance states in response to thermal noise. The voltage divider also includes a comparator with a non-inverting input, an inverting input connected to the p-bit output, a source, a drain, and an output terminal. The output voltage (Vout) at the comparator is determined based on the resistances of the sMTJs.

## Claims

### Claim 1

A voltage divider, comprising:
a first stochastic magnetic tunnel junction device and a second stochastic magnetic tunnel junction device, wherein each stochastic magnetic tunnel junction device includes a first magnet and a second magnet, wherein the first magnet and the second magnet are separated by an insulator, a first electrical terminal connected to the first magnet and a second electrical terminal connected to the second magnet, wherein each stochastic magnetic tunnel junction device is configured to generate probabilistic bits (p-bits) at a p-bit output terminal comprising the second electrical terminal of the first stochastic magnetic tunnel junction device and the first electrical terminal of the second stochastic magnetic tunnel junction device, wherein the p-bits randomly oscillate between a first resistance state and a second resistance state in response to thermal noise;
a positive DC voltage VDD connected to the first electrical terminal of the first stochastic magnetic tunnel junction device;
a negative DC voltage VSS connected to the second electrical terminal of the second stochastic magnetic tunnel junction device; and
a comparator including a non-inverting input terminal, an inverting input terminal, a source terminal, and a voltage output terminal, wherein the inverting terminal is connected to the p-bit output terminal, the non-inverting terminal is connected to a variable voltage VIN, and wherein a voltage Vout at the voltage output terminal is given by:
V
out
=
(
V
DD
·
R
MTJB
+
V
SS
·
R
MTJT
)
/
(
R
MTJB
+
⁢
R
MTJT
)
,
where RMTJB is a resistance of the first stochastic magnetic tunnel junction device and RMTJT is a resistance of the second stochastic magnetic tunnel junction device.

### Claim 2 (depends on 1)

The voltage divider of claim 1, wherein a tunnelling magnetoresistance (TMR) of each stochastic magnetic tunnel junction device is directly related to an ambient temperature of an environment surrounding the stochastic magnetic tunnel junction device, wherein each stochastic magnetic tunnel junction device is configured to generate p-bits in response to the thermal noise at the ambient temperature.

### Claim 3 (depends on 2)

The voltage divider of claim 2, wherein a stochastic range (Srange) of the p-bits at the output terminal is a function of the TMR of each stochastic magnetic tunnel junction device and is proportional to a voltage difference between the positive DC voltage VDD and the negative DC voltage VSS.

### Claim 4 (depends on 3)

The voltage divider of claim 3, wherein each of the first stochastic magnetic tunnel junction device and the second stochastic magnetic tunnel junction device is configured to generate p-bits having a parallel resistance state RP and an anti-parallel resistance state RAP, wherein the TMR of each of the first stochastic magnetic tunnel junction device and the second stochastic magnetic tunnel junction device is given by:
T
⁢
M
⁢
R
=
(
R
AP
-
R
P
)
/
R
P
.

### Claim 5 (depends on 4)

The voltage divider of claim 4, wherein the stochastic range VSrange of the voltage divider is given by:
V
Strange
=
(
(
V
DD
-
V
SS
)
·
T
⁢
M
⁢
R
)
/
(
2
+
T
⁢
M
⁢
R
)
.

### Claim 6 (depends on 1)

The voltage divider of claim 1, wherein the variable voltage VIN is configured to be a tunable comparator reference voltage.

### Claim 7 (depends on 1)

The voltage divider of claim 1, wherein each of the first stochastic magnetic tunnel junction device and the second stochastic magnetic tunnel junction device are superparamagnetic tunnel junction devices configured to have a p-bit response m at the second electrical terminal of the first stochastic magnetic tunnel junction device given by:
m
=
sgn
[
tanh
⁢
(
β
⁢
V
)
-
r
U
]
,
where sgn is a sign function, V is a voltage at the inverting terminal of the comparator, β is a beta factor related to a temperature inverse and rU is a uniform random variable that ranges from −1 to 1.

### Claim 8 (depends on 7)

The voltage divider of claim 7, wherein each of the superparamagnetic tunnel junction devices is configured to generate p-bits having a parallel resistance state RP and an anti-parallel resistance state RAP, wherein a tunneling magnetoresistance TMR of each of the first stochastic magnetic tunnel junction device and the second stochastic magnetic tunnel junction device is given by:
T
⁢
M
⁢
R
=
(
R
AP
-
R
P
)
/
R
P
.

### Claim 9 (depends on 8)

The voltage divider of claim 8, wherein the beta factor β is given by:
β
=
2
⁢
(
T
⁢
M
⁢
R
+
2
)
⁢
(
arctanh
⁢
(
0.99
)
/
(
T
⁢
M
⁢
R
⁡
(
V
DD
-
V
SS
)
)
.

### Claim 10 (depends on 7)

The voltage divider of claim 7, wherein a stochastic range ((VSrange) of the p-bits at the output terminal is a function of the TMR of each superparamagnetic tunnel junction device and is proportional to a voltage difference between the positive DC voltage VDD and the negative DC voltage VSS.

### Claim 11

A random number generator, comprising:
a stochastic device configured with a first electrical terminal, a second electrical terminal and a probabilistic bit (p-bit) output terminal, wherein each stochastic device is configured to generate p-bits at the p-bit output terminal which randomly oscillate between a parallel resistance state RP and an anti-parallel resistance state RAP in response to thermal noise;
a positive DC voltage VDD connected to the first electrical terminal of the stochastic device;
a negative DC voltage VSS connected to the second electrical terminal of the stochastic device; and
an activation unit including a first input terminal, a second input terminal, an activation unit output terminal, wherein the first input terminal is connected to the p-bit output terminal and the second input terminal is connected to a control unit, wherein the activation unit is configured to generate a voltage output signal Vout based on the resistance state of each p-bit upon receiving an input signal from the control unit.

### Claim 12 (depends on 11)

The random number generator of claim 11, wherein the stochastic device is an electrically connected pair of magnetic tunnel junction devices, wherein the positive DC voltage VDD is connected to a first magnetic tunnel junction device;
a negative DC voltage VSS is connected to a second magnetic tunnel junction;
the first input terminal is connected to a terminal connecting the first magnetic tunnel junction device with the second magnetic tunnel junction device; and
a voltage Vout at the voltage output terminal is given by:
V
out
=
(
V
DD
·
R
MTJB
+
V
SS
·
R
MTJT
)
/
(
R
MTJB
+
⁢
R
MTJT
)
,
where RMTJB is a resistance of the first stochastic magnetic tunnel junction device and RMTJT is a resistance of the second stochastic magnetic tunnel junction device.

### Claim 13 (depends on 12)

The random number generator of claim 12, wherein a tunnelling magnetoresistance (TMR) of each magnetic tunnel junction device is directly related to an ambient temperature of an environment surrounding the magnetic tunnel junction device, wherein each magnetic tunnel junction device is configured to generate the p-bits in response to the thermal noise at the ambient temperature.

### Claim 14 (depends on 13)

The random number generator of claim 13, wherein the TMR of each of the first magnetic tunnel junction device and the second magnetic tunnel junction device is given by:
T
⁢
M
⁢
R
=
(
R
AP
-
R
P
)
/
R
P
.

### Claim 15 (depends on 14)

The random number generator of claim 14, wherein a stochastic range (VSrange) of the p-bits at the output terminal is a function of the TMR of each magnetic tunnel junction device and is proportional to a voltage difference between the positive DC voltage VDD and the negative DC voltage VSS.

### Claim 16 (depends on 15)

The random number generator of claim 15, wherein VSrange at the voltage output Vout is given by:
V
Strange
=
(
(
V
DD
-
V
SS
)
·
T
⁢
M
⁢
R
)
/
(
2
+
T
⁢
M
⁢
R
)
.

### Claim 17 (depends on 16)

The random number generator of claim 16, wherein:
the activation unit is a comparator including a non-inverting input terminal, an inverting input terminal, a source terminal, a drain terminal and a voltage output terminal,
the inverting input terminal is connected to the p-bit output terminal, and
the non-inverting input terminal is connected to the control unit, wherein the control unit is configured to generate a variable voltage VIN.

### Claim 18 (depends on 11)

The random number generator of claim 11, wherein the stochastic device is an electrically connected pair of superparamagnetic tunnel junction devices configured to have a p-bit response m at the p-bit output terminal given by:
m
=
sgn
[
tanh
⁢
(
β
⁢
V
)
-
r
U
]
,
where sgn is a sign function, V is a voltage at the inverting terminal of the comparator, β is a beta factor related to a temperature inverse and rU is a uniform random variable that ranges from −1 to 1.

### Claim 19 (depends on 18)

The random number generator of claim 18, wherein a tunnelling magnetoresistance (TMR) of each superparamagnetic tunnel junction device is directly related to an ambient temperature of an environment surrounding the superparamagnetic tunnel junction device, wherein each superparamagnetic tunnel junction device is configured to generate the p-bits in response to the thermal noise at the ambient temperature,
wherein the TMR of each superparamagnetic tunnel junction device is given by:
T
⁢
M
⁢
R
=
(
R
AP
-
R
P
)
/
R
P
,
and
wherein the beta factor β is given by:
β
=
2
⁢
(
T
⁢
M
⁢
R
+
2
)
⁢
(
arctanh
⁢
(
0.99
)
/
(
T
⁢
M
⁢
R
·
(
V
DD
-
V
SS
)
)
.

### Claim 20

A method of implementing a tunable probabilistic bit (p-bit) voltage divider, comprising:
connecting a first stochastic magnetic tunnel junction device to a second stochastic magnetic tunnel junction device,
connecting a positive DC voltage VDD to the first electrical terminal of the first stochastic magnetic tunnel junction device;
connecting a negative DC voltage VSS connected to the second electrical terminal of the second stochastic magnetic tunnel junction device, wherein each stochastic magnetic tunnel junction device is configured to generate p-bits which randomly oscillate between a first resistance state and a second resistance state in response to thermal noise;
generating, at a p-bit output terminal comprising the second electrical terminal of the first stochastic magnetic tunnel junction device and the first electrical terminal of the second stochastic magnetic tunnel junction device, p-bit output signals;
connecting an inverting terminal of a comparator to the p-bit output terminal;
connecting a non-inverting terminal of the comparator to a variable voltage VIN;
increasing a voltage of the variable voltage VIN until the variable voltage VIN is equal to a voltage received at the inverting terminal based on the p-bit output signals; and
generating a voltage Vout at the voltage output terminal given by:
V
out
=
(
V
DD
·
R
MTJB
+
V
SS
·
R
MTJT
)
/
(
R
MTJB
+
⁢
R
MTJT
)
,
where RMTJB is a resistance of the first stochastic magnetic tunnel junction device and RMTJT is a resistance of the second stochastic magnetic tunnel junction device.
