1
0

first pass at configuration object passed as implicit parameter

This commit is contained in:
Henry Cook
2012-10-07 22:37:29 -07:00
parent dfdfddebe8
commit 9025d0610c
8 changed files with 57 additions and 55 deletions

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();