1
0
mirror of synced 2026-05-27 07:08:03 +00:00
Files
2014-06-22 12:50:29 +02:00

4 lines
97 B
Verilog

module absval_ref(input signed [3:0] a, output [3:0] y);
assign y = a[3] ? -a : a;
endmodule