URL
https://opencores.org/ocsvn/sdr_ctrl/sdr_ctrl/trunk
[/] [sdr_ctrl/] [trunk/] [rtl/] [core/] [sdrc_bank_fsm.v] - Diff between revs 54 and 55
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 54 |
Rev 55 |
Line 88... |
Line 88... |
/* SDRAM Timing */
|
/* SDRAM Timing */
|
tras_delay, // Active to precharge delay
|
tras_delay, // Active to precharge delay
|
trp_delay, // Precharge to active delay
|
trp_delay, // Precharge to active delay
|
trcd_delay); // Active to R/W delay
|
trcd_delay); // Active to R/W delay
|
|
|
parameter APP_AW = 30; // Application Address Width
|
|
parameter APP_DW = 32; // Application Data Width
|
|
parameter APP_BW = 4; // Application Byte Width
|
|
|
|
parameter SDR_DW = 16; // SDR Data Width
|
parameter SDR_DW = 16; // SDR Data Width
|
parameter SDR_BW = 2; // SDR Byte Width
|
parameter SDR_BW = 2; // SDR Byte Width
|
|
|
input clk, reset_n;
|
input clk, reset_n;
|
Line 220... |
Line 217... |
|
|
end // else: !if(~reset_n)
|
end // else: !if(~reset_n)
|
|
|
always @ (posedge clk) begin
|
always @ (posedge clk) begin
|
|
|
bank_row <= (activate_bank) ? b2x_addr : bank_row;
|
bank_row <= (bank_st == `BANK_ACT) ? b2x_addr : bank_row;
|
|
|
if (~reset_n) begin
|
if (~reset_n) begin
|
l_start <= 1'b0;
|
l_start <= 1'b0;
|
l_last <= 1'b0;
|
l_last <= 1'b0;
|
l_id <= 1'b0;
|
l_id <= 1'b0;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.