2016-08-20 00:28:53 +02:00
|
|
|
package junctions
|
|
|
|
import Chisel._
|
|
|
|
import cde.{Parameters}
|
|
|
|
|
|
|
|
class JtagIO(drvTdo : Boolean = false) extends Bundle {
|
|
|
|
|
|
|
|
val TCK = Clock(OUTPUT)
|
|
|
|
val TMS = Bool(OUTPUT)
|
|
|
|
val TDI = Bool(OUTPUT)
|
|
|
|
val TDO = Bool(INPUT)
|
|
|
|
val TRST = Bool(OUTPUT)
|
|
|
|
|
2016-08-20 01:38:03 +02:00
|
|
|
val DRV_TDO = if (drvTdo) Some(Bool(INPUT)) else None
|
2016-08-20 00:28:53 +02:00
|
|
|
override def cloneType = new JtagIO(drvTdo).asInstanceOf[this.type]
|
|
|
|
|
|
|
|
}
|