compile without tl2cdr
This commit is contained in:
@@ -11,27 +11,7 @@ import sifive.blocks.devices.uart._
|
||||
import sifive.blocks.devices.gpio._
|
||||
|
||||
|
||||
abstract class BackModule(implicit val p: Parameters) extends Module with HasBackParameters { def io: Record }
|
||||
abstract class BackBundle(implicit val p: Parameters) extends Bundle with HasBackParameters
|
||||
|
||||
case object BackParamsKey extends Field[BackSetting]
|
||||
|
||||
case class BackSetting(
|
||||
){
|
||||
|
||||
}
|
||||
|
||||
trait HasBackParameters {
|
||||
implicit val p: Parameters
|
||||
|
||||
val backSetting = p(BackParamsKey)
|
||||
}
|
||||
|
||||
|
||||
|
||||
class BackCfg extends Config((_, _, _) => {
|
||||
case BackParamsKey => BackSetting()
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user