Design a circuit that inverts the value of an NN-bit bus. NN must be a parameter of the circuit with default value 8.
module bus_invert(in, out); parameter N=8; input [N-1:0] in; output [N-1:0] out;
in is the NN-bit input bus.
in
out is the NN-bit inverted value of the bus.
out
The official statement of a problem is always the one in the PDF document. The HTML version of the statement is also given to help you, but may contain some content that is not well displayed. In case of doubt, always use the PDF.