From 8b743deacd14303d8b7e2012adaff576da90d96c Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Fri, 3 Feb 2023 16:50:22 -0800 Subject: [PATCH] Add RocketGPUConfig to RocketConfigs.scala Start out as a simple 2-core configuration with scaled-down rocket cores. --- generators/chipyard/src/main/scala/config/RocketConfigs.scala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generators/chipyard/src/main/scala/config/RocketConfigs.scala b/generators/chipyard/src/main/scala/config/RocketConfigs.scala index c6f5ca22..c500888c 100644 --- a/generators/chipyard/src/main/scala/config/RocketConfigs.scala +++ b/generators/chipyard/src/main/scala/config/RocketConfigs.scala @@ -21,6 +21,10 @@ class TinyRocketConfig extends Config( new freechips.rocketchip.subsystem.With1TinyCore ++ // single tiny rocket-core new chipyard.config.AbstractConfig) +class RocketGPUConfig extends Config( + new freechips.rocketchip.subsystem.WithNCustomSmallCores(2) ++ // multiple rocket-core + new chipyard.config.AbstractConfig) + class SimAXIRocketConfig extends Config( new chipyard.harness.WithSimAXIMem ++ // drive the master AXI4 memory with a SimAXIMem, a 1-cycle magic memory, instead of default SimDRAM new freechips.rocketchip.subsystem.WithNBigCores(1) ++