Cake pattern only 2 layers instead of 3. Standardized naming convention. Comments for periphery mix-ins. Testharnesses use new periphery helper methods.
17 lines
377 B
Scala
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()
|
|
}
|