1
0

Add TileId parameter, generalizing GroundTestId

This usually shouldn't be used in Tiles that are meant to be P&R'd once
and multiply instantiated, as their RTL would no longer be homogeneous.
However, it is useful for conditionalizing RTL generation for
heterogeneous tiles.
This commit is contained in:
Andrew Waterman
2016-09-02 00:05:40 -07:00
parent 4a7972be31
commit c05ba1e864
10 changed files with 15 additions and 13 deletions

View File

@ -72,7 +72,7 @@ class WithGroundTest extends Config(
(r: Bool, p: Parameters) => {
Module(new GroundTestTile(resetSignal = r)(p.alterPartial({
case TLId => "L1toL2"
case GroundTestId => i
case TileId => i
case NCachedTileLinkPorts => if(tileSettings.cached > 0) 1 else 0
case NUncachedTileLinkPorts => tileSettings.uncached
})))