library IEEE;
use ieee.std_logic_1164.all;
ENTITY Mux2x1 IS {
PORT (a0, a1, sel: IN BIT; z: OUT BIT); }
END Mux2x1;
ARCHITECTURE conditional OF Mux2x1 IS
BEGIN
z <= a0 WHEN sel = ‘0’ ELSE a1;
END conditional;
Labels
- group discussion (1)
library IEEE;
use ieee.std_logic_1164.all;
ENTITY Mux2x1 IS {
PORT (a0, a1, sel: IN BIT; z: OUT BIT); }
END Mux2x1;
ARCHITECTURE conditional OF Mux2x1 IS
BEGIN
z <= a0 WHEN sel = ‘0’ ELSE a1;
END conditional;
Copyright 2010
LET US SHARE OUR KNOWLEDGE
*
:ANNAI GROUPS.
Contact : PRABHAKARAN
click here to view prabhakaran's profile
.