From 8043f0b373fc22b3589051f9e7bc61fe31b07ad8 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Fri, 20 Jan 2017 18:40:50 +0000 Subject: [PATCH] - mips_cop: SR.IEC can also be written in user mode git-svn-id: http://moon:8086/svn/vhdl/trunk@1373 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/src/core/mips_cop.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CPUs/MIPS/src/core/mips_cop.vhd b/lib/CPUs/MIPS/src/core/mips_cop.vhd index 82d33c2..bc1045b 100644 --- a/lib/CPUs/MIPS/src/core/mips_cop.vhd +++ b/lib/CPUs/MIPS/src/core/mips_cop.vhd @@ -526,13 +526,13 @@ cop_status_reg_write: elsif ctrl_in.sdu.WB_nop = '0' then if stat_reg_we = '1' then if status(1) = '0' then - status(0) <= din(0); -- IEc status(1) <= din(1); -- KUc status(2) <= din(2); -- IEp status(3) <= din(3); -- KUp status(4) <= din(4); -- IEo status(5) <= din(5); -- KUo end if; + status(0) <= din(0); -- IEc status(15 downto 8) <= din(15 downto 8); -- IM status(22) <= din(22); -- BEV status(25) <= din(25); -- RE