No need to gate nia or insn in decode1
authorAnton Blanchard <anton@linux.ibm.com>
Thu, 12 Sep 2019 07:06:09 +0000 (17:06 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Thu, 12 Sep 2019 07:06:09 +0000 (17:06 +1000)
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
decode1.vhdl

index 10367b6850a0500b952a7a92b17edc90df159db6..d33c4d0df1f5d8bf4cf1ae673f10a17c0a05b211 100644 (file)
@@ -245,13 +245,12 @@ begin
                v := r;
 
                v.valid := f_in.valid;
+               v.nia  := f_in.nia;
+               v.insn := f_in.insn;
 
                ppc_insn := PPC_ILLEGAL;
 
                if f_in.valid = '1' then
-                       v.nia  := f_in.nia;
-                       v.insn := f_in.insn;
-
                        report "Decode insn " & to_hstring(f_in.insn) & " at " & to_hstring(f_in.nia);
 
                        if std_match(f_in.insn, "011111---------------0100001010-") then