entityarchitecture5.py

Created by arthur-candillon

Created on May 02, 2024

717 Bytes


Multiplexeur de signaux mux4_4. 
Ecrire lentité et larchitecture
du composant mux4_4 utilisé sur 
le schéma. Le vecteur de sortie 
dépendra de 
la valeur du vecteur de commande.

entity mux4_4 is 
 Port ( cde : in STD_LOGIC_VECTOR (1 downto 0);
  in_0 : in STD_LOGIC_VECTOR (3 downto 0); 
  in_1 : in STD_LOGIC_VECTOR (3 downto 0); 
  in_2 : in STD_LOGIC_VECTOR (3 downto 0); 
  in_3 : in STD_LOGIC_VECTOR (3 downto 0); 
  mux_out : out STD_LOGIC_VECTOR (3 downto 0)); 
end mux4_4;

architecture Behavioral of mux4_4 is 
  begin 
  with cde select 
    mux_out <= in_0 when "00", 
    in_1 when "01", 
    in_2 when "10", 
    in_3 when "11", 
    "1111" when others; 
end Behavioral;

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.