5
SDR SDRAM Controller
Signal Description
Table 2. Signal Description
Initialization Conditions
An asynchronous active low reset signal assertion is necessary to initialize the SDR SDAM Controller to proper
operating state.
Signal Width Type Description
i_clk 1 Input System Clock
i_rst 1 Input Asynchronous Active low Reset
i_advn 1 Input Active low Address enable for Active state
i_rwn 1 Input R/W Enable: 1-Read,0-Write
i_addr [ROWADDR_MSB:COLADDR_LS
B]
Input
Input Address to SDRAM Controller
i_selfrefrresh_req 1 Input Request for Self Refresh
i_loadmod_req 1 Input Request for Loading Mode Register
i_burststop_req 1 Input Request for Burst Stop
i_disable_active 1 Input Disables opening a row if already opened
i_disable_precharge 1 Input Disables precharge, keep open for next R/W
i_precharge_req 1 Input Request for precharge
i_data [CPU_DATA_WIDTH-1:0] Input Input data to the SDRAM Controller
i_power_down 1 Input Enables power down mode if high
i_disable_autorefresh 1 Input Disables auto refresh
o_data [CPU_DATA_WIDTH-1:0] Output Output data from the SDRAM Controller
o_write_done
1 Output
When High, indicates that write to SDRAM is com-
plete
o_read_done
1 Output
When High, indicates that read from SDRAM is
complete
o_data_valid
1 Output
Output data valid, can be used for FIFO Write
Enable
o_data_req
1 Output
Input data request, can be used for FIFO read
Enable
o_busy
1 Output
Active low busy signal which indicates SDRAM
Controller is busy
o_init_done 1 Output Indicates Initialization of SDRAM is completed
o_ack
1 Output
Indicates controller is about to start write, read, or
load mode register operation
o_sdram_addr [SDRAM_ADDR_WIDTH-1:0] Output SDRAM address
o_sdram_blkaddr [SDRAM_BLKADR_WIDTH-1:0] Output SDRAM Bank Address
o_sdram_casn 1 Output SDRAM column select
o_sdram_cke 1 Output SDRAM Clock Enable
o_sdram_csn 1 Output SDRAM Chip Select
o_sdram_dqm [SDRAM_DQM_WIDTH-1:0] Output SDRAM Data Mask
o_sdram_rasn 1 Output SDRAM row address select
o_sdram_wen 1 Output SDRAM write enable
o_sdram_clk 1 Output SDRAM clock
i_sdram_dq [SDRAM_DATA_WIDTH-1:0] Input SDRAM input data
o_sdram_dq [SDRAM_DATA_WIDTH-1:0] Output SDRAM output data