1
0

refactor MemIO to not use params

This commit is contained in:
Henry Cook 2015-10-02 15:38:14 -07:00
parent 3d10a89907
commit 38ae2707a3
3 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 52be2a2c019931de304c5701e694f243ef018e75 Subproject commit 372e80574bc42d8b623f69b2d5bd995aa5d0a759

View File

@ -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
} }

View File

@ -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
} }