1
0

Added initial brainstorm for parameter hierarchical flattening, does not compile ;)

This commit is contained in:
Adam Izraelevitz
2014-08-04 14:06:52 -07:00
committed by Henry Cook
parent 812353bace
commit 4e6d69892d
2 changed files with 20 additions and 7 deletions

View File

@ -9,7 +9,7 @@ case object HasFPU extends Field[Boolean]
class RocketIO(implicit conf: RocketConfiguration) extends Bundle
{
val host = new HTIFIO(conf.tl.ln.nClients)
val host = new HTIFIO(params[Int]("nClients"))
val imem = new CPUFrontendIO()(conf.icache)
val dmem = new HellaCacheIO()(conf.dcache)
val ptw = new DatapathPTWIO()(conf.as).flip
@ -18,7 +18,20 @@ class RocketIO(implicit conf: RocketConfiguration) extends Bundle
class Core(implicit conf: RocketConfiguration) extends Module
{
//xprlen
//hasfpu
//hasrocc
//fastloadword
//fastloadbyte
//as <- unfolded
//fpuparams
val io = new RocketIO
//nClients
//icache
//dcache
val ctrl = Module(new Control)
val dpath = Module(new Datapath)