Skip to content

Conversation

@sasdf
Copy link
Contributor

@sasdf sasdf commented Nov 20, 2025

Now that fpga_params supports specifying OTP images directly, the previous bitstream_splice targets that were used to combine a ROM bitstream with an OTP image are no longer needed.

This change removes them to centralize bitstream specification in the exec_env configuration.

The legacy splice rules (//hw:splice.bzl) has been deprecated: users
must specify the otp image using the `otp` attribute of the `fpga_params`
macro. Also remove splice targets in //hw/bitstream which had no users.

Signed-off-by: Amaury Pouly <[email protected]>
(cherry picked from commit 2984301)
Signed-off-by: Amaury Pouly <[email protected]>
(cherry picked from commit 1753848)
@sasdf sasdf changed the title [refactor,bazel] Remove old bitstream_splice targets for OTP images Cherry-pick to earlgrey_1.0.0: Remove legacy splice #25924 Nov 20, 2025
@pamaury
Copy link
Contributor

pamaury commented Nov 20, 2025

I did a similar change on master: #25924 It's possible that earlgrey_1.0.0 has diverged at this point but if it's possible to backport this change instead, that would be better in my opinion.

@sasdf
Copy link
Contributor Author

sasdf commented Nov 20, 2025

I have updated the PR to cherry pick your commits. It only has a minor conflict on the bitstream package, and CI looks fine.

@sasdf sasdf requested review from cfrantz and pamaury November 20, 2025 15:40
@sasdf sasdf marked this pull request as ready for review November 20, 2025 15:40
Copy link
Contributor

@pamaury pamaury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sasdf

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants