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

cellmatch: Size the lut attribute #4625

Merged
merged 1 commit into from
Oct 11, 2024
Merged

cellmatch: Size the lut attribute #4625

merged 1 commit into from
Oct 11, 2024

Conversation

povik
Copy link
Member

@povik povik commented Oct 2, 2024

What are the reasons/motivation for this change?

Under an undocumented -lut_attrs option the cellmatch command can annotate output ports with a lut attribute describing the port's function. Previously these attributes were 32-bit, which meant the value for 6-input cells was cropped, and one needed knowledge of the number of inputs to interpret the value. Make the change to size the lut attribute to two to the power of number of inputs.

@povik povik merged commit a00137c into YosysHQ:main Oct 11, 2024
22 checks passed
@povik povik deleted the cellmatch-lut branch October 11, 2024 12:08
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