Smatchcube's website 🌍


Exercise 3.30

Test using the delay values and procedures defined later in the book:

and here is the output printed during the simulation:

We computed 000112 + 001102 and we got 010012 (in decimal: 3 + 6 = 9).

Getting the formula of the delay is far from trivial because we have to consider many cases. Nonetheless we can find an approximation with our simulation: