phanerozoic's picture
Upload folder using huggingface_hub
04bc52f verified
---
license: mit
tags:
- pytorch
- safetensors
- threshold-logic
- neuromorphic
- sequential
- counter
---
# threshold-updown-counter
4-bit bidirectional counter. Counts up or down based on control input.
## Circuit
```
Q[3:0], U ──► Next State Logic ──► N[3:0]
U=1: count up (N = Q + 1)
U=0: count down (N = Q - 1)
```
## Parameters
| | |
|---|---|
| Inputs | 5 |
| Outputs | 4 |
| Neurons | 8 |
| Parameters | 42 |
| Magnitude | 22 |
## License
MIT