Exams/2012 q1g

2023. 6. 26. 16:09FPGA/HDLBits

728x90

Consider the function f shown in the Karnaugh map below. Implement this function.

(The original exam question asked for simplified SOP and POS forms of the function.)

 

module top_module (
    input [4:1] x,
    output f
); 
    assign f = (~x[1] & x[3]) | (~x[2] & ~x[4]) | (~x[2] & ~x[4]) | (x[1] & x[2] & x[3] & x[4]);
endmodule

'FPGA > HDLBits' 카테고리의 다른 글

Edgedetect  (0) 2023.06.26
Exams/ece241 2014 q3  (0) 2023.06.26
Exams/m2014 q3  (0) 2023.06.26
Bcdadd4  (0) 2023.06.26
Adder100  (0) 2023.06.26