clock
Manage clocks and clock managers: list, create, delete, edit, and replace clocks or configure clock managers with settings like frequency, IO type, and VCO range.
Instructions
统一时钟管理工具 — 通过 action 参数选择操作。
Clock 操作: list — 列出所有时钟 create — 创建时钟 (name, freq, io_type, io_standard, is_gated, min_freq) delete — 删除时钟 (name) edit — 编辑时钟 (name, freq, io_type, io_standard, is_gated, min_freq) settings — 获取时钟设置 (name) sample_settings — 获取时钟示例设置模板 replace — 替换时钟 (name, other, blocks)
Clock Manager 操作: mgr_types — 列出可用时钟管理器类型 mgr_list — 列出所有时钟管理器 mgr_create — 创建时钟管理器 (name, type, input_clock, vco_range) mgr_delete — 删除时钟管理器 (name) mgr_settings — 获取时钟管理器设置 (name)
Args: action: 操作类型,见上。 name: 时钟/管理器名称。 freq: 时钟频率 (MHz)。 io_type: IO 类型,如 "HD"、"HP"。 io_standard: IO 标准,如 "LVCMOS 1.8V"、"LVDS"。 is_gated: 是否为门控时钟 (create: bool; edit: "true"/"false"/"")。 min_freq: 最低缩放频率 (MHz),0 表示无。 other: replace 时的目标时钟名称。 blocks: replace 时限定作用的 Block 列表,逗号分隔。 type: 管理器类型,如 "MMCM"、"DPLL"、"XPLL"。 input_clock: 管理器输入时钟名称。 vco_range: VCO 范围,"Low" 或 "High"。 session_id: 目标会话 ID。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| freq | No | ||
| name | No | ||
| type | No | ||
| other | No | ||
| action | Yes | ||
| blocks | No | ||
| io_type | No | ||
| is_gated | No | ||
| min_freq | No | ||
| vco_range | No | Low | |
| session_id | No | default | |
| input_clock | No | ||
| io_standard | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |