Skip to content

Commit

Permalink
Add WithMulDivWithoutDiv Config
Browse files Browse the repository at this point in the history
  • Loading branch information
nananapo committed Jun 16, 2023
1 parent 6d6cf06 commit ef236fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/scala/subsystem/Configs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,16 @@ class WithoutMulDiv extends Config((site, here, up) => {
}
})

class WithMulDivWithoutDiv extends Config((site, here, up) => {
case TilesLocated(InSubsystem) => up(TilesLocated(InSubsystem), site) map {
case tp: RocketTileAttachParams => tp.copy(tileParams = tp.tileParams.copy(
core = tp.tileParams.core.copy(
mulDiv = Some(MulDivParams(mulUnroll = 8)),
useMulDivWithoutDiv = true)))
case t => t
}
})

class WithoutFPU extends Config((site, here, up) => {
case TilesLocated(InSubsystem) => up(TilesLocated(InSubsystem), site) map {
case tp: RocketTileAttachParams => tp.copy(tileParams = tp.tileParams.copy(
Expand Down

0 comments on commit ef236fe

Please sign in to comment.