Fix config for unittest
This commit is contained in:
@@ -190,8 +190,8 @@ object testConfig extends CoalescerConfig(
|
|||||||
respQueueDepth = 4,
|
respQueueDepth = 4,
|
||||||
coalLogSizes = Seq(4, 5),
|
coalLogSizes = Seq(4, 5),
|
||||||
sizeEnum = DefaultInFlightTableSizeEnum,
|
sizeEnum = DefaultInFlightTableSizeEnum,
|
||||||
numArbiterOutputPorts = 4,
|
|
||||||
numCoalReqs = 1,
|
numCoalReqs = 1,
|
||||||
|
numArbiterOutputPorts = 4,
|
||||||
bankStrideInBytes = 64
|
bankStrideInBytes = 64
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -292,7 +292,7 @@ class CoalescerUnitTest extends AnyFlatSpec with ChiselScalatestTester {
|
|||||||
|
|
||||||
it should "coalesce identical addresses (stride of 0)" in {
|
it should "coalesce identical addresses (stride of 0)" in {
|
||||||
test(LazyModule(new DummyCoalescingUnitTB()).module)
|
test(LazyModule(new DummyCoalescingUnitTB()).module)
|
||||||
.withAnnotations(Seq(VcsBackendAnnotation))
|
.withAnnotations(Seq(VerilatorBackendAnnotation))
|
||||||
{ c =>
|
{ c =>
|
||||||
println(s"coalIO length = ${c.coalIOs(0).length}")
|
println(s"coalIO length = ${c.coalIOs(0).length}")
|
||||||
val nodes = c.coalIOs.map(_.head)
|
val nodes = c.coalIOs.map(_.head)
|
||||||
|
|||||||
Reference in New Issue
Block a user