Table 2 List of functions tested on the reference device

From: Comprehensive model of MZI-based circuits for photonic computing applications

#

Description

fout,1

fout,2

fout,3

OK?

tol.

1

No operation

P1

P2

P3

✓

5%

2

or/and

P1 + P2 + P3

P1P2P3

X

✓

1%

3

and/xor/or

P1P2

P1 ⊕ P2

P1 + P2

✓

5%

4

and/and/xor

P1P3

P2P3

P1 ⊕ P3

✓

1%

5

or

P1 + P2

P1 + P3

P2 + P3

✓

5%

6*

nand/nor

\(\overline{{P}_{1}{P}_{2}}\)

\(\overline{{P}_{1}+{P}_{2}}\)

X

✓

2%

7

SP/PS

(P1P2) + P3

(P1 + P2)P3

X

✓

2%

8*

2bit not

\(\overline{{P}_{1}}\)

\(\overline{{P}_{2}}\)

X

✓

5%

9

3bit not

\(\overline{{P}_{1}}\)

\(\overline{{P}_{2}}\)

\(\overline{{P}_{3}}\)

✗

–

10

Half adder

P1 ⊕ P2

P1P2

X

✓

2%

11

Full adder

P1 ⊕ P2

P2P3 + P1(P2 ⊕ P3)

X

✓

2%

12

Half sub.

P1 ⊕ P2

\({P}_{1}\overline{{P}_{2}}\)

X

✓

5%

13

Full sub.

\({P}_{1}\overline{{P}_{3}}+{P}_{2}\overline{{P}_{3}}+{P}_{1}{P}_{2}\)

P1 ⊕ P2 ⊕ P3

X

✗

–

14

Half add/sub

P1 ⊕ P2

(P1 ⊕ P3)P2

X

✗

–

15

2bit 2s compl.

P2 ⊕ P1 ⊕ P2

P1 ⊕ P2

X

✓

2%

16

3bit 2s compl.

P1

P1 ⊕ P2

(P1 + P2) ⊕ P3

✓

2%

17

Select. and/or

\({P}_{3}({P}_{1}{P}_{2})+\overline{{P}_{3}}({P}_{1}+{P}_{2})\)

X

X

✓

5%

18

Select. nor/or

\({P}_{3}(\overline{{P}_{1}+{P}_{2}})+\overline{{P}_{3}}({P}_{1}+{P}_{2})\)

X

X

✓

5%

  1. The second to last column indicates whether the function could be successfully implemented by the device or not. The last column indicates the maximum tolerance on the input voltages for which the device is still able to operate correctly. The cases marked with an asterisk require a constant input signal P3 = 1 to correctly implement the desired function. X indicates do not-care; SP sum of product and PS product of sum.