phanerozoic's picture
Upload folder using huggingface_hub
d59a5f8 verified
---
license: mit
tags:
- pytorch
- safetensors
- threshold-logic
- neuromorphic
- arithmetic
- divider
---
# threshold-srt-divider
4-bit by 2-bit SRT divider. Uses redundant quotient digits.
## Circuit
```
Inputs: N[3:0] (dividend), D[1:0] (divisor)
Outputs: Q[3:0] (quotient), R[1:0] (remainder)
```
## SRT Algorithm
SRT (Sweeney, Robertson, Tocher) uses redundant digit set {-1, 0, +1}:
- Allows imprecise comparisons (simpler hardware)
- Quotient converted to standard form at end
- Used in high-performance FPUs (including Pentium FDIV bug)
## Parameters
| | |
|---|---|
| Inputs | 6 |
| Outputs | 6 |
| Neurons | 12 |
| Layers | 4 |
| Parameters | 84 |
| Magnitude | 96 |
## License
MIT