From 246d511246b751a75e417bc9ae565345aab265a6 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 24 May 2015 11:40:30 +0000 Subject: [PATCH] - removed hard coded constants git-svn-id: http://moon:8086/svn/vhdl/trunk@1208 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/SDRAM/ddr_sdr_v1_5/src/sdram_ctrl_frontend_wb32.vhd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/SDRAM/ddr_sdr_v1_5/src/sdram_ctrl_frontend_wb32.vhd b/lib/SDRAM/ddr_sdr_v1_5/src/sdram_ctrl_frontend_wb32.vhd index 812310c..10b3306 100644 --- a/lib/SDRAM/ddr_sdr_v1_5/src/sdram_ctrl_frontend_wb32.vhd +++ b/lib/SDRAM/ddr_sdr_v1_5/src/sdram_ctrl_frontend_wb32.vhd @@ -80,15 +80,15 @@ architecture struct of sdram_ctrl_frontend_wb32 is signal cat_fifo_full : std_logic; signal cat_fifo_empty : std_logic; - signal write_fifo_din : unsigned(32 + PART_DM_WIDTH-1 downto 0); - signal write_fifo_dout : unsigned(32 + PART_DM_WIDTH-1 downto 0); + signal write_fifo_din : unsigned(BUS_DATA_WIDTH/2 + BUS_DM_WIDTH/2-1 downto 0); + signal write_fifo_dout : unsigned(BUS_DATA_WIDTH/2 + BUS_DM_WIDTH/2-1 downto 0); signal write_fifo_re : std_logic; signal write_fifo_we : std_logic; signal write_fifo_full : std_logic; signal write_fifo_empty : std_logic; - signal read_fifo_din : unsigned(31 downto 0); - signal read_fifo_dout : unsigned(31 downto 0); + signal read_fifo_din : unsigned(BUS_DATA_WIDTH/2-1 downto 0); + signal read_fifo_dout : unsigned(BUS_DATA_WIDTH/2-1 downto 0); signal read_fifo_re : std_logic; signal read_fifo_we : std_logic; signal read_fifo_full : std_logic;