Skip to content

Commit

Permalink
add more minimal firesim configs for testing (#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
t14916 authored Jan 19, 2023
1 parent db31427 commit 95f30d0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions generators/firechip/src/main/scala/TargetConfigs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,26 @@ class WithMinimalFireSimHighPerfConfigTweaks extends Config(
new WithMinimalFireSimDesignTweaks
)

/**
* Adds BlockDevice to WithMinimalFireSimHighPerfConfigTweaks
*/
class WithMinimalAndBlockDeviceFireSimHighPerfConfigTweaks extends Config(
new WithFireSimHighPerfClocking ++
new freechips.rocketchip.subsystem.WithNoMemPort ++ // removes mem port for FASEDBridge to match against
new testchipip.WithBackingScratchpad ++ // adds backing scratchpad for memory to replace FASED model
new testchipip.WithBlockDevice(true) ++ // add in block device
new WithMinimalFireSimDesignTweaks
)

/**
* Adds Block device to WithMinimalFireSimHighPerfConfigTweaks
*/
class WithMinimalAndFASEDFireSimHighPerfConfigTweaks extends Config(
new WithFireSimHighPerfClocking ++
new WithDefaultMemModel ++ // add default FASED memory model
new WithMinimalFireSimDesignTweaks
)

// Tweaks for legacy FireSim configs.
class WithFireSimHighPerfConfigTweaks extends Config(
new WithFireSimHighPerfClocking ++
Expand Down

0 comments on commit 95f30d0

Please sign in to comment.