Computers, Hardware, Computer Science, Cpu, Electronics.
aluop); ... ... always_comb case(op) 6'b000000: controls <= 9'b110000010; // RTYPE 6'b100011: controls <= 9'b101001000; // LW 6'b101011: controls <= 9'b001010000; // SW 6'b000100: begin controls <= 9'b000100001; // BEQ $display("BEQ"); end 6'b000101: begin controls <= 9'b000100001; // BNE has same