Line 88... |
Line 88... |
|
|
app_wr_data,
|
app_wr_data,
|
app_wr_en_n,
|
app_wr_en_n,
|
app_rd_data,
|
app_rd_data,
|
app_rd_valid,
|
app_rd_valid,
|
|
app_last_rd,
|
app_wr_next_req,
|
app_wr_next_req,
|
sdr_init_done,
|
sdr_init_done,
|
app_req_dma_last,
|
app_req_dma_last,
|
|
|
/* Interface to SDRAMs */
|
/* Interface to SDRAMs */
|
Line 152... |
Line 153... |
input [APP_DW-1:0] app_wr_data ; // Write Data
|
input [APP_DW-1:0] app_wr_data ; // Write Data
|
output app_wr_next_req ; // Next Write Data Request
|
output app_wr_next_req ; // Next Write Data Request
|
input [APP_BW-1:0] app_wr_en_n ; // Byte wise Write Enable
|
input [APP_BW-1:0] app_wr_en_n ; // Byte wise Write Enable
|
output [APP_DW-1:0] app_rd_data ; // Read Data
|
output [APP_DW-1:0] app_rd_data ; // Read Data
|
output app_rd_valid ; // Read Valid
|
output app_rd_valid ; // Read Valid
|
|
output app_last_rd ; // Last Read Transfer of a given Burst
|
|
|
//------------------------------------------------
|
//------------------------------------------------
|
// Interface to SDRAMs
|
// Interface to SDRAMs
|
//------------------------------------------------
|
//------------------------------------------------
|
output sdr_cke ; // SDRAM CKE
|
output sdr_cke ; // SDRAM CKE
|
Line 213... |
Line 215... |
|
|
// SDR_XFR_CTL
|
// SDR_XFR_CTL
|
wire x2b_ack;
|
wire x2b_ack;
|
wire [3:0] x2b_pre_ok;
|
wire [3:0] x2b_pre_ok;
|
wire x2b_refresh, x2b_act_ok, x2b_rdok, x2b_wrok;
|
wire x2b_refresh, x2b_act_ok, x2b_rdok, x2b_wrok;
|
wire xfr_rdstart, xfr_rdlast;
|
wire xfr_rdstart, app_last_rd;
|
wire xfr_wrstart, xfr_wrlast;
|
wire xfr_wrstart, xfr_wrlast;
|
wire [`SDR_REQ_ID_W-1:0]xfr_id;
|
wire [`SDR_REQ_ID_W-1:0]xfr_id;
|
wire [APP_DW-1:0] app_rd_data;
|
wire [APP_DW-1:0] app_rd_data;
|
wire app_wr_next_req, app_rd_valid;
|
wire app_wr_next_req, app_rd_valid;
|
wire sdr_cs_n, sdr_cke, sdr_ras_n, sdr_cas_n, sdr_we_n;
|
wire sdr_cs_n, sdr_cke, sdr_ras_n, sdr_cas_n, sdr_we_n;
|
Line 417... |
Line 419... |
|
|
/* Data Flow to the app */
|
/* Data Flow to the app */
|
.x2a_rdstart (xfr_rdstart ),
|
.x2a_rdstart (xfr_rdstart ),
|
.x2a_wrstart (xfr_wrstart ),
|
.x2a_wrstart (xfr_wrstart ),
|
.x2a_id (xfr_id ),
|
.x2a_id (xfr_id ),
|
.x2a_rdlast (xfr_rdlast ),
|
.x2a_rdlast (app_last_rd ),
|
.x2a_wrlast (xfr_wrlast ),
|
.x2a_wrlast (xfr_wrlast ),
|
.app_wrdt (add_wr_data_int ),
|
.app_wrdt (add_wr_data_int ),
|
.app_wren_n (app_wr_en_n_int ),
|
.app_wren_n (app_wr_en_n_int ),
|
.x2a_wrnext (app_wr_next_int ),
|
.x2a_wrnext (app_wr_next_int ),
|
.x2a_rddt (app_rd_data_int ),
|
.x2a_rddt (app_rd_data_int ),
|