from microwatt execute1.vhdl: illegal instructions need to generate a trap that sets bit 44 in SRR1 this in both ISACaller and power_decoder2 exception := '1'; v.f.redirect_nia := std_logic_vector(to_unsigned(16#700#, 64)); -- Since we aren't doing Hypervisor emulation assist (0xe40) we -- set bit 44 to indicate we have an illegal ctrl_tmp.srr1(63 - 44) <= '1'; report "illegal";
sorted. PowerDecode2 now detects illegal instructions and sets the instruction *to* trap, and as a result it is the TRAP pipeline that deals with it.