time_to_cycle
Map any timestamp to the latest clock cycle at or before that time, using a specified clock signal and edge. Helps align signal events with clock cycles in VCD waveform analysis.
Instructions
Map a time to the latest clock cycle at or before that time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | No | rise or fall; default rise | |
| time | Yes | Query time | |
| clock | Yes | Clock signal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| status | Yes | ||
| summary | Yes | ||
| confidence | No | ||
| limitations | No |