Wire4
题设中,要求我们搭建一个如图的三输入、四输出模块。![wire4题目图片](https://img-blog.csdnimg.cn/4257d1cf85df469bbe6ff13334f38edb.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBAU2xlZGdlWg==,size_20,color_FFFFFF,t_70,g_se,x_16)
(1)
Problem Statement
Create a module with 3 inputs and 4 outputs that behaves like wires that makes these connections:
a -> w
b -> x
b -> y
c -> z
Code
module top_module(
input a,b,c,
output w,x,y,z );
assign w=a;
assign x=b;
assign y=b;
assign z=c;
endmodule
Result