Download data/blocks/Counter.json from notsn/XCos_MCP: direct link, hf CLI and curl.
- Browser
- Download file 974 Bytes
-
https://huggingface.co/spaces/notsn/XCos_MCP/resolve/main/data/blocks/Counter.json
- Command line
-
hf download hf://spaces/notsn/XCos_MCP/data/blocks/Counter.json
-
curl -L -o Counter.json https://huggingface.co/spaces/notsn/XCos_MCP/resolve/main/data/blocks/Counter.json
974 Bytes
| { | |
| "relatedBlocks": [ | |
| "Modulo_Count", | |
| "CLOCK_c", | |
| "SampleCLK" | |
| ], | |
| "criticalRules": [ | |
| "Control port is input event (not clock)", | |
| "dState must be kept for counter persistence", | |
| "Width=60 must be preserved", | |
| "C_OR_FORTRAN simulation function type" | |
| ], | |
| "description": "Event counter block - counts events and outputs the accumulated count", | |
| "anomalies": [ | |
| "Width=60 (non-standard, standard is 40)", | |
| "dState exists but state is empty - uses discrete state", | |
| "Control port for event counting (signals incremental)", | |
| "3-parameter exprs: initial value, max count, increment direction", | |
| "Multiple integer parameters [1, 2, 0] for internal counter configuration" | |
| ], | |
| "name": "Counter", | |
| "commonUses": [ | |
| "Counting events in simulations", | |
| "Sequencing operations", | |
| "State machine implementation", | |
| "Loop iteration counting", | |
| "Event frequency counting" | |
| ], | |
| "sourceFile": "data/macros/Sources/Counter.sci" | |
| } |