add missing jtag file
This commit is contained in:
parent
66a253a0db
commit
48c5ec3551
16
junctions/src/main/scala/jtag.scala
Normal file
16
junctions/src/main/scala/jtag.scala
Normal file
@ -0,0 +1,16 @@
|
||||
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)
|
||||
|
||||
val DRV_TDO = if (drvTdo) Some(Bool(OUTPUT)) else None
|
||||
override def cloneType = new JtagIO(drvTdo).asInstanceOf[this.type]
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user