Hello,
I have a question regarding grouping of modules into a submodule.
If I have the following:
class Block extends Module {
...
}
class Top extends Module {
val blockA = Module(new Block)
val blockB = Module(new Block)
val blockC = Module(new Block)
}
This will generate a hierarchy like the following:
Top
Top.blockA
Top.blockB
Top.blockC
Suppose I want to group blockA and blockB into a new Module, and instead want a hierarchy like:
Top
Top.subblock
Top.subblock.blockA
Top.subblock.blockB
Top.blockC
Is there an easy way to accomplish this without having to manually create new classes for each grouping that I want? I looked at group() but this only works with Data, not with Module.