FPGA/HDLBits
Kmap1
장영현
2023. 6. 15. 20:35
728x90
Problem Statement
Implement the circuit described by the Karnaugh map below.
Try to simplify the k-map before coding it. Try both product-of-sums and sum-of-products forms. We can't check whether you have the optimal simplification of the k-map. But we can check if your reduction is equivalent, and we can check whether you can translate a k-map into a circuit.
module top_module(
input a,
input b,
input c,
output out );
assign out = b | (!b & c) | (a & !b & !c);
endmodule
- 붉은색 = b만 1로 고정 -> F = b
- 초록색 = bc = 01로 고정 -> F = b'c
- 파란색 = F = ab'c'
- F = b + b'c + ab'c'