How do you plan to solve it?
/*Write your code here*/ module signed_thresh ( input [7:0] sample, input [7:0] thresh, output reg gt_unsigned, output reg gt_signed ); always @(*) begin gt_unsigned = (sample > thresh); gt_signed = ($signed(sample) > $signed(thresh)); end endmodule