inject params at top-level for MemDessert
This commit is contained in:
parent
c4eadbda57
commit
1c489d75c1
@ -6,7 +6,8 @@ import Chisel._
|
|||||||
import junctions._
|
import junctions._
|
||||||
import uncore._
|
import uncore._
|
||||||
|
|
||||||
class MemDessert(implicit val p: Parameters) extends Module {
|
class MemDessert extends Module {
|
||||||
|
implicit val p = params
|
||||||
val io = new MemDesserIO(p(HtifKey).width)
|
val io = new MemDesserIO(p(HtifKey).width)
|
||||||
val x = Module(new MemDesser(p(HtifKey).width))
|
val x = Module(new MemDesser(p(HtifKey).width))
|
||||||
io.narrow <> x.io.narrow
|
io.narrow <> x.io.narrow
|
||||||
|
Loading…
Reference in New Issue
Block a user