| license: mit | |
| tags: | |
| - pytorch | |
| - safetensors | |
| - threshold-logic | |
| - neuromorphic | |
| - sequential | |
| - shift-register | |
| # threshold-universal-shiftreg | |
| 4-bit universal shift register supporting all modes. | |
| ## Modes | |
| | S1 | S0 | Mode | | |
| |----|----|----| | |
| | 0 | 0 | Hold | | |
| | 0 | 1 | Shift right | | |
| | 1 | 0 | Shift left | | |
| | 1 | 1 | Parallel load | | |
| ## Inputs | |
| - Q[3:0]: Current state | |
| - P[3:0]: Parallel input | |
| - SL: Left serial input | |
| - SR: Right serial input | |
| - S1, S0: Mode select | |
| ## Parameters | |
| | | | | |
| |---|---| | |
| | Inputs | 12 | | |
| | Outputs | 4 | | |
| | Neurons | 4 | | |
| | Parameters | 52 | | |
| | Magnitude | 26 | | |
| ## License | |
| MIT | |