- changed CMD_FIFO_ADDR_WIDTH = 5
Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@590 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -96,7 +96,7 @@ architecture rtl of sdram_ctrl_top is
|
|||||||
|
|
||||||
-- SD command FIFO
|
-- SD command FIFO
|
||||||
|
|
||||||
constant CMD_FIFO_ADDR_WIDTH : positive := 2; -- lower than 3 won't give sustained throuhput (for sys_clk == sdram_clk)
|
constant CMD_FIFO_ADDR_WIDTH : positive := 5; -- lower than 3 won't give sustained throuhput (for sys_clk == sdram_clk)
|
||||||
constant CMD_FIFO_DATA_WIDTH : positive := user_tag_t'length + 4 + mode_word_t'length + col_addr_t'length;
|
constant CMD_FIFO_DATA_WIDTH : positive := user_tag_t'length + 4 + mode_word_t'length + col_addr_t'length;
|
||||||
signal cmd_fifo_din : unsigned(CMD_FIFO_DATA_WIDTH-1 downto 0);
|
signal cmd_fifo_din : unsigned(CMD_FIFO_DATA_WIDTH-1 downto 0);
|
||||||
signal cmd_fifo_dout : unsigned(CMD_FIFO_DATA_WIDTH-1 downto 0);
|
signal cmd_fifo_dout : unsigned(CMD_FIFO_DATA_WIDTH-1 downto 0);
|
||||||
@@ -167,9 +167,7 @@ begin
|
|||||||
GENERIC MAP
|
GENERIC MAP
|
||||||
(
|
(
|
||||||
addr_width => CMD_FIFO_ADDR_WIDTH,
|
addr_width => CMD_FIFO_ADDR_WIDTH,
|
||||||
data_width => CMD_FIFO_DATA_WIDTH,
|
data_width => CMD_FIFO_DATA_WIDTH
|
||||||
almost_full_thresh => 2**(CMD_FIFO_ADDR_WIDTH-1),
|
|
||||||
almost_empty_thresh => 2**(CMD_FIFO_ADDR_WIDTH-1)
|
|
||||||
)
|
)
|
||||||
PORT MAP
|
PORT MAP
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user