|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
|
|
entity DECODE is port (A,B,ENbar : in bit; Y : out bit_vector(3 downto 0)); end DECODE; architecture LGATES of DECODE is begin Y(0) <= ENbar or (not A nand not B); Y(1) <= ENbar or (A nand not B); Y(2) <= ENbar or (not A nand B); Y(3) <= ENbar or (A nand B); end LGATES;
|
|||||||||||||||||||||||||||||||||
|
Copyright © 2003 ChipCenter-QuestLink About ChipCenter-Questlink |
||||||||||||||||||||||||||||||||||