yosys/tests/ecp5/add_sub.v

14 lines
133 B
Coq
Raw Normal View History

2019-09-03 03:53:37 -05:00
module top
(
input [3:0] x,
input [3:0] y,
output [3:0] A,
output [3:0] B
);
assign A = x + y;
assign B = x - y;
endmodule