title: Icarus verilog dump memory array ($dumpvars)
body: <p>I try to dump an array (reg [31:0] data [31:0]) but I can't do it successfully.
  I've tried the way that is in the iverilog wiki:</p>
  
  <pre><code>integer idx;
  for (idx = 0; idx &lt; 32; idx = idx + 1)
      $dumpvars(0,cpu_tb.cpu0.cpu_dp.cpu_regs.data[idx]);
  </code></pre>
  
  <p>It works, but 2 things happen.</p>
  
  <ol>
  <li>A warning shows up: VCD warning: array word cpu_tb.cpu0.cpu_dp.cpu_regs.data[0] will conflict with an escaped identifier.</li>
  <li>In GTKWave I have something like this in SST window: \data[0][31:0]</li>
  </ol>
  
  <p>Is there any solution about that?</p>
  
  <p>Thanks in advance and sorry for my English. </p>