- pulled PHY out of sdram_ctrl_top.vhd

- sdram_ctrl_frontend64_wb.vhd implements J-Bus interface and exports abstract PHY interface
- ctrl_ddr_wb64 wraps sdram_ctrl_frontend64_wb and adds specific PHY. This is now our new top level file

git-svn-id: http://moon:8086/svn/vhdl/trunk@1190 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-05-24 09:05:49 +00:00
parent ce636ef1ec
commit f55028c696
7 changed files with 210 additions and 112 deletions
+8 -8
View File
@@ -31,8 +31,8 @@ use work.sdram_types.all;
entity sdram_cmd is
Generic
(
f_sdrclk : real := 100.0;
BL : natural := 2
F_SDRCLK : real := 100.0;
BURST_LEN : natural := 2
);
Port
(
@@ -68,13 +68,13 @@ architecture behaviour of sdram_cmd is
( SD_DESELECT => (0 ),
SD_NOP => (0 ),
SD_LMR => (TMRD-1 ),
SD_ACT => (to_cycles(TRCD, f_sdrclk)-1),
SD_ACT => (to_cycles(TRCD, F_SDRCLK)-1),
SD_READ => (TCAS-1 ),
SD_WRITE => (to_cycles(TWR, f_sdrclk)-1),
SD_PRE => (to_cycles(TRP, f_sdrclk)-1),
SD_WRITE => (to_cycles(TWR, F_SDRCLK)-1),
SD_PRE => (to_cycles(TRP, F_SDRCLK)-1),
SD_BST => (0 ),
SD_AR => (to_cycles(TRFC, f_sdrclk)-1),
SD_SR => (to_cycles(TRFC, f_sdrclk)-1)
SD_AR => (to_cycles(TRFC, F_SDRCLK)-1),
SD_SR => (to_cycles(TRFC, F_SDRCLK)-1)
);
begin
@@ -91,7 +91,7 @@ fsm_sdr_state:
cc_preset <= TIMING(cmd);
burst_load_en <= '0';
cmd_ack <= '0';
burst_preset <= BL/2-1;
burst_preset <= BURST_LEN/2-1;
phy_ctrl.re <= '0';
phy_ctrl.drive_en <= '0';
phy_ctrl.we <= '0';