From 63b017d552cacc01f037b506cf3afc9a1bc1a297 Mon Sep 17 00:00:00 2001 From: yhp19 Date: Wed, 2 Dec 2020 15:43:30 +0800 Subject: [PATCH] added control comments --- rtl/mips_cpu_control.v | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/rtl/mips_cpu_control.v b/rtl/mips_cpu_control.v index 2927e40..f5a7656 100644 --- a/rtl/mips_cpu_control.v +++ b/rtl/mips_cpu_control.v @@ -46,18 +46,31 @@ Memtoreg: /* Aluop: 0: r-type instructions -1: <0 +1: <0 + -BLTZAL BLTZ 2: >=0 + -BGEZAL BGEZ 3: =0 + -BEQ 4: =/=0 + -BNE 5: <=0 + -BLEZ 6: >0 + -BGTZ 7: add + -ADDIU + -all load and store instructions 8: slt (signed) + -STLI 9: slt (unsigned) + -STLIU 10: and + -ANDI 11: or + -ORI 12: xor + -XORI */ //Commented signals represents dont care(x)