1
0
Fork 0

test_mode_reset: Add missing file

This commit is contained in:
Megan Wachs 2017-09-14 13:17:37 -07:00
parent a0396b63e8
commit ffc514d1bc
1 changed files with 19 additions and 0 deletions

View 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())
}