How do you plan to solve it?
know how to use signed comparison, there is a function called $signed() which treats the values as signed,
/*Write your code here*/ module signed_thresh(input[7:0] sample,thresh,output gt_unsigned,gt_signed); assign gt_unsigned=(sample>thresh); assign gt_signed=($signed(sample)>$signed(thresh)); endmodule