From: Jean THOMAS Date: Fri, 17 Jul 2020 14:39:36 +0000 (+0200) Subject: Log DRAM commands X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6de3649cd9c31a3b09b8b6977594ed5a870f4fa;p=gram.git Log DRAM commands --- 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