题解 | #逻辑运算#

逻辑运算

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

`timescale 1ns/1ns

module top_module (
	input a,
	input b,
	input c,
	input d,
	output e,
	output f );
	
	assign tmp1 = a && b;
	assign tmp2 = c | d;
	assign e = ~ (tmp1 ^ tmp2);
	assign f = (tmp1 ^ tmp2);
endmodule

全部评论

相关推荐

07-31 17:30
中南大学 Java
带带杨巅峰:清华本也是985本
什么样的背景能拿SSP?
点赞 评论 收藏
分享
竟然收到了测评听说是双机位
投递拼多多集团-PDD等公司10个岗位
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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