Skip to content

inaccel bitstream parse

Estimated reading time: 2 minutes

Description-

Parse FPGA binary build-metadata

Usage-

inaccel bitstream parse [command options]

Options-

Name, shorthand Default Description
--input, -i /dev/stdin The bitstream binary build-metadata source
--output, -o /dev/stdout The bistream specification target
--format json Choose the print format between JSON and XML

Parent command-

Command Description
inaccel bitstream Manages bitstream repositories

Examples-

Extract the bitstream specification...-

  • ...from an Intel binary file (.aocx)-

aocl binedit binary.aocx print .acl.kernel_arg_info.xml | \
    inaccel parse -o bitstream.json

  • ...from a Xilinx binary file (.xclbin)-

xclbinutil --input binary.xclbin --dump-section BUILD_METADATA:JSON:>(cat) --force &> /dev/null | \
    inaccel parse -o bitstream.json