Line 183... |
Line 183... |
wire app_busy_n ; // 0 -> sdr busy
|
wire app_busy_n ; // 0 -> sdr busy
|
wire [dw/8-1:0] app_wr_en_n ; // Active low sdr byte-wise write data valid
|
wire [dw/8-1:0] app_wr_en_n ; // Active low sdr byte-wise write data valid
|
wire app_wr_next_req ; // Ready to accept the next write
|
wire app_wr_next_req ; // Ready to accept the next write
|
wire app_rd_valid ; // sdr read valid
|
wire app_rd_valid ; // sdr read valid
|
wire app_last_rd ; // Indicate last Read of Burst Transfer
|
wire app_last_rd ; // Indicate last Read of Burst Transfer
|
|
wire app_last_wr ; // Indicate last Write of Burst Transfer
|
wire [dw-1:0] app_wr_data ; // sdr write data
|
wire [dw-1:0] app_wr_data ; // sdr write data
|
wire [dw-1:0] app_rd_data ; // sdr read data
|
wire [dw-1:0] app_rd_data ; // sdr read data
|
|
|
/****************************************
|
/****************************************
|
* These logic has to be implemented using Pads
|
* These logic has to be implemented using Pads
|
Line 247... |
Line 248... |
.cfg_colbits (cfg_colbits ) ,
|
.cfg_colbits (cfg_colbits ) ,
|
|
|
/* Request from app */
|
/* Request from app */
|
.app_req (app_req ) ,// Transfer Request
|
.app_req (app_req ) ,// Transfer Request
|
.app_req_addr (app_req_addr ) ,// SDRAM Address
|
.app_req_addr (app_req_addr ) ,// SDRAM Address
|
.app_req_addr_mask (29'h0 ) ,// Address mask for queue wrap
|
|
.app_req_len (app_req_len ) ,// Burst Length (in 16 bit words)
|
.app_req_len (app_req_len ) ,// Burst Length (in 16 bit words)
|
.app_req_wrap (1'b0 ) ,// Wrap mode request
|
.app_req_wrap (1'b0 ) ,// Wrap mode request
|
.app_req_wr_n (app_req_wr_n ) ,// 0 => Write request, 1 => read req
|
.app_req_wr_n (app_req_wr_n ) ,// 0 => Write request, 1 => read req
|
.app_req_ack (app_req_ack ) ,// Request has been accepted
|
.app_req_ack (app_req_ack ) ,// Request has been accepted
|
.sdr_core_busy_n (app_core_busy_n ) ,// OK to arbitrate next request
|
.sdr_core_busy_n (app_core_busy_n ) ,// OK to arbitrate next request
|
Line 260... |
Line 260... |
.app_wr_data (app_wr_data ) ,
|
.app_wr_data (app_wr_data ) ,
|
.app_wr_en_n (app_wr_en_n ) ,
|
.app_wr_en_n (app_wr_en_n ) ,
|
.app_rd_data (app_rd_data ) ,
|
.app_rd_data (app_rd_data ) ,
|
.app_rd_valid (app_rd_valid ) ,
|
.app_rd_valid (app_rd_valid ) ,
|
.app_last_rd (app_last_rd ) ,
|
.app_last_rd (app_last_rd ) ,
|
|
.app_last_wr (app_last_wr ) ,
|
.app_wr_next_req (app_wr_next_req ) ,
|
.app_wr_next_req (app_wr_next_req ) ,
|
.sdr_init_done (sdr_init_done ) ,
|
.sdr_init_done (sdr_init_done ) ,
|
.app_req_dma_last (app_req ) ,
|
.app_req_dma_last (app_req ) ,
|
|
|
/* Interface to SDRAMs */
|
/* Interface to SDRAMs */
|