Skip to content

Commit

Permalink
bump for bump for chipsalliance/rocket-chip#2841
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer committed Jan 7, 2022
1 parent e252e79 commit e3352bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/common/parameters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,15 @@ case class BoomCoreParams(
mulDiv: Option[freechips.rocketchip.rocket.MulDivParams] = Some(MulDivParams(divEarlyOut=true)),
nBreakpoints: Int = 0, // TODO Fix with better frontend breakpoint unit
nL2TLBEntries: Int = 512,
val nPTECacheEntries: Int = 8, // TODO: check
nL2TLBWays: Int = 1,
nLocalInterrupts: Int = 0,
useNMI: Boolean = false,
useAtomics: Boolean = true,
useDebug: Boolean = true,
useUser: Boolean = true,
useSupervisor: Boolean = false,
useHypervisor: Boolean = false,
useVM: Boolean = true,
useSCIE: Boolean = false,
useRVE: Boolean = false,
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/exu/decode.scala
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ class DecodeUnit(implicit p: Parameters) extends BoomModule
val cs = Wire(new CtrlSigs()).decode(inst, decode_table)

// Exception Handling
io.csr_decode.csr := inst(31,20)
io.csr_decode.csr_addr := inst
val csr_en = cs.csr_cmd.isOneOf(CSR.S, CSR.C, CSR.W)
val csr_ren = cs.csr_cmd.isOneOf(CSR.S, CSR.C) && uop.lrs1 === 0.U
val system_insn = cs.csr_cmd === CSR.I
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/lsu/tlb.scala
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class NBDTLB(instruction: Boolean, lgMaxSize: Int, cfg: TLBConfig)(implicit edge
newEntry.c := cacheable(0)
newEntry.u := pte.u
newEntry.g := pte.g
newEntry.ae := io.ptw.resp.bits.ae
newEntry.ae := io.ptw.resp.bits.ae_final
newEntry.sr := pte.sr()
newEntry.sw := pte.sw()
newEntry.sx := pte.sx()
Expand Down

0 comments on commit e3352bc

Please sign in to comment.