2020年海大_EDA实验1参考答案.docxVIP

  • 18
  • 0
  • 约1.39万字
  • 约 23页
  • 2020-12-16 发布于天津
  • 举报
Laboratory Exercise 1 Switches, Lights, and Multiplexers ED实验参与答案 Part1 library ieee; use ieee.std_logic_1164.all; entity part1 is port(SW :in std_logic_vector(17 downto 0); LEDR :out std_logic_vector(17 downto 0)); end part1; architecture Behavior of part1 is begin LEDR = SW; end Behavior; part2 library ieee; use ieee.std_logic_1164.all; --a 2 to 1 multiplexer entity entity mux21 is std_logic;:out std_logic); std_logic; :out std_logic); out_m end mux21; --a 2 to 1 multiplexer architecture architecture structural of mux21 is signal u, v : std_logic; begin u = in_x and (not in_s); v = in_y and

文档评论(0)

1亿VIP精品文档

相关文档