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

Misc. fixes to make Rocket tolerant to X-propagation #2659

Merged
merged 9 commits into from
Oct 12, 2020
Merged

Conversation

aswaterman
Copy link
Member

grumble grumble

Related issue:

Type of change: other enhancement

Impact: no functional change

Development Phase: implementation

Release Notes

@aswaterman aswaterman force-pushed the rocket-xprop branch 2 times, most recently from 6e78611 to 7c7dcb9 Compare October 10, 2020 04:34
@@ -185,6 +185,9 @@ package object util {
def inRange(base: UInt, bounds: UInt) = x >= base && x < bounds

def ## (y: Option[UInt]): UInt = y.map(x ## _).getOrElse(x)

// Like >=, but prevents x-prop for ('x >= 0)
def >== (y: UInt): Bool = x >= y || y === 0.U
Copy link
Member

Choose a reason for hiding this comment

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

how about >=x̄ (jk or am i)

Copy link
Member Author

Choose a reason for hiding this comment

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

ha

@aswaterman aswaterman merged commit d3e01e3 into master Oct 12, 2020
@aswaterman aswaterman deleted the rocket-xprop branch October 12, 2020 22:34
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