Bus invert X29475


Statement
 

pdf   zip

Design a circuit that inverts the value of an NN-bit bus. NN must be a parameter of the circuit with default value 8.

Specification

module bus_invert(in, out);
    parameter N=8;
    input [N-1:0] in;
    output [N-1:0] out;

Input

  • in is the NN-bit input bus.

Output

  • out is the NN-bit inverted value of the bus.

Information
Author
Jordi Cortadella
Language
English
Official solutions
Verilog
User solutions
Verilog