--- license: mit tags: - pytorch - safetensors - threshold-logic - neuromorphic - sequential - counter --- # threshold-down-counter 4-bit down counter next-state logic. Computes N = (Q - 1) mod 16. ## Circuit ``` Q[3:0] ──► Next State Logic ──► N[3:0] (decrementer) ``` ## Sequence 15 → 14 → 13 → ... → 1 → 0 → 15 (wraps) ## Parameters | | | |---|---| | Inputs | 4 | | Outputs | 4 | | Neurons | 6 | | Parameters | 28 | | Magnitude | 16 | ## License MIT