Skip to content

Missing cl_sh_id0/1 causing bitstream config to fail #703

Open
@monological

Description

@monological

I have a design that I was able to successfully generate a bitstream for, but when I tried to load the AFI onto the FPGA it would say loaded and then immediately go back to cleared. The tools didn't give me any error messages of any kind and nothing could be found in the log files either.

It turned out that I forgot to export cl_sh_id0/1:

  • assign cl_sh_id0[31:0] = `CL_SH_ID0;
  • assign cl_sh_id1[31:0] = `CL_SH_ID1;

Would it be possible to add a check in the hdk scripts to catch this before synthesis happens and let the user know? This was extremely difficult to debug because there was no way of knowing why the device just aborted and dumped the bitstream. It could be an issue with the design, e.g.., power, multi-driven nets, floating pins, etc... causing config to fail. Please consider adding this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions