Design a network that accepts as input one unsigned 8-bit number (which refreshes every clock cycle and is never 0) and keeps a running sum until the sum exceeds 1000. The network outputs both the sum and the number of additions required to reach it. Use only shift registers and multiplexers.