1
0
rocket-chip/src/main/scala/groundtest/TestHarness.scala
Henry Cook 9bbde9767c rocketchip: top-level systems are now multi-IO modules
Cake pattern only 2 layers instead of 3.
Standardized naming convention.
Comments for periphery mix-ins.
Testharnesses use new periphery helper methods.
2017-06-13 13:55:45 -07:00

17 lines
377 B
Scala

// See LICENSE.SiFive for license details.
package groundtest
import Chisel._
import diplomacy._
import config._
import rocketchip._
import util._
class TestHarness(implicit p: Parameters) extends Module {
val io = new Bundle { val success = Bool(OUTPUT) }
val dut = Module(LazyModule(new GroundTestTop).module)
io.success := dut.io_success
dut.connectSimAXIMem()
}