It is illegal in FIRRTL to have layers nested under other layers across an instantiation hierarchy. These errors are difficult to address, though the tools exist (layer.elideBlocks, layer.enable, and the boolean parameters to the layer.block API). However, this is all not documented or not coherently documented.
Add to the existing Layers website doc to show these kinds of errors and the different approaches to fix them.
It is illegal in FIRRTL to have layers nested under other layers across an instantiation hierarchy. These errors are difficult to address, though the tools exist (
layer.elideBlocks,layer.enable, and the boolean parameters to thelayer.blockAPI). However, this is all not documented or not coherently documented.Add to the existing Layers website doc to show these kinds of errors and the different approaches to fix them.