We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dab957 commit dc4b2f3Copy full SHA for dc4b2f3
src/main/scala/protocol/Protocol.scala
@@ -74,11 +74,9 @@ class ProtocolNoC(params: ProtocolNoCParams)(implicit p: Parameters) extends Mod
74
})
75
// END: ProtocolNoC
76
77
- if (params.inlineNoC) chisel3.experimental.annotate(
78
- new chisel3.experimental.ChiselAnnotation {
79
- def toFirrtl: firrtl.annotations.Annotation = firrtl.passes.InlineAnnotation(toNamed)
80
- }
81
- )
+ if (params.inlineNoC) {
+ chisel3.experimental.annotate(this)(Seq(firrtl.passes.InlineAnnotation(toNamed)))
+ }
82
83
val protocolParams = params.protocolParams
84
val minPayloadWidth = protocolParams.map(_.minPayloadWidth).max
0 commit comments