FPGA/HDLBits
Exams/m2014 q3
장영현
2023. 6. 26. 16:03
728x90
Consider the function f shown in the Karnaugh map below.
Implement this function. d is don't-care, which means you may choose to output whatever value is convenient.
module top_module (
input [4:1] x,
output f );
assign f = (~x[1] & x[3]) | (x[1] & x[2] & ~x[3] & x[4]);
endmodule