blob: 98006e8e06c40d9f42870eab863f5b944f335978 [file] [log] [blame]
module top
(
input x,
input y,
input cin,
output A,
output cout
);
`ifndef BUG
assign cout = cin % y;
assign A = cin - x;
`else
assign {cout,A} = cin - y * x;
`endif
endmodule