i have a test coming up and my teacher was nice enough to provide us some example questions. there are two that i don't understand. i have a really hard time with these types of problems and i think i need a step by step. i would really appreciate a walkthrough on them. thank you

1. design a combinational circuit that compares two 4-bit numbers to check if they are equal. the circuit output is equal to 1 when the two numbers are equal to 0 otherwise. assume two numbers are A = A3 A2 A1 A0, B = B3 B2 B1 B0. (those are A sub 3 A sub 2 etc)

i think i just need a boolean function for number 1

2. design and implement a sequential circuit for even parity check, using t flip flops, received bit by bit in serial. the circuit output is 0 when the number of 1s in binary code is even; otherwise, output is 1.

for number 2 i need the boolean function and i need to draw the circuit.

thank you for your time