Skip to content

Commit

Permalink
[rc] Fixes for July RC
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Sep 24, 2018
1 parent 6529426 commit fa2c2c5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ version := "1.0"

name := "boom"

scalaVersion := "2.11.6"
scalaVersion := "2.12.4"

scalacOptions ++= Seq("-Xsource:2.11")

addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
1 change: 0 additions & 1 deletion src/main/scala/exu/core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ class BoomCore(implicit p: Parameters, edge: freechips.rocketchip.tilelink.TLEdg
// Shim to DCache
io.dmem <> dc_shim.io.dmem
dc_shim.io.core <> exe_units.memory_unit.io.dmem
dc_shim.io.core.invalidate_lr := rob.io.com_xcpt.valid

// Load/Store Unit & ExeUnits
exe_units.memory_unit.io.lsu_io := lsu.io
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/lsu/dcacheshim.scala
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class DCMemPortIO(implicit p: Parameters) extends BoomBundle()(p)
val brinfo = new BrResolutionInfo().asOutput
val nack = new NackInfo().asInput
val flush_pipe = Bool(OUTPUT) // exception or other misspec which flushes entire pipeline
val invalidate_lr = Bool(OUTPUT) // should the dcache clear ld/sc reservations?

val load_miss = Bool(INPUT) // Did a load suffer a cache miss? (not necessarily nacked, but no data).
val ordered = Bool(INPUT) // is the dcache ordered? (fence is done)

Expand Down Expand Up @@ -289,7 +289,7 @@ class DCacheShim(implicit p: Parameters) extends BoomModule()(p)
io.dmem.s2_kill := false.B
io.dmem.s1_kill := io.core.req.bits.kill || iflb_kill // kills request sent out last cycle
io.dmem.req.bits.phys := Bool(true) // we always use physical addresses (TLB is in LSU).
io.dmem.invalidate_lr := io.core.invalidate_lr


//------------------------------------------------------------
// handle responses and nacks
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/system/BoomSubsystem.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import freechips.rocketchip.amba.axi4._
case object BoomTilesKey extends Field[Seq[boom.common.BoomTileParams]](Nil)

trait HasBoomTiles extends HasTiles
with HasPeripheryPLIC
with CanHavePeripheryPLIC
with CanHavePeripheryCLINT
with HasPeripheryDebug { this: BaseSubsystem =>
val module: HasBoomTilesModuleImp
Expand All @@ -37,7 +37,7 @@ trait HasBoomTiles extends HasTiles

connectMasterPortsToSBus(boomCore, crossing)
connectSlavePortsToCBus(boomCore, crossing)
connectInterrupts(boomCore, Some(debug), clintOpt, Some(plic))
connectInterrupts(boomCore, Some(debug), clintOpt, plicOpt)

boomCore
}
Expand Down

0 comments on commit fa2c2c5

Please sign in to comment.