| license: mit | |
| tags: | |
| - pytorch | |
| - safetensors | |
| - threshold-logic | |
| - neuromorphic | |
| - sequential | |
| - counter | |
| # threshold-graycode-counter | |
| 4-bit Gray code counter. Only one bit changes per transition. | |
| ## Sequence | |
| ``` | |
| 0000 β 0001 β 0011 β 0010 β 0110 β 0111 β 0101 β 0100 β | |
| 1100 β 1101 β 1111 β 1110 β 1010 β 1011 β 1001 β 1000 β 0000 | |
| ``` | |
| ## Advantages | |
| - No glitches during transitions | |
| - Ideal for position encoders | |
| - Reduces switching noise | |
| ## Parameters | |
| | | | | |
| |---|---| | |
| | Inputs | 4 | | |
| | Outputs | 4 | | |
| | Neurons | 4 | | |
| | Parameters | 20 | | |
| | Magnitude | 8 | | |
| ## License | |
| MIT | |