- library ieee;
- use ieee.std_logic_1164.all;
- ENTITY MUX21 IS
- PORT(A,B,S:IN std_logic; Y:OUT std_logic);
- END MUX21;
- ARCHITECTURE one OF MUX21 IS
- signal a1,b1,c1:std_logic;
- begin
- a1<=A and S;
- b1<=not b;
- c1<=(not S) and (not b1);
- Y<=a1 or c1;
- END architecture one;
复制代码
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
这里我们默认您已经新建好了工程,在【File】菜单下点击【New】,即弹出用户设计建立向导,在【New】中选择【Design Files】-【Block Diagram/Schematic File】原理图文件输入
一周热门 更多>