get icenet and testchipip unit tests working
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package chipyard.unittest
|
||||
|
||||
import chisel3._
|
||||
import freechips.rocketchip.config.Parameters
|
||||
|
||||
class TestHarness(implicit val p: Parameters) extends Module {
|
||||
val io = IO(new Bundle { val success = Output(Bool()) })
|
||||
io.success := Module(new UnitTestSuite).io.finished
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package chipyard.unittest
|
||||
|
||||
import freechips.rocketchip.config.Parameters
|
||||
import freechips.rocketchip.util.{ElaborationArtefacts, PlusArgArtefacts}
|
||||
|
||||
class UnitTestSuite(implicit p: Parameters) extends freechips.rocketchip.unittest.UnitTestSuite {
|
||||
ElaborationArtefacts.add("plusArgs", PlusArgArtefacts.serialize_cHeader)
|
||||
}
|
||||
Submodule generators/icenet updated: 4522a3979b...705ca50690
Submodule generators/testchipip updated: b8d6f21019...ba705408fa
Reference in New Issue
Block a user