-- mux_g.vhdl library IEEE; use IEEE.std_logic_1164.all; entity mux_g is generic(left : natural := 31; -- top bit prop : time := 100 ps); -- delay port(in0 : in std_logic_vector (left downto 0); in1 : in std_logic_vector (left downto 0); ctl : in std_logic; result : out std_logic_vector (left downto 0)); end entity mux_g; architecture behavior of mux_g is begin -- behavior -- no process needed with concurrent statements result <= in1 when ctl='1' or ctl='H' else in0 after prop; end architecture behavior; -- of mux_g <div align="center"><br /><script type="text/javascript"><!-- google_ad_client = "pub-7293844627074885"; //468x60, Created at 07. 11. 25 google_ad_slot = "8619794253"; google_ad_width = 468; google_ad_height = 60; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><br /> </div>