-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor DiffTest with Chisel-generated interfaces (#136)
Disable L2 TLB check is disabled temporarily to avoid warnings.
- Loading branch information
1 parent
f905bc9
commit 4c1b283
Showing
42 changed files
with
2,508 additions
and
2,600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,38 @@ | ||
import mill._, scalalib._ | ||
import coursier.maven.MavenRepository | ||
/*************************************************************************************** | ||
* Copyright (c) 2020-2023 Institute of Computing Technology, Chinese Academy of Sciences | ||
* | ||
* DiffTest is licensed under Mulan PSL v2. | ||
* You can use this software according to the terms and conditions of the Mulan PSL v2. | ||
* You may obtain a copy of Mulan PSL v2 at: | ||
* http://license.coscl.org.cn/MulanPSL2 | ||
* | ||
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, | ||
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, | ||
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. | ||
* | ||
* See the Mulan PSL v2 for more details. | ||
***************************************************************************************/ | ||
|
||
import os.Path | ||
import mill._ | ||
import scalalib._ | ||
import publish._ | ||
|
||
object ivys { | ||
val sv = "2.12.13" | ||
val chisel3 = ivy"edu.berkeley.cs::chisel3:3.5.0" | ||
val chisel3Plugin = ivy"edu.berkeley.cs:::chisel3-plugin:3.5.0" | ||
val scala = "2.13.10" | ||
val chisel3 = ivy"edu.berkeley.cs::chisel3:3.5.6" | ||
val chisel3Plugin = ivy"edu.berkeley.cs:::chisel3-plugin:3.5.6" | ||
val scalatest = ivy"org.scalatest::scalatest:3.2.2" | ||
} | ||
|
||
trait CommonDiffTest extends ScalaModule with SbtModule { | ||
override def scalaVersion = ivys.sv | ||
override def scalaVersion = ivys.scala | ||
|
||
override def scalacOptions = Seq("-Xsource:2.11") | ||
override def scalacPluginIvyDeps = Agg(ivys.chisel3Plugin) | ||
|
||
override def ivyDeps = Agg(ivys.chisel3) | ||
|
||
override def scalacPluginIvyDeps = Agg(ivys.chisel3Plugin) | ||
} | ||
|
||
object difftest extends SbtModule with CommonDiffTest { | ||
object difftest extends CommonDiffTest { | ||
override def millSourcePath = os.pwd | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.