اذا لم تجد ما تبحث عنه يمكنك استخدام كلمات أكثر دقة.
entity mux1b4X1 is port(in1,in2,in3,in4,c1,c2:in Bit;out1:out Bit); end mux1b4X1; architecture struk_mux1b4X1 of mux1b4X1 is signal c1_n,c2_n,intk11,intk12,intk13,intk14:Bit; component o_not port(in1:in Bit ;out1:out Bit); end component ; component o_3and is port(in1,in2,in3:in Bit; out1:out Bit); end component ; component o_4or is port(in1,in2,in3,in4:in Bit; out1:out Bit); end component ; begin KNc1:o_not port map(in1=>c1,out1=>c1_n); KNc2:o_not port map(in1=>c2,out1=>c2_n); Kand11:o_3and port map(in1=>in1,in2=>c1_n,in3=>c2_n,out1=>intk11); Kand12:o_3and port map(in1=>in2,in2=>c1,in3=>c2_n,out1=>intk12); Kand13:o_3and port map(in1=>in3,in2=>c1_n,in3=>c2,out1=>intk13); Kand14:o_3and port map(in1=>in4,in2=>c1,in3=>c2,out1=>intk14); Kor:o_4or port map(in1=>intk11,in2=>intk12,in3=>intk13,in4=>intk14,out1=>out1); end struk_mux1b4X1;
الصورة في الأعلى تبين بنية مضمم 4×1 وبالمقبال نشاهد الشيفرة المصدرية التي يصف هذه البنية ويستخدم طريقة التوصيف البنيوي حيث نلحظ في القسم التصريحي تعداد الأجزاء التي يتكون منها المضمم (Multiplexer) وفي القسم الإيعازي كيفية ارتباط تلك الأجزاء ببعضها.
أما الشيفرة المصدرية التالية فهي تصف البنية السابقة نفسها عن طريق التوصيف السلوكي.
entity mux1b4X1 is port(in1,in2,in3,in4,c1,c2:in Bit;out1:out Bit); end mux1b4X1; architecture sprav_mux1b4X1 of mux1b4X1 is begin process(in1,in2,in3,in4,c1,c2) begin if c1='0' and c2='0' then out1<=in1; elsif c1='1' and c2='0' then out1<=in2; elsif c1='0' and c2='1' then out1<=in3; elsif c1='1' and c2='1' then out1<=in4; end if; end process; end sprav_mux1b4X1;