Skip to content

Commit

Permalink
delete tutorial config
Browse files Browse the repository at this point in the history
  • Loading branch information
SeahK committed Oct 20, 2024
1 parent 9a9600f commit 2f8c817
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/main/scala/gemmini/Configs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -238,17 +238,6 @@ object GemminiConfigs {
val leanConfig = defaultConfig.copy(dataflow=Dataflow.WS, max_in_flight_mem_reqs = 64, acc_read_full_width = false, ex_read_from_acc = false, ex_write_to_spad = false, hardcode_d_to_garbage_addr = true)

val leanPrintfConfig = defaultConfig.copy(dataflow=Dataflow.WS, max_in_flight_mem_reqs = 64, acc_read_full_width = false, ex_read_from_acc = false, ex_write_to_spad = false, hardcode_d_to_garbage_addr = true, use_firesim_simulation_counters=true)

val tutorialConfig = defaultConfig.copy(sp_capacity=CapacityInKilobytes(128), acc_capacity=CapacityInKilobytes(64), dataflow=Dataflow.WS,
acc_scale_args=Some(defaultConfig.acc_scale_args.get.copy(latency=4)),
max_in_flight_mem_reqs = 32,
mesh_output_delay = 2,
ex_read_from_acc=false,
ex_write_to_spad=false,
acc_read_full_width = false,
hardcode_d_to_garbage_addr = true,
mvin_scale_args = None
)
}

/**
Expand Down Expand Up @@ -295,19 +284,6 @@ class LeanGemminiPrintfConfig[T <: Data : Arithmetic, U <: Data, V <: Data](
)
})

// for MICRO tutorial gemmini config
class TutorialGemminiConfig[T <: Data : Arithmetic, U <: Data, V <: Data](
gemminiConfig: GemminiArrayConfig[T,U,V] = GemminiConfigs.tutorialConfig
) extends Config((site, here, up) => {
case BuildRoCC => up(BuildRoCC) ++ Seq(
(p: Parameters) => {
implicit val q = p
val gemmini = LazyModule(new Gemmini(gemminiConfig))
gemmini
}
)
})

class DummyDefaultGemminiConfig[T <: Data : Arithmetic, U <: Data, V <: Data](
gemminiConfig: GemminiArrayConfig[T,U,V] = GemminiConfigs.dummyConfig
) extends Config((site, here, up) => {
Expand Down

0 comments on commit 2f8c817

Please sign in to comment.