From 844ca0e6b5fcd5fe1e628723a67f29607ddcb154 Mon Sep 17 00:00:00 2001 From: Tianrui Wei Date: Tue, 1 Mar 2022 23:51:35 +0800 Subject: [PATCH] fix: fix icache_tb not finishing correctly Setting icache to be privileged and accessing physical memory directly. And set big_endian to 0 to correspond to the testbench result. Signed-off-by: Tianrui Wei --- icache_tb.vhdl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/icache_tb.vhdl b/icache_tb.vhdl index 36d5b19..83a84b3 100644 --- a/icache_tb.vhdl +++ b/icache_tb.vhdl @@ -74,6 +74,9 @@ begin i_out.req <= '0'; i_out.nia <= (others => '0'); i_out.stop_mark <= '0'; + i_out.priv_mode <= '1'; + i_out.virt_mode <= '0'; + i_out.big_endian <= '0'; m_out.tlbld <= '0'; m_out.tlbie <= '0';