wip
This commit is contained in:
parent
346338f084
commit
5704f22739
|
@ -37,7 +37,7 @@ object TestsWorkspace {
|
||||||
prediction = DYNAMIC,
|
prediction = DYNAMIC,
|
||||||
historyRamSizeLog2 = 8,
|
historyRamSizeLog2 = 8,
|
||||||
catchAccessFault = true,
|
catchAccessFault = true,
|
||||||
compressedGen = false
|
compressedGen = true
|
||||||
),
|
),
|
||||||
// new IBusCachedPlugin(
|
// new IBusCachedPlugin(
|
||||||
// resetVector = 0x80000000l,
|
// resetVector = 0x80000000l,
|
||||||
|
|
|
@ -488,7 +488,7 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
|
||||||
|
|
||||||
|
|
||||||
historyWrite.valid := False
|
historyWrite.valid := False
|
||||||
historyWrite.address := (branchStage.input(PC) >> 2).resized
|
historyWrite.address := branchStage.input(PC)(2, historyRamSizeLog2 bits)
|
||||||
historyWrite.data.source := branchStage.input(PC).asBits >> 1 + historyRamSizeLog2
|
historyWrite.data.source := branchStage.input(PC).asBits >> 1 + historyRamSizeLog2
|
||||||
historyWrite.data.target := fetchPrediction.rsp.finalPc
|
historyWrite.data.target := fetchPrediction.rsp.finalPc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue