2016-11-28 01:16:37 +01:00
|
|
|
// See LICENSE.SiFive for license details.
|
|
|
|
|
2017-07-07 19:48:16 +02:00
|
|
|
package freechips.rocketchip.groundtest
|
2016-09-15 22:04:01 +02:00
|
|
|
|
|
|
|
import Chisel._
|
2017-07-07 19:48:16 +02:00
|
|
|
|
|
|
|
import freechips.rocketchip.config.Parameters
|
|
|
|
import freechips.rocketchip.diplomacy.LazyModule
|
2016-09-15 22:04:01 +02:00
|
|
|
|
2016-12-02 02:46:52 +01:00
|
|
|
class TestHarness(implicit p: Parameters) extends Module {
|
2017-06-02 01:06:36 +02:00
|
|
|
val io = new Bundle { val success = Bool(OUTPUT) }
|
2017-07-23 17:31:04 +02:00
|
|
|
val dut = Module(LazyModule(new GroundTestCoreplex).module)
|
|
|
|
io.success := dut.success
|
2017-06-02 01:06:36 +02:00
|
|
|
dut.connectSimAXIMem()
|
2016-11-17 02:05:53 +01:00
|
|
|
}
|