题解 | #多wire连接#

多wire连接

https://www.nowcoder.com/practice/cde171dfed074f97865f8c16ac230c9b

`timescale 1ns/1ns

module top_module(
    input wire a,b,//这里必须得在b后面加逗号
    output wire x,y,z//端口声明语句中可以直接带上变量类型
);
    
    assign z = a;
    assign x = b;
    assign y = b;
    
endmodule

全部评论

相关推荐

在debug的柠檬精很迷人:好消息:现在HR挑三拣四 15年后 HR跪着求要简历 坏消息:被挑的是这代人,到时候求人的也是这代人。真好。
点赞 评论 收藏
分享
评论
6
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务