File size: 94 Bytes
2d66860
 
 
1
2
3
4
module absval_ref(input signed [3:0] a, output [3:0] y);
	assign y = a[3] ? -a : a;
endmodule