Skip to content

Missing cl_sh_id0/1 causing bitstream config to fail #703

@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.

Activity

czfpga

czfpga commented on Apr 21, 2025

@czfpga
Contributor

Hi @monological

Thank you for reporting this. The HDK script never examine or analyze the customer designs and it has no visibility into designs either due to encryption.

We will improve this error message to provide better debugging guidance in future releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @monological@czfpga

        Issue actions

          Missing cl_sh_id0/1 causing bitstream config to fail · Issue #703 · aws/aws-fpga