Skip to content

Commit 12a1d52

Browse files
committed
Merge branch 'graphics' of https://github.com/hansungk/chipyard into graphics
2 parents 9410eb7 + bfbe52f commit 12a1d52

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
url = https://github.com/ucb-bar/rocc-acc-utils.git
4949
[submodule "generators/rocket-chip"]
5050
path = generators/rocket-chip
51-
url = https://github.com/richardyrh/rocket-chip.git
51+
url = https://github.com/chipsalliance/rocket-chip.git
5252
[submodule "generators/rocket-chip-blocks"]
5353
path = generators/rocket-chip-blocks
5454
url = https://github.com/chipsalliance/rocket-chip-blocks.git

common.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ HELP_COMPILATION_VARIABLES += \
1717
" EXTRA_SIM_SOURCES = additional simulation sources needed for simulator" \
1818
" EXTRA_SIM_REQS = additional make requirements to build the simulator" \
1919
" EXTRA_SIM_OUT_NAME = additional suffix appended to the simulation .out log filename" \
20-
" EXTRA_SIM_PREPROC_DEFINES = additional defines passed to the simulator" \
20+
" EXTRA_SIM_PREPROC_DEFINES = additional Verilog preprocessor defines passed to the simulator" \
2121
" ENABLE_YOSYS_FLOW = if set, add compilation flags to enable the vlsi flow for yosys(tutorial flow)" \
2222
" EXTRA_CHISEL_OPTIONS = additional options to pass to the Chisel compiler" \
2323
" MFC_BASE_LOWERING_OPTIONS = override lowering options to pass to the MLIR FIRRTL compiler" \

generators/chipyard/src/main/scala/config/RadianceConfigs.scala

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package chipyard
22

3-
import chipyard.config.AbstractConfig
43
import chipyard.stage.phases.TargetDirKey
54
import freechips.rocketchip.devices.tilelink.BootROMLocated
65
import freechips.rocketchip.resources.BigIntHexContext
@@ -26,10 +25,10 @@ class RadianceBaseConfig extends Config(
2625
// the verilog source as well!
2726
new radiance.subsystem.WithSimtConfig(nWarps = 8, nCoreLanes = 8, nMemLanes = 8, nSrcIds = 32) ++
2827
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() ++
3130
new radiance.subsystem.WithRadianceSimParams(true) ++
32-
new WithCacheBlockBytes(64) ++
31+
new freechips.rocketchip.subsystem.WithCacheBlockBytes(64) ++
3332
new freechips.rocketchip.subsystem.WithNMemoryChannels(2) ++
3433
new freechips.rocketchip.subsystem.WithEdgeDataBits(256) ++
3534

@@ -40,7 +39,7 @@ class RadianceBaseConfig extends Config(
4039
new chipyard.config.WithFrontBusFrequency(400.0) ++
4140
new chipyard.config.WithOffchipBusFrequency(400.0) ++
4241
new chipyard.harness.WithHarnessBinderClockFreqMHz(400.0) ++
43-
new AbstractConfig)
42+
new chipyard.config.AbstractConfig)
4443

4544
class RadianceFP16ClusterConfig extends Config(
4645
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(
128127

129128
class Radiance4CFP16ClusterSynConfig extends Config(
130129
new radiance.subsystem.WithRadianceSimParams(false) ++
131-
new Radiance4CFP16ClusterConfig)
130+
new Radiance4CFP16ClusterConfig)
132131

133132
class RadianceBigLittleClusterSynConfig extends Config(
134133
new radiance.subsystem.WithRadianceSimParams(false) ++
135-
new RadianceBigLittleClusterConfig)
134+
new RadianceBigLittleClusterConfig)
136135

137136
class RadianceNoCacheConfig extends Config(
138137
new radiance.subsystem.WithRadianceCores(1, useVxCache = false) ++
@@ -147,11 +146,11 @@ class RadianceNoCoalConfig extends Config(
147146
class RadianceEmulatorConfig extends Config(
148147
new radiance.subsystem.WithEmulatorCores(1, useVxCache = false) ++
149148
new radiance.subsystem.WithSimtConfig(nMemLanes = 4, nSrcIds = 4) ++
150-
new AbstractConfig)
149+
new chipyard.config.AbstractConfig)
151150

152151
class RadianceFuzzerConfig extends Config(
153152
new radiance.subsystem.WithFuzzerCores(1, useVxCache = false) ++
154153
new radiance.subsystem.WithCoalescer(nNewSrcIds = 2) ++
155154
new radiance.subsystem.WithSimtConfig(nMemLanes = 4, nSrcIds = 2) ++
156155
new chipyard.config.WithSystemBusWidth(bitWidth = 256) ++
157-
new AbstractConfig)
156+
new chipyard.config.AbstractConfig)

0 commit comments

Comments
 (0)