-
Notifications
You must be signed in to change notification settings - Fork 10
Logical phy #75
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
Logical phy #75
Conversation
…o v1.1.2 (#44) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
The scalafmt sometimes creates weird formatting in the code. Since the chipyard framework does not check it, it can be removed.
@@ -4,6 +4,11 @@ package interfaces | |||
import chisel3._ | |||
import chisel3.util._ | |||
|
|||
class FifoParams extends Bundle { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this Params or bundle?
What is this used for? can you not make clk and reset as signals in the main bundle?
src/main/scala/interfaces/Afe.scala
Outdated
/** Data to transmit on the sideband. | ||
* | ||
* Output from the async FIFO. | ||
*/ | ||
val txData = Decoupled(Bits(afeParams.sbSerializerRatio.W)) | ||
val txData = Input(UInt(afeParams.sbWidth.W)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is tx an input? Same with rx being an output? I know you might have flipped it but makes readability hard.
val out = Decoupled(UInt(params.outWidth.W)) | ||
} | ||
|
||
class DataWidthCoupler(params: DataWidthCouplerParams) extends Module { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some comment on top of this class on what this does and where it is used?
|
||
class Lanes( | ||
afeParams: AfeParams, | ||
queueParams: AsyncQueueParams, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you taking the default queueParams? if yes, make sure the queue has sync>=3.
No description provided.