欢迎光临散文网 会员登陆 & 注册

3、four wires

2023-04-03 23:45 作者:sjenixnkendnjdb  | 我要投稿


Practice: 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.

翻译:用wire进行连接,注意一一对应。

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

切记:out可以有多个,但in通常只有一个!


3、four wires的评论 (共 条)

分享到微博请遵守国家法律