Professional Documents
Culture Documents
Assignment#3
Batuhan Kenan EREN – B1805.010034
Rüstem ELEÇ – B1805.010026
The 4-bit subtractor Karnaugh map:
ABCD
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
A 4-bit subtractor can be designed using Karnough Map minimization. The Charlie Coleman tool can
be used to model the design using array instantiation.
module subtractor(
input [3:0] A,
input [3:0] B,
output [3:0] Out
);
endmodule