- FIFO-depth of CMD-FIFO is not hardwired anymore. It's set to top-level FIFO-depth

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@592 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-11-03 23:25:06 +00:00
parent 643a506496
commit a3904fef4c
3 changed files with 7 additions and 5 deletions
@@ -204,7 +204,8 @@ begin
Generic map
(
BL => BL,
f_sysclk => f_sysclk
f_sysclk => f_sysclk,
fifo_depth => fifo_depth
)
Port map
(
@@ -204,7 +204,8 @@ begin
Generic map
(
BL => BL,
f_sysclk => f_sysclk
f_sysclk => f_sysclk,
fifo_depth => fifo_depth
)
Port map
(
@@ -32,7 +32,8 @@ entity sdram_ctrl_top is
Generic
(
BL : natural := 2;
f_sysclk : natural := 100E6
f_sysclk : natural := 100E6;
fifo_depth : natural := 3
);
Port
(
@@ -96,7 +97,6 @@ architecture rtl of sdram_ctrl_top is
-- SD command FIFO
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;
signal cmd_fifo_din : unsigned(CMD_FIFO_DATA_WIDTH-1 downto 0);
signal cmd_fifo_dout : unsigned(CMD_FIFO_DATA_WIDTH-1 downto 0);
@@ -166,7 +166,7 @@ begin
inst_sd_cmd_fifo: entity work.fifo_async
GENERIC MAP
(
addr_width => CMD_FIFO_ADDR_WIDTH,
addr_width => fifo_depth,
data_width => CMD_FIFO_DATA_WIDTH
)
PORT MAP