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

Undeprecate log2Up and log2Down #846

Merged
merged 2 commits into from
Jul 7, 2018
Merged

Undeprecate log2Up and log2Down #846

merged 2 commits into from
Jul 7, 2018

Conversation

jackkoenig
Copy link
Contributor

@jackkoenig jackkoenig commented Jul 6, 2018

They should not be deprecated until zero-width wires actually work. See chipsalliance/firrtl#530.

Obviously the better solution is to make zero-width wires fully work but it's been a year and it hasn't happened. Lots of people are using chisel3 now and are pretty annoyed by the deprecation warnings when they really can't switch to log2Ceil and log2Floor yet.

Related issue:

People have reported problems with this #652 and more have complained to me directly.

Type of change: other enhancement

Impact: no functional change

Development Phase: implementation

Release Notes

Undo the deprecation of log2Up and log2Down until zero-width wires work.

They should not be deprecated until zero-width wires actually work
@jackkoenig jackkoenig requested review from chick, ducky64 and ucbjrl July 6, 2018 23:17
Copy link
Contributor

@ducky64 ducky64 left a comment

Choose a reason for hiding this comment

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

This looks fine. Can we create issues for all the zero-width errors so we can at least make progress on fixing those?

@ducky64
Copy link
Contributor

ducky64 commented Jul 6, 2018

Also maybe include a link to a tracking issue for zero width wires, so we can understand why these were undeprecated in the future, when we want to re-deprecate them?

@jackkoenig
Copy link
Contributor Author

Yeah I think that is sensible, I'll file a meta tracking issue and add a link to it to the comments added here

Copy link
Contributor

@ucbjrl ucbjrl left a comment

Choose a reason for hiding this comment

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

what he said

Add links to zero-width wire issue in places where deprecation warnings were removed awaiting full zero-width wire support
@jackkoenig jackkoenig merged commit 94be48d into master Jul 7, 2018
@jackkoenig jackkoenig deleted the undeprecate-log2up branch July 7, 2018 00:07
@ucbjrl ucbjrl added this to the 3.1.2 milestone Jul 17, 2018
ucbjrl pushed a commit that referenced this pull request Jul 17, 2018
They should not be deprecated until zero-width wires actually work

(cherry picked from commit 94be48d)
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.

3 participants