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

WIP: Update Chisel from 6.5.0 to 7.0.0 #11

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tymcauley
Copy link
Contributor

@tymcauley tymcauley commented Jul 16, 2024

UnknownWidth became a case object in this Chisel PR: chipsalliance/chisel#4242

The connectFromBits method was removed in this Chisel PR: chipsalliance/chisel#4168

This update is causing the following test failure in FixedPointSpec:

should allow fromBits *** FAILED ***
ChiselRunners.this.runTester(t, additionalVResources) was false (ChiselSpec.scala:41)

@tymcauley tymcauley marked this pull request as draft July 16, 2024 15:57
@tymcauley tymcauley force-pushed the update-chisel-7.x branch from 218579f to 28b609f Compare July 16, 2024 16:03
@tymcauley
Copy link
Contributor Author

cc @jackkoenig, I brought this up a few weeks ago (regarding the transition from Chisel 6 to 7), but wanted to make sure it was still on your radar.

Comment on lines -329 to -331
override def connectFromBits(that: Bits)(implicit sourceInfo: SourceInfo): Unit = {
this.data := that.asTypeOf(this.data)
}

Choose a reason for hiding this comment

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

Noted by @tymcauley in Chisel dev meeting that this is the problem with upgrading to Chisel 7.

`UnknownWidth` became a `case object` in this Chisel PR:
chipsalliance/chisel#4242

The `connectFromBits` method was removed in this Chisel PR:
chipsalliance/chisel#4168
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