1
1
package chipyard
2
2
3
- import chipyard .config .AbstractConfig
4
3
import chipyard .stage .phases .TargetDirKey
5
4
import freechips .rocketchip .devices .tilelink .BootROMLocated
6
5
import freechips .rocketchip .resources .BigIntHexContext
@@ -26,10 +25,10 @@ class RadianceBaseConfig extends Config(
26
25
// the verilog source as well!
27
26
new radiance.subsystem.WithSimtConfig (nWarps = 8 , nCoreLanes = 8 , nMemLanes = 8 , nSrcIds = 32 ) ++
28
27
new chipyard.config.WithSystemBusWidth (bitWidth = 256 ) ++
29
- new WithExtMemSize (BigInt (" 80000000" , 16 )) ++
30
- new WithRadBootROM () ++
28
+ new freechips.rocketchip.subsystem. WithExtMemSize (BigInt (" 80000000" , 16 )) ++
29
+ new chipyard.config. WithRadBootROM () ++
31
30
new radiance.subsystem.WithRadianceSimParams (true ) ++
32
- new WithCacheBlockBytes (64 ) ++
31
+ new freechips.rocketchip.subsystem. WithCacheBlockBytes (64 ) ++
33
32
new freechips.rocketchip.subsystem.WithNMemoryChannels (2 ) ++
34
33
new freechips.rocketchip.subsystem.WithEdgeDataBits (256 ) ++
35
34
@@ -40,7 +39,7 @@ class RadianceBaseConfig extends Config(
40
39
new chipyard.config.WithFrontBusFrequency (400.0 ) ++
41
40
new chipyard.config.WithOffchipBusFrequency (400.0 ) ++
42
41
new chipyard.harness.WithHarnessBinderClockFreqMHz (400.0 ) ++
43
- new AbstractConfig )
42
+ new chipyard.config. AbstractConfig )
44
43
45
44
class RadianceFP16ClusterConfig extends Config (
46
45
new radiance.subsystem.WithRadianceGemmini (location = InCluster (0 ), dim = 16 , accSizeInKB = 32 , tileSize = (8 , 4 , 8 ), dataType = RadianceGemminiDataType .FP16 ) ++
@@ -128,11 +127,11 @@ class RadianceFP16ClusterSynConfig extends Config(
128
127
129
128
class Radiance4CFP16ClusterSynConfig extends Config (
130
129
new radiance.subsystem.WithRadianceSimParams (false ) ++
131
- new Radiance4CFP16ClusterConfig )
130
+ new Radiance4CFP16ClusterConfig )
132
131
133
132
class RadianceBigLittleClusterSynConfig extends Config (
134
133
new radiance.subsystem.WithRadianceSimParams (false ) ++
135
- new RadianceBigLittleClusterConfig )
134
+ new RadianceBigLittleClusterConfig )
136
135
137
136
class RadianceNoCacheConfig extends Config (
138
137
new radiance.subsystem.WithRadianceCores (1 , useVxCache = false ) ++
@@ -147,11 +146,11 @@ class RadianceNoCoalConfig extends Config(
147
146
class RadianceEmulatorConfig extends Config (
148
147
new radiance.subsystem.WithEmulatorCores (1 , useVxCache = false ) ++
149
148
new radiance.subsystem.WithSimtConfig (nMemLanes = 4 , nSrcIds = 4 ) ++
150
- new AbstractConfig )
149
+ new chipyard.config. AbstractConfig )
151
150
152
151
class RadianceFuzzerConfig extends Config (
153
152
new radiance.subsystem.WithFuzzerCores (1 , useVxCache = false ) ++
154
153
new radiance.subsystem.WithCoalescer (nNewSrcIds = 2 ) ++
155
154
new radiance.subsystem.WithSimtConfig (nMemLanes = 4 , nSrcIds = 2 ) ++
156
155
new chipyard.config.WithSystemBusWidth (bitWidth = 256 ) ++
157
- new AbstractConfig )
156
+ new chipyard.config. AbstractConfig )
0 commit comments