Commented out TLRAMCoalescerFuzzer test module
This commit is contained in:
@@ -120,7 +120,7 @@ module SimMemFuzzer #(parameter NUM_LANES = 4) (
|
||||
__in_finished
|
||||
);
|
||||
for (integer tid = 0; tid < NUM_LANES; tid = tid + 1) begin
|
||||
$display("verilog: %04d valid[%d]=%d, address[%d]=%d, __in_d_ready[%d]=%d",
|
||||
$display("verilog: %04d a_valid[%d]=%d, a_address[%d]=0x%x, d_ready[%d]=%d",
|
||||
$time, tid, __in_a_valid[tid], tid, __in_a_address[tid], tid, __in_d_ready[tid]);
|
||||
end
|
||||
|
||||
|
||||
@@ -2426,6 +2426,38 @@ class TLRAMCoalescerLoggerTest(filename: String, timeout: Int = 500000)(implicit
|
||||
io.finished := dut.io.finished
|
||||
}
|
||||
|
||||
// // fuzzer --> coalescer --> tlram
|
||||
// class TLRAMCoalescerFuzzer(implicit p: Parameters) extends LazyModule {
|
||||
// val numLanes = p(SIMTCoreKey).get.nLanes
|
||||
// val config = DefaultCoalescerConfig.copy(numLanes = numLanes)
|
||||
|
||||
// val coal = LazyModule(new CoalescingUnit(config))
|
||||
// val driver = LazyModule(new MemTraceDriver(config))
|
||||
// val rams = Seq.fill(numLanes + 1)( // +1 for coalesced edge
|
||||
// LazyModule(
|
||||
// // NOTE: beatBytes here sets the data bitwidth of the upstream TileLink
|
||||
// // edges globally, by way of Diplomacy communicating the TL slave
|
||||
// // parameters to the upstream nodes.
|
||||
// new TLRAM(
|
||||
// address = AddressSet(0x0000, 0xffffff),
|
||||
// beatBytes = (1 << config.dataBusWidth)
|
||||
// )
|
||||
// )
|
||||
// )
|
||||
|
||||
// class Impl extends LazyModuleImp(this) with UnitTestModule {
|
||||
// // io.start is unused since MemTraceDriver doesn't accept io.start
|
||||
// io.finished := driver.module.io.finished
|
||||
// }
|
||||
// }
|
||||
|
||||
// class TLRAMCoalescerFuzzerTest(timeout: Int = 500000)(implicit p: Parameters)
|
||||
// extends UnitTest(timeout) {
|
||||
// val dut = Module(LazyModule(new TLRAMCoalescerFuzzer).module)
|
||||
// dut.io.start := io.start
|
||||
// io.finished := dut.io.finished
|
||||
// }
|
||||
|
||||
// tracedriver --> coalescer --> tlram
|
||||
class TLRAMCoalescer(implicit p: Parameters) extends LazyModule {
|
||||
val numLanes = p(SIMTCoreKey).get.nLanes
|
||||
|
||||
Reference in New Issue
Block a user