Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adkian-sifive committed Jan 19, 2023
1 parent 2014b90 commit 31b89a5
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ private[plugin] class BundleComponent(val global: Global, arguments: ChiselPlugi

def inferType(t: Tree): Type = localTyper.typed(t, nsc.Mode.TYPEmode).tpe

val bundleTpe: Type = inferType(tq"chisel3.Bundle")
val recordTpe: Type = inferType(tq"chisel3.Record")
// val autoCloneTpe: Type = inferType(tq"chisel3.experimental.AutoCloneType")
val bundleTpe: Type = inferType(tq"chisel3.Bundle")
val recordTpe: Type = inferType(tq"chisel3.Record")
val dataTpe: Type = inferType(tq"chisel3.Data")
val ignoreSeqTpe: Type = inferType(tq"chisel3.IgnoreSeqInBundle")
val seqOfDataTpe: Type = inferType(tq"scala.collection.Seq[chisel3.Data]")
Expand All @@ -55,8 +54,6 @@ private[plugin] class BundleComponent(val global: Global, arguments: ChiselPlugi

def isARecord(sym: Symbol): Boolean = { sym.tpe <:< recordTpe }

// def isAnAutoCloneType(sym: Symbol): Boolean = { sym.tpe <:< autoCloneTpe }

def isIgnoreSeqInBundle(sym: Symbol): Boolean = { sym.tpe <:< ignoreSeqTpe }

def isSeqOfData(sym: Symbol): Boolean = {
Expand Down

0 comments on commit 31b89a5

Please sign in to comment.