O3: Fix size of skid buffer between fetch and decode when widths are different

This commit is contained in:
Brian Grayson 2012-03-21 10:34:05 -05:00
parent 1981ba21ca
commit 565c1de4a8

View file

@ -64,7 +64,7 @@ DefaultDecode<Impl>::DefaultDecode(O3CPU *_cpu, DerivO3CPUParams *params)
}
// @todo: Make into a parameter
skidBufferMax = (fetchToDecodeDelay * params->fetchWidth) + decodeWidth;
skidBufferMax = (fetchToDecodeDelay + 1) * params->fetchWidth;
}
template <class Impl>