HDLbits

Verification/Reading Simulations

Combinational Circuit 2

medium
trace-tablecombinational

Infer the four-input combinational function from the trace table. The output is observed while the inputs exercise the input combinations.

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

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