make groundtest and unitest peers of rocketchip, with their own packages, harnesses and configs
This commit is contained in:
11
src/main/scala/util/ConfigUtils.scala
Normal file
11
src/main/scala/util/ConfigUtils.scala
Normal file
@ -0,0 +1,11 @@
|
||||
// See LICENSE for license details.
|
||||
|
||||
package util
|
||||
|
||||
import scala.math.max
|
||||
|
||||
object ConfigUtils {
|
||||
def max_int(values: Int*): Int = {
|
||||
values.reduce((a, b) => max(a, b))
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user