OpenCores
URL https://opencores.org/ocsvn/sdr_ctrl/sdr_ctrl/trunk

Subversion Repositories sdr_ctrl

[/] [sdr_ctrl/] [trunk/] [verif/] [tb/] [tb_top.sv] - Diff between revs 44 and 45

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 44 Rev 45
Line 164... Line 164...
          .cfg_sdr_trp_d      (4'h2               ),
          .cfg_sdr_trp_d      (4'h2               ),
          .cfg_sdr_trcd_d     (4'h2               ),
          .cfg_sdr_trcd_d     (4'h2               ),
          .cfg_sdr_cas        (3'h3               ),
          .cfg_sdr_cas        (3'h3               ),
          .cfg_sdr_trcar_d    (4'h7               ),
          .cfg_sdr_trcar_d    (4'h7               ),
          .cfg_sdr_twr_d      (4'h1               ),
          .cfg_sdr_twr_d      (4'h1               ),
          .cfg_sdr_rfsh       (12'hC35            ),
          .cfg_sdr_rfsh       (12'h100            ), // reduced from 12'hC35
          .cfg_sdr_rfmax      (3'h6               )
          .cfg_sdr_rfmax      (3'h6               )
 
 
);
);
 
 
 
 
Line 257... Line 257...
 
 
  burst_write(32'h4_0000,8'h4);
  burst_write(32'h4_0000,8'h4);
 #1000;
 #1000;
  burst_read();
  burst_read();
 
 
 
  // Repeat one more time to analysis the
 
  // SDRAM state change for same col/row address
 
  burst_write(32'h4_0000,8'h4);
 
 #1000;
 #1000;
 #1000;
  burst_write(32'h0040_0000,8'h5);
  burst_write(32'h0040_0000,8'h5);
 
 
 #1000;
 #1000;
  burst_read();
  burst_read();
 
 
  // 4 Write & 4 Read
  // 4 Write & 4 Read
  burst_write(32'h4_0000,8'h4);
  burst_write(32'h4_0000,8'h4);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.