`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 02/13/2019 12:08:17 PM // Design Name: // Module Name: Mux_behavioral // Project Name: // Target Devices: // Tool Versions: // Description: // // Dependencies: // // Revision: // Revision 0.01 - File Created // Additional Comments: // ////////////////////////////////////////////////////////////////////////////////// module Mux_behavioral( input s0, input s1, input i0, input i1, input i2, input i3, output reg d ); always @(s0, s1, i0, i1, i2, i3) begin if (s0 && s1) d = i3; if (!s0 && s1) d = i2; if (s0 && !s1) d = i1; if (!s0 && !s1) d = i0; end endmodule