Logos2 原语查询
fpga_primitive_lookupLook up Logos2 FPGA primitives by exact name, category, or keyword. Get ports, parameters, and minimal instantiation templates in structured output that saves tokens.
Instructions
查 Logos2 原语库(gtp_lib.v, 153 个 GTP_* 原语):name=精确查端口/参数/最小例化模板;category=列某类(clock_pll/ff_latch/lut/mem/io_buffer/serdes_ddr/mipi/pcie/analog/config_misc);query=关键词召回;都不传=返回分类汇总。结构化、省 token。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 检索方式,默认 auto(有 embedding 则语义,否则关键词) | |
| name | No | 精确原语名,如 GTP_GPLL / GTP_LUT4 / GTP_DFF_RE | |
| limit | No | query/建议返回上限,默认 10 | |
| query | No | 关键词/语义召回,如 'pll' / 'phase locked loop' / 'fifo' | |
| category | No | 按类列出,如 clock_pll / mem / io_buffer |