parse_bit_header
Parse .bit bitstream file headers offline to extract design name, target part, build timestamp, and SHA256. Verify part compatibility before programming and reconcile delivery files without launching Vivado.
Instructions
离线解析 .bit 比特流文件头部,无需启动 Vivado。
只读文件头(不读 payload):提取设计名 / 目标 part(原始 + 规整)/ 构建日期时间 / 文件 SHA256。用于烧录前防错板(part 比对)、交付/返修对账(确认孤立 .bit 是不是 声称的那版)。Vivado 无任何 Tcl 命令读离线 .bit。 注意:.bit 里 part 去 'xc' 前缀 + 去速度等级(如 7k325tffg900);规整字段补回 'xc' 但速度等级无法还原,与 .xpr 的 part 比对时只能比到 package 级。
Args: file_path: .bit 文件的绝对路径。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |