Modified WithCoalescer to dynamically configure databusWidth and MaxCoalSize according to underlying SoC setting,

This makes running perf numbers easier
This commit is contained in:
Vamber Yang
2023-05-16 05:57:35 -07:00
parent 148e2550fa
commit ebf81babc1
3 changed files with 100 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ object defaultConfig extends CoalescerConfig(
queueDepth = 1,
waitTimeout = 8,
addressWidth = 24,
dataBusWidth = 4, // 2^3=8 bytes, 64 bit bus
dataBusWidth = 4, // 2^4=16 bytes, 128 bit bus
// watermark = 2,
wordSizeInBytes = 4,
// when attaching to SoC, 16 source IDs are not enough due to longer latency