Skip to content

Commit

Permalink
fix(TestTop): CHI Issue configuration passing for PortIO (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumonda221-CrO3 committed Sep 24, 2024
1 parent 75008b1 commit a538ded
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/scala/chi/TestTop.scala
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class TestTop_CHIL2(numCores: Int = 1, numULAgents: Int = 0, banks: Int = 1, iss
}

val io = IO(Vec(numCores, new Bundle() {
val chi = new PortIO
val chi = new PortIO()(p.alterPartial { case CHIIssue => issue })
}))

l2_nodes.zipWithIndex.foreach { case (l2, i) =>
Expand Down Expand Up @@ -200,7 +200,7 @@ object TestTop_CHI_DualCore_0UL extends App {
TestTopCHIHelper.gen(p => new TestTop_CHIL2(
numCores = 2,
numULAgents = 0,
banks = 1)(p)
banks = 4)(p)
)(args)
}

Expand All @@ -218,7 +218,7 @@ object TestTop_CHI_DualCore_0UL_Eb extends App {
TestTopCHIHelper.gen(p => new TestTop_CHIL2(
numCores = 2,
numULAgents = 0,
banks = 1,
banks = 4,
issue = "E.b")(p)
)(args)
}
Expand All @@ -228,7 +228,7 @@ object TestTop_CHI_DualCore_2UL_Eb extends App {
TestTopCHIHelper.gen(p => new TestTop_CHIL2(
numCores = 2,
numULAgents = 2,
banks = 1,
banks = 4,
issue = "E.b")(p)
)(args)
}
Expand Down

0 comments on commit a538ded

Please sign in to comment.