HDLbits

Verification/Reading Simulations

Combinational Circuit 3

medium
trace-tablecombinational

Infer the four-input combinational function from the provided trace table. Implement the observed truth table.

The following stimulus and observed outputs are a newly prepared trace for this exercise:

a b c d q
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 0
1 1 1 0 1
1 1 1 1 1