From f6de3649cd9c31a3b09b8b6977594ed5a870f4fa Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Fri, 17 Jul 2020 16:39:36 +0200 Subject: [PATCH] Log DRAM commands --- gram/simulation/dram_model/ddr3.v | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gram/simulation/dram_model/ddr3.v b/gram/simulation/dram_model/ddr3.v index 732f75c..06566f5 100644 --- a/gram/simulation/dram_model/ddr3.v +++ b/gram/simulation/dram_model/ddr3.v @@ -1084,6 +1084,10 @@ module ddr3 ( reg [COL_BITS-1:0] col; reg group; begin + if (cmd != NOP) begin + $display("[%t] cmd_task %s", $time, cmd_string[cmd]); + end + // tRFC max check if (!er_trfc_max && !in_self_refresh) begin if ($time - tm_refresh > TRFC_MAX && check_strict_timing) begin -- 2.30.2