Digital Circuit Design ◆ «Safe»

module mux2to1 ( input a, b, sel, output y ); assign y = sel ? b : a; endmodule

1. Core Concepts (The "Alphabet") Before designing, master these fundamentals: digital circuit design

00 → 01 → 10 → 11 → 00 (up) or reverse (down) module mux2to1 ( input a, b, sel, output y ); assign y = sel