- removed btn-east for hard-reset
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@653 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -333,7 +333,7 @@ ARCHITECTURE behavior OF mips_sys IS
|
|||||||
signal int_uart1 : std_logic;
|
signal int_uart1 : std_logic;
|
||||||
signal uart1_tx : std_logic;
|
signal uart1_tx : std_logic;
|
||||||
signal uart1_rx : std_logic;
|
signal uart1_rx : std_logic;
|
||||||
signal usb_addr : unsigned(31 downto 0);
|
signal usb_addr : unsigned(3 downto 0);
|
||||||
signal ac97_rstn : std_logic;
|
signal ac97_rstn : std_logic;
|
||||||
signal mem_mapped_io : std_logic;
|
signal mem_mapped_io : std_logic;
|
||||||
signal flash_rstn : std_logic;
|
signal flash_rstn : std_logic;
|
||||||
@@ -491,10 +491,10 @@ BEGIN
|
|||||||
sys_led <= gpo0(8 downto 0);
|
sys_led <= gpo0(8 downto 0);
|
||||||
sys_error <= debug;
|
sys_error <= debug;
|
||||||
nmi <= not sys_rst_n_in;
|
nmi <= not sys_rst_n_in;
|
||||||
rst_in <= not sys_rst_n_in and sys_btn(0) and sys_btn(2);
|
rst_in <= not sys_rst_n_in and sys_btn(0);
|
||||||
sys_usb_rstn <= not gpo1(0);
|
sys_usb_rstn <= not gpo1(0);
|
||||||
sys_flash_byten <= '1';
|
sys_flash_byten <= '1';
|
||||||
usb_addr <= X"0000000" & "00" & ADDR_O(3 downto 2);
|
sys_usb_a <= usb_Addr(3 downto 2);
|
||||||
sys_flash_a <= '0' & flash_addr(24 downto 2) & '0';
|
sys_flash_a <= '0' & flash_addr(24 downto 2) & '0';
|
||||||
flash_page_mode_en <= not mem_mapped_io;
|
flash_page_mode_en <= not mem_mapped_io;
|
||||||
|
|
||||||
@@ -778,7 +778,7 @@ inst_flash_port : async_port_wb
|
|||||||
inst_usb_port : async_port_wb
|
inst_usb_port : async_port_wb
|
||||||
GENERIC MAP
|
GENERIC MAP
|
||||||
(
|
(
|
||||||
addr_width => 2,
|
addr_width => 4,
|
||||||
data_width => 16,
|
data_width => 16,
|
||||||
byte_sel_width => 1,
|
byte_sel_width => 1,
|
||||||
async_timespec => ts_usb
|
async_timespec => ts_usb
|
||||||
@@ -794,11 +794,11 @@ inst_usb_port : async_port_wb
|
|||||||
SRDY_O => SRDY_O_usb,
|
SRDY_O => SRDY_O_usb,
|
||||||
MRDY_I => MRDY_O,
|
MRDY_I => MRDY_O,
|
||||||
SEL_I => SEL_O,
|
SEL_I => SEL_O,
|
||||||
ADDR_I => usb_addr,
|
ADDR_I => ADDR_O,
|
||||||
DAT_I => MDAT_O,
|
DAT_I => MDAT_O,
|
||||||
DAT_O => SDAT_O_usb,
|
DAT_O => SDAT_O_usb,
|
||||||
page_mode_en => '0',
|
page_mode_en => '0',
|
||||||
async_a => sys_usb_a,
|
async_a => usb_addr,
|
||||||
async_d => sys_usb_d,
|
async_d => sys_usb_d,
|
||||||
async_cs => sys_usb_csn,
|
async_cs => sys_usb_csn,
|
||||||
async_wr => sys_usb_wrn,
|
async_wr => sys_usb_wrn,
|
||||||
|
|||||||
Reference in New Issue
Block a user