From 8a6d599836a138e6c598537d2e496c4a31ae9bae Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 25 Aug 2013 17:33:35 +0000 Subject: [PATCH] - check for unmapped hit now made on registered va 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/branches/BRANCH_MIPS_TLB@1024 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/src/core/mips_tlb.vhd | 31 +++-------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/lib/CPUs/MIPS/src/core/mips_tlb.vhd b/lib/CPUs/MIPS/src/core/mips_tlb.vhd index 9a26051..c8cfe0a 100644 --- a/lib/CPUs/MIPS/src/core/mips_tlb.vhd +++ b/lib/CPUs/MIPS/src/core/mips_tlb.vhd @@ -261,34 +261,9 @@ inst_cam_va: entity work.cam ); -proc_entry_lo_umc: - process(clk) - variable index : integer; - begin - if rising_edge(clk) then - if query_in.vld = '1' then - hit_umc <= '0'; - if query_in.vaddr(31 downto 29) = "100" then -- 80000000 to 9FFFFFFF - hit_umc <= '1'; - end if; - end if; - end if; - end process; - -proc_entry_lo_umuc: - process(clk) - variable index : integer; - begin - if rising_edge(clk) then - if query_in.vld = '1' then - hit_umuc <= '0'; - if query_in.vaddr(31 downto 29) = "101" then -- A0000000 to BFFFFFFF - hit_umuc <= '1'; - end if; - end if; - end if; - end process; - + hit_umc <= '1' when vaddr_reg(31 downto 29) = "100" else '0'; + hit_umuc <= '1' when vaddr_reg(31 downto 29) = "101" else '0'; + tlb_entry_lo_result_translate: if USE_TLB = true generate tlb_entry_lo_result: