- minor changes to flash_addr

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@560 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-10-29 20:54:48 +00:00
parent ba2264ed97
commit a6490e8007
2 changed files with 6 additions and 8 deletions
+2 -4
View File
@@ -368,7 +368,6 @@ ARCHITECTURE behavior OF mips_sys IS
signal ac97_rstn : std_logic;
signal flash_rstn : std_logic;
signal ADDR_I_usb : unsigned(31 downto 0);
signal ADDR_I_flash : unsigned(31 downto 0);
signal ADDR_I_ssram : unsigned(31 downto 0);
signal ssram_clk : std_logic;
signal ssram_a : unsigned(24 downto 0);
@@ -517,7 +516,6 @@ BEGIN
sys_usb_rstn <= not gpo1(0);
sys_flash_byten <= '1';
ADDR_I_usb <= X"0000000" & "00" & ADDR_O(3 downto 2);
ADDR_I_flash <= "0000000" & ADDR_O(25 downto 2) & '0';
ADDR_I_ssram <= ("0000000000000" & ADDR_O(19 downto 2)) & '0';
SDAT_I_sdram <= MDAT_O & MDAT_O;
@@ -535,7 +533,7 @@ sys_flash_ssram_out:
if flash_bsy = '1' then
sys_flash_ssram_oe_n <= flash_oe_n;
sys_flash_ssram_we_n <= flash_we_n;
sys_flash_ssram_a <= flash_a after topad;
sys_flash_ssram_a <= ('0' & flash_a(24 downto 2) & '0') after topad;
if flash_d_drv = '1' then
sys_flash_ssram_d <= flash_do after topad;
end if;
@@ -801,7 +799,7 @@ inst_flash_port : flash_port_wb
ACK_O => ACK_O_flash,
SRDY_O => SRDY_O_flash,
MRDY_I => MRDY_O,
ADDR_I => ADDR_I_flash,
ADDR_I => ADDR_O,
DAT_I => MDAT_O,
DAT_O => SDAT_O_flash,
port_bsyo => flash_bsy,