---------------------------------------------------------! @file--! @brief 2:1 Mux using with-select---------------------------------------------------------! Use standard librarylibraryieee;--! Use logic elementsuseieee.std_logic_1164.all;--! Mux entity brief description--! Detailed description of this --! mux design element.entitymux_using_withisport(din_0:instd_logic;--! Mux first inputdin_1:instd_logic;--! Mux Second inputsel:instd_logic;--! Select inputmux_out:outstd_logic--! Mux output);endentity;--! @brief Architure definition of the MUX--! @details More details about this mux element.architecturebehaviorofmux_using_withisbeginwith(sel)selectmux_out<=din_0when'0',din_1whenothers;endarchitecture;