Update Chipyard
This commit is contained in:
@@ -28,6 +28,7 @@ case class MyCoreParams(
|
|||||||
enableToFromHostCaching: Boolean = false,
|
enableToFromHostCaching: Boolean = false,
|
||||||
) extends CoreParams {
|
) extends CoreParams {
|
||||||
val useVM: Boolean = true
|
val useVM: Boolean = true
|
||||||
|
val useHypervisor: Boolean = false
|
||||||
val useUser: Boolean = true
|
val useUser: Boolean = true
|
||||||
val useSupervisor: Boolean = false
|
val useSupervisor: Boolean = false
|
||||||
val useDebug: Boolean = true
|
val useDebug: Boolean = true
|
||||||
@@ -41,6 +42,7 @@ case class MyCoreParams(
|
|||||||
val fpu: Option[FPUParams] = Some(FPUParams()) // copied fma latencies from Rocket
|
val fpu: Option[FPUParams] = Some(FPUParams()) // copied fma latencies from Rocket
|
||||||
val nLocalInterrupts: Int = 0
|
val nLocalInterrupts: Int = 0
|
||||||
val useNMI: Boolean = false
|
val useNMI: Boolean = false
|
||||||
|
val nPTECacheEntries: Int = 0 // TODO: Check
|
||||||
val nPMPs: Int = 0 // TODO: Check
|
val nPMPs: Int = 0 // TODO: Check
|
||||||
val pmpGranularity: Int = 4 // copied from Rocket
|
val pmpGranularity: Int = 4 // copied from Rocket
|
||||||
val nBreakpoints: Int = 0 // TODO: Check
|
val nBreakpoints: Int = 0 // TODO: Check
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ case object GenericFIRKey extends Field[Option[GenericFIRParams]](None)
|
|||||||
class GenericFIRCellBundle[T<:Data:Ring](genIn:T, genOut:T) extends Bundle {
|
class GenericFIRCellBundle[T<:Data:Ring](genIn:T, genOut:T) extends Bundle {
|
||||||
val data: T = genIn.cloneType
|
val data: T = genIn.cloneType
|
||||||
val carry: T = genOut.cloneType
|
val carry: T = genOut.cloneType
|
||||||
|
|
||||||
override def cloneType: this.type = GenericFIRCellBundle(genIn, genOut).asInstanceOf[this.type]
|
|
||||||
}
|
}
|
||||||
object GenericFIRCellBundle {
|
object GenericFIRCellBundle {
|
||||||
def apply[T<:Data:Ring](genIn:T, genOut:T): GenericFIRCellBundle[T] = new GenericFIRCellBundle(genIn, genOut)
|
def apply[T<:Data:Ring](genIn:T, genOut:T): GenericFIRCellBundle[T] = new GenericFIRCellBundle(genIn, genOut)
|
||||||
@@ -43,8 +41,6 @@ object GenericFIRCellIO {
|
|||||||
|
|
||||||
class GenericFIRBundle[T<:Data:Ring](proto: T) extends Bundle {
|
class GenericFIRBundle[T<:Data:Ring](proto: T) extends Bundle {
|
||||||
val data: T = proto.cloneType
|
val data: T = proto.cloneType
|
||||||
|
|
||||||
override def cloneType: this.type = GenericFIRBundle(proto).asInstanceOf[this.type]
|
|
||||||
}
|
}
|
||||||
object GenericFIRBundle {
|
object GenericFIRBundle {
|
||||||
def apply[T<:Data:Ring](proto: T): GenericFIRBundle[T] = new GenericFIRBundle(proto)
|
def apply[T<:Data:Ring](proto: T): GenericFIRBundle[T] = new GenericFIRBundle(proto)
|
||||||
|
|||||||
@@ -26,8 +26,6 @@ case object StreamingPassthroughKey extends Field[Option[StreamingPassthroughPar
|
|||||||
|
|
||||||
class StreamingPassthroughBundle[T<:Data:Ring](proto: T) extends Bundle {
|
class StreamingPassthroughBundle[T<:Data:Ring](proto: T) extends Bundle {
|
||||||
val data: T = proto.cloneType
|
val data: T = proto.cloneType
|
||||||
|
|
||||||
override def cloneType: this.type = StreamingPassthroughBundle(proto).asInstanceOf[this.type]
|
|
||||||
}
|
}
|
||||||
object StreamingPassthroughBundle {
|
object StreamingPassthroughBundle {
|
||||||
def apply[T<:Data:Ring](proto: T): StreamingPassthroughBundle[T] = new StreamingPassthroughBundle(proto)
|
def apply[T<:Data:Ring](proto: T): StreamingPassthroughBundle[T] = new StreamingPassthroughBundle(proto)
|
||||||
|
|||||||
Reference in New Issue
Block a user