diff --git a/lib/CPUs/MIPS/ghdl/hello.elf.flash.bin b/lib/CPUs/MIPS/ghdl/hello.elf.flash.bin index de625dc..9ec9ba9 100644 Binary files a/lib/CPUs/MIPS/ghdl/hello.elf.flash.bin and b/lib/CPUs/MIPS/ghdl/hello.elf.flash.bin differ diff --git a/lib/CPUs/MIPS/src/tb_mips_top.vhd b/lib/CPUs/MIPS/src/tb_mips_top.vhd index be26a84..3b02768 100644 --- a/lib/CPUs/MIPS/src/tb_mips_top.vhd +++ b/lib/CPUs/MIPS/src/tb_mips_top.vhd @@ -39,8 +39,8 @@ ARCHITECTURE behavior OF tb_mips_top IS constant SYS_FREQ : real := 100.0; constant CLK_PERIOD : time := 10 ns; - constant SRAM_ADDR_WIDTH : integer := 17; -- bits - constant FLASH_ADDR_WIDTH : integer := 17; -- bits + constant SRAM_ADDR_WIDTH : integer := 18; -- bits + constant FLASH_ADDR_WIDTH : integer := 18; -- bits signal debug : unsigned(1 downto 0); @@ -224,6 +224,7 @@ uut: entity work.mips_top ); INT(1) <= int_uart; INT(5) <= int_timer; + INT(2) <= '1'; inst_rom : entity work.rom_wb PORT MAP