Question: 2. (30 points) Design a 4-bit unsigned branch comparator for beq and bned. The new comparator consists of 2 four-bits inputs: A[3:0] and B[3:0], a

2. (30 points) Design a 4-bit unsigned branch comparator for beq and bned. The new comparator consists of 2 four-bits inputs: A[3:0] and B[3:0], a bit beq indicating the type of branch instruction is beq, a bit bneq indicating the type of branch instruction is bned, and one output F. Please show your logic circuits schematic. beq | bneq A[3:0) B[3:0] F * F=1 if beq ==1 && A[3:0]==B[3:0] * F = 1 if bneq == 1 && A[3:0]!=B[3:0] 2016 poing Construct the Truth to 2.1. (5 points) Construct the Truth Table for a one-bit unsigned magnitude comparator. There are two inputs: A and B with one output: A==B. A==B A 0 0 1 B 0 1 0 1 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
