Skip to content

Commit

Permalink
fix(Configs): for ci
Browse files Browse the repository at this point in the history
modify KunminghuV2Config same as DefaultConfig for EMU_CHI test
modify XSNoCTopConfig same as DefaultConfig for Upload Artifacts test
  • Loading branch information
jin120811 committed Mar 11, 2025
1 parent da992b5 commit 398be31
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/main/scala/top/Configs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,9 @@ class WithCHI extends Config((_, _, _) => {
})

class KunminghuV2Config(n: Int = 1) extends Config(
L2CacheConfig("1MB", inclusive = true, banks = 4, tp = false)
++ new DefaultConfig(n)
// L2CacheConfig("1MB", inclusive = true, banks = 4, tp = false)
// for EMU_CHI test
new DefaultConfig(n)
++ new WithCHI
)

Expand All @@ -526,7 +527,9 @@ class KunminghuV2MinimalConfig(n: Int = 1) extends Config(
)

class XSNoCTopConfig(n: Int = 1) extends Config(
(new KunminghuV2Config(n)).alter((site, here, up) => {
// (new KunminghuV2Config(n)).alter((site, here, up) => {
// for Upload Artifacts test, generate verilog
(new DefaultConfig(n)).alter((site, here, up) => {
case SoCParamsKey => up(SoCParamsKey).copy(UseXSNoCTop = true)
})
)
Expand Down

0 comments on commit 398be31

Please sign in to comment.