Loading…
Loading…
beginner · combinational · 70 XP
Sign in to write your solution, run it in the simulator and submit it for grading.
Sign in or create a free account →Input: a=4'd5, b=4'd3, sub=1
Output: result=4'd2
Input: a=4'd5, b=4'd3, sub=0
Output: result=4'd8