Question: Design a rock-paper-scissor digital game. - There are four inputs A, B, C, D and 3 outputs N, P1, P2. - The input pair (A,B)

Design a rock-paper-scissor digital game. - There are four inputs A, B, C, D and 3 outputs N, P1, P2. - The input pair (A,B) encodes selection of player 1 (related to output P1). - The input pair (C,D) encodes selection of player 2 (related to output P2) - The encoding of selection is as following. - If any player's setting is ' 00 ' output N is 0,P1 is 0 and P2 is 0 . - For any other setting N is 1 , and P1,P2 are 0 or 1 depending on who is winning. - If it is a draw, then both P1 and P2 are 1. - Show all the design steps. - You should use multi-input basic logic gates (i.e., AND, OR, INV) only (no decoder or multiplexer) - [Review of rules: paper beats rock, rock beats scissor, scissor beats paper] (5pt) Finish the following Truth Table for N, P1, and P2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
