mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 10:15:19 +00:00
Fixed typos.
This commit is contained in:
parent
e1d0be5c61
commit
4e858199e5
@ -197,8 +197,8 @@ module bpred (
|
|||||||
assign BPPredWrongE = (PredictionPCWrongE & |InstrClassE) | BPPredClassNonCFIWrongE;
|
assign BPPredWrongE = (PredictionPCWrongE & |InstrClassE) | BPPredClassNonCFIWrongE;
|
||||||
|
|
||||||
// If we have a jump, jump register or jal or jalr and the PC is wrong we need to increment the performance counter.
|
// If we have a jump, jump register or jal or jalr and the PC is wrong we need to increment the performance counter.
|
||||||
assign BTBPredPCWrongE = (InstrClassE[3] | InstrClassE[1]) & PredictionPCWrongE;
|
assign BTBPredPCWrongE = (InstrClassE[3] | InstrClassE[1] | InstrClassE[0]) & PredictionPCWrongE;
|
||||||
// similar with RAS
|
// similar with RAS. Over counts ras if the class prediction was wrong.
|
||||||
assign RASPredPCWrongE = InstrClassE[2] & PredictionPCWrongE;
|
assign RASPredPCWrongE = InstrClassE[2] & PredictionPCWrongE;
|
||||||
// Finally if the real instruction class is non CFI but the predictor said it was we need to count.
|
// Finally if the real instruction class is non CFI but the predictor said it was we need to count.
|
||||||
assign BPPredClassNonCFIWrongE = PredictionInstrClassWrongE & ~|InstrClassE;
|
assign BPPredClassNonCFIWrongE = PredictionInstrClassWrongE & ~|InstrClassE;
|
||||||
@ -223,7 +223,7 @@ module bpred (
|
|||||||
// end
|
// end
|
||||||
|
|
||||||
// performance counters
|
// performance counters
|
||||||
// 1. class (class wrong / minstret)
|
// 1. class (class wrong / minstret) (PredictionInstrClassWrongM / csr)
|
||||||
// 2. target btb (btb target wrong / class[0,1,3]) (btb target wrong / (br + j + jal)
|
// 2. target btb (btb target wrong / class[0,1,3]) (btb target wrong / (br + j + jal)
|
||||||
// 3. target ras (ras target wrong / class[2])
|
// 3. target ras (ras target wrong / class[2])
|
||||||
// 4. direction (br dir wrong / class[0])
|
// 4. direction (br dir wrong / class[0])
|
||||||
|
@ -115,7 +115,7 @@ module ifu (
|
|||||||
logic [31:0] NextInstrD, NextInstrE; // Instruction into the next stage after possible stage flush
|
logic [31:0] NextInstrD, NextInstrE; // Instruction into the next stage after possible stage flush
|
||||||
|
|
||||||
|
|
||||||
logic CacheableF; // PMA indicates isntruction address is cacheable
|
logic CacheableF; // PMA indicates instruction address is cacheable
|
||||||
logic SelNextSpillF; // In a spill, stall pipeline and gate local stallF
|
logic SelNextSpillF; // In a spill, stall pipeline and gate local stallF
|
||||||
logic BusStall; // Bus interface busy with multicycle operation
|
logic BusStall; // Bus interface busy with multicycle operation
|
||||||
logic ICacheStallF; // I$ busy with multicycle operation
|
logic ICacheStallF; // I$ busy with multicycle operation
|
||||||
|
Loading…
Reference in New Issue
Block a user