Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Incorrect bit vector range selection #25913

Open
likeamahoney opened this issue Jan 16, 2025 · 2 comments
Open

[bug] Incorrect bit vector range selection #25913

likeamahoney opened this issue Jan 16, 2025 · 2 comments
Assignees

Comments

@likeamahoney
Copy link

Hi all!

It was founded that the recently added automatic functions here and here (which are an autogenerated files produced by that script) had an incorrect bit range selections. Packages for all another targets (for example darjeeling and englishbreakfast) have the same issue.

The point is that logic type variable rsvd has a type width equal to 5 or 9 bits (Thus, bits 11 through 8 can never be extracted from it, and bits 8 through 0 can be extracted half the time) which follows from this and depends on top_pkg::TL_AUW parameter value (which target depends and can have a 23 or 27 value from here and here).

@rswarbrick
Copy link
Contributor

@Razer6: Could you take a look at this?

@Razer6 Razer6 self-assigned this Jan 18, 2025
@Razer6
Copy link
Member

Razer6 commented Jan 18, 2025

Yep, aware of it. I'll fix that soon. In general, the plan is to add the bit definitions for the role and CTN UID as part of the RACL config and then generate slicing functions out of that config.

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

No branches or pull requests

3 participants