HDLbits

Hardware Language/Procedures

If Statement: Conditional Selection

easy
proceduresconditionalmultiplexer

Select b only when both sel_b1 and sel_b2 are high; otherwise select a. Implement the same behavior as both a concurrent conditional assignment and a combinational process.

If Statement: Conditional Selection diagram 1