Log DRAM commands
authorJean THOMAS <git0@pub.jeanthomas.me>
Fri, 17 Jul 2020 14:39:36 +0000 (16:39 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Fri, 17 Jul 2020 14:39:36 +0000 (16:39 +0200)
gram/simulation/dram_model/ddr3.v

index 732f75ceb432615a17d34912a5c12ba4cc1cbbbe..06566f57fa2ad479f7606c915546a32c237ae4fd 100644 (file)
@@ -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