File size: 804 Bytes
1529ce2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---

license: mit
tags:
- pytorch
- safetensors
- threshold-logic
- neuromorphic
- arithmetic
- multiplier
---


# threshold-array-multiplier

2x2 array multiplier. Regular structure with rows of AND gates and adders.

## Circuit

```

Inputs: A[1:0], B[1:0] (4 inputs)

Outputs: P[3:0] (4 outputs)



      A1    A0

       β”‚     β”‚

  B0 ──┼──●──┼──●──► P0

       β”‚  β”‚  β”‚  β”‚

  B1 ──●──┼──●───

       β”‚  β”‚     β”‚

       β–Ό  β–Ό     β–Ό

      P3 P2    P1

```

## Array Structure

Regular grid of AND-adder cells. Simple, predictable timing.

## Parameters

| | |
|---|---|
| Inputs | 4 |
| Outputs | 4 |
| Neurons | 10 |
| Layers | 3 |
| Parameters | 44 |
| Magnitude | 44 |

## License

MIT