题解 | #多位信号xnor#
多位信号xnor
https://www.nowcoder.com/practice/aa21227e7bf6409e818b01ea21a44c2b
`timescale 1ns/1ns
module top_module(
input a, b, c, d, e,
output [24:0] out
);
wire [24:0] aaaaa;
wire [24:0] abcde;
assign aaaaa = {{5{a}},{5{b}},{5{c}},{5{d}},{5{e}}};
assign abcde = {5{a,b,c,d,e}};
assign out = aaaaa ~^ abcde;
endmodule
查看15道真题和解析