sduwh-EDA电子设计自动化实验-实验二(lab2)

该专栏包含sduwh的eda课程所有实验,仅供参考,订阅专栏获取全部

实验题目:

Laboratory Exercise 2

Seven-bit wide 2-to-1 multiplexer

Write Verilog code that describes a seven-bitwide 2-to-1 multiplexer shown in Figure below.

X,Y,and Mare depicted as seven-bit wires.

The functionality of the circuit can be tested bytoggling the switches and observing the 7-segment displays on the DE2 board.

Use switch SW17 as the s input,switches SW6

-0 as the X input and SW15-9 as the Y input.

Connect the SW switches to the 7-segmentdisplays HEX1 and HEXO;connect the output

M to the 7-segment display HEX2.

猜你喜欢

转载自blog.csdn.net/qq_22471349/article/details/129212608