Support using HarnessBinders without IOBinders
This commit is contained in:
@@ -19,6 +19,10 @@ trait Port[T <: Data] {
|
||||
val io: T
|
||||
}
|
||||
|
||||
trait HasChipyardPorts {
|
||||
def ports: Seq[Port[_]]
|
||||
}
|
||||
|
||||
// These case classes are generated by IOBinders, and interpreted by HarnessBinders
|
||||
case class GPIOPort (val io: Analog, val gpioId: Int, val pinId: Int)
|
||||
extends Port[Analog]
|
||||
|
||||
Reference in New Issue
Block a user