data/full_repos/permissive/20270692/labs/lab6/sample/encoder83.v
1: b'%Warning-LITENDIAN: data/full_repos/permissive/20270692/labs/lab6/sample/encoder83.v:7: Little bit endian vector: MSB < LSB of bit range: 0:7\n  input [0:7] D;\n        ^\n                    ... Use "/* verilator lint_off LITENDIAN */" and lint_on around source to disable this message.\n%Warning-LITENDIAN: data/full_repos/permissive/20270692/labs/lab6/sample/encoder83.v:10: Little bit endian vector: MSB < LSB of bit range: 0:2\n  output [0:2] outputWire;\n         ^\n%Error: Exiting due to 2 warning(s)\n'
module encoder83 (D, outputWire, V);

  input [0:7] D;
  wire [0:7] D;

  output [0:2] outputWire;
  wire [0:2] outputWire;

  output V;


  assign outputWire[0] = |D[4:7];
  assign outputWire[1] = D[2] | D[3] | D[6] | D[7];
  assign outputWire[2] = D[1] | D[3] | D[5] | D[7];

  assign V = |D;

endmodule
module encoder83 (D, outputWire, V);


  input [0:7] D;
  wire [0:7] D;

  output [0:2] outputWire;
  wire [0:2] outputWire;

  output V;


  assign outputWire[0] = |D[4:7];
  assign outputWire[1] = D[2] | D[3] | D[6] | D[7];
  assign outputWire[2] = D[1] | D[3] | D[5] | D[7];

  assign V = |D;

endmodule