refactor MemIO to not use params
This commit is contained in:
parent
3d10a89907
commit
38ae2707a3
@ -1 +1 @@
|
|||||||
Subproject commit 52be2a2c019931de304c5701e694f243ef018e75
|
Subproject commit 372e80574bc42d8b623f69b2d5bd995aa5d0a759
|
@ -60,7 +60,7 @@ class BasicTopIO extends Bundle {
|
|||||||
val mem_backup_ctrl = new MemBackupCtrlIO
|
val mem_backup_ctrl = new MemBackupCtrlIO
|
||||||
}
|
}
|
||||||
|
|
||||||
class TopIO extends BasicTopIO {
|
class TopIO(implicit val p: Parameters) extends BasicTopIO {
|
||||||
val mem = new MemIO
|
val mem = new MemIO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,9 +6,9 @@ import Chisel._
|
|||||||
import junctions._
|
import junctions._
|
||||||
import uncore._
|
import uncore._
|
||||||
|
|
||||||
class MemDessert extends Module {
|
class MemDessert(implicit val p: Parameters) extends Module {
|
||||||
val io = new MemDesserIO(params(HTIFWidth))
|
val io = new MemDesserIO(p(HTIFWidth))
|
||||||
val x = Module(new MemDesser(params(HTIFWidth)))
|
val x = Module(new MemDesser(p(HTIFWidth)))
|
||||||
io.narrow <> x.io.narrow
|
io.narrow <> x.io.narrow
|
||||||
io.wide <> x.io.wide
|
io.wide <> x.io.wide
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user