first pass at configuration object passed as implicit parameter

This commit is contained in:
Henry Cook committed 2012-10-07 22:37:29 -07:00
1 parent dfdfddebe8
commit 9025d0610c
8 files changed
+57 -55

No files matched your search

+3 -3
View File
@@ -12,9 +12,9 @@ class ioDpathImem extends Bundle()
val resp_data = Bits(INPUT, 32);
}
class ioDpathAll extends Bundle()
class ioDpathAll()(implicit conf: Configuration) extends Bundle()
{
val host = new ioHTIF();
val host = new ioHTIF()
val ctrl = new ioCtrlDpath().flip
val dmem = new ioHellaCache
val dtlb = new ioDTLB_CPU_req_bundle().asOutput()
@@ -28,7 +28,7 @@ class ioDpathAll extends Bundle()
val vec_imul_resp = Bits(INPUT, hwacha.Constants.SZ_XLEN)
}
class rocketDpath extends Component
class rocketDpath()(implicit conf: Configuration) extends Component
{
val io = new ioDpathAll();