From HDLBits

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 Declaration

module top_module(
    input a,
    input b,
    input c,
    input d,
    output out  ); 

For this function, changing the value of any one input always inverts the output. It is a simple logic function, but one that can't be easily expressed as SOP nor POS forms.

Write your solution here

Upload a source file...