[gg] Remove defunct AddedTargetIOAnnotation; use bridges
This commit is contained in:
parent
ff905338d2
commit
a090464263
|
@ -108,14 +108,3 @@ class Fame1Instances extends Transform {
|
|||
state.copy(circuit = new ModelFame1Transform(fame1s).run(state.circuit))
|
||||
}
|
||||
}
|
||||
|
||||
/* Instead of passing a data structure between pre-FAME target-transforming passes
|
||||
* Add NoTargetAnnotations that can regenerate a chisel type from a HighForm port
|
||||
*
|
||||
* Initially i tried extending SingleTargetAnnotation but we need a LowForm
|
||||
* inner circuit to do linking (if the wrapping circuit is LowForm), and thus the target
|
||||
* will have lost its subFields when we go to regenerate the ChiselIO.
|
||||
*/
|
||||
trait AddedTargetIoAnnotation[T <: chisel3.Data] extends Annotation {
|
||||
def generateChiselIO(): Tuple2[String, T]
|
||||
}
|
||||
|
|
|
@ -141,7 +141,6 @@ private[passes] class SimulationMapping(targetName: String)(implicit val p: Para
|
|||
val innerAnnos = loweredInnerState.annotations.filter(_ match {
|
||||
case _: FAMEChannelConnectionAnnotation => false
|
||||
case _: BridgeIOAnnotation => false
|
||||
case _: AddedTargetIoAnnotation[_] => false
|
||||
case _ => true
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue