test_mode_reset: Add missing file
This commit is contained in:
parent
a0396b63e8
commit
ffc514d1bc
19
src/main/scala/util/PSDTestMode.scala
Normal file
19
src/main/scala/util/PSDTestMode.scala
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
// See LICENSE.SiFive for license details.
|
||||||
|
|
||||||
|
package freechips.rocketchip.util
|
||||||
|
|
||||||
|
import Chisel._
|
||||||
|
import freechips.rocketchip.config._
|
||||||
|
|
||||||
|
case object IncludePSDTest extends Field[Boolean](false)
|
||||||
|
|
||||||
|
class PSDTestModeIO extends Bundle {
|
||||||
|
val test_mode = Bool(INPUT)
|
||||||
|
val test_mode_reset = Bool(INPUT)
|
||||||
|
// TODO: Clocks?
|
||||||
|
}
|
||||||
|
|
||||||
|
trait CanHavePSDTestModeIO {
|
||||||
|
implicit val p: Parameters
|
||||||
|
val psd = p(IncludePSDTest).option(new PSDTestModeIO())
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user