For this assignment you must implement a simulation of a simple game that does not use any arithmetic computation circui
Posted: Thu May 26, 2022 9:21 am
For this assignment you must implement a simulation of a simple
game that does not use any arithmetic computation circuitry such as
adder or subtraction circuits. The simulation has two inputs. Input
1 (P) represents the first input to the computation. P has values
ranging from 0-7. Input 2 (Q) represents the second input to the
computation, also with values ranging from 0-7. The computation
will evaluate the following: If P equals Q-2, P = Q-1, P = Q+1, or
P = Q+ 2, the output of the Part A circuit will be successful with
an output value of 1. For any other combination of P and Q, the
output of the Part A circuit will be unsuccessful with an output
value of 0.
game that does not use any arithmetic computation circuitry such as
adder or subtraction circuits. The simulation has two inputs. Input
1 (P) represents the first input to the computation. P has values
ranging from 0-7. Input 2 (Q) represents the second input to the
computation, also with values ranging from 0-7. The computation
will evaluate the following: If P equals Q-2, P = Q-1, P = Q+1, or
P = Q+ 2, the output of the Part A circuit will be successful with
an output value of 1. For any other combination of P and Q, the
output of the Part A circuit will be unsuccessful with an output
value of 0.