In the 3 bit counter the last 2 set the traffic lights in 3 possible states (1 green for each path) while the 1st flipflop is used to provide the short duration yellow -> red state change (How it works in my country).
All logical expression have been derived from k maps at specific states.
Use the button inorder to jump from left to right and vice vera and try avoiding the incoming obstacles.
If you collide with it you die and can restart using the restart button given at the bottom.
Change the difficulty by reducing the timing setting of the clock and good luck :D.
A Full Subtractor is a combinational logic circuit that is designed to perform the subtraction of two binary numbers. It is considered "full" because it not only considers the subtraction of two binary inputs but also accounts for a borrow input from the previous stage. In other words, it can subtract three binary bits - minuend, subtrahend, and borrow - to produce the difference and a borrow output.