[Mips@DE0-Nano]

- use JUART

git-svn-id: http://moon:8086/svn/vhdl/trunk@1357 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2016-12-20 23:12:49 +00:00
parent 3bfefe621d
commit e76ab469ca
2 changed files with 317 additions and 5 deletions
@@ -30,9 +30,6 @@ use work.mips_types.all;
use work.sdram_types.all;
use work.sdram_config.all;
LIBRARY altera_mf;
use altera_mf.altera_mf_components.sld_virtual_jtag;
ENTITY mips_sys IS
GENERIC
(
@@ -63,6 +60,9 @@ ENTITY mips_sys IS
spi_miso : in std_logic;
spi_mosi : out std_logic;
uart_rx : in std_logic;
uart_tx : out std_logic;
sys_leds : out unsigned(7 downto 0)
);
END mips_sys;
@@ -343,8 +343,8 @@ inst_uart : entity work.uart_wb
DAT_I => DAT_O,
DAT_O => DAT_O_uart,
INT_O => int_uart,
ser_rx => '1',
ser_tx => open
ser_rx => uart_rx,
ser_tx => uart_tx
);
inst_spi_flash : entity work.spi_flash_wb