Design (draw a datapath) for a block that will help your processor decide whether to take a branch for different conditions. As input, your block will be given an opcode for the type of branch and signals from the ALU which perform the actual comparisons. Your block will produce a single signal branch as output.

Inputs:
• zero - 1 if R[rs1] - R[rs2] = 0, 0 otherwise
• lt - 1 if R[rs1] < R[rs2], 0 otherwise
• opcode (2b) - 00: beq (==), 01: bne (!=), 10: blt (<), 11: bge (>=)

Output:
• branch - 1 if branch should be taken, 0 if not