题解 | #逻辑运算#

逻辑运算

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

全部评论

相关推荐

08-07 11:19
门头沟学院 Java
点赞 评论 收藏
分享
07-18 13:49
门头沟学院 Java
26小林不会梦到感谢...:这个点还在面暑期嘛不是马上开秋招了
点赞 评论 收藏
分享
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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