Pergunta de entrevista da empresa AMD

How to turn a MUX into an AND gate?

Respostas da entrevista

Sigiloso

20 de nov. de 2016

Multiple ways to do this with a 2-input mux: 1) ctlr signal: A, input 0: 0, input 1: B 2) ctlr signal: A, input 0: A, input 1: B 3) ctlr signal: B, input 0: 0, input 1: A 4) ctlr signal: B, input 0: B, input 1: A

Sigiloso

29 de jan. de 2021

if out = sel?A:B => out = !(!(B AND !sel) AND !(A AND sel))