Skip to content

Commit

Permalink
Merge pull request #2923 from michael-etzkorn/master
Browse files Browse the repository at this point in the history
Removed TraceGen in HeterogeneousTileExampleConfig
  • Loading branch information
jerryz123 authored Sep 1, 2022
2 parents 9e19feb + 605b274 commit e1c9f4b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/main/scala/system/Configs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@ package freechips.rocketchip.system

import freechips.rocketchip.config.Config
import freechips.rocketchip.subsystem._
import freechips.rocketchip.groundtest.WithTraceGen

class WithJtagDTMSystem extends freechips.rocketchip.subsystem.WithJtagDTM
class WithDebugSBASystem extends freechips.rocketchip.subsystem.WithDebugSBA
class WithDebugAPB extends freechips.rocketchip.subsystem.WithDebugAPB

class BaseConfig extends Config(
new WithDefaultMemPort() ++
new WithDefaultMMIOPort() ++
new WithDefaultSlavePort() ++
new WithDefaultMemPort ++
new WithDefaultMMIOPort ++
new WithDefaultSlavePort ++
new WithTimebase(BigInt(1000000)) ++ // 1 MHz
new WithDTS("freechips,rocketchip-unknown", Nil) ++
new WithNExtTopInterrupts(2) ++
new BaseSubsystemConfig()
new BaseSubsystemConfig
)

class DefaultConfig extends Config(new WithNBigCores(1) ++ new WithCoherentBusTopology ++ new BaseConfig)
Expand All @@ -34,12 +33,12 @@ class EightChannelConfig extends Config(new WithNMemoryChannels(8) ++ new Defaul

class DualChannelDualBankConfig extends Config(
new WithNMemoryChannels(2) ++
new WithNBanks(4) ++ new DefaultConfig)
new WithNBanks(4) ++ new DefaultConfig
)

class RoccExampleConfig extends Config(new WithRoccExample ++ new DefaultConfig)

class HeterogeneousTileExampleConfig extends Config(
new WithTraceGen (n = 2, overrideMemOffset = Some(0x90000000L))() ++
new WithNBigCores(n = 1) ++
new WithNMedCores(n = 1) ++
new WithNSmallCores(n = 1) ++
Expand All @@ -48,9 +47,11 @@ class HeterogeneousTileExampleConfig extends Config(
)

class Edge128BitConfig extends Config(
new WithEdgeDataBits(128) ++ new DefaultConfig)
new WithEdgeDataBits(128) ++ new DefaultConfig
)
class Edge32BitConfig extends Config(
new WithEdgeDataBits(32) ++ new DefaultConfig)
new WithEdgeDataBits(32) ++ new DefaultConfig
)

class SingleChannelBenchmarkConfig extends Config(new DefaultConfig)
class DualChannelBenchmarkConfig extends Config(new WithNMemoryChannels(2) ++ new SingleChannelBenchmarkConfig)
Expand All @@ -63,7 +64,8 @@ class TinyConfig extends Config(
new WithNBanks(0) ++
new With1TinyCore ++
new WithIncoherentBusTopology ++
new BaseConfig)
new BaseConfig
)

class MemPortOnlyConfig extends Config(
new WithNoMMIOPort ++
Expand Down

0 comments on commit e1c9f4b

Please sign in to comment.